Lonzak opened MEAR-271 and commented
It would be nice if the 'lookup-name' would be supported in the resource-ref section to support JNDI lookup. Currently, this tag is ignored in the generated application.xml. (+description would also be nice)
Example:
The pom.xml snippet
<configuration>
<resourceRefs>
<resource-ref>
<description>ExampleDS</description>
<res-ref-name>jdbc/ExampleDS</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
<lookup-name>java:jboss/datasources/ExampleDS</lookup-name>
</resource-ref>
</resourceRefs>
</configuration>
should generate application.xml with
<resource-ref>
<description>ExampleDS</description>
<res-ref-name>jdbc/ExampleDS</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
<lookup-name>java:jboss/datasources/ExampleDS</lookup-name>
</resource-ref>
This is from a solution from the jboss guys.
JBoss solution
Affects: 3.0.1
Remote Links:
Lonzak opened MEAR-271 and commented
It would be nice if the 'lookup-name' would be supported in the resource-ref section to support JNDI lookup. Currently, this tag is ignored in the generated application.xml. (+description would also be nice)
Example:
The pom.xml snippet
should generate application.xml with
This is from a solution from the jboss guys.
JBoss solution
Affects: 3.0.1
Remote Links: