Bugs item #574130, was opened at 2002-06-26 08:29
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=574130&group_id=22866

Category: JBossTX
Group: v3.0 Rabbit Hole
Status: Open
Resolution: Rejected
Priority: 5
Submitted By: Jon Swinth (jswinth)
Assigned to: Nobody/Anonymous (nobody)
Summary: Remote UserTransaction fails name lookup

Initial Comment:
When using a UserTransaction from a remote client (i.e.
standalone Tomcat) in which JBoss is not on the same
server results in an exception when begin() is called.
 This happens specifically when new
InitialContext(Properties) is used to connect to the
JBoss server.  Traced the issue to
org.jboss.tm.usertx.client.ClientUserTransaction.createSession().
 In this method new
InitialContext().lookup("UserTransactionSessionFactory")
is called.  Since there are no jndi.properties, the
InitialContext defaults to 127.0.0.1 which fails.

----------------------------------------------------------------------

>Comment By: Jon Swinth (jswinth)
Date: 2002-11-14 14:31

Message:
Logged In: YES 
user_id=541070

Yes, I can see your point, but that isn't always an option.
 My experience with Apache Tomcat has been that a
jndi.properties file does not work.  Shouldn't the
UserTransaction object stub that I retrieve already know
what server it came from?

----------------------------------------------------------------------

Comment By: Ole Husgaard (sparre)
Date: 2002-11-05 23:59

Message:
Logged In: YES 
user_id=175257

This Remote UT implementation only controls transactions
on a single JBoss server. It has to find that server, and
that is done through jndi.
The fix is simple: Create a client jndi.properties file.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=574130&group_id=22866


-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing 
your web site with SSL, click here to get a FREE TRIAL of a Thawte 
Server Certificate: http://www.gothawte.com/rd524.html
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to