I am trying to use the following code from my client 
Properties env = new Properties(); 
env.put( 
Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContex tFactory"
); 
env.put( Context.PROVIDER_URL, "localhost:1099" ); 
// Get a naming context 
InitialContext jndiContext = new InitialContext(env); 
UserTransaction userTran = ( javax.transaction.UserTransaction )
jndiContext.lookup( "javax.transaction.UserTransaction" ); 
and I am getting an error: 
"javax.transaction.UserTransaction not bound" 
Please somebody help me with that. Thanks a lot , Kirill. 


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to