Urgent help Please help me solving this issue
Posted by: vijayasagar killi
Date: June 10, 2005 02:43AM

Hi,

I am a newbiee with MySQl connector I developed one web site and deployed it under tomcat in unix. I copied the "mysql-connector-java-3.0.8-stable-bin.jar" into lib folder in WEB-INF directory when I am running the application it is opening the page but it is not displaying the database entries. When I review the log I found the following error:

INFO | jvm 1 | 2005/06/10 04:33:29 | java.sql.SQLException: Communication link failure: java.io.IOException, underlying cause: Unexpected end of input stream
INFO | jvm 1 | 2005/06/10 04:33:29 |
INFO | jvm 1 | 2005/06/10 04:33:29 | ** BEGIN NESTED EXCEPTION **
INFO | jvm 1 | 2005/06/10 04:33:29 |
INFO | jvm 1 | 2005/06/10 04:33:29 | java.io.IOException
INFO | jvm 1 | 2005/06/10 04:33:29 | MESSAGE: Unexpected end of input stream
INFO | jvm 1 | 2005/06/10 04:33:29 |
INFO | jvm 1 | 2005/06/10 04:33:29 | STACKTRACE:
INFO | jvm 1 | 2005/06/10 04:33:29 |
INFO | jvm 1 | 2005/06/10 04:33:29 | java.io.IOException: Unexpected end of input stream
INFO | jvm 1 | 2005/06/10 04:33:29 | at com.mysql.jdbc.MysqlIO.readPacket(MysqlIO.java:1096)
INFO | jvm 1 | 2005/06/10 04:33:29 | at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:626)
INFO | jvm 1 | 2005/06/10 04:33:29 | at com.mysql.jdbc.Connection.createNewIO(Connection.java:1562)
INFO | jvm 1 | 2005/06/10 04:33:29 | at com.mysql.jdbc.Connection.<init>(Connection.java:491)
INFO | jvm 1 | 2005/06/10 04:33:29 | at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:346)
INFO | jvm 1 | 2005/06/10 04:33:29 | at java.sql.DriverManager.getConnection(DriverManager.java:525)
INFO | jvm 1 | 2005/06/10 04:33:29 | at java.sql.DriverManager.getConnection(DriverManager.java:171)
INFO | jvm 1 | 2005/06/10 04:33:29 | at com.srik.JDBCConnector.getAllSubCategories(JDBCConnector.java:82)
INFO | jvm 1 | 2005/06/10 04:33:29 | at org.apache.jsp.templates.jsp.samples.templateThreeColumns.main_jsp.<init>(org.apache.jsp.templates.jsp.samples.templateThreeColumns.main_jsp:15)
INFO | jvm 1 | 2005/06/10 04:33:29 | at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
INFO | jvm 1 | 2005/06/10 04:33:29 | at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
INFO | jvm 1 | 2005/06/10 04:33:29 | at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
INFO | jvm 1 | 2005/06/10 04:33:29 | at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
INFO | jvm 1 | 2005/06/10 04:33:29 | at java.lang.Class.newInstance0(Class.java:350)
INFO | jvm 1 | 2005/06/10 04:33:29 | at java.lang.Class.newInstance(Class.java:303)
INFO | jvm 1 | 2005/06/10 04:33:29 | at org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:138)
INFO | jvm 1 | 2005/06/10 04:33:29 | at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:305)
INFO | jvm 1 | 2005/06/10 04:33:29 | at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
INFO | jvm 1 | 2005/06/10 04:33:29 | at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
INFO | jvm 1 | 2005/06/10 04:33:29 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
INFO | jvm 1 | 2005/06/10 04:33:29 | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
INFO | jvm 1 | 2005/06/10 04:33:29 | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
INFO | jvm 1 | 2005/06/10 04:33:29 | at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704)
INFO | jvm 1 | 2005/06/10 04:33:29 | at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:474)
INFO | jvm 1 | 2005/06/10 04:33:29 | at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:409)
INFO | jvm 1 | 2005/06/10 04:33:29 | at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)
INFO | jvm 1 | 2005/06/10 04:33:29 | at info.magnolia.cms.Dispatcher.dispatch(Dispatcher.java:65)
INFO | jvm 1 | 2005/06/10 04:33:29 | at info.magnolia.cms.servlets.EntryServlet.doGet(EntryServlet.java:120)
INFO | jvm 1 | 2005/06/10 04:33:29 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
INFO | jvm 1 | 2005/06/10 04:33:29 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
INFO | jvm 1 | 2005/06/10 04:33:29 | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
INFO | jvm 1 | 2005/06/10 04:33:29 | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
INFO | jvm 1 | 2005/06/10 04:33:29 | at info.magnolia.cms.Filter.MultipartRequestFilter.doFilter(MultipartRequestFilter.java:76)
INFO | jvm 1 | 2005/06/10 04:33:29 | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
INFO | jvm 1 | 2005/06/10 04:33:29 | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
INFO | jvm 1 | 2005/06/10 04:33:29 | at info.magnolia.cms.Filter.ContentTypeFilter.doFilter(ContentTypeFilter.java:52)
INFO | jvm 1 | 2005/06/10 04:33:29 | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
INFO | jvm 1 | 2005/06/10 04:33:29 | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
INFO | jvm 1 | 2005/06/10 04:33:29 | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
INFO | jvm 1 | 2005/06/10 04:33:29 | at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
INFO | jvm 1 | 2005/06/10 04:33:29 | at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
INFO | jvm 1 | 2005/06/10 04:33:29 | at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
INFO | jvm 1 | 2005/06/10 04:33:29 | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
INFO | jvm 1 | 2005/06/10 04:33:29 | at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
INFO | jvm 1 | 2005/06/10 04:33:29 | at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
INFO | jvm 1 | 2005/06/10 04:33:29 | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
INFO | jvm 1 | 2005/06/10 04:33:29 | at org.apache.catalina.core.Stand
INFO | jvm 1 | 2005/06/10 04:33:29 | ardValveContext.invokeNext(StandardValveContext.java:104)
INFO | jvm 1 | 2005/06/10 04:33:29 | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
INFO | jvm 1 | 2005/06/10 04:33:29 | at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
INFO | jvm 1 | 2005/06/10 04:33:29 | at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:417)
INFO | jvm 1 | 2005/06/10 04:33:29 | at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
INFO | jvm 1 | 2005/06/10 04:33:29 | at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
INFO | jvm 1 | 2005/06/10 04:33:29 | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
INFO | jvm 1 | 2005/06/10 04:33:29 | at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
INFO | jvm 1 | 2005/06/10 04:33:29 | at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
INFO | jvm 1 | 2005/06/10 04:33:29 | at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
INFO | jvm 1 | 2005/06/10 04:33:29 | at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
INFO | jvm 1 | 2005/06/10 04:33:29 | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
INFO | jvm 1 | 2005/06/10 04:33:29 | at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
INFO | jvm 1 | 2005/06/10 04:33:29 | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
INFO | jvm 1 | 2005/06/10 04:33:29 | at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
INFO | jvm 1 | 2005/06/10 04:33:29 | at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
INFO | jvm 1 | 2005/06/10 04:33:29 | at java.lang.Thread.run(Thread.java:595)
INFO | jvm 1 | 2005/06/10 04:33:29 |
INFO | jvm 1 | 2005/06/10 04:33:29 |
INFO | jvm 1 | 2005/06/10 04:33:29 | ** END NESTED EXCEPTION **


Please help me in solving this issue. Am i missing something. Please give me reply as soon as possible because Ihave to resolve this issue today.

regards,
sagar

Options: ReplyQuote


Subject
Written By
Posted
Urgent help Please help me solving this issue
June 10, 2005 02:43AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.