Hello!

    It seems that some internal error leads to incorrect data in my entity bean 
POJO:


  | 2006-12-05 14:13:14,496 INFO  [myapp] Invoking: 
mypackage..session.MyObjectSession.getObject()
  | 2006-12-05 14:13:14,496 DEBUG [org.hibernate.impl.SessionImpl] opened 
session at timestamp: 4773168719855617
  | 2006-12-05 14:13:14,496 DEBUG [org.hibernate.jdbc.JDBCContext] 
TransactionFactory reported no active transaction; Synchronization not 
registered
  | 2006-12-05 14:13:14,496 DEBUG [org.hibernate.ejb.AbstractEntityManagerImpl] 
Looking for a JTA transaction to join
  | 2006-12-05 14:13:14,496 DEBUG [org.hibernate.jdbc.JDBCContext] successfully 
registered Synchronization
  | 2006-12-05 14:13:14,496 DEBUG [org.hibernate.ejb.AbstractEntityManagerImpl] 
Looking for a JTA transaction to join
  | 2006-12-05 14:13:14,496 DEBUG [org.hibernate.ejb.AbstractEntityManagerImpl] 
Transaction already joined
  | 2006-12-05 14:13:14,496 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to 
open PreparedStatement (open PreparedStatements: 0, globally: 1)
  | 2006-12-05 14:13:14,496 DEBUG [org.hibernate.jdbc.ConnectionManager] 
opening JDBC connection
  | 2006-12-05 14:13:14,496 DEBUG [org.jboss.mq.il.uil2.SocketManager] End 
ReadTask.run
  | 2006-12-05 14:13:14,512 DEBUG [org.hibernate.SQL] 
  |     /* select
  |         x 
  |     from
  |         MyObject x 
  |     where
  |         x.id = 1 */ select
  |             MyObject0_.ID as
  |             .......
  |         from
  |             MyObject_DATA MyObject0_ 
  |         where
  |             MyObject0_.ID=1
  | 2006-12-05 14:13:14,512 DEBUG [org.jboss.mq.il.uil2.SocketManager] End 
WriteTask.run
  | 2006-12-05 14:13:14,512 DEBUG 
[org.jboss.mq.il.uil2.ServerSocketManagerHandler] Exiting on IOE
  | java.net.SocketException: socket closed
  |     at java.net.SocketInputStream.socketRead0(Native Method)
  |     at java.net.SocketInputStream.read(SocketInputStream.java:129)
  |     at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
  |     at java.io.BufferedInputStream.read(BufferedInputStream.java:235)
  |     at 
org.jboss.util.stream.NotifyingBufferedInputStream.read(NotifyingBufferedInputStream.java:79)
  |     at 
java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2205)
  |     at 
java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(ObjectInputStream.java:2385)
  |     at 
java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStream.java:2452)
  |     at 
java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream.java:2524)
  |     at 
java.io.ObjectInputStream$BlockDataInputStream.readByte(ObjectInputStream.java:2673)
  |     at java.io.ObjectInputStream.readByte(ObjectInputStream.java:874)
  |     at 
org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:317)
  |     at java.lang.Thread.run(Thread.java:595)
  | 2006-12-05 14:13:14,512 INFO  [STDOUT] Hibernate: 
  |     /* select
  |         x 
  |     from
  |         MyObject x 
  |     where
  |         x.id = 1 */ select
  |             MyObject0_.ID 
  |             .....
  |         from
  |             MyObject_DATA MyObject0_ 
  |         where
  |             MyObject0_.ID=1
  | 2006-12-05 14:13:14,512 DEBUG [org.jboss.mq.il.uil2.SocketManager] End 
ReadTask.run
  | 2006-12-05 14:13:14,512 DEBUG [org.jboss.mq.il.uil2.SocketManager] Failed 
to handle: org.jboss.mq.il.uil2.msgs.CloseMsg18880098[msgType: 
m_connectionClosing, msgID: -2147480999, error: null]
  | java.io.IOException: Client is not connected
  |     at 
