JTA/Ejb3 not working on Wildfly 26.1.1

64 views
Skip to first unread message

Satish Kumar Singh

unread,
Nov 11, 2022, 10:58:06 AM11/11/22
to wil...@googlegroups.com
Hi Team , 

I have developed one ejb application with JTA implementing having persistence.xml and using @PersistenceContext followed by EntityManger with @Sateless bean .

But while deploying ejb jar on wildfly 26.1.1 deployment is faling and where same ejb.jar components deployed successfully on wildlfly 10 version. 

Can some one please help whether JIT working on wildfly 26.1.1 with persistence.xml or not with @PersistenceContext followed by EntityManger.

Attached persistence.xml file in mail which having created datasource. 




Regards
Satish 
20221110_094914.jpg
20221110_095019.jpg

Scott Marlow

unread,
Nov 14, 2022, 11:35:26 AM11/14/22
to Satish Kumar Singh, wil...@googlegroups.com

Hi Satish,

Can you also include the exception call stack?

Scott

--
You received this message because you are subscribed to the Google Groups "WildFly" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wildfly+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/wildfly/CAH-bjsZ3%2BrDfPp0tCzLhkVEtBC6vhzsuMqvvSq1V-ftNyYCdrg%40mail.gmail.com.

Satish Kumar Singh

unread,
Nov 14, 2022, 11:51:06 AM11/14/22
to Scott Marlow, wil...@googlegroups.com
Hi Scott,

Thank you for the reply , 

As I am able to resolved the issue there was some  datasource configuration issue was there that I have fixed now.

If it's possible please help me I tried to disable the attribute JTA="false" for XA datasource in standalone.xml file to make setAutoCommit false  but this attribute is  not there as part of XA datasource xml tag ,

But for non xa datasource this attribute is there and able to disable the jta=false 

Could you help , how can I make jta= false XA datasource as well to control the transaction in XA ?


Regards ,

Satish 
Reply all
Reply to author
Forward
0 new messages