[opencms-dev] Problem in opencms 5 Installation( Mysql db)

Priya Subramanian Priya_Subramanian at infosys.com
Fri Apr 1 11:45:26 CEST 2005


Hi,
 
  I am having a problem while installation of opencms 5 in tomcat
5.0.30. While creating the Mysql database its giving the error  
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:32
6)
 at java.sql.DriverManager.getConnection(DriverManager.java:512)
 at java.sql.DriverManager.getConnection(DriverManager.java:171)
 at com.opencms.boot.CmsSetupDb.setConnection(CmsSetupDb.java:30)
 at
org.apache.jsp.ocsetup.create_005fdatabase_jsp._jspService(create_005fda
tabase_jsp.java:119)
 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.ja
va:324)
 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(Applica
tionFilterChain.java:252)
 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:173)
 at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:214)
 at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
 at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardCon
textValve.java:198)
 at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:152)
 at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
 at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:137)
 at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
 at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:118)
 at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:102)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
 at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:109)
 at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
 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:79
9)
 at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC
onnection(Http11Protocol.java:705)
 at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:57
7)
 at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:684)
 at java.lang.Thread.run(Thread.java:534)
 

** END NESTED EXCEPTION **
 
 
 
-------------------------------------------
java.lang.NullPointerException
 
-------------------------------------------
 
Could anyone help me in this?
 
Regards,
 
Priya Subramanian
Systems Integration
Infosys Technologies Ltd.
Ext. No: 62965, Mob: 9880200241.
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20050401/0df13eae/attachment.htm>


More information about the opencms-dev mailing list