I place mydb-ds.xml in the root of my ear.  My ear/META-INF/jboss-app.xml looks 
like this:

  | <?xml version="1.0" encoding="UTF-8"?>
  | <!DOCTYPE jboss-app
  |     PUBLIC "-//JBoss//DTD J2EE Application 1.4//EN"
  |     "http://www.jboss.org/j2ee/dtd/jboss-app_4_0.dtd";>
  | 
  | <jboss-app>
  |   <module>
  |     <service>mydb-ds.xml</service>
  |   </module>
  | </jboss-app>
  | 
I still have to copy the JDBC driver jar to the server's lib directory.  Anyone 
know if it's possible to package the JDBC driver jar in the ear?  The DTD for 
-ds.xml files doesn't look like it has a way to specify a classpath, like 
regular -service.xml files.  I suppose I could use the XSLT stylesheet that 
JBoss uses to transform the -ds.xml into a -service.xml ahead of time and add 
the classpath entry, but I was hoping there was an easier way.

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

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


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to