[opencms-dev] OpenCMS 6 b2: MySQL Setup Problems :-(

Clemens A Mensik clemens.mensik at ip2.at
Sun Apr 10 18:41:21 CEST 2005


Hi,

sorry to bother you, I'm trying to install OpenCMS (war) on Tomcat 5.0.30
using mysql, but it doesn't working... I always get the following error, 
after the wizard has asked me wether to drop the current database or not:

type Exception report

message 

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

exception 

javax.servlet.ServletException
	
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextI
mpl.java:846)
	
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
l.java:779)
	
org.apache.jsp.setup.step_005f5_005fdatabase_005fcreation_jsp._jspService(st
ep_005f5_005fdatabase_005fcreation_jsp.java:485)
	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
	
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
24)
	
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


root cause 

java.lang.ExceptionInInitializerError
	com.mysql.jdbc.SQLError.<clinit>(SQLError.java:87)
	com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2799)
	com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1518)
	com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1609)
	com.mysql.jdbc.Connection.execSQL(Connection.java:2228)
	com.mysql.jdbc.Connection.execSQL(Connection.java:2159)
	com.mysql.jdbc.Statement.execute(Statement.java:876)
	org.opencms.setup.CmsSetupDb.executeStatement(CmsSetupDb.java:405)
	org.opencms.setup.CmsSetupDb.executeSql(CmsSetupDb.java:333)
	org.opencms.setup.CmsSetupDb.executeSql(CmsSetupDb.java:266)
	org.opencms.setup.CmsSetupDb.dropTables(CmsSetupDb.java:205)
	
org.apache.jsp.setup.step_005f5_005fdatabase_005fcreation_jsp._jspService(st
ep_005f5_005fdatabase_005fcreation_jsp.java:335)
	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
	
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
24)
	
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

note The full stack trace of the root cause is available in the Apache
Tomcat/5.0.30 logs.

Stacktrace from /logs:
2005-04-10 18:31:52 StandardWrapperValve[jsp]: Servlet.service() for servlet
jsp threw exception
java.lang.ExceptionInInitializerError
	at com.mysql.jdbc.SQLError.<clinit>(SQLError.java:87)
	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2799)
	at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1518)
	at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1609)
	at com.mysql.jdbc.Connection.execSQL(Connection.java:2228)
	at com.mysql.jdbc.Connection.execSQL(Connection.java:2159)
	at com.mysql.jdbc.Statement.execute(Statement.java:876)
	at
org.opencms.setup.CmsSetupDb.executeStatement(CmsSetupDb.java:405)
	at org.opencms.setup.CmsSetupDb.executeSql(CmsSetupDb.java:333)
	at org.opencms.setup.CmsSetupDb.executeSql(CmsSetupDb.java:266)
	at org.opencms.setup.CmsSetupDb.dropTables(CmsSetupDb.java:205)
	at
org.apache.jsp.setup.step_005f5_005fdatabase_005fcreation_jsp._jspService(st
ep_005f5_005fdatabase_005fcreation_jsp.java:335)
	at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
	at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
24)
	at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:252)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:214)
	at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
	at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContext
Valve.java:198)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:152)
	at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137
)
	at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118
)
	at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:102)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:109)
	at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
	at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
	at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
	at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:705)
	at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
	at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:684)
	at java.lang.Thread.run(Thread.java:534)
Caused by: java.lang.NullPointerException
	at java.util.ResourceBundle.getBundle(ResourceBundle.java:700)
	at com.mysql.jdbc.Messages.<clinit>(Messages.java:42)
	... 42 more

would appreciate any hint... I know it has to be just one thing missing or
something, but
I relly don't know what it could be.... also couldn't finde anything in the
mailing list archieve..


regards
clemens





More information about the opencms-dev mailing list