-
1. Re: JBoss 7.1.1 AS - where to install jdbc driver?
fpalma Apr 20, 2012 11:34 AM (in response to carey.brown)To install the datasource for MySql I have installed the jar in the folder "C:\jboss-as-7.1.0.Final\modules\com\mysql\main". Sure the directory is the same "C:\jboss-as-7.1.0.Final\modules\com"
I consulted this website: http://marceloagustini.wordpress.com/2011/09/23/agregar-mysql-datasource-jboss-7-x/
Fran
-
2. Re: JBoss 7.1.1 AS - where to install jdbc driver?
carey.brown Apr 20, 2012 11:47 AM (in response to fpalma)Thanks for the reply. At this point I'm not using data-sources so this doesn't seem to apply.
Carey
-
3. Re: JBoss 7.1.1 AS - where to install jdbc driver?
wdfink Apr 20, 2012 12:44 PM (in response to carey.brown)See the datasource wiki.
How do you want to use the driver?
Open a connection without DS is not the meaning of an AppServer. The server will pool the connections for you
-
4. Re: JBoss 7.1.1 AS - where to install jdbc driver?
jonathan.headland Aug 20, 2013 6:23 AM (in response to carey.brown)If your application is making direct JDBC connections, then it will need the driver class within the WAR's WEB-INF/lib subdirectory.
As has been noted by Wolf-Dieter Fink, this is not an application-server-like way of going about things; deployable applications are more modular if they use datasources provided by the execution environment, JBoss. This standardizes administration of datasource connection details.