File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JBoss/WildFly and the fly likes EJB/JBOSS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "EJB/JBOSS" Watch "EJB/JBOSS" New topic
Author

EJB/JBOSS

simon silva
Greenhorn

Joined: Apr 16, 2008
Posts: 4
Hi,

I m experiencing an error in my application
"javax.persistence.PersistenceException: org.hibernate.exception.JDBCConnectionException: could not execute query"

This happens when the Database connection is closed or slow, my problem is when it happens i have to reset my JBoss server manually in the server side to client to log on again.

Do I have a way to automatically reset the JBoss server, if some one can help me to solve this problem. its would be a grate help.
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10289
    
168

Simon,

Welcome to JavaRanch

when it happens i have to reset my JBoss server manually in the server side to client to log on again.


What does reset JBoss server mean? Do you mean, you stop/start JBoss?


[My Blog] [JavaRanch Journal]
simon silva
Greenhorn

Joined: Apr 16, 2008
Posts: 4
Originally posted by Jaikiran Pai:
Simon,

Welcome to JavaRanch



What does reset JBoss server mean? Do you mean, you stop/start JBoss?
simon silva
Greenhorn

Joined: Apr 16, 2008
Posts: 4
Originally posted by Jaikiran Pai:
Simon,

Welcome to JavaRanch



What does reset JBoss server mean? Do you mean, you stop/start JBoss?


Thanks, Jaikiran

yes, when this happened i have to manually start the server again.
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10289
    
168

See if this is of any help.
simon silva
Greenhorn

Joined: Apr 16, 2008
Posts: 4
Thank you very very much It really solve my problem
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: EJB/JBOSS