Try the following XDoclet snippet:
* @ejb.resource-ref res-auth="Application"
  | * res-name="jdbc/FooDS"
  | * res-type="javax.sql.DataSource"
  | * @jboss.resource-ref res-ref-name="jdbc/FooDS"
  | * jndi-name="java:/FooDS"

The JNDI binding for your datasource is "java:/FooDS" as given by the JNDI-name, 
"FooDS" in the datasource definition (*-ds.xml). The res-ref-name, "jdbc/FooDS" 
expands to the full reference "java:com/env/jdbc/FooDS".

Hope that helps.

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

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


-------------------------------------------------------
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