Take a complex data object , use it with pojo cache 1.4sp1, 1.5 annotation. and javassist
3.3
if I do not you compile-time weaving nor run-time weaving
I get it to partially work , since parts of the complex data object are not instrumented
.
when I use compile-time weaving the the TX manager flips !
(I run in to class path problems with run-time weaving)
| 19:13:03,078 WARN [JMS SessionPool Worker-3] [jboss.cache.TreeCache] status is 1 (not
ACTIVE or PREPARING); returning null)
| 19:13:03,093 WARN [JMS SessionPool Worker-3] [jboss.cache.TreeCache] status is 1 (not
ACTIVE or PREPARING); returning null)
| 19:13:03,093 WARN [JMS SessionPool Worker-3] [jboss.cache.TreeCache] status is 1 (not
ACTIVE or PREPARING); returning null)
| 19:13:03,125 WARN [JMS SessionPool Worker-3] [jboss.cache.TreeCache]
PojoCache.endTransaction(): Failed with exception: java.lang.NullPointerException
| 19:13:03,125 WARN [JMS SessionPool Worker-3] [jboss.cache.TreeCache] status is 1 (not
ACTIVE or PREPARING); returning null)
| 19:13:03,140 WARN [JMS SessionPool Worker-3] [jboss.cache.TreeCache] status is 1 (not
ACTIVE or PREPARING); returning null)
| 19:13:03,156 WARN [JMS SessionPool Worker-3] [jboss.cache.TreeCache]
PojoCache.endTransaction(): Failed with exception: java.lang.NullPointerException
|
also my oracle datasource failes with
| at
org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessageConsumer.java:902)
| at org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:170)
| at org.jboss.mq.SpySession.run(SpySession.java:323)
| at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:194)
| at
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743)
| at java.lang.Thread.run(Unknown Source)
| Caused by: org.jboss.util.NestedSQLException: Transaction is not active:
tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=babylon7/29, BranchQual=, localId=29];
-
|
what is going on ?!?!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3967740#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...