0 Replies Latest reply on Nov 5, 2015 9:26 AM by sarvapsk

    Jboss eap-6.4 Compatibility issue with Wso2-5.0.0

    sarvapsk

      Hi Team,

       

      I am unable to deploy my application into the JBOSS EAP 6.4. We are using Wso2 -5.0.0 as anidentity server in our application.

      Please find the below error which we are getting. Please tell me the solution for this error.

       

      I think the problem is with Opensaml and xmltooling . Please verify it let me know.

       

      Error :

       

      9:55:05,956 INFO  [stdout] (ServerService Thread Pool -- 85) 19:55:05,956 ERROR [opensaml.xml.XMLConfigurator] Can not create instance of org.opensaml.xml.schema.impl.XSAnyMarshaller

       

       

      19:55:05,956 INFO  [stdout] (ServerService Thread Pool -- 85) java.lang.reflect.InvocationTargetException

       

       

      19:55:05,956 INFO  [stdout] (ServerService Thread Pool -- 85) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

       

       

      19:55:05,956 INFO  [stdout] (ServerService Thread Pool -- 85) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)

       

       

      19:55:05,956 INFO  [stdout] (ServerService Thread Pool -- 85) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

       

       

      19:55:05,956 INFO  [stdout] (ServerService Thread Pool -- 85) at java.lang.reflect.Constructor.newInstance(Constructor.java:526)

       

       

      19:55:05,956 INFO  [stdout] (ServerService Thread Pool -- 85) at org.opensaml.xml.XMLConfigurator.createClassInstance(XMLConfigurator.java:360)

       

       

      19:55:05,956 INFO  [stdout] (ServerService Thread Pool -- 85) at org.opensaml.xml.XMLConfigurator.initializeObjectProviders(XMLConfigurator.java:240)

       

       

      19:55:05,956 INFO  [stdout] (ServerService Thread Pool -- 85) at org.opensaml.xml.XMLConfigurator.load(XMLConfigurator.java:182)

       

       

      19:55:05,956 INFO  [stdout] (ServerService Thread Pool -- 85) at org.opensaml.xml.XMLConfigurator.load(XMLConfigurator.java:166)

       

       

      19:55:05,956 INFO  [stdout] (ServerService Thread Pool -- 85) at org.opensaml.xml.XMLConfigurator.load(XMLConfigurator.java:143)

       

       

      19:55:05,956 INFO  [stdout] (ServerService Thread Pool -- 85) at org.opensaml.DefaultBootstrap.initializeXMLTooling(DefaultBootstrap.java:143)

       

       

      19:55:05,956 INFO  [stdout] (ServerService Thread Pool -- 85) at org.opensaml.DefaultBootstrap.bootstrap(DefaultBootstrap.java:83)

       

       

      19:55:05,956 INFO  [stdout] (ServerService Thread Pool -- 85) at org.wso2.carbon.identity.sso.agent.saml.SAML2SSOManager.<init>(SAML2SSOManager.java:112)

       

       

      19:55:05,956 INFO  [stdout] (ServerService Thread Pool -- 85) at org.wso2.carbon.identity.sso.agent.SSOAgentFilter.init(SSOAgentFilter.java:55)

       

       

      19:55:05,956 INFO  [stdout] (ServerService Thread Pool -- 85) at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:416)

       

       

      19:55:05,956 INFO  [stdout] (ServerService Thread Pool -- 85) at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3225)

       

       

      19:55:05,956 INFO  [stdout] (ServerService Thread Pool -- 85) at org.apache.catalina.core.StandardContext.start(StandardContext.java:3794)

       

       

      19:55:05,956 INFO  [stdout] (ServerService Thread Pool -- 85) at org.jboss.as.web.deployment.WebDeploymentService.doStart(WebDeploymentService.java:163)

       

       

      19:55:05,956 INFO  [stdout] (ServerService Thread Pool -- 85) at org.jboss.as.web.deployment.WebDeploymentService.access$000(WebDeploymentService.java:61)

       

       

      19:55:05,956 INFO  [stdout] (ServerService Thread Pool -- 85) at org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:96)

       

       

      19:55:05,956 INFO  [stdout] (ServerService Thread Pool -- 85) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)

       

       

      19:55:05,956 INFO  [stdout] (ServerService Thread Pool -- 85) at java.util.concurrent.FutureTask.run(FutureTask.java:262)

       

       

      19:55:05,956 INFO  [stdout] (ServerService Thread Pool -- 85) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

       

       

      19:55:05,956 INFO  [stdout] (ServerService Thread Pool -- 85) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

       

       

      19:55:05,956 INFO  [stdout] (ServerService Thread Pool -- 85) at java.lang.Thread.run(Thread.java:745)

       

       

      19:55:05,956 INFO  [stdout] (ServerService Thread Pool -- 85) at org.jboss.threads.JBossThread.run(JBossThread.java:122)

       

       

      19:55:05,956 INFO  [stdout] (ServerService Thread Pool -- 85) Caused by: java.lang.IllegalAccessError: tried to access method javax.crypto.CipherSpi.engineSetMode(Ljava/lang/String;)V from class javax.crypto.Cipher

       

       

      19:55:05,956 INFO  [stdout] (ServerService Thread Pool -- 85) at javax.crypto.Cipher.getInstance(Cipher.java:173)

       

       

      19:55:05,956 INFO  [stdout] (ServerService Thread Pool -- 85) at org.opensaml.xml.Configuration.validateJCEProviders(Configuration.java:293)

       

       

      19:55:05,956 INFO  [stdout] (ServerService Thread Pool -- 85) at org.opensaml.xml.Configuration.<clinit>(Configuration.java:398)

       

       

      19:55:05,956 INFO  [stdout] (ServerService Thread Pool -- 85) at org.opensaml.xml.io.AbstractXMLObjectMarshaller.<init>(AbstractXMLObjectMarshaller.java:61)

       

       

      19:55:05,956 INFO  [stdout] (ServerService Thread Pool -- 85) at org.opensaml.xml.schema.impl.XSAnyMarshaller.<init>(XSAnyMarshaller.java:36)

       

       

      19:55:05,956 INFO  [stdout] (ServerService Thread Pool -- 85) ... 25 more

       

       

      19:55:05,956 INFO  [stdout] (ServerService Thread Pool -- 85) 19:55:05,956 ERROR [opensaml.xml.XMLConfigurator] Error initializing object provier [ObjectProvider: null]

       

       

      19:55:05,956 INFO  [stdout] (ServerService Thread Pool -- 85) org.opensaml.xml.ConfigurationException: Can not create instance of org.opensaml.xml.schema.impl.XSAnyMarshaller

       

       

      19:55:05,956 INFO  [stdout] (ServerService Thread Pool -- 85) at org.opensaml.xml.XMLConfigurator.createClassInstance(XMLConfigurator.java:363)

       

       

      19:55:05,956 INFO  [stdout] (ServerService Thread Pool -- 85) at org.opensaml.xml.XMLConfigurator.initializeObjectProviders(XMLConfigurator.java:240)

       

       

      19:55:05,956 INFO  [stdout] (ServerService Thread Pool -- 85) at org.opensaml.xml.XMLConfigurator.load(XMLConfigurator.java:182)

       

       

      19:55:05,956 INFO  [stdout] (ServerService Thread Pool -- 85) at org.opensaml.xml.XMLConfigurator.load(XMLConfigurator.java:166)

       

       

      19:55:05,956 INFO  [stdout] (ServerService Thread Pool -- 85) at org.opensaml.xml.XMLConfigurator.load(XMLConfigurator.java:143)

       

       

      19:55:05,956 INFO  [stdout] (ServerService Thread Pool -- 85) at org.opensaml.DefaultBootstrap.initializeXMLTooling(DefaultBootstrap.java:143)

       

       

      19:55:05,956 INFO  [stdout] (ServerService Thread Pool -- 85) at org.opensaml.DefaultBootstrap.bootstrap(DefaultBootstrap.java:83)

       

       

      19:55:05,956 INFO  [stdout] (ServerService Thread Pool -- 85) at org.wso2.carbon.identity.sso.agent.saml.SAML2SSOManager.<init>(SAML2SSOManager.java:112)

       

       

      19:55:05,971 INFO  [stdout] (ServerService Thread Pool -- 85) at org.wso2.carbon.identity.sso.agent.SSOAgentFilter.init(SSOAgentFilter.java:55)

       

       

      19:55:05,971 INFO  [stdout] (ServerService Thread Pool -- 85) at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:416)

       

       

      19:55:05,971 INFO  [stdout] (ServerService Thread Pool -- 85) at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3225)

       

       

      19:55:05,971 INFO  [stdout] (ServerService Thread Pool -- 85) at org.apache.catalina.core.StandardContext.start(StandardContext.java:3794)

       

       

      19:55:05,971 INFO  [stdout] (ServerService Thread Pool -- 85) at org.jboss.as.web.deployment.WebDeploymentService.doStart(WebDeploymentService.java:163)

       

       

      19:55:05,971 INFO  [stdout] (ServerService Thread Pool -- 85) at org.jboss.as.web.deployment.WebDeploymentService.access$000(WebDeploymentService.java:61)

       

       

      19:55:05,971 INFO  [stdout] (ServerService Thread Pool -- 85) at org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:96)

       

       

      19:55:05,971 INFO  [stdout] (ServerService Thread Pool -- 85) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)

       

       

      19:55:05,971 INFO  [stdout] (ServerService Thread Pool -- 85) at java.util.concurrent.FutureTask.run(FutureTask.java:262)

       

       

      19:55:05,971 INFO  [stdout] (ServerService Thread Pool -- 85) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

       

       

      19:55:05,971 INFO  [stdout] (ServerService Thread Pool -- 85) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

       

       

      19:55:05,971 INFO  [stdout] (ServerService Thread Pool -- 85) at java.lang.Thread.run(Thread.java:745)

       

       

      19:55:05,971 INFO  [stdout] (ServerService Thread Pool -- 85) at org.jboss.threads.JBossThread.run(JBossThread.java:122)

       

       

      19:55:05,971 INFO  [stdout] (ServerService Thread Pool -- 85) Caused by: java.lang.reflect.InvocationTargetException

       

       

      19:55:05,971 INFO  [stdout] (ServerService Thread Pool -- 85) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

       

       

      19:55:05,971 INFO  [stdout] (ServerService Thread Pool -- 85) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)

       

       

      19:55:05,971 INFO  [stdout] (ServerService Thread Pool -- 85) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

       

       

      19:55:05,971 INFO  [stdout] (ServerService Thread Pool -- 85) at java.lang.reflect.Constructor.newInstance(Constructor.java:526)

       

       

      19:55:05,971 INFO  [stdout] (ServerService Thread Pool -- 85) at org.opensaml.xml.XMLConfigurator.createClassInstance(XMLConfigurator.java:360)

       

       

      19:55:05,971 INFO  [stdout] (ServerService Thread Pool -- 85) ... 20 more

       

       

      19:55:05,971 INFO  [stdout] (ServerService Thread Pool -- 85) Caused by: java.lang.IllegalAccessError: tried to access method javax.crypto.CipherSpi.engineSetMode(Ljava/lang/String;)V from class javax.crypto.Cipher

       

       

      19:55:05,971 INFO  [stdout] (ServerService Thread Pool -- 85) at javax.crypto.Cipher.getInstance(Cipher.java:173)

       

       

      19:55:05,971 INFO  [stdout] (ServerService Thread Pool -- 85) at org.opensaml.xml.Configuration.validateJCEProviders(Configuration.java:293)

       

       

      19:55:05,971 INFO  [stdout] (ServerService Thread Pool -- 85) at org.opensaml.xml.Configuration.<clinit>(Configuration.java:398)

       

       

      19:55:05,971 INFO  [stdout] (ServerService Thread Pool -- 85) at org.opensaml.xml.io.AbstractXMLObjectMarshaller.<init>(AbstractXMLObjectMarshaller.java:61)

       

       

      19:55:05,971 INFO  [stdout] (ServerService Thread Pool -- 85) at org.opensaml.xml.schema.impl.XSAnyMarshaller.<init>(XSAnyMarshaller.java:36)

       

       

      19:55:05,971 INFO  [stdout] (ServerService Thread Pool -- 85) ... 25 more

       

       

      19:55:05,971 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/ims]] (ServerService Thread Pool -- 85) JBWEB000284: Exception starting filter SSOFilter: java.lang.NoClassDefFoundError: Could not initialize class org.opensaml.xml.Configuration

        at org.opensaml.xml.XMLConfigurator.initializeObjectProviders(XMLConfigurator.java:257) [xmltooling-1.4.4.jar:1.4.4]

        at org.opensaml.xml.XMLConfigurator.load(XMLConfigurator.java:182) [xmltooling-1.4.4.jar:1.4.4]

        at org.opensaml.xml.XMLConfigurator.load(XMLConfigurator.java:166) [xmltooling-1.4.4.jar:1.4.4]

        at org.opensaml.xml.XMLConfigurator.load(XMLConfigurator.java:143) [xmltooling-1.4.4.jar:1.4.4]

        at org.opensaml.DefaultBootstrap.initializeXMLTooling(DefaultBootstrap.java:143) [opensaml-2.1.0.jar:]

        at org.opensaml.DefaultBootstrap.bootstrap(DefaultBootstrap.java:83) [opensaml-2.1.0.jar:]

        at org.wso2.carbon.identity.sso.agent.saml.SAML2SSOManager.<init>(SAML2SSOManager.java:112) [org.wso2.carbon.identity.sso.agent-1.2.0.jar:]

        at org.wso2.carbon.identity.sso.agent.SSOAgentFilter.init(SSOAgentFilter.java:55) [org.wso2.carbon.identity.sso.agent-1.2.0.jar:]

        at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:416) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]

        at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3225) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]

        at org.apache.catalina.core.StandardContext.start(StandardContext.java:3794) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]

        at org.jboss.as.web.deployment.WebDeploymentService.doStart(WebDeploymentService.java:163) [jboss-as-web-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

        at org.jboss.as.web.deployment.WebDeploymentService.access$000(WebDeploymentService.java:61) [jboss-as-web-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

        at org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:96) [jboss-as-web-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [rt.jar:1.7.0_55]

        at java.util.concurrent.FutureTask.run(FutureTask.java:262) [rt.jar:1.7.0_55]

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_55]

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_55]

        at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_55]

        at org.jboss.threads.JBossThread.run(JBossThread.java:122)

       

       

      19:55:05,971 ERROR [org.apache.catalina.core] (ServerService Thread Pool -- 85) JBWEB001103: Error detected during context /ims start, will stop it

      19:55:05,987 INFO  [com.vaadin.cdi.internal.ContextDeployer] (ServerService Thread Pool -- 85) Context destroyed

      19:55:06,003 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 85) MSC000001: Failed to start service jboss.web.deployment.default-host./ims: org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./ims: org.jboss.msc.service.StartException in anonymous service: JBAS018040: Failed to start context

        at org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:99)

        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [rt.jar:1.7.0_55]

        at java.util.concurrent.FutureTask.run(FutureTask.java:262) [rt.jar:1.7.0_55]

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_55]

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_55]

        at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_55]

        at org.jboss.threads.JBossThread.run(JBossThread.java:122)

      Caused by: org.jboss.msc.service.StartException in anonymous service: JBAS018040: Failed to start context

        at org.jboss.as.web.deployment.WebDeploymentService.doStart(WebDeploymentService.java:168)

        at org.jboss.as.web.deployment.WebDeploymentService.access$000(WebDeploymentService.java:61)

        at org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:96)

        ... 6 more