[opencms-dev] help some error, cant access opencms

borys pomianek neozingrad at wp.pl
Fri Apr 2 21:34:02 CEST 2004


hi i have instaled opencms then when i tryed to access it i got 
this thing:

HTTP Status 500 - 

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

type Exception report

message 

description The server encountered an internal error () that 
prevented it from fulfilling this request.

exception 

javax.servlet.ServletException: OpenCms initialization error!

Could not connect to the database. Is the database up and 
running?


	com.opencms.core.OpenCmsHttpServlet.init
(OpenCmsHttpServlet.java:245)
	org.apache.catalina.valves.ErrorReportValve.invoke
(ErrorReportValve.java:164)
	org.apache.coyote.tomcat5.CoyoteAdapter.service
(CoyoteAdapter.java:206)
	org.apache.coyote.http11.Http11Processor.process
(Http11Processor.java:833)
	org.apache.coyote.http11.Http11Protocol$Http11Connectio
nHandler.processConnection(Http11Protocol.java:732)
	org.apache.tomcat.util.net.TcpWorkerThread.runIt
(PoolTcpEndpoint.java:619)
	org.apache.tomcat.util.threads.ThreadPool$ControlRunnab
le.run(ThreadPool.java:688)
	java.lang.Thread.run(Thread.java:534)


root cause 

com.opencms.core.CmsException: 33 Resourcebroker-init error. 
Detailed error: Database init failed. 
root cause was com.opencms.core.CmsException: 33 Resourcebroker-
init error. Detailed error: Critical error while loading 
resourcebroker. 
root cause was com.opencms.core.CmsException: 4 Sql exception. 
Detailed error: [com.opencms.file.mySql.CmsDbAccess] Invalid 
argument value,  message from server: "Duplicate entry '/' for 
key 2". 
root cause was java.sql.SQLException: Invalid argument value,  
message from server: "Duplicate entry '/' for key 2"
	com.opencms.core.OpenCms.<init>(OpenCms.java:259)
	com.opencms.core.OpenCmsHttpServlet.init
(OpenCmsHttpServlet.java:242)
	org.apache.catalina.valves.ErrorReportValve.invoke
(ErrorReportValve.java:164)
	org.apache.coyote.tomcat5.CoyoteAdapter.service
(CoyoteAdapter.java:206)
	org.apache.coyote.http11.Http11Processor.process
(Http11Processor.java:833)
	org.apache.coyote.http11.Http11Protocol$Http11Connectio
nHandler.processConnection(Http11Protocol.java:732)
	org.apache.tomcat.util.net.TcpWorkerThread.runIt
(PoolTcpEndpoint.java:619)
	org.apache.tomcat.util.threads.ThreadPool$ControlRunnab
le.run(ThreadPool.java:688)
	java.lang.Thread.run(Thread.java:534)


root cause 

com.opencms.core.CmsException: 33 Resourcebroker-init error. 
Detailed error: Critical error while loading resourcebroker. 
root cause was com.opencms.core.CmsException: 4 Sql exception. 
Detailed error: [com.opencms.file.mySql.CmsDbAccess] Invalid 
argument value,  message from server: "Duplicate entry '/' for 
key 2". 
root cause was java.sql.SQLException: Invalid argument value,  
message from server: "Duplicate entry '/' for key 2"
	com.opencms.file.CmsRbManager.init
(CmsRbManager.java:100)
	com.opencms.core.OpenCms.<init>(OpenCms.java:255)
	com.opencms.core.OpenCmsHttpServlet.init
(OpenCmsHttpServlet.java:242)
	org.apache.catalina.valves.ErrorReportValve.invoke
(ErrorReportValve.java:164)
	org.apache.coyote.tomcat5.CoyoteAdapter.service
(CoyoteAdapter.java:206)
	org.apache.coyote.http11.Http11Processor.process
(Http11Processor.java:833)
	org.apache.coyote.http11.Http11Protocol$Http11Connectio
nHandler.processConnection(Http11Protocol.java:732)
	org.apache.tomcat.util.net.TcpWorkerThread.runIt
(PoolTcpEndpoint.java:619)
	org.apache.tomcat.util.threads.ThreadPool$ControlRunnab
le.run(ThreadPool.java:688)
	java.lang.Thread.run(Thread.java:534)


root cause 

