File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Application Frameworks and the fly likes JBoss Seam - Getting a SQLException Closed Connection after a while (Tomcat) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "JBoss Seam - Getting a SQLException Closed Connection after a while (Tomcat)" Watch "JBoss Seam - Getting a SQLException Closed Connection after a while (Tomcat)" New topic
Author

JBoss Seam - Getting a SQLException Closed Connection after a while (Tomcat)

Javoso Torso
Ranch Hand

Joined: Aug 15, 2003
Posts: 88
Hello,

After uploading my Seam application to the server (Tomcat), everything works fine. But when I try the same application again after a while (e.g. the next day) I am getting a Closed Connection SQLException.
I can see that in the catalina.out log.

Is this related to a wrong configuration in the server.xml or components.xml?

components.xml

server.xml


Thanks for any idea!


I hate 'trial and error'<br />and I am doing it all the time
Javoso Torso
Ranch Hand

Joined: Aug 15, 2003
Posts: 88
Hello,

Does anyone at least know a good way of configure a log to understand why this error is happening?

All ideas which could give a hint are very welcome,

thanks
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: JBoss Seam - Getting a SQLException Closed Connection after a while (Tomcat)