1 Reply Latest reply on Sep 8, 2015 5:07 AM by Lakshminarayana K

    jboss eap 6.2 getting jndi error during war deployment time

    Lakshminarayana K Newbie

      Hi

      i have implemented spring mvc application and deploying as war in jboss eap 6.2 server. i am getting below error.

      Even in pom.xml file i have configured "seam-solder-3.0.0.final" jar also.please suggest where is problem occur and how to reslove this.

       

       

      error:

       

      14:04:35,748 INFO  [org.jboss.as.remoting] (MSC service thread 1-2) JBAS017100: Listening on 127.0.0.1:9999

      14:04:35,758 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-6) JBAS015012: Started FileSystemDeploymentService for directory E:\tools\JBPM\jbpm_sw\Jboss-eap-servers\jboss-eap-6.2\standalone\deployments

      14:04:36,211 INFO  [org.jboss.ws.common.management] (MSC service thread 1-3) JBWS022052: Starting JBoss Web Services - Stack CXF Server 4.2.1.Final-redhat-3

      14:04:55,800 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015960: Class Path entry xml-apis.jar in /E:/tools/JBPM/jbpm_sw/Jboss-eap-servers/jboss-eap-6.2/bin/content/IooraLogin_maven.war/WEB-INF/lib/serializer-2.7.1.jar  does not point to a valid jar for a Class-Path reference.

      14:04:55,810 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015960: Class Path entry xercesImpl.jar in /E:/tools/JBPM/jbpm_sw/Jboss-eap-servers/jboss-eap-6.2/bin/content/IooraLogin_maven.war/WEB-INF/lib/xalan-2.7.1.jar  does not point to a valid jar for a Class-Path reference.

      14:04:55,810 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015960: Class Path entry xml-apis.jar in /E:/tools/JBPM/jbpm_sw/Jboss-eap-servers/jboss-eap-6.2/bin/content/IooraLogin_maven.war/WEB-INF/lib/xalan-2.7.1.jar  does not point to a valid jar for a Class-Path reference.

      14:04:55,810 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015960: Class Path entry serializer.jar in /E:/tools/JBPM/jbpm_sw/Jboss-eap-servers/jboss-eap-6.2/bin/content/IooraLogin_maven.war/WEB-INF/lib/xalan-2.7.1.jar  does not point to a valid jar for a Class-Path reference.

      14:04:56,054 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-8) JBAS015893: Encountered invalid class name 'org.xmlpull.mxp1.MXParser,org.xmlpull.mxp1_serializer.MXSerializer' for service type 'org.xmlpull.v1.XmlPullParserFactory'

      14:04:56,389 INFO  [org.jboss.as.jpa] (MSC service thread 1-8) JBAS011401: Read persistence.xml for org.jbpm.domain

      14:04:56,399 INFO  [org.jboss.as.jpa] (MSC service thread 1-8) JBAS011401: Read persistence.xml for org.jbpm.persistence.jpa

      14:04:56,831 INFO  [org.jboss.weld.deployer] (MSC service thread 1-1) JBAS016002: Processing weld deployment IooraLogin_maven.war

      14:04:56,881 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC000001: Failed to start service jboss.deployment.unit."IooraLogin_maven.war".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.unit."IooraLogin_maven.war".POST_MODULE: JBAS018733: Failed to process phase POST_MODULE of deployment "IooraLogin_maven.war"

              at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:127) [jboss-as-server-7.3.0.Final-redhat-8.jar:7.3.0.Final-redhat-8]

              at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]

              at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]

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

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

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

      Caused by: java.lang.NoClassDefFoundError: org/jboss/solder/bean/ContextualLifecycle

              at java.lang.Class.getDeclaredConstructors0(Native Method) [rt.jar:1.7.0_76]

              at java.lang.Class.privateGetDeclaredConstructors(Class.java:2585) [rt.jar:1.7.0_76]

              at java.lang.Class.getConstructor0(Class.java:2885) [rt.jar:1.7.0_76]

              at java.lang.Class.newInstance(Class.java:350) [rt.jar:1.7.0_76]

              at org.jboss.as.weld.deployment.WeldPortableExtensions.tryRegisterExtension(WeldPortableExtensions.java:54)

              at org.jboss.as.weld.deployment.processors.WeldPortableExtensionProcessor.loadAttachments(WeldPortableExtensionProcessor.java:119)

              at org.jboss.as.weld.deployment.processors.WeldPortableExtensionProcessor.deploy(WeldPortableExtensionProcessor.java:79)

              at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:120) [jboss-as-server-7.3.0.Final-redhat-8.jar:7.3.0.Final-redhat-8]

              ... 5 more

      Caused by: java.lang.ClassNotFoundException: org.jboss.solder.bean.ContextualLifecycle from [Module "deployment.IooraLogin_maven.war:main" from Service Module Loader]

              at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:197) [jboss-modules.jar:1.3.0.Final-redhat-2]

              at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:443) [jboss-modules.jar:1.3.0.Final-redhat-2]

              at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:431) [jboss-modules.jar:1.3.0.Final-redhat-2]

              at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:373) [jboss-modules.jar:1.3.0.Final-redhat-2]

              at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:118) [jboss-modules.jar:1.3.0.Final-redhat-2]

              ... 13 more

       

       

      14:04:56,921 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 26) JBAS018559: Deployed "IooraLogin_maven.war" (runtime-name : "IooraLogin_maven.war")

      14:04:56,921 INFO  [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report

      JBAS014777:   Services which failed to start:      service jboss.deployment.unit."IooraLogin_maven.war".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.unit."IooraLogin_maven.war".POST_MODULE: JBAS018733: Failed to process phase POST_MODULE of deployment "IooraLogin_maven.war"

        • 1. Re: jboss eap 6.2 getting jndi error during war deployment time
          Lakshminarayana K Newbie

          Hi

           

          Could any body respond how to resolve this and where is the problem?

          post deploying war file in JBOSS EAP 6.2 server , the persistence.xml file was unable to read and getting below error.

           

          14:04:56,054 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-8) JBAS015893: Encountered invalid class name 'org.xmlpull.mxp1.MXParser,org.xmlpull.mxp1_serializer.MXSerializer' for service type 'org.xmlpull.v1.XmlPullParserFactory'

          14:04:56,389 INFO  [org.jboss.as.jpa] (MSC service thread 1-8) JBAS011401: Read persistence.xml for org.jbpm.domain

          14:04:56,399 INFO  [org.jboss.as.jpa] (MSC service thread 1-8) JBAS011401: Read persistence.xml for org.jbpm.persistence.jpa

          14:04:56,831 INFO  [org.jboss.weld.deployer] (MSC service thread 1-1) JBAS016002: Processing weld deployment IooraLogin_maven.war

          14:04:56,881 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC000001: Failed to start service jboss.deployment.unit."IooraLogin_maven.war".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.unit."IooraLogin_maven.war".POST_MODULE: JBAS018733: Failed to process phase POST_MODULE of deployment "IooraLogin_maven.war"

                  at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:127) [jboss-as-server-7.3.0.Final-redhat-8.jar:7.3.0.Final-redhat-8]

                  at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]

                  at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]

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

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

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

          Caused by: java.lang.NoClassDefFoundError: org/jboss/solder/bean/ContextualLifecycle

                  at java.lang.Class.getDeclaredConstructors0(Native Method) [rt.jar:1.7.0_76]

                  at java.lang.Class.privateGetDeclaredConstructors(Class.java:2585) [rt.jar:1.7.0_76]

                  at java.lang.Class.getConstructor0(Class.java:2885) [rt.jar:1.7.0_76]

                  at java.lang.Class.newInstance(Class.java:350) [rt.jar:1.7.0_76]

                  at org.jboss.as.weld.deployment.WeldPortableExtensions.tryRegisterExtension(WeldPortableExtensions.java:54)

                  at org.jboss.as.weld.deployment.processors.WeldPortableExtensionProcessor.loadAttachments(WeldPortableExtensionProcessor.java:119)

                  at org.jboss.as.weld.deployment.processors.WeldPortableExtensionProcessor.deploy(WeldPortableExtensionProcessor.java:79)

                  at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:120) [jboss-as-server-7.3.0.Final-redhat-8.jar:7.3.0.Final-redhat-8]

                  ... 5 more

          Caused by: java.lang.ClassNotFoundException: org.jboss.solder.bean.ContextualLifecycle from [Module "deployment.IooraLogin_maven.war:main" from Service Module Loader]

                  at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:197) [jboss-modules.jar:1.3.0.Final-redhat-2]

                  at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:443) [jboss-modules.jar:1.3.0.Final-redhat-2]

                  at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:431) [jboss-modules.jar:1.3.0.Final-redhat-2]

                  at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:373) [jboss-modules.jar:1.3.0.Final-redhat-2]

           

          Thanks,

          Lakshminarayana  K