Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EJB/JBOSS

 
simon silva
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
simon silva
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See if this is of any help.
 
simon silva
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you very very much It really solve my problem
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic