|
From: Jordi B. U. <jb...@ne...> - 2016-05-19 14:14:09
|
I have changed the module.xml, rebuild the project and restarted the wildfly server but I get the same error, referring to version 2.7.2. I don't really know where the reference comes from.
I don't know if that is the core of my problem as it is only a warning. What I see is that when I try to add the datasource with the following command:
data-source add --name=signserverds --driver-name="org.mariadb.jdbc.Driver" --connection-url="jdbc:mysql://127.0.0.1:3306/signserver" --jndi-name="java:/SignServerDS" --use-ccm=true --driver-class="org.mariadb.jdbc.Driver" --user-name="root" --password="alfresco16" --validate-on-match=true --background-validation=false --prepared-statements-cache-size=50 --share-prepared-statements=true --min-pool-size=5 --max-pool-size=150 --pool-prefill=true --transaction-isolation=TRANSACTION_READ_COMMITTED --check-valid-connection-sql="select 1;"
I see the following error, referring also to what I understand is a dependency problem.
08:42:06,428 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 2) WFLYCTL0013: Operation ("add") failed - address: ([
("subsystem" => "datasources"),
("data-source" => "signserverds")
]) - failure description: {"WFLYCTL0180: Services with missing/unavailable dependencies" => [
"org.wildfly.data-source.signserverds is missing [jboss.jdbc-driver.org_mariadb_jdbc_Driver]",
"jboss.driver-demander.java:/SignServerDS is missing [jboss.jdbc-driver.org_mariadb_jdbc_Driver]"
]}
08:42:06,440 INFO [org.jboss.as.controller] (management-handler-thread - 2) WFLYCTL0183: Service status report
WFLYCTL0184: New missing/unsatisfied dependencies:
service jboss.data-source.reference-factory.signserverds (missing) dependents: [service jboss.naming.context.java.SignServerDS]
service jboss.data-source-config.signserverds (missing) dependents: [service org.wildfly.data-source.signserverds]
service jboss.jdbc-driver.org_mariadb_jdbc_Driver (missing) dependents: [service jboss.driver-demander.java:/SignServerDS, service org.wildfly.data-source.signserverds]
WFLYCTL0186: Services which failed to start: service jboss.ws.config: org.jboss.msc.service.StartException in service jboss.ws.config: Failed to start service
Best regards,
Jordi
-----Mensaje original-----
De: Markus Kilås [mailto:ma...@pr...]
Enviado el: jueves, 19 de mayo de 2016 15:55
Para: sig...@li...
Asunto: Re: [SignServer-develop] JDBC problem
On 05/19/2016 09:26 AM, Jordi Blasi Uribarri wrote:
> 01:37:44,074 ERROR [org.jboss.msc.service.fail] (MSC service thread
> 1-1)
> MSC000001: Failed to start service jboss.ws.config:
> org.jboss.msc.service.StartException in service jboss.ws.config:
> Failed to start service
>
> at
> org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceContr
> ollerImpl.java:1904)
>
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.j
> ava:1142)
>
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.
> java:617)
>
> at java.lang.Thread.run(Thread.java:745)
>
> Caused by: java.lang.NoSuchMethodError:
> org.apache.xml.security.utils.I18n.init(Ljava/util/ResourceBundle;)V
>
> at
> org.apache.wss4j.common.crypto.WSProviderConfig.initializeResourceBund
> les(WSProviderConfig.java:199)
>
> at
> org.apache.wss4j.common.crypto.WSProviderConfig.init(WSProviderConfig.
> java:90)
>
> at
> org.jboss.wsf.stack.cxf.config.CXFStackConfig.<init>(CXFStackConfigFac
> tory.java:62)
>
> at
> org.jboss.wsf.stack.cxf.config.CXFStackConfigFactory.getStackConfig(CX
> FStackConfigFactory.java:47)
>
> at
> org.jboss.ws.common.management.AbstractServerConfig.setStackConfig(Abs
> tractServerConfig.java:361)
>
> at
> org.jboss.ws.common.management.AbstractServerConfig.create(AbstractSer
> verConfig.java:339)
>
> at
> org.jboss.as.webservices.config.ServerConfigImpl.create(ServerConfigIm
> pl.java:70)
>
> at
> org.jboss.as.webservices.service.ServerConfigService.start(ServerConfi
> gService.java:70)
>
> at
> org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(Ser
> viceControllerImpl.java:1948)
>
> at
> org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceContr
> ollerImpl.java:1881)
>
> ... 3 more
>
It looks like Wildfly 10 is maybe expecting an other version of xmlsec (i.e. 2.x while SignServer uses 1.5.8).
Have you tried if it works if you don't change the xmlsec and xalan versions in Wildfly? I.e. by not doing the change in modules/system/layers/base/org/apache/santuario/xmlsec/ and modules/system/layers/base/org/apache/xalan?
Regards,
Markus
PrimeKey Solutions AB
------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who bring their own devices (BYOD) to work are irked by the imposition of MDM restrictions. Mobile Device Manager Plus allows you to control only the apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
SignServer-develop mailing list
Sig...@li...
https://lists.sourceforge.net/lists/listinfo/signserver-develop
|