Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 2) WFLYCTL0013: Operation ("add") failed - address: ([
- ("subsystem" => "datasources"),
- ("data-source" => "DB2DS1")
- ]) - failure description: {
- "WFLYCTL0412: Required services that are not installed:" => ["jboss.jdbc-driver.db2"],
- "WFLYCTL0180: Services with missing/unavailable dependencies" => [
- "org.wildfly.data-source.DB2DS1 is missing [jboss.jdbc-driver.db2]",
- "jboss.driver-demander.java:/DB2DS1 is missing [jboss.jdbc-driver.db2]"
- ]
- }
- <?xml version="1.0" encoding="UTF-8"?>
- <module xmlns="urn:jboss:module:1.5" name="com.ibm.db2">
- <properties>
- <property name="jboss.api" value="unsupported"/>
- </properties>
- <resources>
- <resource-root path="db2jcc.jar"/>
- </resources>
- <dependencies>
- <module name="javax.api"/>
- <module name="javax.transaction.api"/>
- <module name="javax.servlet.api" optional="true"/>
- </dependencies>
- <drivers>
- <driver name="h2" module="com.h2database.h2">
- <xa-datasource-class>org.h2.jdbcx.JdbcDataSource</xa-datasource-class>
- </driver>
- <driver name="db2" module="com.ibm.db2">
- <datasource-class>com.ibm.db2.jcc.DB2Driver</datasource-class>
- </driver>
- </drivers>
- data-source add --name=DB2DS1--jndi-name=java:/DB2DS1--driver-name=db2 --connection-url=jdbc:db2://localhost:50000/sample
Add Comment
Please, Sign In to add comment