Try something like this in ur ejb-jar.xml
<resource-ref>
        <res-ref-name>jdbc/FooDS</res-ref-name>
        <res-type>javax.sql.DataSource</res-type>
        <res-auth>Container</res-auth>
        <res-sharing-scope>Shareable</res-sharing-scope>
    </resource-ref>
and in jboss.xml
<resource-ref>
   <res-ref-name>jdbc/FooDS</res-ref-name>
   <jndi-name>Actual JNDI Name</jndi-name>
</resource-ref>



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

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


-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to