How to configure a Microsoft SQLServer Module and Datasource in JBoss EAP 6?

Solution Verified - Updated -

Issue

  • In JBoss EAP 4.x/5.x datasources were defined in a $JBOSS_HOME/server/$PROFILE/deploy/*-ds.xml file and the JDBC driver (sqljdbc4.jar) was placed in the $JBOSS_HOME/server/$PROFILE/lib directory. How can this be done in EAP 6?
  • How to install the Microsoft SQLServer JDBC driver as a module and configure a Microsoft SQLServer datasource in EAP 6?
  • JBAS010441: Failed to load module for driver [com.microsoft.sqlserver.jdbc]
  • JBAS014775: new missing/unsatisfied dependencies service jboss.jdbc-driver.sqljdbc4_jar (missing).

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP) 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content