Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Connection is broken

meka toka
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using JBoss 3.0.2 and am trying to create an entity bean. In this process i am getting the following error
12:47:36,375 ERROR [Klr_LocalHome] Could not create entity
java.sql.SQLException: Connection is broken
at org.hsqldb.Trace.getError(
at org.hsqldb.Trace.getError(
at org.hsqldb.Trace.error(
at org.hsqldb.jdbcConnection.executeHSQL(
at org.hsqldb.jdbcConnection.execute(
at org.hsqldb.jdbcStatement.fetchResult(
at org.hsqldb.jdbcStatement.executeUpdate(
at org.hsqldb.jdbcPreparedStatement.executeUpdate(jdbcPreparedStatement.

Here is the situation
--> The call ( from the client side to server side ) is asynchronous (JMS)
--> I have put some debug statements to confirm the message is going to the server side (session bean) which is trying to create the entity bean "Klr"
--> The session bean trying to access the "Klr" bean is using the default context as both (session and Klr are on same JVM)
--> The data that is being used to create the entity bean is .... 4 Strings and one user defined class (say 'test') .. something like below
klr_local klr = klr_localhome.create(String x, String y, String z, String a, Test test);

--> The class 'test' has been serialized .. (obviously, otherwise the jms message wouldnt reach the server side)
--> The class 'test' has 7 default table models in it, now this looks a bad design .. but my requirement is like that .. i only need to store it and retrieve at a later point .. i am not manipulating with the data on server side.
Any suggestions, hints, advices ...
will appreciate it
Thank You
Meka Toka
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic