Hi,
the "res-ref-name" is the name of the entry in your Environment Naming Context
(needed only for programmatic JNDI lookups), it is NOT the name of the datasource in
JNDI.
You need something like this (might still contain minor errors):
| <resource-ref>
| <res-ref-name>NameForLookup</res-ref-name>
| <res-type>javax.sql.DataSource</res-type>
| <mapped-name>jdbc/LOYALTY</mapped-name>
| <res-auth>Container</res-auth>
| </resource-ref>
|
Hope this helps
Wolfgang
PS: Please use "[ code ]" tags to mark XML, so that no information is lost.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4244055#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...