I have a <no-tx-datasource> that I want to use from a client. To enable the lookup of 
this datasource from a client running outside the container, I had to set the 

<use-java-context>false</use-java-context> 

in the datasource configuration.

By default, the datasource is bound to java: namespace which is not availabe outside 
the container.  If you set the above option, the datasource is bound to the global 
jndi and a client can lookup and use it. 

But, DO NOT USE THIS IN PRODUCTION. This is an anti-pattern. 

Seems to work ok for me.

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

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


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to