I have developed my first, simple, Bean managed Entity bean. 
I am using Jboss-3.0.4 and mySql-3.2 
Everyting works, but every time I access the database using the bean, i get some 
warnings, like: 

1) javax.transaction.xa.XAException: wrong id in commit: 
expeced: null, got: XidImpl 

2) javax.transaction.xa.XAException: Error trying to start local tx: 
javax.resource.ResourceException: SQLException 

May be there is something wrong in my code or in some xml file. 
Where can I find a full, working example of Bean managed Entity bean for Jboss-3 to 
compare with mine ? 

Somebody already game me a suggestion on this regard:
-----------------------------------------------------------
Dont think your setup supports two phase commit 
(unless you are using a custom XA wrapper). 
Change to use local datasource for your mySQL instead of xa.
-----------------------------------------------------------

But I don't know which type of change I should do and where.
Please help me.

Luigi Fonti 



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

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


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to