3 Replies Latest reply on May 27, 2015 10:22 AM by mikemike

    LinkageError with name javax/sql/PooledConnection

    mikemike

      Hi there,

       

      While migrating our Application from Jboss 7.1.1 to Wildfly 9.0.0.CR1 i run into following LinkageError:

       

      Caused by: java.lang.LinkageError: loader constraint violation: loader (instance of <bootloader>) previously initiated loading for a different type with name "javax/sql/PooledConnection"

          at java.lang.Class.getDeclaredMethods0(Native Method)

          at java.lang.Class.privateGetDeclaredMethods(Class.java:2531)

          at java.lang.Class.privateGetPublicMethods(Class.java:2651)

          at java.lang.Class.privateGetPublicMethods(Class.java:2661)

          at java.lang.Class.privateGetPublicMethods(Class.java:2667)

          at java.lang.Class.getMethods(Class.java:1467)

          at bitronix.tm.utils.PropertyUtils.getSetter(PropertyUtils.java:311)

          at bitronix.tm.utils.PropertyUtils.setDirectProperty(PropertyUtils.java:217)

          at bitronix.tm.utils.PropertyUtils.setProperty(PropertyUtils.java:83)

          at bitronix.tm.resource.common.XAPool.createXAFactory(XAPool.java:304)

          at bitronix.tm.resource.common.XAPool.<init>(XAPool.java:63)

          at bitronix.tm.resource.jdbc.PoolingDataSource.buildXAPool(PoolingDataSource.java:101)

          at bitronix.tm.resource.jdbc.PoolingDataSource.init(PoolingDataSource.java:88)

          at de.abc.def.config.DataSourceConfig.defDS(DataSourceConfig.java:91)

          at de.abc.def.config.DataSourceConfig$$EnhancerBySpringCGLIB$$c92e01ec.CGLIB$defDS$2(<generated>)

          at de.abc.def.config.DataSourceConfig$$EnhancerBySpringCGLIB$$c92e01ec$$FastClassBySpringCGLIB$$c45f5607.invoke(<generated>)

          at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)

          at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:312)

          at de.abc.def.config.DataSourceConfig$$EnhancerBySpringCGLIB$$c92e01ec.defDS(<generated>)

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

          at java.lang.reflect.Method.invoke(Method.java:606)

          at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:166)

          ... 46 more

        

      We are using programmatic Bitronix datasources inside our application. I found out (by -verbose:class) that the PooledConnection is loaded twice by the following Classes:

       

      1. [Loaded javax.sql.PooledConnection from jar:file:/D:/development/jboss/wildfly-9.0.0.CR1/modules/system/layers/base/javax/sql/api/main/jboss-javax-sql-api_7.0_spec-1.0.0.Final.jar!/]

      2. [Loaded javax.sql.PooledConnection from C:\Program Files\Java\jdk1.7.0_51\jre\lib\rt.jar]

       

      My first idea was to prevent loading the jar jboss-javax-sql-api_7.0_spec-1.0.0.Final.jar by excluding the module javax.sql.api by the jboss-deployment-structure:

       

      <?xml version="1.0" encoding="UTF-8"?>

      <jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

        <deployment>

          <exclusions>

            <module name="javax.sql.api" />

          </exclusions>

          <dependencies>

            <module name="javax.sql.api">

              <imports>

                <exclude path="javax/sql" />

              </imports>

            </module>

          </dependencies>

        </deployment>

      </jboss-deployment-structure>

       

      But it had no effect on the loading. Is my deployment structure wrong?

       

      I do not really understand why it is necessary to redefine JDK classes inside the JBoss/Wildfly again, but I found this issue here: https://issues.jboss.org/browse/WFCORE-561

      But now I don't know what it means for me and what I have to configure exactly. Can someone help? Does anybody had the same problem?

       

      Thank you.. Mike

        • 1. Re: LinkageError with name javax/sql/PooledConnection
          ctomc

          How does full boot log looks like?

           

          also what is the structure of your application. especially what jars do you have in your libs

          • 2. Re: LinkageError with name javax/sql/PooledConnection
            mikemike

            12:50:02,273 INFO  [org.jboss.modules] (main) JBoss Modules version 1.4.3.Final

            12:50:02,503 INFO  [org.jboss.msc] (main) JBoss MSC version 1.2.4.Final

            12:50:02,573 INFO  [org.jboss.as] (MSC service thread 1-6) WFLYSRV0049: WildFly Full 9.0.0.CR1 (WildFly Core 1.0.0.CR1) starting

            12:50:03,343 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) WFLYDS0015: Re-attempting failed deployment def-ui.war

            12:50:03,444 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) WFLYDS0004: Found def-ui.war in deployment directory. To trigger deployment create a file called def-ui.war.dodeploy

            12:50:03,464 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating http management service using socket-binding (management-http)

            12:50:03,484 INFO  [org.xnio] (MSC service thread 1-14) XNIO version 3.3.1.Final

            12:50:03,494 INFO  [org.xnio.nio] (MSC service thread 1-14) XNIO NIO Implementation Version 3.3.1.Final

            12:50:03,514 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 51) WFLYSEC0002: Activating Security Subsystem

            12:50:03,514 WARN  [org.jboss.as.txn] (ServerService Thread Pool -- 52) WFLYTX0013: Node identifier property is set to the default value. Please make sure it is unique.

            12:50:03,534 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 36) WFLYCLINF0001: Activating Infinispan subsystem.

            12:50:03,534 INFO  [org.jboss.as.webservices] (ServerService Thread Pool -- 54) WFLYWS0002: Activating WebServices Extension

            12:50:03,534 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 44) WFLYNAM0001: Activating Naming Subsystem

            12:50:03,534 INFO  [org.wildfly.extension.io] (ServerService Thread Pool -- 35) WFLYIO001: Worker 'default' has auto-configured to 24 core threads with 192 task threads based on your 12 available processors

            12:50:03,534 INFO  [org.jboss.as.jsf] (ServerService Thread Pool -- 42) WFLYJSF0007: Activated the following JSF Implementations: [main]

            12:50:03,544 INFO  [org.jboss.as.security] (MSC service thread 1-17) WFLYSEC0001: Current PicketBox version=4.9.0.Beta2

            12:50:03,554 INFO  [org.jboss.as.connector] (MSC service thread 1-10) WFLYJCA0009: Starting JCA Subsystem (IronJacamar 1.2.4.Final)

            12:50:03,564 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0003: Undertow 1.2.4.Final starting

            12:50:03,564 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 53) WFLYUT0003: Undertow 1.2.4.Final starting

            12:50:03,574 INFO  [org.jboss.remoting] (MSC service thread 1-14) JBoss Remoting version 4.0.9.Final

            12:50:03,574 INFO  [org.jboss.as.naming] (MSC service thread 1-23) WFLYNAM0003: Starting Naming Service

            12:50:03,574 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-1) WFLYMAIL0001: Bound mail session [java:jboss/mail/Default]

            12:50:03,614 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 53) WFLYUT0014: Creating file handler for path D:\development\jboss\wildfly-9.0.0.CR1/welcome-content

            12:50:03,614 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-18) WFLYUT0012: Started server default-server.

            12:50:03,624 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-15) WFLYUT0018: Host default-host starting

            12:50:03,794 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-23) WFLYUT0006: Undertow HTTP listener default listening on localhost/127.0.0.1:8080

            12:50:03,804 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-24) WFLYDS0013: Started FileSystemDeploymentService for directory D:\development\jboss\wildfly-9.0.0.CR1\standalone\deployments

            12:50:03,804 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-13) WFLYSRV0027: Starting deployment of "def-ui.war" (runtime-name: "def-ui.war")

            12:50:03,924 INFO  [org.jboss.ws.common.management] (MSC service thread 1-19) JBWS022052: Starting JBoss Web Services - Stack CXF Server 5.0.0.Final

            12:50:14,834 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-20) WFLYSRV0059: Class Path entry derbyLocale_cs.jar in /D:/development/jboss/wildfly-9.0.0.CR1/standalone/deployments/def-ui.war/WEB-INF/lib/derby-10.5.1000001.jar  does not point to a valid jar for a Class-Path reference.

            12:50:14,834 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-20) WFLYSRV0059: Class Path entry derbyLocale_de_DE.jar in /D:/development/jboss/wildfly-9.0.0.CR1/standalone/deployments/def-ui.war/WEB-INF/lib/derby-10.5.1000001.jar  does not point to a valid jar for a Class-Path reference.

            12:50:14,834 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-20) WFLYSRV0059: Class Path entry derbyLocale_es.jar in /D:/development/jboss/wildfly-9.0.0.CR1/standalone/deployments/def-ui.war/WEB-INF/lib/derby-10.5.1000001.jar  does not point to a valid jar for a Class-Path reference.

            12:50:14,834 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-20) WFLYSRV0059: Class Path entry derbyLocale_fr.jar in /D:/development/jboss/wildfly-9.0.0.CR1/standalone/deployments/def-ui.war/WEB-INF/lib/derby-10.5.1000001.jar  does not point to a valid jar for a Class-Path reference.

            12:50:14,834 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-20) WFLYSRV0059: Class Path entry derbyLocale_hu.jar in /D:/development/jboss/wildfly-9.0.0.CR1/standalone/deployments/def-ui.war/WEB-INF/lib/derby-10.5.1000001.jar  does not point to a valid jar for a Class-Path reference.

            12:50:14,834 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-20) WFLYSRV0059: Class Path entry derbyLocale_it.jar in /D:/development/jboss/wildfly-9.0.0.CR1/standalone/deployments/def-ui.war/WEB-INF/lib/derby-10.5.1000001.jar  does not point to a valid jar for a Class-Path reference.

            12:50:14,834 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-20) WFLYSRV0059: Class Path entry derbyLocale_ja_JP.jar in /D:/development/jboss/wildfly-9.0.0.CR1/standalone/deployments/def-ui.war/WEB-INF/lib/derby-10.5.1000001.jar  does not point to a valid jar for a Class-Path reference.

            12:50:14,834 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-20) WFLYSRV0059: Class Path entry derbyLocale_ko_KR.jar in /D:/development/jboss/wildfly-9.0.0.CR1/standalone/deployments/def-ui.war/WEB-INF/lib/derby-10.5.1000001.jar  does not point to a valid jar for a Class-Path reference.

            12:50:14,834 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-20) WFLYSRV0059: Class Path entry derbyLocale_pl.jar in /D:/development/jboss/wildfly-9.0.0.CR1/standalone/deployments/def-ui.war/WEB-INF/lib/derby-10.5.1000001.jar  does not point to a valid jar for a Class-Path reference.

            12:50:14,834 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-20) WFLYSRV0059: Class Path entry derbyLocale_pt_BR.jar in /D:/development/jboss/wildfly-9.0.0.CR1/standalone/deployments/def-ui.war/WEB-INF/lib/derby-10.5.1000001.jar  does not point to a valid jar for a Class-Path reference.

            12:50:14,834 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-20) WFLYSRV0059: Class Path entry derbyLocale_ru.jar in /D:/development/jboss/wildfly-9.0.0.CR1/standalone/deployments/def-ui.war/WEB-INF/lib/derby-10.5.1000001.jar  does not point to a valid jar for a Class-Path reference.

            12:50:14,834 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-20) WFLYSRV0059: Class Path entry derbyLocale_zh_CN.jar in /D:/development/jboss/wildfly-9.0.0.CR1/standalone/deployments/def-ui.war/WEB-INF/lib/derby-10.5.1000001.jar  does not point to a valid jar for a Class-Path reference.

            12:50:14,834 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-20) WFLYSRV0059: Class Path entry derbyLocale_zh_TW.jar in /D:/development/jboss/wildfly-9.0.0.CR1/standalone/deployments/def-ui.war/WEB-INF/lib/derby-10.5.1000001.jar  does not point to a valid jar for a Class-Path reference.

            12:50:14,854 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-20) WFLYSRV0059: Class Path entry jaxb-api.jar in /D:/development/jboss/wildfly-9.0.0.CR1/standalone/deployments/def-ui.war/WEB-INF/lib/jaxb-core-2.2.11.jar  does not point to a valid jar for a Class-Path reference.

            12:50:14,854 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-20) WFLYSRV0059: Class Path entry jaxb-core.jar in /D:/development/jboss/wildfly-9.0.0.CR1/standalone/deployments/def-ui.war/WEB-INF/lib/jaxb-impl-2.2.11.jar  does not point to a valid jar for a Class-Path reference.

            12:50:14,854 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-20) WFLYSRV0059: Class Path entry jaxb-api.jar in /D:/development/jboss/wildfly-9.0.0.CR1/standalone/deployments/def-ui.war/WEB-INF/lib/jaxb-xjc-2.1.13.jar  does not point to a valid jar for a Class-Path reference.

            12:50:14,854 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-20) WFLYSRV0059: Class Path entry jaxb-impl.jar in /D:/development/jboss/wildfly-9.0.0.CR1/standalone/deployments/def-ui.war/WEB-INF/lib/jaxb-xjc-2.1.13.jar  does not point to a valid jar for a Class-Path reference.

            12:50:14,854 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-20) WFLYSRV0059: Class Path entry jsr173_1.0_api.jar in /D:/development/jboss/wildfly-9.0.0.CR1/standalone/deployments/def-ui.war/WEB-INF/lib/jaxb-xjc-2.1.13.jar  does not point to a valid jar for a Class-Path reference.

            12:50:14,854 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-20) WFLYSRV0059: Class Path entry activation.jar in /D:/development/jboss/wildfly-9.0.0.CR1/standalone/deployments/def-ui.war/WEB-INF/lib/jaxb-xjc-2.1.13.jar  does not point to a valid jar for a Class-Path reference.

            12:50:15,395 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-20) WFLYSRV0059: Class Path entry vaadin-client-compiler-7.1.15.jar in /D:/development/jboss/wildfly-9.0.0.CR1/standalone/deployments/def-ui.war/WEB-INF/lib/vaadin-abc-widgets-1.3.0.jar  does not point to a valid jar for a Class-Path reference.

            12:50:15,395 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-20) WFLYSRV0059: Class Path entry commons-collections-3.1.jar in /D:/development/jboss/wildfly-9.0.0.CR1/standalone/deployments/def-ui.war/WEB-INF/lib/vaadin-abc-widgets-1.3.0.jar  does not point to a valid jar for a Class-Path reference.

            12:50:15,395 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-20) WFLYSRV0059: Class Path entry commons-logging-1.1.1.jar in /D:/development/jboss/wildfly-9.0.0.CR1/standalone/deployments/def-ui.war/WEB-INF/lib/vaadin-abc-widgets-1.3.0.jar  does not point to a valid jar for a Class-Path reference.

            12:50:15,395 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-20) WFLYSRV0059: Class Path entry ant-1.6.5.jar in /D:/development/jboss/wildfly-9.0.0.CR1/standalone/deployments/def-ui.war/WEB-INF/lib/vaadin-abc-widgets-1.3.0.jar  does not point to a valid jar for a Class-Path reference.

            12:50:15,395 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-20) WFLYSRV0059: Class Path entry ant-launcher-1.6.5.jar in /D:/development/jboss/wildfly-9.0.0.CR1/standalone/deployments/def-ui.war/WEB-INF/lib/vaadin-abc-widgets-1.3.0.jar  does not point to a valid jar for a Class-Path reference.

            12:50:15,395 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-20) WFLYSRV0059: Class Path entry jetty-6.1.11.jar in /D:/development/jboss/wildfly-9.0.0.CR1/standalone/deployments/def-ui.war/WEB-INF/lib/vaadin-abc-widgets-1.3.0.jar  does not point to a valid jar for a Class-Path reference.

            12:50:15,395 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-20) WFLYSRV0059: Class Path entry servlet-api-2.5-6.1.11.jar in /D:/development/jboss/wildfly-9.0.0.CR1/standalone/deployments/def-ui.war/WEB-INF/lib/vaadin-abc-widgets-1.3.0.jar  does not point to a valid jar for a Class-Path reference.

            12:50:15,395 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-20) WFLYSRV0059: Class Path entry jetty-util-6.1.11.jar in /D:/development/jboss/wildfly-9.0.0.CR1/standalone/deployments/def-ui.war/WEB-INF/lib/vaadin-abc-widgets-1.3.0.jar  does not point to a valid jar for a Class-Path reference.

            12:50:15,395 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-20) WFLYSRV0059: Class Path entry swing-worker-1.1.jar in /D:/development/jboss/wildfly-9.0.0.CR1/standalone/deployments/def-ui.war/WEB-INF/lib/vaadin-abc-widgets-1.3.0.jar  does not point to a valid jar for a Class-Path reference.

            12:50:15,395 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-20) WFLYSRV0059: Class Path entry commons-codec-1.3.jar in /D:/development/jboss/wildfly-9.0.0.CR1/standalone/deployments/def-ui.war/WEB-INF/lib/vaadin-abc-widgets-1.3.0.jar  does not point to a valid jar for a Class-Path reference.

            12:50:15,395 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-20) WFLYSRV0059: Class Path entry commons-io-2.2.jar in /D:/development/jboss/wildfly-9.0.0.CR1/standalone/deployments/def-ui.war/WEB-INF/lib/vaadin-abc-widgets-1.3.0.jar  does not point to a valid jar for a Class-Path reference.

            12:50:15,395 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-20) WFLYSRV0059: Class Path entry apache-mime4j-0.6.jar in /D:/development/jboss/wildfly-9.0.0.CR1/standalone/deployments/def-ui.war/WEB-INF/lib/vaadin-abc-widgets-1.3.0.jar  does not point to a valid jar for a Class-Path reference.

            12:50:15,395 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-20) WFLYSRV0059: Class Path entry vaadin-client-compiler-deps-1.0.2.jar in /D:/development/jboss/wildfly-9.0.0.CR1/standalone/deployments/def-ui.war/WEB-INF/lib/vaadin-abc-widgets-1.3.0.jar  does not point to a valid jar for a Class-Path reference.

            12:50:15,525 INFO  [org.jboss.as.pojo] (MSC service thread 1-20) WFLYPOJO0001: Found legacy bean/pojo namespace: urn:jboss:bean-deployer:2.0 - might be missing some xml features (potential exceptions).

            12:50:17,415 WARN  [org.jboss.as.ee] (MSC service thread 1-12) WFLYEE0007: Not installing optional component org.springframework.http.server.ServletServerHttpAsyncRequestControl due to an exception (enable DEBUG log level to see the cause)

            12:50:17,425 WARN  [org.jboss.as.ee] (MSC service thread 1-12) WFLYEE0007: Not installing optional component org.apache.cxf.transport.http.Servlet3ContinuationProvider$Servlet3Continuation due to an exception (enable DEBUG log level to see the cause)

            12:50:17,425 WARN  [org.jboss.as.ee] (MSC service thread 1-12) WFLYEE0007: Not installing optional component org.springframework.web.context.request.async.StandardServletAsyncWebRequest due to an exception (enable DEBUG log level to see the cause)

            12:50:17,556 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-12) WFLYJCA0004: Deploying JDBC-compliant driver class org.apache.derby.jdbc.AutoloadedDriver (version 10.5)

            12:50:17,566 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-12) WFLYJCA0004: Deploying JDBC-compliant driver class com.microsoft.sqlserver.jdbc.SQLServerDriver (version 4.0)

            12:50:17,566 WARN  [org.jboss.weld.deployer] (MSC service thread 1-12) WFLYWELD0013: Deployment deployment "def-ui.war" contains CDI annotations but no bean archive was not found. (No beans.xml nor class with bean defining annotations)

            12:50:17,596 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-12) WFLYJCA0018: Started Driver service with driver-name = def-ui.war_com.microsoft.sqlserver.jdbc.SQLServerDriver_4_0

            12:50:17,596 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-4) WFLYJCA0018: Started Driver service with driver-name = def-ui.war_org.apache.derby.jdbc.AutoloadedDriver_10_5

            2015-05-27 12:50:17.716 MESZ [ice thread 1-18]     INFO  [servlet] [] - No Spring WebApplicationInitializer types detected on classpath

            2015-05-27 12:50:17.736 MESZ [ice thread 1-18]     INFO  [servlet] [] - Set web app root system property: 'webapp.root' = [D:\development\jboss\wildfly-9.0.0.CR1\standalone\deployments\def-ui.war]

            2015-05-27 12:50:17.736 MESZ [ice thread 1-18]     INFO  [servlet] [] - Initializing Spring root WebApplicationContext

            2015-05-27 12:50:17.736 MESZ [ice thread 1-18]     INFO  [ContextLoader] [] - Root WebApplicationContext: initialization started

            2015-05-27 12:50:17.786 MESZ [ice thread 1-18]     INFO  [AnnotationConfigWebApplicationContext] [] - Refreshing Root WebApplicationContext: startup date [Wed May 27 12:50:17 CEST 2015]; root of context hierarchy

            2015-05-27 12:50:19.216 MESZ [ice thread 1-18]     INFO  [AnnotationConfigWebApplicationContext] [] - Found 1022 annotated classes in package [de.abc.def]

            2015-05-27 12:50:20.587 MESZ [ice thread 1-18]     INFO  [PropertyPlaceholderConfigurer] [] - Loading properties file from class path resource [META-INF/def-default.properties]

            2015-05-27 12:50:20.587 MESZ [ice thread 1-18]     INFO  [PropertyPlaceholderConfigurer] [] - Loading properties file from file [C:\def-home\def-dev.properties]

            2015-05-27 12:50:20.628 MESZ [ice thread 1-18]     INFO  [AutowiredAnnotationBeanPostProcessor] [] - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring

            2015-05-27 12:50:20.688 MESZ [ice thread 1-18]     INFO  [Version] [] - HCANN000001: Hibernate Commons Annotations {4.0.1.Final}

            2015-05-27 12:50:20.698 MESZ [ice thread 1-18]     INFO  [Version] [] - HHH000412: Hibernate Core {4.1.10.Final}

            2015-05-27 12:50:20.698 MESZ [ice thread 1-18]     INFO  [Environment] [] - HHH000206: hibernate.properties not found

            2015-05-27 12:50:20.698 MESZ [ice thread 1-18]     INFO  [Environment] [] - HHH000021: Bytecode provider name : javassist

            2015-05-27 12:50:20.728 MESZ [ice thread 1-18]     INFO  [PostProcessorRegistrationDelegate$BeanPostProcessorChecker] [] - Bean 'persistenceHibernateConfig' of type [class de.abc.def.config.PersistenceHibernateConfig$$EnhancerBySpringCGLIB$$9d8fe04c] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

            2015-05-27 12:50:20.768 MESZ [ice thread 1-18]     INFO  [PostProcessorRegistrationDelegate$BeanPostProcessorChecker] [] - Bean 'org.springframework.scheduling.annotation.SchedulingConfiguration' of type [class org.springframework.scheduling.annotation.SchedulingConfiguration$$EnhancerBySpringCGLIB$$7fea439a] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

            2015-05-27 12:50:20.898 MESZ [ice thread 1-18]     INFO  [XaTest] [] - Testing XA connection for: jdbc:sqlserver://localhost:1433;databaseName=abc_SPRING

            2015-05-27 12:50:21.118 MESZ [ice thread 1-18]     INFO  [stdout] [] - Write -> xid = formatId=4660 gtrid(64)={0xc0a8026f0100000001000000e254d60d000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000} bqual(64)={0xc0a8026f0100000001000000e254d60d000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000}

             

            2015-05-27 12:50:21.188 MESZ [ice thread 1-18]     INFO  [stdout] [] - Read -> xid = formatId=4660 gtrid(64)={0xc0a8026f0100000001000000e254d60d000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000} bqual(64)={0xc0a8026f0100000001000000e254d60d000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000}

             

            2015-05-27 12:50:21.198 MESZ [ice thread 1-18]     WARN  [AnnotationConfigWebApplicationContext] [] - Exception encountered during context initialization - cancelling refresh attempt

            org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jbpmDataSourceConfig': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private javax.sql.DataSource de.abc.def.jbpm.JbpmDataSourceConfig.abcDS; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'abcDS' defined in class path resource [de/abc/def/config/DataSourceConfig.class]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public javax.sql.DataSource de.abc.def.config.DataSourceConfig.abcDS() throws java.lang.ClassNotFoundException,java.security.GeneralSecurityException,java.io.IOException] threw exception; nested exception is java.lang.LinkageError: loader constraint violation: loader (instance of <bootloader>) previously initiated loading for a different type with name "javax/sql/PooledConnection"

                at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1204)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:538)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)

                at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)

                at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:229)

                at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)

                at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)

                at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:370)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1113)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1008)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:505)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)

                at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)

                at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:229)

                at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)

                at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)

                at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:956)

                at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:747)

                at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)

                at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:403)

                at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)

                at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106)

                at io.undertow.servlet.core.ApplicationListeners.contextInitialized(ApplicationListeners.java:173)

                at io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:195)

                at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:86)

                at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.start(UndertowDeploymentService.java:71)

                at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)

                at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)

                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

                at java.lang.Thread.run(Thread.java:744)

            Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private javax.sql.DataSource de.abc.def.jbpm.JbpmDataSourceConfig.abcDS; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'abcDS' defined in class path resource [de/abc/def/config/DataSourceConfig.class]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public javax.sql.DataSource de.abc.def.config.DataSourceConfig.abcDS() throws java.lang.ClassNotFoundException,java.security.GeneralSecurityException,java.io.IOException] threw exception; nested exception is java.lang.LinkageError: loader constraint violation: loader (instance of <bootloader>) previously initiated loading for a different type with name "javax/sql/PooledConnection"

                at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:555)

                at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87)

                at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)

                ... 31 more

            Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'abcDS' defined in class path resource [de/abc/def/config/DataSourceConfig.class]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public javax.sql.DataSource de.abc.def.config.DataSourceConfig.abcDS() throws java.lang.ClassNotFoundException,java.security.GeneralSecurityException,java.io.IOException] threw exception; nested exception is java.lang.LinkageError: loader constraint violation: loader (instance of <bootloader>) previously initiated loading for a different type with name "javax/sql/PooledConnection"

                at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:601)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1113)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1008)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:505)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)

                at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)

                at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:229)

                at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)

                at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)

                at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1081)

                at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1006)

                at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:904)

                at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:527)

                ... 33 more

            Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public javax.sql.DataSource de.abc.def.config.DataSourceConfig.abcDS() throws java.lang.ClassNotFoundException,java.security.GeneralSecurityException,java.io.IOException] threw exception; nested exception is java.lang.LinkageError: loader constraint violation: loader (instance of <bootloader>) previously initiated loading for a different type with name "javax/sql/PooledConnection"

                at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:188)

                at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:590)

                ... 45 more

            Caused by: java.lang.LinkageError: loader constraint violation: loader (instance of <bootloader>) previously initiated loading for a different type with name "javax/sql/PooledConnection"

                at java.lang.Class.getDeclaredMethods0(Native Method)

                at java.lang.Class.privateGetDeclaredMethods(Class.java:2531)

                at java.lang.Class.privateGetPublicMethods(Class.java:2651)

                at java.lang.Class.privateGetPublicMethods(Class.java:2661)

                at java.lang.Class.privateGetPublicMethods(Class.java:2667)

                at java.lang.Class.getMethods(Class.java:1467)

                at bitronix.tm.utils.PropertyUtils.getSetter(PropertyUtils.java:311)

                at bitronix.tm.utils.PropertyUtils.setDirectProperty(PropertyUtils.java:217)

                at bitronix.tm.utils.PropertyUtils.setProperty(PropertyUtils.java:83)

                at bitronix.tm.resource.common.XAPool.createXAFactory(XAPool.java:304)

                at bitronix.tm.resource.common.XAPool.<init>(XAPool.java:63)

                at bitronix.tm.resource.jdbc.PoolingDataSource.buildXAPool(PoolingDataSource.java:101)

                at bitronix.tm.resource.jdbc.PoolingDataSource.init(PoolingDataSource.java:88)

                at de.abc.def.config.DataSourceConfig.abcDS(DataSourceConfig.java:91)

                at de.abc.def.config.DataSourceConfig$$EnhancerBySpringCGLIB$$cdac7b3e.CGLIB$abcDS$2(<generated>)

                at de.abc.def.config.DataSourceConfig$$EnhancerBySpringCGLIB$$cdac7b3e$$FastClassBySpringCGLIB$$f726c09f.invoke(<generated>)

                at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)

                at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:312)

                at de.abc.def.config.DataSourceConfig$$EnhancerBySpringCGLIB$$cdac7b3e.abcDS(<generated>)

                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                at java.lang.reflect.Method.invoke(Method.java:606)

                at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:166)

                ... 46 more

            2015-05-27 12:50:21.208 MESZ [ice thread 1-18]     ERROR [ContextLoader] [] - Context initialization failed

            org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jbpmDataSourceConfig': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private javax.sql.DataSource de.abc.def.jbpm.JbpmDataSourceConfig.abcDS; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'abcDS' defined in class path resource [de/abc/def/config/DataSourceConfig.class]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public javax.sql.DataSource de.abc.def.config.DataSourceConfig.abcDS() throws java.lang.ClassNotFoundException,java.security.GeneralSecurityException,java.io.IOException] threw exception; nested exception is java.lang.LinkageError: loader constraint violation: loader (instance of <bootloader>) previously initiated loading for a different type with name "javax/sql/PooledConnection"

                at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1204)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:538)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)

                at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)

                at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:229)

                at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)

                at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)

                at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:370)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1113)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1008)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:505)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)

                at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)

                at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:229)

                at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)

                at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)

                at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:956)

                at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:747)

                at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)

                at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:403)

                at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)

                at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106)

                at io.undertow.servlet.core.ApplicationListeners.contextInitialized(ApplicationListeners.java:173)

                at io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:195)

                at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:86)

                at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.start(UndertowDeploymentService.java:71)

                at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)

                at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)

                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

                at java.lang.Thread.run(Thread.java:744)

            Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private javax.sql.DataSource de.abc.def.jbpm.JbpmDataSourceConfig.abcDS; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'abcDS' defined in class path resource [de/abc/def/config/DataSourceConfig.class]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public javax.sql.DataSource de.abc.def.config.DataSourceConfig.abcDS() throws java.lang.ClassNotFoundException,java.security.GeneralSecurityException,java.io.IOException] threw exception; nested exception is java.lang.LinkageError: loader constraint violation: loader (instance of <bootloader>) previously initiated loading for a different type with name "javax/sql/PooledConnection"

                at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:555)

                at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87)

                at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)

                ... 31 more

            Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'abcDS' defined in class path resource [de/abc/def/config/DataSourceConfig.class]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public javax.sql.DataSource de.abc.def.config.DataSourceConfig.abcDS() throws java.lang.ClassNotFoundException,java.security.GeneralSecurityException,java.io.IOException] threw exception; nested exception is java.lang.LinkageError: loader constraint violation: loader (instance of <bootloader>) previously initiated loading for a different type with name "javax/sql/PooledConnection"

                at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:601)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1113)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1008)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:505)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)

                at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)

                at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:229)

                at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)

                at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)

                at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1081)

                at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1006)

                at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:904)

                at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:527)

                ... 33 more

            Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public javax.sql.DataSource de.abc.def.config.DataSourceConfig.abcDS() throws java.lang.ClassNotFoundException,java.security.GeneralSecurityException,java.io.IOException] threw exception; nested exception is java.lang.LinkageError: loader constraint violation: loader (instance of <bootloader>) previously initiated loading for a different type with name "javax/sql/PooledConnection"

                at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:188)

                at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:590)

                ... 45 more

            Caused by: java.lang.LinkageError: loader constraint violation: loader (instance of <bootloader>) previously initiated loading for a different type with name "javax/sql/PooledConnection"

                at java.lang.Class.getDeclaredMethods0(Native Method)

                at java.lang.Class.privateGetDeclaredMethods(Class.java:2531)

                at java.lang.Class.privateGetPublicMethods(Class.java:2651)

                at java.lang.Class.privateGetPublicMethods(Class.java:2661)

                at java.lang.Class.privateGetPublicMethods(Class.java:2667)

                at java.lang.Class.getMethods(Class.java:1467)

                at bitronix.tm.utils.PropertyUtils.getSetter(PropertyUtils.java:311)

                at bitronix.tm.utils.PropertyUtils.setDirectProperty(PropertyUtils.java:217)

                at bitronix.tm.utils.PropertyUtils.setProperty(PropertyUtils.java:83)

                at bitronix.tm.resource.common.XAPool.createXAFactory(XAPool.java:304)

                at bitronix.tm.resource.common.XAPool.<init>(XAPool.java:63)

                at bitronix.tm.resource.jdbc.PoolingDataSource.buildXAPool(PoolingDataSource.java:101)

                at bitronix.tm.resource.jdbc.PoolingDataSource.init(PoolingDataSource.java:88)

                at de.abc.def.config.DataSourceConfig.abcDS(DataSourceConfig.java:91)

                at de.abc.def.config.DataSourceConfig$$EnhancerBySpringCGLIB$$cdac7b3e.CGLIB$abcDS$2(<generated>)

                at de.abc.def.config.DataSourceConfig$$EnhancerBySpringCGLIB$$cdac7b3e$$FastClassBySpringCGLIB$$f726c09f.invoke(<generated>)

                at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)

                at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:312)

                at de.abc.def.config.DataSourceConfig$$EnhancerBySpringCGLIB$$cdac7b3e.abcDS(<generated>)

                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                at java.lang.reflect.Method.invoke(Method.java:606)

                at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:166)

                ... 46 more

            12:50:21,208 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-18) MSC000001: Failed to start service jboss.undertow.deployment.default-server.default-host./def-ui: org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./def-ui: Failed to start service

                at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1904)

                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

                at java.lang.Thread.run(Thread.java:744)

            Caused by: java.lang.RuntimeException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jbpmDataSourceConfig': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private javax.sql.DataSource de.abc.def.jbpm.JbpmDataSourceConfig.abcDS; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'abcDS' defined in class path resource [de/abc/def/config/DataSourceConfig.class]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public javax.sql.DataSource de.abc.def.config.DataSourceConfig.abcDS() throws java.lang.ClassNotFoundException,java.security.GeneralSecurityException,java.io.IOException] threw exception; nested exception is java.lang.LinkageError: loader constraint violation: loader (instance of <bootloader>) previously initiated loading for a different type with name "javax/sql/PooledConnection"

                at io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:224)

                at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:86)

                at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.start(UndertowDeploymentService.java:71)

                at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)

                at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)

                ... 3 more

            Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jbpmDataSourceConfig': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private javax.sql.DataSource de.abc.def.jbpm.JbpmDataSourceConfig.abcDS; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'abcDS' defined in class path resource [de/abc/def/config/DataSourceConfig.class]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public javax.sql.DataSource de.abc.def.config.DataSourceConfig.abcDS() throws java.lang.ClassNotFoundException,java.security.GeneralSecurityException,java.io.IOException] threw exception; nested exception is java.lang.LinkageError: loader constraint violation: loader (instance of <bootloader>) previously initiated loading for a different type with name "javax/sql/PooledConnection"

                at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1204)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:538)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)

                at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)

                at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:229)

                at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)

                at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)

                at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:370)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1113)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1008)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:505)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)

                at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)

                at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:229)

                at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)

                at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)

                at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:956)

                at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:747)

                at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)

                at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:403)

                at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)

                at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106)

                at io.undertow.servlet.core.ApplicationListeners.contextInitialized(ApplicationListeners.java:173)

                at io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:195)

                ... 7 more

            Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private javax.sql.DataSource de.abc.def.jbpm.JbpmDataSourceConfig.abcDS; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'abcDS' defined in class path resource [de/abc/def/config/DataSourceConfig.class]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public javax.sql.DataSource de.abc.def.config.DataSourceConfig.abcDS() throws java.lang.ClassNotFoundException,java.security.GeneralSecurityException,java.io.IOException] threw exception; nested exception is java.lang.LinkageError: loader constraint violation: loader (instance of <bootloader>) previously initiated loading for a different type with name "javax/sql/PooledConnection"

                at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:555)

                at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87)

                at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)

                ... 31 more

            Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'abcDS' defined in class path resource [de/abc/def/config/DataSourceConfig.class]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public javax.sql.DataSource de.abc.def.config.DataSourceConfig.abcDS() throws java.lang.ClassNotFoundException,java.security.GeneralSecurityException,java.io.IOException] threw exception; nested exception is java.lang.LinkageError: loader constraint violation: loader (instance of <bootloader>) previously initiated loading for a different type with name "javax/sql/PooledConnection"

                at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:601)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1113)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1008)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:505)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)

                at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)

                at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:229)

                at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)

                at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)

                at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1081)

                at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1006)

                at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:904)

                at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:527)

                ... 33 more

            Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public javax.sql.DataSource de.abc.def.config.DataSourceConfig.abcDS() throws java.lang.ClassNotFoundException,java.security.GeneralSecurityException,java.io.IOException] threw exception; nested exception is java.lang.LinkageError: loader constraint violation: loader (instance of <bootloader>) previously initiated loading for a different type with name "javax/sql/PooledConnection"

                at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:188)

                at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:590)

                ... 45 more

            Caused by: java.lang.LinkageError: loader constraint violation: loader (instance of <bootloader>) previously initiated loading for a different type with name "javax/sql/PooledConnection"

                at java.lang.Class.getDeclaredMethods0(Native Method)

                at java.lang.Class.privateGetDeclaredMethods(Class.java:2531)

                at java.lang.Class.privateGetPublicMethods(Class.java:2651)

                at java.lang.Class.privateGetPublicMethods(Class.java:2661)

                at java.lang.Class.privateGetPublicMethods(Class.java:2667)

                at java.lang.Class.getMethods(Class.java:1467)

                at bitronix.tm.utils.PropertyUtils.getSetter(PropertyUtils.java:311)

                at bitronix.tm.utils.PropertyUtils.setDirectProperty(PropertyUtils.java:217)

                at bitronix.tm.utils.PropertyUtils.setProperty(PropertyUtils.java:83)

                at bitronix.tm.resource.common.XAPool.createXAFactory(XAPool.java:304)

                at bitronix.tm.resource.common.XAPool.<init>(XAPool.java:63)

                at bitronix.tm.resource.jdbc.PoolingDataSource.buildXAPool(PoolingDataSource.java:101)

                at bitronix.tm.resource.jdbc.PoolingDataSource.init(PoolingDataSource.java:88)

                at de.abc.def.config.DataSourceConfig.abcDS(DataSourceConfig.java:91)

                at de.abc.def.config.DataSourceConfig$$EnhancerBySpringCGLIB$$cdac7b3e.CGLIB$abcDS$2(<generated>)

                at de.abc.def.config.DataSourceConfig$$EnhancerBySpringCGLIB$$cdac7b3e$$FastClassBySpringCGLIB$$f726c09f.invoke(<generated>)

                at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)

                at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:312)

                at de.abc.def.config.DataSourceConfig$$EnhancerBySpringCGLIB$$cdac7b3e.abcDS(<generated>)

                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                at java.lang.reflect.Method.invoke(Method.java:606)

                at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:166)

                ... 46 more

             

            12:50:21,218 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "def-ui.war")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.undertow.deployment.default-server.default-host./def-ui" => "org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./def-ui: Failed to start service

                Caused by: java.lang.RuntimeException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jbpmDataSourceConfig': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private javax.sql.DataSource de.abc.def.jbpm.JbpmDataSourceConfig.abcDS; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'abcDS' defined in class path resource [de/abc/def/config/DataSourceConfig.class]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public javax.sql.DataSource de.abc.def.config.DataSourceConfig.abcDS() throws java.lang.ClassNotFoundException,java.security.GeneralSecurityException,java.io.IOException] threw exception; nested exception is java.lang.LinkageError: loader constraint violation: loader (instance of <bootloader>) previously initiated loading for a different type with name \"javax/sql/PooledConnection\"

                Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jbpmDataSourceConfig': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private javax.sql.DataSource de.abc.def.jbpm.JbpmDataSourceConfig.abcDS; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'abcDS' defined in class path resource [de/abc/def/config/DataSourceConfig.class]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public javax.sql.DataSource de.abc.def.config.DataSourceConfig.abcDS() throws java.lang.ClassNotFoundException,java.security.GeneralSecurityException,java.io.IOException] threw exception; nested exception is java.lang.LinkageError: loader constraint violation: loader (instance of <bootloader>) previously initiated loading for a different type with name \"javax/sql/PooledConnection\"

                Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private javax.sql.DataSource de.abc.def.jbpm.JbpmDataSourceConfig.abcDS; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'abcDS' defined in class path resource [de/abc/def/config/DataSourceConfig.class]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public javax.sql.DataSource de.abc.def.config.DataSourceConfig.abcDS() throws java.lang.ClassNotFoundException,java.security.GeneralSecurityException,java.io.IOException] threw exception; nested exception is java.lang.LinkageError: loader constraint violation: loader (instance of <bootloader>) previously initiated loading for a different type with name \"javax/sql/PooledConnection\"

                Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'abcDS' defined in class path resource [de/abc/def/config/DataSourceConfig.class]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public javax.sql.DataSource de.abc.def.config.DataSourceConfig.abcDS() throws java.lang.ClassNotFoundException,java.security.GeneralSecurityException,java.io.IOException] threw exception; nested exception is java.lang.LinkageError: loader constraint violation: loader (instance of <bootloader>) previously initiated loading for a different type with name \"javax/sql/PooledConnection\"

                Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public javax.sql.DataSource de.abc.def.config.DataSourceConfig.abcDS() throws java.lang.ClassNotFoundException,java.security.GeneralSecurityException,java.io.IOException] threw exception; nested exception is java.lang.LinkageError: loader constraint violation: loader (instance of <bootloader>) previously initiated loading for a different type with name \"javax/sql/PooledConnection\"

                Caused by: java.lang.LinkageError: loader constraint violation: loader (instance of <bootloader>) previously initiated loading for a different type with name \"javax/sql/PooledConnection\""}}

            12:50:21,248 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 32) WFLYSRV0010: Deployed "def-ui.war" (runtime-name : "def-ui.war")

            12:50:21,258 INFO  [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service status report

            WFLYCTL0186:   Services which failed to start:      service jboss.undertow.deployment.default-server.default-host./def-ui: org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./def-ui: Failed to start service

             

            12:50:21,478 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:9990/management

            12:50:21,478 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:9990

            12:50:21,478 ERROR [org.jboss.as] (Controller Boot Thread) WFLYSRV0026: WildFly Full 9.0.0.CR1 (WildFly Core 1.0.0.CR1) started (with errors) in 19435ms - Started 431 of 616 services (2 services failed or missing dependencies, 222 services are lazy, passive or on-demand)

            12:50:21,498 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-6) WFLYJCA0019: Stopped Driver service with driver-name = def-ui.war_com.microsoft.sqlserver.jdbc.SQLServerDriver_4_0

            12:50:21,498 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-6) WFLYJCA0019: Stopped Driver service with driver-name = def-ui.war_org.apache.derby.jdbc.AutoloadedDriver_10_5

            12:50:21,518 INFO  [org.hibernate.validator.internal.util.Version] (MSC service thread 1-6) HV000001: Hibernate Validator 5.1.3.Final

            12:50:22,758 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-11) WFLYSRV0028: Stopped deployment def-ui.war (runtime-name: def-ui.war) in 1269ms

            12:50:22,859 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 1) WFLYSRV0009: Undeployed "def-ui.war" (runtime-name: "def-ui.war")

            12:50:22,869 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 1) WFLYCTL0183: Service status report

            WFLYCTL0184:    New missing/unsatisfied dependencies:

                  service jboss.deployment.unit."def-ui.war".component."com.sun.faces.config.ConfigureListener".START (missing) dependents: [service jboss.deployment.unit."def-ui.war".deploymentCompleteService]

                  service jboss.deployment.unit."def-ui.war".component."de.abc.def.common.security.defUsageCounter".START (missing) dependents: [service jboss.deployment.unit."def-ui.war".deploymentCompleteService]

                  service jboss.deployment.unit."def-ui.war".component."de.abc.def.model.service.administration.impl.SessionTimoutHandler".START (missing) dependents: [service jboss.deployment.unit."def-ui.war".deploymentCompleteService]

                  service jboss.deployment.unit."def-ui.war".component."de.abc.def.ui.SpringVaadinServlet".START (missing) dependents: [service jboss.deployment.unit."def-ui.war".deploymentCompleteService]

                  service jboss.deployment.unit."def-ui.war".component."de.abc.def.ui.util.ContextParameterPropagatorListener".START (missing) dependents: [service jboss.deployment.unit."def-ui.war".deploymentCompleteService]

                  service jboss.deployment.unit."def-ui.war".component."javax.faces.webapp.FacetTag".START (missing) dependents: [service jboss.deployment.unit."def-ui.war".deploymentCompleteService]

                  service jboss.deployment.unit."def-ui.war".component."javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV".START (missing) dependents: [service jboss.deployment.unit."def-ui.war".deploymentCompleteService]

                  service jboss.deployment.unit."def-ui.war".component."javax.servlet.jsp.jstl.tlv.ScriptFreeTLV".START (missing) dependents: [service jboss.deployment.unit."def-ui.war".deploymentCompleteService]

                  service jboss.deployment.unit."def-ui.war".component."org.atmosphere.container.Servlet30CometSupport$CometListener".START (missing) dependents: [service jboss.deployment.unit."def-ui.war".deploymentCompleteService]

                  service jboss.deployment.unit."def-ui.war".component."org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher".START (missing) dependents: [service jboss.deployment.unit."def-ui.war".deploymentCompleteService]

                  service jboss.deployment.unit."def-ui.war".component."org.jboss.resteasy.plugins.server.servlet.ResteasyBootstrap".START (missing) dependents: [service jboss.deployment.unit."def-ui.war".deploymentCompleteService]

                  service jboss.deployment.unit."def-ui.war".component."org.springframework.web.context.ContextLoaderListener".START (missing) dependents: [service jboss.deployment.unit."def-ui.war".deploymentCompleteService]

                  service jboss.deployment.unit."def-ui.war".component."org.springframework.web.filter.CharacterEncodingFilter".START (missing) dependents: [service jboss.deployment.unit."def-ui.war".deploymentCompleteService]

                  service jboss.deployment.unit."def-ui.war".component."org.springframework.web.filter.DelegatingFilterProxy".START (missing) dependents: [service jboss.deployment.unit."def-ui.war".deploymentCompleteService]

                  service jboss.deployment.unit."def-ui.war".component."org.springframework.web.servlet.tags.ArgumentTag".START (missing) dependents: [service jboss.deployment.unit."def-ui.war".deploymentCompleteService]

                  service jboss.deployment.unit."def-ui.war".component."org.springframework.web.servlet.tags.BindErrorsTag".START (missing) dependents: [service jboss.deployment.unit."def-ui.war".deploymentCompleteService]

                  service jboss.deployment.unit."def-ui.war".component."org.springframework.web.servlet.tags.BindTag".START (missing) dependents: [service jboss.deployment.unit."def-ui.war".deploymentCompleteService]

                  service jboss.deployment.unit."def-ui.war".component."org.springframework.web.servlet.tags.EscapeBodyTag".START (missing) dependents: [service jboss.deployment.unit."def-ui.war".deploymentCompleteService]

                  service jboss.deployment.unit."def-ui.war".component."org.springframework.web.servlet.tags.EvalTag".START (missing) dependents: [service jboss.deployment.unit."def-ui.war".deploymentCompleteService]

                  service jboss.deployment.unit."def-ui.war".component."org.springframework.web.servlet.tags.HtmlEscapeTag".START (missing) dependents: [service jboss.deployment.unit."def-ui.war".deploymentCompleteService]

                  service jboss.deployment.unit."def-ui.war".component."org.springframework.web.servlet.tags.MessageTag".START (missing) dependents: [service jboss.deployment.unit."def-ui.war".deploymentCompleteService]

                  service jboss.deployment.unit."def-ui.war".component."org.springframework.web.servlet.tags.NestedPathTag".START (missing) dependents: [service jboss.deployment.unit."def-ui.war".deploymentCompleteService]

                  service jboss.deployment.unit."def-ui.war".component."org.springframework.web.servlet.tags.ParamTag".START (missing) dependents: [service jboss.deployment.unit."def-ui.war".deploymentCompleteService]

                  service jboss.deployment.unit."def-ui.war".component."org.springframework.web.servlet.tags.ThemeTag".START (missing) dependents: [service jboss.deployment.unit."def-ui.war".deploymentCompleteService]

                  service jboss.deployment.unit."def-ui.war".component."org.springframework.web.servlet.tags.TransformTag".START (missing) dependents: [service jboss.deployment.unit."def-ui.war".deploymentCompleteService]

                  service jboss.deployment.unit."def-ui.war".component."org.springframework.web.servlet.tags.UrlTag".START (missing) dependents: [service jboss.deployment.unit."def-ui.war".deploymentCompleteService]

                  service jboss.deployment.unit."def-ui.war".component."org.springframework.web.servlet.tags.form.ButtonTag".START (missing) dependents: [service jboss.deployment.unit."def-ui.war".deploymentCompleteService]

                  service jboss.deployment.unit."def-ui.war".component."org.springframework.web.servlet.tags.form.CheckboxTag".START (missing) dependents: [service jboss.deployment.unit."def-ui.war".deploymentCompleteService]

                  service jboss.deployment.unit."def-ui.war".component."org.springframework.web.servlet.tags.form.CheckboxesTag".START (missing) dependents: [service jboss.deployment.unit."def-ui.war".deploymentCompleteService]

                  service jboss.deployment.unit."def-ui.war".component."org.springframework.web.servlet.tags.form.ErrorsTag".START (missing) dependents: [service jboss.deployment.unit."def-ui.war".deploymentCompleteService]

                  service jboss.deployment.unit."def-ui.war".component."org.springframework.web.servlet.tags.form.FormTag".START (missing) dependents: [service jboss.deployment.unit."def-ui.war".deploymentCompleteService]

                  service jboss.deployment.unit."def-ui.war".component."org.springframework.web.servlet.tags.form.HiddenInputTag".START (missing) dependents: [service jboss.deployment.unit."def-ui.war".deploymentCompleteService]

                  service jboss.deployment.unit."def-ui.war".component."org.springframework.web.servlet.tags.form.InputTag".START (missing) dependents: [service jboss.deployment.unit."def-ui.war".deploymentCompleteService]

                  service jboss.deployment.unit."def-ui.war".component."org.springframework.web.servlet.tags.form.LabelTag".START (missing) dependents: [service jboss.deployment.unit."def-ui.war".deploymentCompleteService]

                  service jboss.deployment.unit."def-ui.war".component."org.springframework.web.servlet.tags.form.OptionTag".START (missing) dependents: [service jboss.deployment.unit."def-ui.war".deploymentCompleteService]

                  service jboss.deployment.unit."def-ui.war".component."org.springframework.web.servlet.tags.form.OptionsTag".START (missing) dependents: [service jboss.deployment.unit."def-ui.war".deploymentCompleteService]

                  service jboss.deployment.unit."def-ui.war".component."org.springframework.web.servlet.tags.form.PasswordInputTag".START (missing) dependents: [service jboss.deployment.unit."def-ui.war".deploymentCompleteService]

                  service jboss.deployment.unit."def-ui.war".component."org.springframework.web.servlet.tags.form.RadioButtonTag".START (missing) dependents: [service jboss.deployment.unit."def-ui.war".deploymentCompleteService]

                  service jboss.deployment.unit."def-ui.war".component."org.springframework.web.servlet.tags.form.RadioButtonsTag".START (missing) dependents: [service jboss.deployment.unit."def-ui.war".deploymentCompleteService]

                  service jboss.deployment.unit."def-ui.war".component."org.springframework.web.servlet.tags.form.SelectTag".START (missing) dependents: [service jboss.deployment.unit."def-ui.war".deploymentCompleteService]

                  service jboss.deployment.unit."def-ui.war".component."org.springframework.web.servlet.tags.form.TextareaTag".START (missing) dependents: [service jboss.deployment.unit."def-ui.war".deploymentCompleteService]

                  service jboss.deployment.unit."def-ui.war".component."org.springframework.web.util.Log4jConfigListener".START (missing) dependents: [service jboss.deployment.unit."def-ui.war".deploymentCompleteService]

                  service jboss.undertow.deployment.default-server.default-host./def-ui (missing) dependents: [service jboss.deployment.unit."def-ui.war".deploymentCompleteService]

            WFLYCTL0186:   Services which failed to start:      service jboss.undertow.deployment.default-server.default-host./def-ui

             

            12:50:26,279 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) WFLYDS0004: Found def-ui.war in deployment directory. To trigger deployment create a file called def-ui.war.dodeploy

            • 3. Re: LinkageError with name javax/sql/PooledConnection
              mikemike

              The answer was given by David Loyed in [WFCORE-561] Class loading problem with XAResource and XADataSource - JBoss Issue Tracker

               

              "Try editing your "modules/system/layers/base/javax/api/main/module.xml" file and remove just the one line that references the "javax/sql" path. If that fixes the problem, then my patch will also fix it."