java - "Failed to load module" error for Firebird datasource on WildFly 8.1.0.Final -


the server startup error message is:

16:08:37,829 error [org.jboss.as.controller.management-operation] (serverservice  thread pool -- 27) jbas014613: operation ("add") failed - address: ([     ("subsystem" => "datasources"),     ("jdbc-driver" => "firebird") ]) - failure description: "jbas010441: failed load module driver [org.fir ebirdsql]" 

content of module.xml:

<?xml version="1.0" encoding="utf-8"?> <module xmlns="urn:jboss:module:1.3" name="org.firebirdsql">   <resources>     <resource-root path="jaybird-2.2.5.jar"/>   </resources>   <dependencies>     <module name="javax.api"/>     <module name="javax.resource"/>     <module name="javax.transaction.api"/>   </dependencies> </module> 

driver definition in standalone.xml:

<driver name="firebird" module="org.firebirdsql">   <driver-class>org.firebirdsql.jdbc.fbdriver</driver-class> </driver> 

(based on http://masterjboss.blogspot.de/2014/03/how-to-configure-mysql-jdbc-driver-in.html)

a similar problem (without accepted answer): db2 driver/datasource setup on wildfly: failed load module driver [com.ibm]

replace <module name="javax.resource"/> <module name="javax.resource.api"/> in dependencies section.


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -