and after changing it to Mysql -
<datasource jndi-name="java:jboss/datasources/ExampleDS" pool-name="ExampleDS" enabled="true" use-java-context="true">
<connection-url>jdbc:mysql://localhost:3306/bamoedb?useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=UTC</connection-url>
<driver>mysql</driver>
<security>
<user-name>root</user-name>
<password>root@9kp</password>
</security>
</datasource>
<drivers>
<driver name="mysql" module="com.mysql">
<xa-datasource-class>com.mysql.cj.jdbc.MysqlXADataSource</xa-datasource-class>
</driver>
</drivers>
</datasources>
One more doubt that we face is that which standalone.xml file should we make changes in? There are 4 of them respectively mentioned below in the EAP-7.4.0 >Standalone> configuration folder -
standalone.xml , standalone-full.xml, standalone-full-ha.xml, standalone-ha.xml
I have presently made changes into the standalone-full.xml file as I run this file in the cmd to start the server
The server starts but with errors and the business-central.war file and the kie-server.war file do not get deployed. Basically their deployment fails, when I do these changes.
This is the error that I get -
17:19:41,257 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([
("subsystem" => "datasources"),
("data-source" => "ExampleDS")
]) - failure description: {
"WFLYCTL0412: Required services that are not installed:" => ["jboss.jdbc-driver.mysql"],
"WFLYCTL0180: Services with missing/unavailable dependencies" => [
"org.wildfly.data-source.ExampleDS is missing [jboss.jdbc-driver.mysql]",
"jboss.driver-demander.java:jboss/datasources/ExampleDS is missing [jboss.jdbc-driver.mysql]"
]
}
17:19:41,257 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([
("subsystem" => "datasources"),
("data-source" => "ExampleDS")
]) - failure description: {
"WFLYCTL0412: Required services that are not installed:" => [
"jboss.jdbc-driver.mysql",
"jboss.jdbc-driver.mysql"
],
"WFLYCTL0180: Services with missing/unavailable dependencies" => [
"org.wildfly.data-source.ExampleDS is missing [jboss.jdbc-driver.mysql]",
"jboss.driver-demander.java:jboss/datasources/ExampleDS is missing [jboss.jdbc-driver.mysql]",
"org.wildfly.data-source.ExampleDS is missing [jboss.jdbc-driver.mysql]"
]
}
17:19:41,273 INFO [org.jboss.as.server] (ServerService Thread Pool -- 45) WFLYSRV0010: Deployed "kie-server.war" (runtime-name : "kie-server.war")
17:19:41,273 INFO [org.jboss.as.server] (ServerService Thread Pool -- 45) WFLYSRV0010: Deployed "business-central.war" (runtime-name : "business-central.war")
17:19:41,289 INFO [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service status report
WFLYCTL0184: New missing/unsatisfied dependencies:
service jboss.jdbc-driver.mysql (missing) dependents: [service org.wildfly.data-source.ExampleDS, service jboss.driver-demander.java:jboss/datasources/ExampleDS]
How do I resolve this issue? I request you to help me out in resolving this issue... Waiting to hear back from you...
Thank You