This content has been marked as final.
Show 1 reply
-
1. Re: [Fixed] How to get jndi-name resource-ref be inserted in
fjgm Mar 17, 2005 1:22 PM (in response to fjgm)
I just fixed the "problem", actually I was assuming that the @web.resource-ref took care of the jboss-web DD to generate the resource-ref. But I need to use the @jboss.resource-ref to achieve that.
The declaration is as follow@web.resource-ref name = "jdbc/TheDataSource" type = "javax.sql.DataSource" auth = "Container" jndi-name = "java:jdbc/datasource" @jboss.resource-ref jndi-name = "java:/jdbc/datasource" res-ref-name = "jdbc/TheDataSource"
Regards,
Francisco