The jndi-name element should contain the jndi name of the item you are linking 
to not the jndi name you want it to be bound to.

In this case the connection factory is bound to JNDI as ConnectionFactory so 
that is the name to enter in the jndi-name element.

>From the jboss-web.dtd: -

<!ELEMENT resource-ref (res-ref-name , (jndi-name | res-url))>

For your example the resource ref element should just contain a res-ref-name 
element and a jndi-name element.



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

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


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to