[JBoss-user] [JCA/JBoss] - Re: keep getting tx marked for rollback error

2005-03-11 Thread [EMAIL PROTECTED]
I can see a number of problems with your code
1) If by outside an EJB you mean a servlet you should use 
java:comp/UserTransaction
(although in JBoss there is no difference it optimizes away the client 
transaction to the server user transaction)
2) Some of the status checking is wrong
3) The commit/rollback logic is wrong

I could help you fix it, but then I don't feel the need since we already provide
this feature, it is called CMT and it works.
If you don't want to use tried and tested code, you'll have to debug it 
yourself.

On your main question, I have no idea. 
You don't post any useful information -- "READ THIS FIRST".
My *guess* would be a transaction timeout.


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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869800


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: keep getting tx marked for rollback error

2005-03-17 Thread berkgypsy
I think you are right that it is due to tx timeouts.  And it looks like 
transactions time out when I startup JBoss with a lot of JMS messages in the 
queue (using oracle for jms persistence).  Is there any way I can avoid having 
these transactions timeout?

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3870636


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: keep getting tx marked for rollback error

2005-03-21 Thread [EMAIL PROTECTED]
"berkgypsy" wrote : Is there any way I can avoid having these transactions 
timeout?
Yes, figure out what is taking so long or not responding.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3871031


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user