org.jboss.mq.il.uil2.SocketManager.internalSendMessage(SocketManager.java:265)
  |     at org.jboss.mq.il.uil2.SocketManager.sendReply(SocketManager.java:239)
  |     at 
org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(ServerSocketManagerHandler.java:128)
  |     at 
org.jboss.mq.il.uil2.SocketManager$ReadTask.handleMsg(SocketManager.java:396)
  |     at org.jboss.mq.il.uil2.msgs.BaseMsg.run(BaseMsg.java:392)
  |     at 
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748)
  |     at java.lang.Thread.run(Thread.java:595)
  | 2006-12-05 14:13:14,512 DEBUG [org.hibernate.SQL] 
  |     /* select
  |         x 
  |     from
  |         MyObject x 
  |     where
  |         x.id = 1 */ select
  |             MyObject0_.ID as 
  |             ..... 
  |         from
  |             MyObject_DATA MyObject0_ 
  |         where
  |             MyObject0_.ID=1
  | 2006-12-05 14:13:14,512 DEBUG [org.jboss.mq.il.uil2.UILClientILService] 
Stopping
  | 2006-12-05 14:13:14,512 DEBUG [org.jboss.mq.il.uil2.SocketManager] End 
WriteTask.run
  | 2006-12-05 14:13:14,512 DEBUG [org.jboss.mq.il.uil2.SocketManager] Failed 
to send error reply
  | java.io.IOException: Client is not connected
  |     at 
org.jboss.mq.il.uil2.SocketManager.internalSendMessage(SocketManager.java:265)
  |     at org.jboss.mq.il.uil2.SocketManager.access$800(SocketManager.java:52)
  |     at 
org.jboss.mq.il.uil2.SocketManager$ReadTask.handleMsg(SocketManager.java:409)
  |     at org.jboss.mq.il.uil2.msgs.BaseMsg.run(BaseMsg.java:392)
  |     at 
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748)
  |     at java.lang.Thread.run(Thread.java:595)
  | 2006-12-05 14:13:14,512 INFO  [STDOUT] Hibernate: 
  |     /* select
  |         x 
  |     from
  |         MyObject x 
  |     where
  |         x.id = 1 */ select
  |             MyObject0_.ID
  |                     ....
  |         from
  |             MyObject_DATA MyObject0_ 
  |         where
  |             MyObject0_.ID=1
  | 2006-12-05 14:13:14,512 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to 
open ResultSet (open ResultSets: 0, globally: 0)
  | 2006-12-05 14:13:14,512 DEBUG [org.hibernate.loader.Loader] result row: 
EntityKey[mypackage..entity.MyObject#1]
  | 2006-12-05 14:13:14,512 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to 
close ResultSet (open ResultSets: 1, globally: 1)
  | 2006-12-05 14:13:14,512 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to 
close PreparedStatement (open PreparedStatements: 1, globally: 2)
  | 2006-12-05 14:13:14,512 DEBUG [org.hibernate.jdbc.ConnectionManager] 
aggressively releasing JDBC connection
  | 2006-12-05 14:13:14,512 DEBUG [org.hibernate.jdbc.ConnectionManager] 
releasing JDBC connection [ (open PreparedStatements: 0, globally: 1) (open 
ResultSets: 0, globally: 0)]
  | 2006-12-05 14:13:14,512 DEBUG [org.hibernate.engine.TwoPhaseLoad] resolving 
associations for [mypackage..entity.MyObject#1]
  | 2006-12-05 14:13:14,512 DEBUG [org.hibernate.engine.TwoPhaseLoad] done 
materializing entity [mypackage..entity.MyObject#1]
  | 2006-12-05 14:13:14,512 DEBUG 
[org.hibernate.engine.StatefulPersistenceContext] initializing non-lazy 
collections
  | 2006-12-05 14:13:14,512 INFO  [myapp] MyObject name 3
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991283#3991283

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991283
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to