-
1. Re: Business-central is no more available after changing default datasource to PostgreSQL
juleshoueto May 25, 2017 3:01 PM (in response to juleshoueto)I am still troubleshooting, and this are the errors that I am facing,
18:46:05,170 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) JBAS014612: Operation ("enable") failed - address: ([
("subsystem" => "datasources"),
("data-source" => "PostgresqlDS")
]) - failure description: {"JBAS014879: One or more services were unable to start due to one or more indirect dependencies not being available." => {
"Services that were unable to start:" => [
"jboss.data-source.reference-factory.PostgresqlDS",
"jboss.naming.context.java.jboss.datasources.PostgresqlDS"
],
"Services that may be the cause:" => ["jboss.jdbc-driver.postgresql-9_4-1202_jdbc42_jar"]
}}
18:46:05,175 WARN [org.kie.server.services.impl.controller.DefaultRestControllerImpl] (KieServer-ControllerConnect) Exception encountered while syncing with controller at http://orc-brms3:8080/business-central/rest/controller/server/default-kieserver error Error while sending PUT request to http://orc-brms3:8080/business-central/rest/controller/server/default-kieserver response code 403
18:46:05,228 INFO [org.jboss.as.server] (ServerService Thread Pool -- 29) JBAS015859: Deployed "kie-server.war" (runtime-name : "kie-server.war")
18:46:05,230 INFO [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report
JBAS014775: New missing/unsatisfied dependencies:
service jboss.jdbc-driver.postgresql-9_4-1202_jdbc42_jar (missing) dependents: [service jboss.data-source.java:jboss/datasources/PostgresqlDS, service jboss.driver-demander.java:jboss/datasources/PostgresqlDS]
Can anyone please help me ?
-
2. Re: Business-central is no more available after changing default datasource to PostgreSQL
dmarrazzo May 29, 2017 3:42 AM (in response to juleshoueto)Hi Jules,
I suggest you to double check the docs:
Chapter 3. Persistence Setups - Red Hat Customer Portal
Pay attention to:
- module.xml
- /business-central.war/WEB-INF/classes/META-INF/persistence.xml
Then configure even the dashbuilder and the kieserver.
If it doesn't work try to reset the filesystem content (delete or move the directories):
- git repo `.niogit` (Remember to backup the important projects)
- maven `repositories/kie`
- index `.index`
-
3. Re: Business-central is no more available after changing default datasource to PostgreSQL
mccloud Jun 2, 2017 8:48 AM (in response to juleshoueto)Have you installed the PostgreSQL driver onto the JBoss EAP platform? The error seems to indicate that EAP can't find the database driver JAR ....
Cheers,
Duncan
-
4. Re: Business-central is no more available after changing default datasource to PostgreSQL
juleshoueto Jun 2, 2017 3:17 PM (in response to mccloud)Hello Duncan,
please, did you mean that i need to install manuay the postgresql-9.4-1206-jdbc42.jar file ?
Thank you for your answer
-
5. Re: Business-central is no more available after changing default datasource to PostgreSQL
dmarrazzo Jun 3, 2017 4:29 AM (in response to juleshoueto)If you spend some minutes of your time reading the manual, you will find how to set up the PostgreSQL driver.
Chapter 3. Persistence Setups - Red Hat Customer Portal
Your browser has a nice feature to find text in a page, look for "driver"