[opencms-dev] ver 5 -- exception while workplace import in ocsetup

Xavier Ottolini xavier.ottolini at adelis.com
Mon Oct 3 12:31:14 CEST 2005


Hi all,

I installed OpenCms 5.0 for updating an old OpenCms application.

My environement is the following :
Server Linux Fedora 4.
JRE 1.4
Tomcat 4.1
MySQL 4.1
Opecms 5.01

I unpacked the opencms.war in $CATALINA_HOME/webapps/opencms

In the $CATALINA_HOME/webapps/opencms/WEB-INF/lib folder, I replace the 
mysql connector y the lateste one : mysql-connector-java-3.1.10-bin.jar.
I set the encoding to UTF-8 in the opencms.properties.

I ran the setup with the users :
Database Server Connection : root
OpenCms Connection : myuser

myuser has the /ALL PRIVILEGES /to the database opencms.

When I run the setup : I get the following message.
I read a lot of messages concerning such exception but no solution worked.

Has someone any idea ?

    [FlexCache] Complete cache cleared - clear() called
2365:    ------ .. filesystem link check finished
2364:    ------ Checking filesystem links ...
2363:    Publishing /system/modules/org.opencms.welcome/templates/
2362:    Publishing /system/modules/org.opencms.welcome/resources/
2361:    Publishing /system/modules/org.opencms.welcome/jsptemplates/
2360:    Publishing /system/modules/org.opencms.welcome/elements/
2359:    Publishing /system/modules/org.opencms.welcome/
2358:    Publishing /system/bodies/release/
2357:    Publishing /release/
2356:    [CmsRegistry] Saved the registry
2355:    ------ .. filesystem link check finished
2354:    ------ Checking filesystem links ...
2353:    ------ ... HTML link check finished
2352:   
2351:        at com.opencms.boot.(CmsSetupThread.java:83)
2350:        at com.opencms.boot.CmsMain.startSetup(CmsMain.java:120)
2349:        at com.opencms.boot.CmsMain.begin(CmsMain.java:164)
2348:        at java.lang.reflect.Method.invoke(Method.java:324)
2347:        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2346:        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2345:        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2344:        at com.opencms.core.CmsShell.commands(CmsShell.java:188)
2343:        at com.opencms.core.CmsShell.call(CmsShell.java:147)
2342:        at java.lang.reflect.Method.invoke(Method.java:324)
2341:        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2340:        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2339:        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2338:        at 
com.opencms.core.CmsShellCommands.importModuleFromDefault(CmsShellCommands.java:1929)
2337:        at 
com.opencms.file.CmsRegistry.importModule(CmsRegistry.java:1891)
2336:        at 
com.opencms.file.CmsImport.importResources(CmsImport.java:221)
2335:        at 
com.opencms.file.CmsImport.importAllResources(CmsImport.java:796)
2334:        at 
com.opencms.file.CmsImport.updatePageLinks(CmsImport.java:1019)
2333:        at com.opencms.file.CmsObject.getPageLinks(CmsObject.java:1816)
2332:        at 
com.opencms.linkmanagement.LinkChecker.extractLinks(LinkChecker.java:63)
2331:        at 
com.opencms.template.CmsXmlControlFile.<init>(CmsXmlControlFile.java:86)
2330:        at 
com.opencms.template.A_CmsXmlContent.init(A_CmsXmlContent.java:1011)
2329:        at com.opencms.file.CmsObject.readFile(CmsObject.java:2888)
2328:        at 
com.opencms.file.genericSql.CmsResourceBroker.readFile(CmsResourceBroker.java:5203)
2327:        at 
com.opencms.file.mySql.CmsDbAccess.readFile(CmsDbAccess.java:703)
2326:    com.opencms.core.CmsException: 2 Not found. Detailed error: 
[com.opencms.file.mySql.CmsDbAccess] /default/vfs/release/upgrade_5.0.html.
2325:     ( 9 / 9 )    !!! Exception com.opencms.core.CmsException: 
[com.opencms.file.mySql.CmsDbAccess] /default/vfs/release/upgrade_5.0.html

...


2128:   
2127:        at com.opencms.boot.CmsSetupThread.run(CmsSetupThread.java:83)
2126:        at com.opencms.boot.CmsMain.startSetup(CmsMain.java:120)
2125:        at com.opencms.boot.CmsMain.begin(CmsMain.java:164)
2124:        at java.lang.reflect.Method.invoke(Method.java:324)
2123:        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2122:        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2121:        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2120:        at com.opencms.core.CmsShell.commands(CmsShell.java:188)
2119:        at com.opencms.core.CmsShell.call(CmsShell.java:147)
2118:        at java.lang.reflect.Method.invoke(Method.java:324)
2117:        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2116:        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2115:        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2114:        at 
com.opencms.core.CmsShellCommands.importModuleFromDefault(CmsShellCommands.java:1929)
2113:        at 
com.opencms.file.CmsRegistry.importModule(CmsRegistry.java:1891)
2112:        at 
com.opencms.file.CmsImport.importResources(CmsImport.java:221)
2111:        at 
com.opencms.file.CmsImport.importAllResources(CmsImport.java:796)
2110:        at 
com.opencms.file.CmsImport.updatePageLinks(CmsImport.java:1019)
2109:        at com.opencms.file.CmsObject.getPageLinks(CmsObject.java:1816)
2108:        at 
com.opencms.linkmanagement.LinkChecker.extractLinks(LinkChecker.java:63)
2107:        at 
com.opencms.template.CmsXmlControlFile.<init>(CmsXmlControlFile.java:86)
2106:        at 
com.opencms.template.A_CmsXmlContent.init(A_CmsXmlContent.java:1011)
2105:        at com.opencms.file.CmsObject.readFile(CmsObject.java:2888)
2104:        at 
com.opencms.file.genericSql.CmsResourceBroker.readFile(CmsResourceBroker.java:5203)
2103:        at 
com.opencms.file.mySql.CmsDbAccess.readFile(CmsDbAccess.java:703)
2102:    com.opencms.core.CmsException: 2 Not found. Detailed error: 
[com.opencms.file.mySql.CmsDbAccess] 
/default/vfs/release/installation.html.
2101:     ( 1 / 9 )    !!! Exception com.opencms.core.CmsException: 
[com.opencms.file.mySql.CmsDbAccess] /default/vfs/release/installation.html

Please help me !

Regards,

-- 
Xavier Ottolini
Développeur multimédia

Adelis
37, rue d'Engwiller
67350 La Walck
France
Téléphone : +33 (0) 3 88 72 29 10
Télécopie : +33 (0) 3 88 72 29 19
http://www.adelis.com





More information about the opencms-dev mailing list