[jboss-dev-forums] [JBoss AS7 Development] - Data Source Configuration in AS 7

Kabir Khan do-not-reply at jboss.com
Thu Mar 31 09:05:30 EDT 2011


Kabir Khan [http://community.jboss.org/people/kabirkhan] commented on the document

"Data Source Configuration in AS 7"

To view all comments on this document, visit: http://community.jboss.org/docs/DOC-16657#comment-5963

--------------------------------------------------
>  Also, the jar file must have a META-INF/services/java.sql.Driver file. 
If the jar does not contain that file, it can be included in the module by adding a jboss-7.0.0.<release>/modules/com/mysql/main/files/META-INF/services/java.sql.Driver and to have the module.xml reference the extra resource root

<module xmlns="urn:jboss:module:1.0" name="com.mysql">
  <resources>
    <resource-root path="files"/>
    <resource-root path="mysql-connector-java-5.1.15.jar"/>
  </resources>
  <dependencies>
    <module name="javax.api"/>
  </dependencies>
</module>
--------------------------------------------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20110331/1c334154/attachment.html 


More information about the jboss-dev-forums mailing list