This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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: 10440
    
176

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: 10440
    
176

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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: EJB/JBOSS
 
It's not a secret anymore!