Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

UserTransaction in cluster for WS 5.0

 
Suttan Pym
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I am using UserTransaction and the url used for lookup is java:comp/env/UserTransaction. The code which does the lookup is running within the AppServer. In the case of stand-alone it has no problems in lookup. But in the case of cluster where I have deployed an application in the cluster (as target), it gives an error that it does not find "comp/env/UserTransaction" is the scope if "java:".
When dumpNameSpace is run using the url of that of the cluster the jndi name given for UserTransaction is jta/usertransaction, but the classname mentioned against it is java.lang.Object.
Can anyone give some info whether the jndi name used by me is wrong or the problem is something else?
Thanks in advance,
Suttan
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic