Re: Error running under Tomcat5
"Nick Silberstein" <[email protected]>
| Newsgroups | gmane.comp.web.pixory |
|---|---|
| Message-ID | <[email protected]> |
--- In [email protected], "Joe Panico" <pixory@y...> wrote: > I just downloaded Tomcat 5.0, unzipped it, and started the server by > running CATALINA_HOME/bin/startup.bat. Ok. I have Tomcat 5 running on my Linux box. If I access http://myip:8080/, I see the default Tomcat home page, the Tomcat JSP Examples and Servlet examples linked to from that all run fine. > Then I followed the instructions in the Pixory Readme file-- > I dropped the pixory.war file in CATALINA_HOME/webapps. > Tomcat automagically hot deployed the web application. Same here. > Then I went to > http://localhost:8080/pixory/pxapplication?service=page/AlbumBrowser > and everything just worked. Sadly, everything just blows up. ;) I get (this is a copy and paste of the web page): HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: org.pixory.pxmodel.PXObjectStoreException: net.sf.hibernate.JDBCException: Cannot open connection org.pixory.pxapplication.PXApplication.init(PXApplication.java:145) org.apache.catalina.valves.ErrorReportValve.invok e(ErrorReportValve.java:117) org.apache.coyote.tomcat5.CoyoteAdapter.service(C oyoteAdapter.java:160) org.apache.coyote.http11.Http11Processor.process( Http11Processor.java:793) org.apache.coyote.http11.Http11Protocol$Http11Con nectionHandler.processConnection(Http11Protocol.java:702) org.apache.tomcat.util.net.TcpWorkerThread.runIt( PoolTcpEndpoint.java:571) org.apache.tomcat.util.threads.ThreadPool$Control Runnable.run(ThreadPool.java:644) java.lang.Thread.run(Thread.java:534) root cause org.pixory.pxmodel.PXObjectStoreException: org.pixory.pxmodel.PXObjectStoreException: net.sf.hibernate.JDBCException: Cannot open connection org.pixory.pxmodel.PXObjectStore.setup(PXObjectStore.java:150) org.pixory.pxapplication.PXApplication.init(PXApplication.java:88) org.apache.catalina.valves.ErrorReportValve.invok e(ErrorReportValve.java:117) org.apache.coyote.tomcat5.CoyoteAdapter.service(C oyoteAdapter.java:160) org.apache.coyote.http11.Http11Processor.process( Http11Processor.java:793) org.apache.coyote.http11.Http11Protocol$Http11Con nectionHandler.processConnection(Http11Protocol.java:702) org.apache.tomcat.util.net.TcpWorkerThread.runIt( PoolTcpEndpoint.java:571) org.apache.tomcat.util.threads.ThreadPool$Control Runnable.run(ThreadPool.java:644) java.lang.Thread.run(Thread.java:534) note The full stack trace of the root cause is available in the Apache Tomcat/5.0 logs. Apache Tomcat/5.0 Oh well. Nick ------------------------ Yahoo! Groups Sponsor --------------------~--> Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar. Now with Pop-Up Blocker. Get it for free! http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/EGnolB/TM --------------------------------------------------------------------~-> Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/pixory-beta/ <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/