jBoss Monkey wrote:
> If I create a database pool say "OracleDB" then it gets bound to
> "java:/OracleDB", which means that this is accessible only within the
> VM. And you can not make a jndi call from the client to lookup for
> "java:OracleDB", you will always get "not bound" exception.
>
>
.
Vincent.
-Message d'origine-
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]De la part de
[EMAIL PROTECTED]
Envoye : samedi 10 fevrier 2001 15:26
A : jBoss
Objet : Re: [jBoss-User] Client Accessible DataSource Pool
put this in the jboss.xml file that goes in your jar file under
MET
put this in the jboss.xml file that goes in your jar file under
META-INF/jboss.xml.
jdbc/myapp-db
OracleDB
then you can access it via a jndi lookup with "java:comp/env/jdbc/myapp-db"
If you are calling this from a bean make sure to add a section in
ejb-jar.xml for
If I create a database pool say "OracleDB" then it gets bound to
"java:/OracleDB", which means that this is accessible only within the VM.
And you can not make a jndi call from the client to lookup for
"java:OracleDB", you will always get "not bound" exception.
Does someone has any idea if the