[wildfly-dev] Deploying JDBC driver to WildFly

Arun Gupta arun.gupta at gmail.com
Tue Oct 7 16:36:50 EDT 2014


Cool, I think this is what he was looking for.

I've forwarded the information to him and hopefully this will make his
life somewhat simpler and create a stickiness with WildFly :)

On Tue, Oct 7, 2014 at 1:31 PM, Brian Stansberry
<brian.stansberry at redhat.com> wrote:
> You can deploy the driver as a jar, just like a war, ear etc. Then use
> the deployment name in the driver element of the datasource config.
>
> https://docs.jboss.org/author/display/WFLY9/DataSource+configuration
>
> This old wiki article is pretty good too:
>
> https://developer.jboss.org/wiki/DataSourceConfigurationInAS7
>
> On 10/7/14, 2:50 PM, Arun Gupta wrote:
>> I was talking to Adam Bien and he is an avid supporter of WildFly and
>> using it in all his projects now. One of his pet peeves is deployment
>> of JDBC driver.
>>
>> He can either bundle it in WEB-INF/lib but prefer to deploy it on the
>> application server itself. Currently he deploys it as a JBoss module
>> but prefer it to be rather simplistic. His suggestion was to define a
>> directory like "standalone/lib/jdbc" and any JAR files copied there
>> should be automatically deployed as module.
>>
>> What is the recommended way to deploy a JDBC driver to WildFly ?
>>
>> Does it necessarily have to be deployed as JBoss module ? If yes, how
>> can this be simplified ?
>>
>> Cheers
>> Arun
>>
>
>
> --
> Brian Stansberry
> Senior Principal Software Engineer
> JBoss by Red Hat
> _______________________________________________
> wildfly-dev mailing list
> wildfly-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/wildfly-dev



-- 
http://blog.arungupta.me
http://twitter.com/arungupta


More information about the wildfly-dev mailing list