[opencms-dev] No workplace(?) after upgrade from 5.0 rc2 to 5.0.0 - Nervous Breakdown

Nikolai Neumayer spam69 at a1.net
Fri May 23 15:52:01 CEST 2003


By now, I tried about 4 to 5 times to run the Setup-Wizard after
deleting or not deleting the earlier created data bases. The result is
always the same:

87:		at com.opencms.boot.CmsSetupThread.run(CmsSetupThread.java:83)
86:		at com.opencms.boot.CmsMain.startSetup(CmsMain.java:120)
85:		at com.opencms.boot.CmsMain.begin(CmsMain.java:164)
84:		at java.lang.reflect.Method.invoke(Method.java:324)
83:		at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
orImpl.java:25)
82:		at sun.reflect.GeneratedMethodAccessor70.invoke(Unknown Source)
81:		at com.opencms.core.CmsShell.commands(CmsShell.java:177)
80:		at
com.opencms.core.CmsShellCommands.<init>(CmsShellCommands.java:78)
79:	java.lang.NullPointerException
78:	
77:	>>>	at com.opencms.boot.CmsSetupThread.run(CmsSetupThread.java:83)
76:	>>>	at com.opencms.boot.CmsMain.startSetup(CmsMain.java:120)
75:	>>>	at com.opencms.boot.CmsMain.begin(CmsMain.java:155)
74:	>>>	at java.lang.Class.newInstance(Class.java:259)
73:	>>>	at java.lang.Class.newInstance0(Class.java:306)
72:	>>>	at
java.lang.reflect.Constructor.newInstance(Constructor.java:274)
71:	>>>	at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCo
nstructorAccessorImpl.java:27)
70:	>>>	at
sun.reflect.GeneratedConstructorAccessor23.newInstance(Unknown Source)
69:	>>>	at com.opencms.core.CmsShell.<init>(CmsShell.java:114)
68:	>>>	at com.opencms.core.OpenCms.<init>(OpenCms.java:255)
67:	>>>	at com.opencms.file.CmsRbManager.init(CmsRbManager.java:88)
66:	>>>	at
com.opencms.file.genericSql.CmsResourceBroker.init(CmsResourceBroker.j
ava:4182)
65:	>>>	at
com.opencms.file.mySql.CmsResourceBroker.createDbAccess(CmsResourceBro
ker.java:62)
64:	>>>	at
com.opencms.file.mySql.CmsDbAccess.<init>(CmsDbAccess.java:125)
63:	>>>	at
com.opencms.file.genericSql.CmsDbAccess.<init>(CmsDbAccess.java:300)
62:	>>>	at
com.opencms.file.mySql.CmsDbAccess.fillDefaults(CmsDbAccess.java:558)
61:	>>>	at
com.opencms.file.mySql.CmsDbAccess.createGroup(CmsDbAccess.java:424)
60:	>>>	at
com.opencms.dbpool.CmsPreparedStatement.executeUpdate(CmsPreparedState
ment.java:177)
59:	>>>	at com.mysql.jdbc.PreparedStatement.executeUpdate(Unknown
Source)
58:	>>>	at com.mysql.jdbc.PreparedStatement.executeUpdate(Unknown
Source)
57:	>>>	at com.mysql.jdbc.Connection.execSQL(Unknown Source)
56:	>>>	at com.mysql.jdbc.MysqlIO.sqlQueryDirect(Unknown Source)
55:	>>>	at com.mysql.jdbc.MysqlIO.sendCommand(Unknown Source)
54:	>>>java.sql.SQLException: Invalid argument value: Duplicate entry
'Guests' for key 2
53:	>>>Root cause:
52:	>>>-----------
51:	>>	at com.opencms.boot.CmsSetupThread.run(CmsSetupThread.java:83)
50:	>>	at com.opencms.boot.CmsMain.startSetup(CmsMain.java:120)
49:	>>	at com.opencms.boot.CmsMain.begin(CmsMain.java:155)
48:	>>	at java.lang.Class.newInstance(Class.java:259)
47:	>>	at java.lang.Class.newInstance0(Class.java:306)
46:	>>	at
java.lang.reflect.Constructor.newInstance(Constructor.java:274)
45:	>>	at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCo
nstructorAccessorImpl.java:27)
44:	>>	at
sun.reflect.GeneratedConstructorAccessor23.newInstance(Unknown Source)
43:	>>	at com.opencms.core.CmsShell.<init>(CmsShell.java:114)
42:	>>	at com.opencms.core.OpenCms.<init>(OpenCms.java:255)
41:	>>	at com.opencms.file.CmsRbManager.init(CmsRbManager.java:88)
40:	>>	at
com.opencms.file.genericSql.CmsResourceBroker.init(CmsResourceBroker.j
ava:4182)
39:	>>	at
com.opencms.file.mySql.CmsResourceBroker.createDbAccess(CmsResourceBro
ker.java:62)
38:	>>	at
com.opencms.file.mySql.CmsDbAccess.<init>(CmsDbAccess.java:125)
37:	>>	at
com.opencms.file.genericSql.CmsDbAccess.<init>(CmsDbAccess.java:300)
36:	>>	at
com.opencms.file.mySql.CmsDbAccess.fillDefaults(CmsDbAccess.java:558)
35:	>>	at
com.opencms.file.mySql.CmsDbAccess.createGroup(CmsDbAccess.java:431)
34:	>>root cause was java.sql.SQLException: Invalid argument value:
Duplicate entry 'Guests' for key 2
33:	>>com.opencms.core.CmsException: 4 Sql exception. Detailed error:
[com.opencms.file.mySql.CmsDbAccess] Invalid argument value: Duplicate
entry 'Guests' for key 2. 
32:	>>Root cause:
31:	>>-----------
30:	>	at com.opencms.boot.CmsSetupThread.run(CmsSetupThread.java:83)
29:	>	at com.opencms.boot.CmsMain.startSetup(CmsMain.java:120)
28:	>	at com.opencms.boot.CmsMain.begin(CmsMain.java:155)
27:	>	at java.lang.Class.newInstance(Class.java:259)
26:	>	at java.lang.Class.newInstance0(Class.java:306)
25:	>	at
java.lang.reflect.Constructor.newInstance(Constructor.java:274)
24:	>	at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCo
nstructorAccessorImpl.java:27)
23:	>	at
sun.reflect.GeneratedConstructorAccessor23.newInstance(Unknown Source)
22:	>	at com.opencms.core.CmsShell.<init>(CmsShell.java:114)
21:	>	at com.opencms.core.OpenCms.<init>(OpenCms.java:255)
20:	>	at com.opencms.file.CmsRbManager.init(CmsRbManager.java:100)
19:	>root cause was java.sql.SQLException: Invalid argument value:
Duplicate entry 'Guests' for key 2
18:	>root cause was com.opencms.core.CmsException: 4 Sql exception.
Detailed error: [com.opencms.file.mySql.CmsDbAccess] Invalid argument
value: Duplicate entry 'Guests' for key 2. 
17:	>com.opencms.core.CmsException: 33 Resourcebroker-init error.
Detailed error: Critical error while loading resourcebroker. 
16:	>Root cause:
15:	>-----------
14:		at com.opencms.boot.CmsSetupThread.run(CmsSetupThread.java:83)
13:		at com.opencms.boot.CmsMain.startSetup(CmsMain.java:120)
12:		at com.opencms.boot.CmsMain.begin(CmsMain.java:155)
11:		at java.lang.Class.newInstance(Class.java:259)
10:		at java.lang.Class.newInstance0(Class.java:306)
9:		at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
8:		at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCo
nstructorAccessorImpl.java:27)
7:		at sun.reflect.GeneratedConstructorAccessor23.newInstance(Unknown
Source)
6:		at com.opencms.core.CmsShell.<init>(CmsShell.java:114)
5:		at com.opencms.core.OpenCms.<init>(OpenCms.java:259)
4:	root cause was java.sql.SQLException: Invalid argument value:
Duplicate entry 'Guests' for key 2
3:	root cause was com.opencms.core.CmsException: 4 Sql exception.
Detailed error: [com.opencms.file.mySql.CmsDbAccess] Invalid argument
value: Duplicate entry 'Guests' for key 2. 
2:	root cause was com.opencms.core.CmsException: 33
Resourcebroker-init error. Detailed error: Critical error while
loading resourcebroker. 
1:	com.opencms.core.CmsException: 33 Resourcebroker-init error.
Detailed error: Database init failed. 
0:	%%% props:
/var/tomcat4/webapps/opencms/WEB-INF/config/opencms.properties



