[opencms-dev] Installation problem

Giuseppe M. Fusco fire78 at interfree.it
Mon May 2 10:04:48 CEST 2005


Hi,
I've a problem configuring opencms, it cannot connect to MySQL, and raises 
this exception:

Could no connect to database via: jdbc:mysql://localhost:3306/
java.sql.SQLException: Communication link failure: java.io.IOException, 
underlying cause: Unexpected end of input stream

** BEGIN NESTED EXCEPTION **

java.io.IOException
MESSAGE: Unexpected end of input stream

STACKTRACE:

java.io.IOException: Unexpected end of input stream
 at com.mysql.jdbc.MysqlIO.readPacket(MysqlIO.java:1080)
 at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:619)
 at com.mysql.jdbc.Connection.createNewIO(Connection.java:1532)
 at com.mysql.jdbc.Connection.<init>(Connection.java:486)
 at 
com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:326)
 at java.sql.DriverManager.getConnection(Unknown Source)
 at java.sql.DriverManager.getConnection(Unknown Source)
 at com.opencms.boot.CmsSetupDb.setConnection(CmsSetupDb.java:30)
 at 
org.apache.jsp.ocsetup.create_005fdatabase_jsp._jspService(org.apache.jsp.ocsetup.create_005fdatabase_jsp:119)
 at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
 at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
 at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
 at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
 at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
 at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
 at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
 at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
 at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
 at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
 at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
 at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
 at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
 at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
 at 
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
 at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
 at java.lang.Thread.run(Unknown Source)


** END NESTED EXCEPTION **

-------------------------------------------
java.lang.NullPointerException
-------------------------------------------

I use Win XP pro sp2, apache 5.5, MySQL 4.1, MySQL ODBC 3.51. I registered 
driver and DB in windows data source(ODBD).
Please, help me, I did not found any suggest on opencms book, and within 
post in opencms site.
Ths.





More information about the opencms-dev mailing list