com.opencms.core.CmsException: 4 Sql exception. Detailed error: 
[com.opencms.file.mySql.CmsDbAccess] Invalid argument value,  
message from server: "Duplicate entry '/' for key 2". 
root cause was java.sql.SQLException: Invalid argument value,  
message from server: "Duplicate entry '/' for key 2"
	com.opencms.file.genericSql.CmsDbAccess.createFolder
(CmsDbAccess.java:1165)
	com.opencms.file.mySql.CmsDbAccess.fillDefaults
(CmsDbAccess.java:603)
	com.opencms.file.genericSql.CmsDbAccess.<init>
(CmsDbAccess.java:300)
	com.opencms.file.mySql.CmsDbAccess.<init>
(CmsDbAccess.java:125)
	com.opencms.file.mySql.CmsResourceBroker.createDbAccess
(CmsResourceBroker.java:62)
	com.opencms.file.genericSql.CmsResourceBroker.init
(CmsResourceBroker.java:4182)
	com.opencms.file.CmsRbManager.init
(CmsRbManager.java:88)
	com.opencms.core.OpenCms.<init>(OpenCms.java:255)
	com.opencms.core.OpenCmsHttpServlet.init
(OpenCmsHttpServlet.java:242)
	org.apache.catalina.valves.ErrorReportValve.invoke
(ErrorReportValve.java:164)
	org.apache.coyote.tomcat5.CoyoteAdapter.service
(CoyoteAdapter.java:206)
	org.apache.coyote.http11.Http11Processor.process
(Http11Processor.java:833)
	org.apache.coyote.http11.Http11Protocol$Http11Connectio
nHandler.processConnection(Http11Protocol.java:732)
	org.apache.tomcat.util.net.TcpWorkerThread.runIt
(PoolTcpEndpoint.java:619)
	org.apache.tomcat.util.threads.ThreadPool$ControlRunnab
le.run(ThreadPool.java:688)
	java.lang.Thread.run(Thread.java:534)


root cause 

java.sql.SQLException: Invalid argument value,  message from 
server: "Duplicate entry '/' for key 2"
	com.mysql.jdbc.MysqlIO.checkErrorPacket
(MysqlIO.java:1626)
	com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:886)
	com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:945)
	com.mysql.jdbc.Connection.execSQL(Connection.java:1844)
	com.mysql.jdbc.PreparedStatement.executeUpdate
(PreparedStatement.java:1602)
	com.mysql.jdbc.PreparedStatement.executeUpdate
(PreparedStatement.java:1488)
	com.opencms.dbpool.CmsPreparedStatement.executeUpdate
(CmsPreparedStatement.java:177)
	com.opencms.file.genericSql.CmsDbAccess.createFolder
(CmsDbAccess.java:1163)
	com.opencms.file.mySql.CmsDbAccess.fillDefaults
(CmsDbAccess.java:603)
	com.opencms.file.genericSql.CmsDbAccess.<init>
(CmsDbAccess.java:300)
	com.opencms.file.mySql.CmsDbAccess.<init>
(CmsDbAccess.java:125)
	com.opencms.file.mySql.CmsResourceBroker.createDbAccess
(CmsResourceBroker.java:62)
	com.opencms.file.genericSql.CmsResourceBroker.init
(CmsResourceBroker.java:4182)
	com.opencms.file.CmsRbManager.init
(CmsRbManager.java:88)
	com.opencms.core.OpenCms.<init>(OpenCms.java:255)
	com.opencms.core.OpenCmsHttpServlet.init
(OpenCmsHttpServlet.java:242)
	org.apache.catalina.valves.ErrorReportValve.invoke
(ErrorReportValve.java:164)
	org.apache.coyote.tomcat5.CoyoteAdapter.service
(CoyoteAdapter.java:206)
	org.apache.coyote.http11.Http11Processor.process
(Http11Processor.java:833)
	org.apache.coyote.http11.Http11Protocol$Http11Connectio
nHandler.processConnection(Http11Protocol.java:732)
	org.apache.tomcat.util.net.TcpWorkerThread.runIt
(PoolTcpEndpoint.java:619)
	org.apache.tomcat.util.threads.ThreadPool$ControlRunnab
le.run(ThreadPool.java:688)
	java.lang.Thread.run(Thread.java:534)



----------------------------------------------------
Zaplanuj wyjazd na weekend majowy!
Sprawdź nasze propozycje i promocyjne ceny!
http://klik.wp.pl/?adr=http%3A%2F%2Fturystyka.wp.pl%2Fwycieczki.html%3Fdzial%3Doferty_okresowe%26id_typ%3D2&sid=156





More information about the opencms-dev mailing list