• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Transaction name null if WebsphereUowTransactionManager is configured

 
Priyadarshan Kelkar
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I am using Spring Transactions in my project. My Spring version is 3.0.3 and IBM Websphere v6.1.0.35.

If I use JtaTransactionManager then transaction name gets printed properly in logs.

Configuration:



Output of logs for log4j.logger.org.springframework.transaction.jta=DEBUG



But if I use WebsphereUowTransactionManager, then transaction name appears 'null' in the logs.

Configuration:


Logs Output:



If someone has faced this before and managed to resolve it please share your inputs.
Thanks in advance.
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you try just with

<tx:jta-transaction-manager id="txManager"/>

Mark
 
Priyadarshan Kelkar
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Mark,

Thanks for replying.
I tried with <tx:jta-transaction-manager id="txManager"/>

But it is giving the same result as before. The transaction name is still being printed "null".
Really strange what is causing it to print null.

Please can you suggest ?
Thanks in advance.
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not sure, but JtaTransactionManager is the parent class of WebsphereUowTransactionManager in Spring. Maybe because you are using something more specific to Websphere, it can't get that value anymore.

Wish I could tell you more.

Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic