This content has been marked as final.
Show 2 replies
-
1. Re: resource refs bind to DefaultDS instead of my JNDI
jonlee Nov 14, 2003 2:13 AM (in response to smaring)What happens if you use the following:
<resource-ref> <res-ref-name>jdbc/datasource</res-ref-name> <jndi-name>java:/MyDS</jndi-name> </resource-ref>
-
2. Re: resource refs bind to DefaultDS instead of my JNDI
jonlee Nov 14, 2003 2:22 AM (in response to smaring)Also use http://localhost:8080/jmx-console -> JNDIView -> list to view the link up for your component namespace to the JNDI global binding for the datasource.
+- env (class: org.jnp.interfaces.NamingContext) | +- jdbc (class: org.jnp.interfaces.NamingContext) | | +- datasource[link -> java:/MyDS] (class: javax.naming.LinkRef)