[opencms-dev] OpenCMS under JBoss

Andrea Pierini apierini at maticad.it
Fri May 2 19:55:01 CEST 2003


Hi to all,
is there anyone who could install OpenCMS 5 RC2 under JBoss 3.0.4 + Tomcat
4.1.12 running on Windows? Under Tomcat alone it works fine, but I can't
install under JBoss.
In particular I unzipped opencms.war under
{JBOSS_HOME}\server\default\deploy\opencms.war, started JBoss with option
-Dfile.encoding="ISO-8859-1", started the setup wizard in advanced mode and
put "opencms" in url_prefix_http. The wizard goes fine until I try to import
the workplace, then I get many exceptions (reported below). I tried with
MySQL and with MS SQL Server, but with the same result.
Thanks in advance for any suggestion.
Andrea Pierini

e-mail: apierini at maticad.it


------------------------------------------------------------
Reported Exceptions (extract):

1363:	 ( 4 / 4 )  checking page /release/notes_5.0rc2.html
1362:	 ( 3 / 4 )  checking page /release/notes_5.0rc1.html
1361:	 ( 2 / 4 )  checking page /release/notes_5.0b2.html
1360:	
1359:		at
com.opencms.boot.CmsSetupThread.run(CmsSetupThread.java:83)
1358:		at com.opencms.boot.CmsMain.startSetup(CmsMain.java:120)
1357:		at com.opencms.boot.CmsMain.begin(CmsMain.java:160)
1356:		at java.lang.reflect.Method.invoke(Method.java:324)
1355:		at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
1354:		at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
1353:		at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
1352:		at com.opencms.core.CmsShell.commands(CmsShell.java:197)
1351:		at com.opencms.core.CmsShell.call(CmsShell.java:156)
1350:		at java.lang.reflect.Method.invoke(Method.java:324)
1349:		at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
1348:		at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
1347:		at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
1346:		at
com.opencms.core.CmsShellCommands.importModuleFromDefault(CmsShellCommands.j
ava:1926)
1345:		at
com.opencms.file.CmsRegistry.importModule(CmsRegistry.java:1736)
1344:		at
com.opencms.file.CmsImport.importResources(CmsImport.java:617)
1343:		at
com.opencms.file.CmsImport.updatePageLinks(CmsImport.java:840)
1342:		at
com.opencms.file.CmsObject.getPageLinks(CmsObject.java:1844)
1341:		at
com.opencms.linkmanagement.LinkChecker.extractLinks(LinkChecker.java:72)
1340:		at
com.opencms.template.CmsXmlTemplate.getOwnTemplateFile(CmsXmlTemplate.java:3
99)
1339:		at
com.opencms.template.CmsXmlTemplateFile.<init>(CmsXmlTemplateFile.java:105)
1338:		at
com.opencms.template.A_CmsXmlContent.init(A_CmsXmlContent.java:1039)
1337:		at com.opencms.file.CmsObject.readFile(CmsObject.java:2954)
1336:		at
com.opencms.file.genericSql.CmsResourceBroker.readFile(CmsResourceBroker.jav
a:5299)
1335:		at
com.opencms.file.mySql.CmsDbAccess.readFile(CmsDbAccess.java:703)
1334:	com.opencms.core.CmsException: 2 Not found. Detailed error:
[com.opencms.file.mySql.CmsDbAccess]
/default/vfs/system/bodies/release/installation.html. 
1333:	 ( 1 / 4 )    !!! Exception com.opencms.core.CmsException:
[com.opencms.file.mySql.CmsDbAccess]
/default/vfs/system/bodies/release/installation.html
1332:	------ Checking links ...
1331:	 ( 28 / 28 ) Importing /index.jsp o.k.
1330:	 ( 27 / 28 ) Importing
/system/modules/org.opencms.welcome/templates/welcome o.k.
1329:	 ( 26 / 28 ) Importing /system/modules/org.opencms.welcome/templates
o.k.
1328:	 ( 25 / 28 ) Importing
/system/modules/org.opencms.welcome/resources/welcome.css o.k.
1327:	 ( 24 / 28 ) Importing
/system/modules/org.opencms.welcome/resources/logo_opencms_power.gif o.k.
1326:	 ( 23 / 28 ) Importing
/system/modules/org.opencms.welcome/resources/logo_opencms_large.gif o.k.
1325:	 ( 22 / 28 ) Importing /system/modules/org.opencms.welcome/resources
o.k.
1324:	 ( 21 / 28 ) Importing
/system/modules/org.opencms.welcome/jsptemplates/welcome o.k.
1323:	 ( 20 / 28 ) Importing
/system/modules/org.opencms.welcome/jsptemplates o.k.
1322:	
1321:		at
com.opencms.boot.CmsSetupThread.run(CmsSetupThread.java:83)
1320:		at com.opencms.boot.CmsMain.startSetup(CmsMain.java:120)
1319:		at com.opencms.boot.CmsMain.begin(CmsMain.java:160)
1318:		at java.lang.reflect.Method.invoke(Method.java:324)
1317:		at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
1316:		at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
1315:		at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
1314:		at com.opencms.core.CmsShell.commands(CmsShell.java:197)
1313:		at com.opencms.core.CmsShell.call(CmsShell.java:156)
1312:		at java.lang.reflect.Method.invoke(Method.java:324)
1311:		at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
1310:		at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
1309:		at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
1308:		at
com.opencms.core.CmsShellCommands.importModuleFromDefault(CmsShellCommands.j
ava:1926)
1307:		at
com.opencms.file.CmsRegistry.importModule(CmsRegistry.java:1736)
1306:		at
com.opencms.file.CmsImport.importResources(CmsImport.java:609)
1305:		at
com.opencms.file.CmsImport.importResource(CmsImport.java:487)
1304:		at
com.opencms.file.CmsObject.importResource(CmsObject.java:2171)
1303:		at
com.opencms.file.CmsResourceTypePlain.importResource(CmsResourceTypePlain.ja
va:414)
1302:		at
com.opencms.file.CmsResourceTypePlain.lockResource(CmsResourceTypePlain.java
:435)
1301:		at
com.opencms.file.CmsObject.doLockResource(CmsObject.java:2336)
1300:		at
com.opencms.file.genericSql.CmsResourceBroker.lockResource(CmsResourceBroker
.java:4376)
1299:		at
com.opencms.file.genericSql.CmsResourceBroker.readFileHeader(CmsResourceBrok
er.java:5481)
1298:		at
com.opencms.file.genericSql.CmsDbAccess.readFileHeader(CmsDbAccess.java:7700
)
1297:	com.opencms.core.CmsException: 2 Not found. Detailed error:
[com.opencms.file.mySql.CmsDbAccess] /default/vfs/falseISO-8859-1XML Body
loader for JSPsISO-8859-1XML Body loader for
JSPssystem/modules/org.opencms.welcome/elements/welcome_nav.jsp. 
1296:	 ( 19 / 28 ) Importing /falseISO-8859-1XML Body loader for
JSPsISO-8859-1XML Body loader for
JSPssystem/modules/org.opencms.welcome/elements/welcome_nav.jsp    !!!
Exception com.opencms.core.CmsException:
[com.opencms.file.mySql.CmsDbAccess] /default/vfs/falseISO-8859-1XML Body
loader for JSPsISO-8859-1XML Body loader for
JSPssystem/modules/org.opencms.welcome/elements/welcome_nav.jsp
1295:	 ( 18 / 28 ) Importing
/system/modules/org.opencms.welcome/elements/bodyloader.xml o.k.
1294:	 ( 17 / 28 ) Importing
/system/modules/org.opencms.welcome/elements/bodyloader o.k.
1293:	 ( 16 / 28 ) Importing /system/modules/org.opencms.welcome/elements
o.k.
1292:	 ( 15 / 28 ) Importing /system/modules/org.opencms.welcome o.k.
1291:	 ( 14 / 28 ) Importing /system/modules o.k.
1290:	 ( 13 / 28 ) Importing /system/bodies/release/notes_5.0rc2.html o.k.
1289:	 ( 12 / 28 ) Importing /system/bodies/release/notes_5.0rc1.html o.k.
1288:	 ( 11 / 28 ) Importing /system/bodies/release/notes_5.0b2.html o.k.
1287:		at
com.opencms.boot.CmsSetupThread.run(CmsSetupThread.java:83)
1286:		at com.opencms.boot.CmsMain.startSetup(CmsMain.java:120)
1285:		at com.opencms.boot.CmsMain.begin(CmsMain.java:160)
1284:		at java.lang.reflect.Method.invoke(Method.java:324)
1283:		at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
1282:		at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
1281:		at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
1280:		at com.opencms.core.CmsShell.commands(CmsShell.java:197)
1279:		at com.opencms.core.CmsShell.call(CmsShell.java:156)
1278:		at java.lang.reflect.Method.invoke(Method.java:324)
1277:		at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
1276:		at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
1275:		at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
1274:		at
com.opencms.core.CmsShellCommands.importModuleFromDefault(CmsShellCommands.j
ava:1926)
1273:		at
com.opencms.file.CmsRegistry.importModule(CmsRegistry.java:1736)
1272:		at
com.opencms.file.CmsImport.importResources(CmsImport.java:609)
1271:		at
com.opencms.file.CmsImport.importResource(CmsImport.java:477)
1270:		at
com.opencms.file.CmsImport.getFileBytes(CmsImport.java:284)
1269:		at java.util.zip.ZipFile.getInputStream(ZipFile.java:184)
1268:	java.lang.NullPointerException
1267:	 ( 10 / 28 ) Importing /system/bodies/release/installation.html
!!! Exception null
1266:	 ( 9 / 28 ) Importing /system/bodies/release o.k.
1265:	 ( 8 / 28 ) Importing /system/bodies o.k.
1264:	 ( 7 / 28 ) Importing /system o.k.




More information about the opencms-dev mailing list