Details
-
Wish
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.0.1
-
None
Description
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.
Attachments
Attachments
Issue Links
- links to