[opencms-dev] OpenCms 6.2.0 setup failure

Barry barry at zoidberg.nl
Wed Apr 19 11:46:44 CEST 2006


Hi,

I can't seem to run the OpenCms setup procedure for the 6.2.0 release. 
I've tried exactly the same but using the WAR file from the 6.0.4 
release and that works fine. Can anyone shed any light on the following 
errors:

53:   
52:    Shutdown completed, total uptime was 00:02:07.
51:    Shutting down OpenCms, version 6.2.0 in web application "opencms"
50:   
49:   
48:        at 
org.opencms.setup.CmsSetupWorkplaceImportThread.run(CmsSetupWorkplaceImportThread.java:209)
47:        at 
org.opencms.setup.CmsSetupWorkplaceImportThread.kill(CmsSetupWorkplaceImportThread.java:118)
46:        at org.opencms.main.CmsShell.exit(CmsShell.java:602)
45:    java.lang.NullPointerException
44:        at 
org.opencms.setup.CmsSetupWorkplaceImportThread.run(CmsSetupWorkplaceImportThread.java:194)
43:        at org.opencms.main.CmsShell.start(CmsShell.java:687)
42:        at org.opencms.main.CmsShell.executeCommands(CmsShell.java:818)
41:        at org.opencms.main.CmsShell.printPrompt(CmsShell.java:654)
40:    java.lang.NullPointerException
39:        ... 10 more
38:        at 
org.opencms.db.generic.CmsUserDriver.createGroup(CmsUserDriver.java:200)
37:        at 
org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:101)
36:        at 
org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:101)
35:        at 
com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1067)
34:        at 
com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1082)
33:        at 
com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1166)
32:        at 
com.mysql.jdbc.ServerPreparedStatement.executeInternal(ServerPreparedStatement.java:676)
31:        at 
com.mysql.jdbc.ServerPreparedStatement.serverExecute(ServerPreparedStatement.java:1124)
30:        at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1571)
29:        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2928)
28:    Caused by: java.sql.SQLException: Incorrect arguments to 
mysql_stmt_execute
27:        ... 8 more
26:        at 
org.opencms.db.generic.CmsUserDriver.init(CmsUserDriver.java:643)
25:        at 
org.opencms.db.generic.CmsUserDriver.fillDefaults(CmsUserDriver.java:1594)
24:        at 
org.opencms.db.generic.CmsUserDriver.createGroup(CmsUserDriver.java:204)
23:    Caused by: org.opencms.db.CmsDbSqlException: An SQL error 
occurred when executing the following query: 
com.mysql.jdbc.ServerPreparedStatement[2] - INSERT INTO CMS_GROUPS 
VALUES 
('47e01a9f-1823-339f-bf0e-a7bb4e1bfb30','00000000-0000-0000-0000-000000000000','Guests','The 
guest group',0).
22:        ... 7 more
21:        at 
org.opencms.db.CmsDriverManager.newDriverInstance(CmsDriverManager.java:4304)
20:        at 
org.opencms.db.generic.CmsUserDriver.init(CmsUserDriver.java:649)
19:    Caused by: org.opencms.main.CmsInitException: Critical error 
during OpenCms initialization: Unable to initialize the user driver.
18:        at 
org.opencms.setup.CmsSetupWorkplaceImportThread.run(CmsSetupWorkplaceImportThread.java:155)
17:        at org.opencms.main.CmsShell.<init>(CmsShell.java:495)
16:        at 
org.opencms.main.OpenCmsCore.upgradeRunlevel(OpenCmsCore.java:1503)
15:        at 
org.opencms.main.OpenCmsCore.initConfiguration(OpenCmsCore.java:984)
14:        at 
org.opencms.db.CmsSecurityManager.newInstance(CmsSecurityManager.java:164)
13:        at 
org.opencms.db.CmsSecurityManager.init(CmsSecurityManager.java:2684)
12:        at 
org.opencms.db.CmsDriverManager.newInstance(CmsDriverManager.java:520)
11:        at 
org.opencms.db.CmsDriverManager.newDriverInstance(CmsDriverManager.java:4314)
10:    org.opencms.main.CmsInitException: Critical error while 
initializing driver "org.opencms.db.mysql.CmsUserDriver".
9:    --------------------
8:    Giving up, unable to start OpenCms.
7:    Critical error during OpenCms initialization: Unable to initialize 
the user driver.
6:    The following critical error occured:
5:    --------------------
4:   
3:   
2:    OpenCms property file: 
"/opt/tomcat/webapps/opencms/WEB-INF/config/opencms.properties".
1:    OpenCms WEB-INF path:  "/opt/tomcat/webapps/opencms/WEB-INF/".




More information about the opencms-dev mailing list