6 Replies Latest reply on Feb 6, 2012 6:35 PM by Stephen Coy

    Jboss JDBC datasource using jar file in WEB-INF/lib instead of creating a new module

    ~= ziggy =~ Newbie

      As i understand it, with JBOSS 7, the data source is configured by creating a new module in `$JBOSS_HOME/modules`. This process includes adding the jar file for the jdbc driver to be used by the datasourced to be configured.


      Is there any way i can configure a datasource without having to create a new module?


      My web application has the MySQL Connector JDBC driver in the war file (in `WEB-INF/lib` - Included as part of the maven build). Wouldnt creating a new module result is a class conflict as this requires copying the jar file in the `modules/../main/ folder`?