[opencms-dev] Opencms 4.6 Install Problem
Fabrizio Galiano
galiano at fast.fhg.de
Tue Jan 28 11:01:37 CET 2003
Hi there, I'm trying to install OpenCMS and I ran in a problem. I've
successfully installed Tomcat 4.0.6 and I can access the tomcat-pages on my
local webserver. But when I try to run the index of OpenCMS, I get: HTTP
Status 500 - Internal Server Error message. Description The server
encountered an internal error (Internal Server Error) that prevented it from
fulfilling this request.
exception
javax.servlet.ServletException: [CmsException]: 33 Resourcebroker-init
error. Detailed Error: Critical error while loading resourcebroker. . Caught
Exception: >[CmsException]: 4 Sql exception. Detailed Error:
[com.opencms.file.mySql.CmsDbAccess] Invalid argument value: Duplicate entry
'Guests' for key 2. Caught Exception: >java.sql.SQLException: Invalid
argument value: Duplicate entry 'Guests' for key 2<<
at com.opencms.file.CmsRbManager.init(CmsRbManager.java:99)
at com.opencms.core.OpenCms.(OpenCms.java:214)
at
com.opencms.core.OpenCmsHttpServlet.init(OpenCmsHttpServlet.java:203)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:91
8)
at
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:655)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:214)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:190)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2
46)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170
)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:
1027)
at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125
)
at java.lang.Thread.run(Thread.java:536)
>[CmsException]: 4 Sql exception. Detailed Error:
[com.opencms.file.mySql.CmsDbAccess] Invalid argument value: Duplicate entry
'Guests' for key 2. Caught Exception: >java.sql.SQLException: Invalid
argument value: Duplicate entry 'Guests' for key 2<
> at
com.opencms.file.mySql.CmsDbAccess.createGroup(CmsDbAccess.java:396)
> at
com.opencms.file.mySql.CmsDbAccess.fillDefaults(CmsDbAccess.java:523)
> at com.opencms.file.genericSql.CmsDbAccess.(CmsDbAccess.java:289)
> at com.opencms.file.mySql.CmsDbAccess.(CmsDbAccess.java:90)
> at
com.opencms.file.mySql.CmsResourceBroker.createDbAccess(CmsResourceBroker.ja
va:66)
> at
com.opencms.file.genericSql.CmsResourceBroker.init(CmsResourceBroker.java:41
65)
> at com.opencms.file.CmsRbManager.init(CmsRbManager.java:87)
> at com.opencms.core.OpenCms.(OpenCms.java:214)
> at
com.opencms.core.OpenCmsHttpServlet.init(OpenCmsHttpServlet.java:203)
> at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:91
8)
> at
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:655)
> at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:214)
> at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
> at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:190)
> at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
> at
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2
46)
> at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
> at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
> at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
> at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
> at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
> at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
> at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170
)
> at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
> at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
> at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
> at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
> at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
> at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:
1027)
> at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125
)
> at java.lang.Thread.run(Thread.java:536)
>>java.sql.SQLException: Invalid argument value: Duplicate entry 'Guests'
for key 2
>> at com.mysql.jdbc.MysqlIO.sendCommand(Unknown Source)
>> at com.mysql.jdbc.MysqlIO.sqlQueryDirect(Unknown Source)
>> at com.mysql.jdbc.Connection.execSQL(Unknown Source)
>> at com.mysql.jdbc.PreparedStatement.executeUpdate(Unknown Source)
>> at com.mysql.jdbc.PreparedStatement.executeUpdate(Unknown Source)
>> at
com.opencms.dbpool.CmsPreparedStatement.executeUpdate(CmsPreparedStatement.j
ava:175)
>> at
com.opencms.file.mySql.CmsDbAccess.createGroup(CmsDbAccess.java:389)
>> at
com.opencms.file.mySql.CmsDbAccess.fillDefaults(CmsDbAccess.java:523)
>> at com.opencms.file.genericSql.CmsDbAccess.(CmsDbAccess.java:289)
>> at com.opencms.file.mySql.CmsDbAccess.(CmsDbAccess.java:90)
>> at
com.opencms.file.mySql.CmsResourceBroker.createDbAccess(CmsResourceBroker.ja
va:66)
>> at
com.opencms.file.genericSql.CmsResourceBroker.init(CmsResourceBroker.java:41
65)
>> at com.opencms.file.CmsRbManager.init(CmsRbManager.java:87)
>> at com.opencms.core.OpenCms.(OpenCms.java:214)
>> at
com.opencms.core.OpenCmsHttpServlet.init(OpenCmsHttpServlet.java:203)
>> at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:91
8)
>> at
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:655)
>> at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:214)
>> at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
>> at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>> at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>> at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:190)
>> at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
>> at
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2
46)
>> at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
>> at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>> at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>> at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
>> at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
>> at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
>> at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
>> at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
>> at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170
)
>> at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
>> at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
>> at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
>> at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>> at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>> at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
>> at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
>> at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>> at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>> at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:
1027)
>> at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125
)
>> at java.lang.Thread.run(Thread.java:536)
>
[CmsException]: 4 Sql exception. Detailed Error:
[com.opencms.file.mySql.CmsDbAccess] Invalid argument value: Duplicate entry
'Guests' for key 2. Caught Exception: >java.sql.SQLException: Invalid
argument value: Duplicate entry 'Guests' for key 2<
at
com.opencms.file.mySql.CmsDbAccess.createGroup(CmsDbAccess.java:396)
at
com.opencms.file.mySql.CmsDbAccess.fillDefaults(CmsDbAccess.java:523)
at com.opencms.file.genericSql.CmsDbAccess.(CmsDbAccess.java:289)
at com.opencms.file.mySql.CmsDbAccess.(CmsDbAccess.java:90)
at
com.opencms.file.mySql.CmsResourceBroker.createDbAccess(CmsResourceBroker.ja
va:66)
at
com.opencms.file.genericSql.CmsResourceBroker.init(CmsResourceBroker.java:41
65)
at com.opencms.file.CmsRbManager.init(CmsRbManager.java:87)
at com.opencms.core.OpenCms.(OpenCms.java:214)
at
com.opencms.core.OpenCmsHttpServlet.init(OpenCmsHttpServlet.java:203)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:91
8)
at
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:655)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:214)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:190)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2
46)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170
)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:
1027)
at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125
)
at java.lang.Thread.run(Thread.java:536)
>java.sql.SQLException: Invalid argument value: Duplicate entry 'Guests' for
key 2
> at com.mysql.jdbc.MysqlIO.sendCommand(Unknown Source)
> at com.mysql.jdbc.MysqlIO.sqlQueryDirect(Unknown Source)
> at com.mysql.jdbc.Connection.execSQL(Unknown Source)
> at com.mysql.jdbc.PreparedStatement.executeUpdate(Unknown Source)
> at com.mysql.jdbc.PreparedStatement.executeUpdate(Unknown Source)
> at
com.opencms.dbpool.CmsPreparedStatement.executeUpdate(CmsPreparedStatement.j
ava:175)
> at
com.opencms.file.mySql.CmsDbAccess.createGroup(CmsDbAccess.java:389)
> at
com.opencms.file.mySql.CmsDbAccess.fillDefaults(CmsDbAccess.java:523)
> at com.opencms.file.genericSql.CmsDbAccess.(CmsDbAccess.java:289)
> at com.opencms.file.mySql.CmsDbAccess.(CmsDbAccess.java:90)
> at
com.opencms.file.mySql.CmsResourceBroker.createDbAccess(CmsResourceBroker.ja
va:66)
> at
com.opencms.file.genericSql.CmsResourceBroker.init(CmsResourceBroker.java:41
65)
> at com.opencms.file.CmsRbManager.init(CmsRbManager.java:87)
> at com.opencms.core.OpenCms.(OpenCms.java:214)
> at
com.opencms.core.OpenCmsHttpServlet.init(OpenCmsHttpServlet.java:203)
> at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:91
8)
> at
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:655)
> at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:214)
> at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
> at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:190)
> at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
> at
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2
46)
> at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
> at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
> at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
> at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
> at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
> at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
> at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170
)
> at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
> at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
> at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
> at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
> at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
> at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:
1027)
> at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125
)
> at java.lang.Thread.run(Thread.java:536)
at
com.opencms.core.OpenCmsHttpServlet.init(OpenCmsHttpServlet.java:205)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:91
8)
at
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:655)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:214)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:190)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2
46)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170
)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:
1027)
at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125
)
at java.lang.Thread.run(Thread.java:536)
System:
Win 2000 Professional
Tomcat 4.0.6
j2sdk 1.4.0_03
mysql 3.23.38
More information about the opencms-dev
mailing list