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.

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

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


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to