[jboss-user] [JNDI/Naming/Network] - Re: ResourceEnvRef JNDI
PeterJ
do-not-reply at jboss.com
Thu Jul 16 11:39:19 EDT 2009
Please use the 'code' tags when posting XML text (that will prevent the browser from mistaking the XML entities as HTML).
I have not worked with resource-env-ref, but it should be similar to how resource-ref is handled. You need a WEB-INF/jboss-web.xml file that contains:
<jboss-web>
| <resource-env-ref>
| <resource-env-ref-name>XXXXX/YYYYYY</resource-env-ref-name>
| <jndi-name>ZZZZZ</jndi-name>
| </resource-env-ref>
| </jboss-web>
where ZZZZZ is the full JNDI name (including the 'java:' prefix if necessary).
By the way, the DTD for jboss-web.xml is located at docs/dtd/jboss-web_*.dtd
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4244127#4244127
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4244127
More information about the jboss-user
mailing list