with no chance to access the index-page
(http://intra1:8080/opencms/opencms/index.jsp):


HTTP Status 404 - 

----------------------------------------------------------------------
----------

type Status report

message 

description The requested resource () is not available.


----------------------------------------------------------------------
----------

Apache Tomcat/4.1


My interpretation: the Setup-Wizard is not able (whyever) to import
the workplace succesfully anymore. Strangely enough, some tries ago,
the import of the workplace seemed to come much closer to a successful
end.


Niki :(


-------------------
> My colleague managing the Linux-Server did all the necessary
> serverside things: stopping tomcat, removing OpenCMS 5.0 rc2,
starting
> tomcat and finally deploying the opencms.war file.
> 
> I hope this first step was OK?
> 
> Then I started the Setup-Wizard and took a look at the advanced
setup.
> As far as I remember, I did not change anything. The setup-procedure
> ended with a long list of errors. The login-page
> http://localhost:8080/opencms/opencms/system/login/ was not
accessable
> (HTTP Status 404 - "The requested resource () is not available").
> 
> After this, I deleted the database and started the Setup-Wizard
again,
> but this time in standard mode - everything seemed fine - no errors.
> But again, no access to the login-page.
> 
> The mysql-database has been created (succesfully?!) in both attemps
-
> what can be wrong here? It is also a bit confusing, because
everything
> worked fine with 5.0 rc2.
> 
> Please help and TIA,
> Niki
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please
visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
> 



More information about the opencms-dev mailing list