-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: Error with Debian
PostPosted: Mon Feb 28, 2005 11:21 am 
Newbie

Joined: Mon Feb 21, 2005 5:42 pm
Posts: 10
Hi everybody
I had a webapp that work ok in Windows with tomcat 5 and mysql but I receive the error below when I try to deploy the same application in Debian with tomcat 4 and mysql

Initializing Hibernate
Finished Initializing Hibernate
java.lang.RuntimeException: Cannot open connection
at newsandevents.db.Singleton.listNews(Singleton.java:64)
at newsandevents.control.GestionNews.listNewsTitles(GestionNews.java:37)
at unnoba.Commands.GeneralCommands.IndexCommand.execute(IndexCommand.java:23)
at unnoba.GUIManagement.Controller.processRequest(Controller.java:43)
at unnoba.GUIManagement.Controller.doGet(Controller.java:67)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.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(StandardValveContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.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(StandardValveContext.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.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:300)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:374)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:675)
at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:534)


The only difference is that with win I had tomcat 5 and with DEbian tomcat 4
King regards

Naty


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 28, 2005 11:49 am 
Newbie

Joined: Mon Feb 21, 2005 5:42 pm
Posts: 10
Sorry I did a mistake
In both debian and windows I have Tomcat 5.
Regards

Naty


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 28, 2005 8:12 pm 
Newbie

Joined: Mon Feb 21, 2005 5:42 pm
Posts: 10
Solutioned!!!
We had a problem with the user of the database that hasn't got all the necesaries privilegies :)
Thanks anyway
Naty


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.