0 Replies Latest reply on Mar 3, 2005 10:31 AM by Valentin Pascaru

    Transaction question....please help!

    Valentin Pascaru Newbie

      Hi all,
      I'm pretty new to JBoss but I have also a very tight deadline in porting an application from Weblogic to JBoss. Everything is fine excepting one thing. When running the application on JBoss and look a UserTransaction object using the J2EE standard JNDI name as "java:comp/UserTransaction" the application just blows saying that this name is not found. I read in JBoss's manual and there says to use "UserTransaction" JNDI name instead. What I don't understand is the following extract from manual:

      "When a UserTransaction object is obtained by looking up JNDI name UserTransaction in the same virtual machine as JBoss, a simple interface to the JTA TransactionManager is returned. This is suitable for web components running in web containers embedded in JBoss. When components are deployed in an embedded web server, the deployer will make a JNDI link from the standard java:comp/UserTransaction ENC name to the global UserTransaction binding so that the web components can lookup the UserTranaction instance under JNDI name as specified by the J2EE."

      My questions are:
      Can please someone explaine me what exaclty this extract reffers to?
      Can I still use "java:comp/UserTransactio" JNDI name somehow? How can I achieve that? There is no mapping between these 2 names?

      P.S. I don't know if this is the best place to ask this question and I'm apologizing if not. Please help me. I'm running out of time :((

      Thanks a lot.