FileNotFoundException in JBoss AS 7 - eclipse

I have a maven project set up in eclipse 4.2.1 (build 20121004-1855). The project has (among others) two necessary dependencies configured in the pom.xml which are:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-calendar</artifactId>
<version>v3-rev16-1.8.0-beta</version>
</dependency>
<dependency>
<groupId>com.google.http-client</groupId>
<artifactId>google-http-client-jackson2</artifactId>
<version>1.11.0-beta</version>
</dependency>
The first library allows me to connect with google calendar services and interact with them. The second library enables me to process JSON.
The problem is that when i try to deploy the project in JBoss AS 7, i get the following error:
17:31:09,754 INFO [org.jboss.as] (Controller Boot Thread) JBAS015874: JBoss AS 7.1.1.Final "Brontes" started in 8392ms - Started 178 of 255 services (76 services are passive or on-demand)
17:43:12,193 INFO [org.jboss.as.repository] (management-handler-thread - 5) JBAS014900: Content added at location /usr/local/jboss-as-7.1.1.Final/standalone/data/content/c6/3443036ca32a120acc8adf87de993f18a60175/content
17:43:12,204 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015876: Starting deployment of "eventes.war"
17:43:14,046 WARN [org.jboss.as.server.deployment] (MSC service thread 1-3) Class Path entry httpclient-4.0.3.jar in "/content/eventes.war/WEB-INF/lib/google-oauth-client-1.11.0-beta.jar" does not point to a valid jar for a Class-Path reference.
17:43:14,047 WARN [org.jboss.as.server.deployment] (MSC service thread 1-3) Class Path entry httpcore-4.0.1.jar in "/content/eventes.war/WEB-INF/lib/google-oauth-client-1.11.0-beta.jar" does not point to a valid jar for a Class-Path reference.
17:43:14,048 WARN [org.jboss.as.server.deployment] (MSC service thread 1-3) Class Path entry httpclient-4.0.3.jar in "/content/eventes.war/WEB-INF/lib/google-http-client-1.11.0-beta.jar" does not point to a valid jar for a Class-Path reference.
17:43:14,049 WARN [org.jboss.as.server.deployment] (MSC service thread 1-3) Class Path entry httpcore-4.0.1.jar in "/content/eventes.war/WEB-INF/lib/google-http-client-1.11.0-beta.jar" does not point to a valid jar for a Class-Path reference.
17:43:14,051 WARN [org.jboss.as.server.deployment] (MSC service thread 1-3) Class Path entry httpclient-4.0.3.jar in "/content/eventes.war/WEB-INF/lib/google-http-client-jackson2-1.11.0-beta.jar" does not point to a valid jar for a Class-Path reference.
17:43:14,053 WARN [org.jboss.as.server.deployment] (MSC service thread 1-3) Class Path entry httpcore-4.0.1.jar in "/content/eventes.war/WEB-INF/lib/google-http-client-jackson2-1.11.0-beta.jar" does not point to a valid jar for a Class-Path reference.
17:43:14,054 WARN [org.jboss.as.server.deployment] (MSC service thread 1-3) Class Path entry commons-codec-1.6.jar in "/content/eventes.war/WEB-INF/lib/google-http-client-jackson2-1.11.0-beta.jar" does not point to a valid jar for a Class-Path reference.
17:43:14,057 WARN [org.jboss.as.server.deployment] (MSC service thread 1-3) Class Path entry httpclient-4.0.3.jar in "/content/eventes.war/WEB-INF/lib/google-api-client-1.11.0-beta.jar" does not point to a valid jar for a Class-Path reference.
17:43:14,058 WARN [org.jboss.as.server.deployment] (MSC service thread 1-3) Class Path entry httpcore-4.0.1.jar in "/content/eventes.war/WEB-INF/lib/google-api-client-1.11.0-beta.jar" does not point to a valid jar for a Class-Path reference.
17:43:14,059 WARN [org.jboss.as.server.deployment] (MSC service thread 1-3) Class Path entry jaxb-api.jar in "/content/eventes.war/WEB-INF/lib/jaxb-impl-2.2.4.jar" does not point to a valid jar for a Class-Path reference.
17:43:14,060 WARN [org.jboss.as.server.deployment] (MSC service thread 1-3) Class Path entry activation.jar in "/content/eventes.war/WEB-INF/lib/jaxb-impl-2.2.4.jar" does not point to a valid jar for a Class-Path reference.
17:43:14,061 WARN [org.jboss.as.server.deployment] (MSC service thread 1-3) Class Path entry jsr173_1.0_api.jar in "/content/eventes.war/WEB-INF/lib/jaxb-impl-2.2.4.jar" does not point to a valid jar for a Class-Path reference.
17:43:14,061 WARN [org.jboss.as.server.deployment] (MSC service thread 1-3) Class Path entry jaxb1-impl.jar in "/content/eventes.war/WEB-INF/lib/jaxb-impl-2.2.4.jar" does not point to a valid jar for a Class-Path reference.
17:43:14,099 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.module.spec.service."deployment.external./home/codegen/dependencies/java/stable/dependencies/libs/google-api-client-1.11.0-beta.jar".main: org.jboss.msc.service.StartException in service jboss.module.spec.service."deployment.external./home/codegen/dependencies/java/stable/dependencies/libs/google-api-client-1.11.0-beta.jar".main: java.io.FileNotFoundException: /home/codegen/dependencies/java/stable/dependencies/libs/google-api-client-1.11.0-beta.jar (No such file or directory)
at org.jboss.as.server.moduleservice.ExternalModuleSpecService.start(ExternalModuleSpecService.java:65) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_07]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_07]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_07]
Caused by: java.io.FileNotFoundException: /home/codegen/dependencies/java/stable/dependencies/libs/google-api-client-1.11.0-beta.jar (No such file or directory)
at java.util.zip.ZipFile.open(Native Method) [rt.jar:1.7.0_07]
at java.util.zip.ZipFile.<init>(ZipFile.java:214) [rt.jar:1.7.0_07]
at java.util.zip.ZipFile.<init>(ZipFile.java:144) [rt.jar:1.7.0_07]
at java.util.jar.JarFile.<init>(JarFile.java:152) [rt.jar:1.7.0_07]
at java.util.jar.JarFile.<init>(JarFile.java:116) [rt.jar:1.7.0_07]
at org.jboss.as.server.moduleservice.ExternalModuleSpecService.start(ExternalModuleSpecService.java:63) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
... 5 more
17:43:14,097 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC00001: Failed to start service jboss.module.spec.service."deployment.external./home/codegen/dependencies/java/stable/dependencies/libs/guava-11.0.1.jar".main: org.jboss.msc.service.StartException in service jboss.module.spec.service."deployment.external./home/codegen/dependencies/java/stable/dependencies/libs/guava-11.0.1.jar".main: java.io.FileNotFoundException: /home/codegen/dependencies/java/stable/dependencies/libs/guava-11.0.1.jar (No such file or directory)
at org.jboss.as.server.moduleservice.ExternalModuleSpecService.start(ExternalModuleSpecService.java:65) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_07]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_07]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_07]
Caused by: java.io.FileNotFoundException: /home/codegen/dependencies/java/stable/dependencies/libs/guava-11.0.1.jar (No such file or directory)
at java.util.zip.ZipFile.open(Native Method) [rt.jar:1.7.0_07]
at java.util.zip.ZipFile.<init>(ZipFile.java:214) [rt.jar:1.7.0_07]
at java.util.zip.ZipFile.<init>(ZipFile.java:144) [rt.jar:1.7.0_07]
at java.util.jar.JarFile.<init>(JarFile.java:152) [rt.jar:1.7.0_07]
at java.util.jar.JarFile.<init>(JarFile.java:116) [rt.jar:1.7.0_07]
at org.jboss.as.server.moduleservice.ExternalModuleSpecService.start(ExternalModuleSpecService.java:63) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
... 5 more
17:43:14,097 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC00001: Failed to start service jboss.module.spec.service."deployment.external./home/codegen/dependencies/java/stable/dependencies/libs/google-http-client-1.11.0-beta.jar".main: org.jboss.msc.service.StartException in service jboss.module.spec.service."deployment.external./home/codegen/dependencies/java/stable/dependencies/libs/google-http-client-1.11.0-beta.jar".main: java.io.FileNotFoundException: /home/codegen/dependencies/java/stable/dependencies/libs/google-http-client-1.11.0-beta.jar (No such file or directory)
at org.jboss.as.server.moduleservice.ExternalModuleSpecService.start(ExternalModuleSpecService.java:65) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_07]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_07]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_07]
Caused by: java.io.FileNotFoundException: /home/codegen/dependencies/java/stable/dependencies/libs/google-http-client-1.11.0-beta.jar (No such file or directory)
at java.util.zip.ZipFile.open(Native Method) [rt.jar:1.7.0_07]
at java.util.zip.ZipFile.<init>(ZipFile.java:214) [rt.jar:1.7.0_07]
at java.util.zip.ZipFile.<init>(ZipFile.java:144) [rt.jar:1.7.0_07]
at java.util.jar.JarFile.<init>(JarFile.java:152) [rt.jar:1.7.0_07]
at java.util.jar.JarFile.<init>(JarFile.java:116) [rt.jar:1.7.0_07]
at org.jboss.as.server.moduleservice.ExternalModuleSpecService.start(ExternalModuleSpecService.java:63) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
... 5 more
17:43:14,097 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC00001: Failed to start service jboss.module.spec.service."deployment.external./home/codegen/dependencies/java/stable/dependencies/libs/google-oauth-client-1.11.0-beta.jar".main: org.jboss.msc.service.StartException in service jboss.module.spec.service."deployment.external./home/codegen/dependencies/java/stable/dependencies/libs/google-oauth-client-1.11.0-beta.jar".main: java.io.FileNotFoundException: /home/codegen/dependencies/java/stable/dependencies/libs/google-oauth-client-1.11.0-beta.jar (No such file or directory)
at org.jboss.as.server.moduleservice.ExternalModuleSpecService.start(ExternalModuleSpecService.java:65) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_07]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_07]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_07]
Caused by: java.io.FileNotFoundException: /home/codegen/dependencies/java/stable/dependencies/libs/google-oauth-client-1.11.0-beta.jar (No such file or directory)
at java.util.zip.ZipFile.open(Native Method) [rt.jar:1.7.0_07]
at java.util.zip.ZipFile.<init>(ZipFile.java:214) [rt.jar:1.7.0_07]
at java.util.zip.ZipFile.<init>(ZipFile.java:144) [rt.jar:1.7.0_07]
at java.util.jar.JarFile.<init>(JarFile.java:152) [rt.jar:1.7.0_07]
at java.util.jar.JarFile.<init>(JarFile.java:116) [rt.jar:1.7.0_07]
at org.jboss.as.server.moduleservice.ExternalModuleSpecService.start(ExternalModuleSpecService.java:63) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
... 5 more
17:43:14,210 INFO [org.jboss.as.server] (management-handler-thread - 5) JBAS015870: Deploy of deployment "eventes.war" was rolled back with failure message JBAS014750: Operation handler failed to complete
17:43:14,247 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015877: Stopped deployment eventes.war in 36ms
I know that the problem is in those dependencies because i have another very similar project that doesn't have those two dependencies, and it doesn't have any problems. If i put those depencies in the working project, it doens't deploy anymore, and gives the above message.
I'm starting out with JBoss AS 7 and i've search everywhere for a solution. Can someone give me a light? Does anyone know what means this line in the above error "/home/codegen/dependencies/java/stable/dependencies/libs/" ?
I'm really frustrated with this one.
Thanks in advance for any kind of help.

An issue, relating this problem, has been opened. You can see it here.

Related

unable to deploy war file in jboss AS 7.1.1

I am new to jboss-AS. I am trying to deploy a war file in deployments directory, but I am getting war file renamed with .failed name.
say xxx.war is kept in deployments dir,the new file is also found after some time with www.war.failed.
content of failed war file are as below:
cat xxx-1.1.war.failed
{"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"JBAS014671: Failed services" => {"jboss.web.deployment.default-host.\"/xxx-1.1\"" => "org.jboss.msc.service.StartException in service jboss.web.deployment.default-host.\"/xxx-1.1\": JBAS018040: Failed to start context"}}}}[rhino#Rhino deployments
i tried everything to troubleshoot it with the help of google with NO success !!
i tried with fresh war files still not worked.
I am kind of stuck with this for the last one week..
Please help!!
Thanks..
Server.log as below:
00:47:41,238 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015876: Starting deployment of "xxx-1.1.war"
00:47:44,436 INFO [stdout] (MSC service thread 1-2) loading config....
00:47:44,445 ERROR [stderr] (MSC service thread 1-2) log4j:WARN No appenders could be found for logger (claroLogger).
00:47:44,445 ERROR [stderr] (MSC service thread 1-2) log4j:WARN Please initialize the log4j system properly.
00:47:44,484 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/xxx-1.1]] (MSC service thread 1-2) Error configuring application listener of class com.nsn.claroUI.util.ClaroUIContextListener: java.lang.ExceptionInInitializerError
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [rt.jar:1.7.0_80]
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) [rt.jar:1.7.0_80]
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [rt.jar:1.7.0_80]
at java.lang.reflect.Constructor.newInstance(Constructor.java:526) [rt.jar:1.7.0_80]
at org.jboss.msc.value.ConstructedValue.getValue(ConstructedValue.java:61)
at org.jboss.as.naming.ValueManagedReferenceFactory.getReference(ValueManagedReferenceFactory.java:49)
at org.jboss.as.ee.component.ManagedReferenceInterceptorFactory$ManagedReferenceInterceptor.processInvocation(ManagedReferenceInterceptorFactory.java:90) [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
at org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45) [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
at org.jboss.as.ee.component.BasicComponent.constructComponentInstance(BasicComponent.java:161) [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.as.ee.component.BasicComponent.createInstance(BasicComponent.java:85) [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.as.web.deployment.component.WebComponentInstantiator$1.<init>(WebComponentInstantiator.java:57) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.as.web.deployment.component.WebComponentInstantiator.getReference(WebComponentInstantiator.java:55) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.as.web.deployment.WebInjectionContainer.instantiate(WebInjectionContainer.java:99) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.as.web.deployment.WebInjectionContainer.newInstance(WebInjectionContainer.java:78) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.as.web.deployment.WebInjectionContainer.newInstance(WebInjectionContainer.java:72) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]
at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3342) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar:]
at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_80]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_80]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_80]
Caused by: java.lang.NullPointerException
at com.nsn.claroUI.util.ClaroUIContextListener.<clinit>(ClaroUIContextListener.java:74) [classes:]
... 28 more
00:47:44,514 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/xxx-1.1]] (MSC service thread 1-2) Skipped installing application listeners due to previous error(s)
00:47:44,515 ERROR [org.apache.catalina.core.StandardContext] (MSC service thread 1-2) Error listenerStart
00:47:44,519 ERROR [org.apache.catalina.core.StandardContext] (MSC service thread 1-2) Context [/xxx-1.1] startup failed due to previous errors
00:47:44,523 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.web.deployment.default-host."/xxx-1.1": org.jboss.msc.service.StartException in service jboss.web.deployment.default-host."/xxx-1.1": JBAS018040: Failed to start context
at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:95)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_80]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_80]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_80]
00:47:44,535 INFO [org.jboss.as] (MSC service thread 1-1) JBAS015951: Admin console listening on http://0.0.0.0:9990
00:47:44,535 ERROR [org.jboss.as] (MSC service thread 1-1) JBAS015875: JBoss AS 7.1.1.Final "Brontes" started (with errors) in 7351ms - Started 478 of 557 services (2 services failed or missing dependencies, 76 services are passive or on-demand)
00:47:44,739 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015870: Deploy of deployment "xxx-1.1.war" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.web.deployment.default-host.\"/xxx-1.1\"" => "org.jboss.msc.service.StartException in service jboss.web.deployment.default-host.\"/xxx-1.1\": JBAS018040: Failed to start context"}}
00:47:44,992 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015877: Stopped deployment xxx-1.1.war in 251ms
00:47:44,993 INFO [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report
JBAS014777: Services which failed to start: service jboss.web.deployment.default-host."/xxx-1.1": org.jboss.msc.service.StartException in service jboss.web.deployment.default-host."/xxx-1.1": JBAS018040: Failed to start context
00:47:44,996 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"JBAS014671: Failed services" => {"jboss.web.deployment.default-host.\"/xxx-1.1\"" => "org.jboss.msc.service.StartException in service jboss.web.deployment.default-host.\"/xxx-1.1\": JBAS018040: Failed to start context"}}}}
The error is in the stack trace of the log:
Caused by: java.lang.NullPointerException
at com.nsn.claroUI.util.ClaroUIContextListener.<clinit>(ClaroUIContextListener.java:74) [classes:]
... 28 more
You need to see what's at line 74 of com.nsn.claroUI.util.ClaroUIContextListener.

Trying to use JBoss WildFly 11, Hibernate 5.2, OGM 5 and MongoDB - EAR won't deploy

Following the documentation:
https://docs.jboss.org/hibernate/stable/ogm/reference/en-US/html_single/?v=5.3#ogm-gettingstarted
I am trying to use JPA OGM with MongoDB.
I have added the latest version of Hibernate ORM (5.2.14.Final) to the WildFly 11 module folder:
/usr/local/Cellar/wildfly-as/11.0.0.Final/libexec/modules/system/layers/base/org/hibernate/5.2.14.Final
and downloaded and installed:
hibernate-ogm-modules-5.3.0.Final-wildfly-11-dist.zip
However when I build and deploy the EAR I get:
18:34:16,467 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) WFLYSRV0027: Starting deployment of "NOTiFYwell.ear" (runtime-name: "NOTiFYwell.ear")
18:34:18,044 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0207: Starting subdeployment (runtime-name: "NOTiFYwellWAR.war")
18:34:18,044 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0207: Starting subdeployment (runtime-name: "NOTiFYwellJAR.jar")
18:34:18,515 INFO [org.jboss.as.jpa] (MSC service thread 1-4) WFLYJPA0002: Read persistence.xml for NOTiFYwellPersistenceUnit
18:34:18,516 INFO [org.jboss.as.jpa] (MSC service thread 1-4) WFLYJPA0002: Read persistence.xml for NOTiFYwellMongoDBPersistenceUnit
18:34:18,776 WARN [org.jboss.modules] (MSC service thread 1-7) Failed to define class org.hibernate.jpa.HibernatePersistenceProvider in Module "org.hibernate:5.2.14.Final" from local module loader #6fffcba5 (finder: local module finder #34340fab (roots: /usr/local/Cellar/wildfly-as/11.0.0.Final/libexec/modules,/usr/local/Cellar/wildfly-as/11.0.0.Final/libexec/modules/system/layers/base/.overlays/layer-base-wildfly-11-weld-2.4,/usr/local/Cellar/wildfly-as/11.0.0.Final/libexec/modules/system/layers/base)): org.jboss.modules.ModuleLoadError: org.hibernate.jipijapa-hibernate5:5.2.14.Final
at org.jboss.modules.ModuleLoadException.toError(ModuleLoadException.java:74)
at org.jboss.modules.Module.getPathsUnchecked(Module.java:1559)
at org.jboss.modules.Module.loadModuleClass(Module.java:708)
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:412)
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:400)
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:116)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:760)
at org.jboss.modules.ModuleClassLoader.doDefineOrLoadClass(ModuleClassLoader.java:358)
at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:437)
at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:274)
at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:77)
at org.jboss.modules.Module.loadModuleClass(Module.java:713)
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:412)
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:400)
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:116)
at org.hibernate.ogm.jpa.HibernateOgmPersistence.<init>(HibernateOgmPersistence.java:37)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
at org.jboss.as.jpa.processor.PersistenceProviderHandler.deploy(PersistenceProviderHandler.java:74)
at org.jboss.as.jpa.processor.PersistenceBeginInstallProcessor.deploy(PersistenceBeginInstallProcessor.java:49)
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:165)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:2032)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1955)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
18:34:18,777 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-7) MSC000001: Failed to start service jboss.deployment.unit."NOTiFYwell.ear".FIRST_MODULE_USE: org.jboss.msc.service.StartException in service jboss.deployment.unit."NOTiFYwell.ear".FIRST_MODULE_USE: WFLYSRV0153: Failed to process phase FIRST_MODULE_USE of deployment "NOTiFYwell.ear"
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:172)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:2032)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1955)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: WFLYJPA0019: Could not deploy application packaged persistence provider 'org.hibernate.ogm.jpa.HibernateOgmPersistence'
at org.jboss.as.jpa.processor.PersistenceProviderHandler.deploy(PersistenceProviderHandler.java:79)
at org.jboss.as.jpa.processor.PersistenceBeginInstallProcessor.deploy(PersistenceBeginInstallProcessor.java:49)
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:165)
... 5 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
at org.jboss.as.jpa.processor.PersistenceProviderHandler.deploy(PersistenceProviderHandler.java:74)
... 7 more
Caused by: org.jboss.modules.ModuleLoadError: org.hibernate.jipijapa-hibernate5:5.2.14.Final
at org.jboss.modules.ModuleLoadException.toError(ModuleLoadException.java:74)
at org.jboss.modules.Module.getPathsUnchecked(Module.java:1559)
at org.jboss.modules.Module.loadModuleClass(Module.java:708)
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:412)
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:400)
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:116)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:760)
at org.jboss.modules.ModuleClassLoader.doDefineOrLoadClass(ModuleClassLoader.java:358)
at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:437)
at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:274)
at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:77)
at org.jboss.modules.Module.loadModuleClass(Module.java:713)
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:412)
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:400)
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:116)
at org.hibernate.ogm.jpa.HibernateOgmPersistence.<init>(HibernateOgmPersistence.java:37)
... 12 more
18:34:18,781 ERROR [org.jboss.as.controller.management-operation] (External Management Request Threads -- 1) WFLYCTL0013: Operation ("add") failed - address: ([("deployment" => "NOTiFYwell.ear")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"NOTiFYwell.ear\".FIRST_MODULE_USE" => "WFLYSRV0153: Failed to process phase FIRST_MODULE_USE of deployment \"NOTiFYwell.ear\"
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: WFLYJPA0019: Could not deploy application packaged persistence provider 'org.hibernate.ogm.jpa.HibernateOgmPersistence'
Caused by: java.lang.reflect.InvocationTargetException
Caused by: org.jboss.modules.ModuleLoadError: org.hibernate.jipijapa-hibernate5:5.2.14.Final"}}
18:34:18,783 ERROR [org.jboss.as.server] (External Management Request Threads -- 1) WFLYSRV0021: Deploy of deployment "NOTiFYwell.ear" was rolled back with the following failure message:
{"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"NOTiFYwell.ear\".FIRST_MODULE_USE" => "WFLYSRV0153: Failed to process phase FIRST_MODULE_USE of deployment \"NOTiFYwell.ear\"
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: WFLYJPA0019: Could not deploy application packaged persistence provider 'org.hibernate.ogm.jpa.HibernateOgmPersistence'
Caused by: java.lang.reflect.InvocationTargetException
Caused by: org.jboss.modules.ModuleLoadError: org.hibernate.jipijapa-hibernate5:5.2.14.Final"}}
18:34:18,794 INFO [org.jboss.as.server.deployment] (MSC service thread 1-8) WFLYSRV0208: Stopped subdeployment (runtime-name: NOTiFYwellJAR.jar) in 11ms
18:34:18,798 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) WFLYSRV0208: Stopped subdeployment (runtime-name: NOTiFYwellWAR.war) in 14ms
18:34:18,812 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0028: Stopped deployment NOTiFYwell.ear (runtime-name: NOTiFYwell.ear) in 29ms
18:43:58,465 INFO [org.jboss.as.repository] (ServerService Thread Pool -- 1) WFLYDR0009: Content /usr/local/Cellar/wildfly-as/11.0.0.Final/libexec/standalone/data/content/b4/f50292c0e75f0a407d46c7649f8f03c7c1b6a2 is obsolete and will be removed
18:43:58,471 INFO [org.jboss.as.repository] (ServerService Thread Pool -- 1) WFLYDR0002: Content removed from location /usr/local/Cellar/wildfly-as/11.0.0.Final/libexec/standalone/data/content/b4/f50292c0e75f0a407d46c7649f8f03c7c1b6a2/content
18:43:58,471 INFO [org.jboss.as.repository] (ServerService Thread Pool -- 1) WFLYDR0009: Content /usr/local/Cellar/wildfly-as/11.0.0.Final/libexec/standalone/data/content/06/38d1a6bf571ddafcba91ee07ca7051924973f7 is obsolete and will be removed
18:43:58,474 INFO [org.jboss.as.repository] (ServerService Thread Pool -- 1) WFLYDR0002: Content removed from location /usr/local/Cellar/wildfly-as/11.0.0.Final/libexec/standalone/data/content/06/38d1a6bf571ddafcba91ee07ca7051924973f7/content
It appears to unable to load:
Caused by: org.jboss.modules.ModuleLoadError:
org.hibernate.jipijapa-hibernate5:5.2.14.Final"}}
TIA.
Did you update Hibernate ORM using the modules zip? https://search.maven.org/remotecontent?filepath=org/hibernate/hibernate-orm-modules/5.2.14.Final/hibernate-orm-modules-5.2.14.Final-wildfly-11-dist.zip
That's where the missing module is.

EJB2.x deployment issue on jboss7

I have an application containing ejb2.x and ejb3.0 it is running on jboss5.1 .When we migrate with few changes in configuration and jndi it gives the following error at the time of deployment
11:42:16,884 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC00001: Failed to start service jboss.deployment.unit."intlwmiejb_.txt.jar".INSTALL: org.j boss.msc.service.StartException in service jboss.deployment.unit."intlwmiejb_.txt.jar".INSTALL: Failed to process phase INSTALL of deployment "intlwmiejb_.txt.jar"
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:119) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_40]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_40]
at java.lang.Thread.run(Thread.java:724) [rt.jar:1.7.0_40] Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS011030: Could not configure component AdminDomainManager
at org.jboss.as.ee.component.deployers.EEModuleConfigurationProcessor.deploy(EEModuleConfigurationProcessor.java:92)
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
... 5 more Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS014522: Could not find method public abstract boolean javax.ejb.EJBObject.isIdentica l(javax.ejb.EJBObject) throws java.rmi.RemoteException from view com.intertel.wmi.ejb.auth.AdminDomainManager on EJB class AdminDomainManager
at org.jboss.as.ejb3.component.session.SessionBeanObjectViewConfigurator.configure(SessionBeanObjectViewConfigurator.java:108)
at org.jboss.as.ee.component.ComponentDescription$DefaultComponentConfigurator.configure(ComponentDescription.java:921)
at org.jboss.as.ee.component.deployers.EEModuleConfigurationProcessor.deploy(EEModuleConfigurationProcessor.java:81)
... 6 more jndi shown on server.log is 14:42:23,647 INFO [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-3) JNDI bindings for session bean named AdminDomainManager in deployment unit subdeployment "intlwmiejb.jar" of deployment "wmi.ear" are as follows: java:global/wmi/intlwmiejb/AdminDomainManager!com.intertel.wmi.ejb.auth.AdminDomainManagerLocalHome java:app/intlwmiejb/AdminDomainManager!com.intertel.wmi.ejb.auth.AdminDomainManagerLocalHome java:module/AdminDomainManager!com.intertel.wmi.ejb.auth.AdminDomainManagerLocalHome java:global/wmi/intlwmiejb/AdminDomainManager!com.intertel.wmi.ejb.auth.AdminDomainManager java:app/intlwmiejb/AdminDomainManager!com.intertel.wmi.ejb.auth.AdminDomainManager java:module/AdminDomainManager!com.intertel.wmi.ejb.auth.AdminDomainManager java:jboss/exported/wmi/intlwmiejb/AdminDomainManager!com.intertel.wmi.ejb.auth.AdminDomainManager java:global/wmi/intlwmiejb/AdminDomainManager!com.intertel.wmi.ejb.auth.AdminDomainManagerHome java:app/intlwmiejb/AdminDomainManager!com.intertel.wmi.ejb.auth.AdminDomainManagerHome java:module/AdminDomainManager!com.intertel.wmi.ejb.auth.AdminDomainManagerHome java:jboss/exported/wmi/intlwmiejb/AdminDomainManager!com.intertel.wmi.ejb.auth.AdminDomainManagerHome java:global/wmi/intlwmiejb/AdminDomainManager!com.intertel.wmi.ejb.auth.AdminDomainManagerLocal java:app/intlwmiejb/AdminDomainManager!com.intertel.wmi.ejb.auth.AdminDomainManagerLocal java:module/AdminDomainManager!com.intertel.wmi.ejb.auth.AdminDomainManagerLocal

Trouble with JBOss finding a class: Not installing optional component "X" due to exception: java.lang.ClassNotFoundException

I am trying to deploy an EAR file to my JBoss using Ant. I'm using JBoss 7.1.
I already have got some wars working there (using the same deploy process) but this EAR contains data about my framework which i need to work. This framework in particular uses a JAR (index-app), which i have included in it's lib folder.
This clip from my EAR build.xml shows how it reads JAR's from its lib folder (all sub-folder presented exist):
<copy todir="${build.home}" flatten="true" includeemptydirs="false">
<fileset dir="${lib.home}">
<include name="index/**/*.jar" />
<include name="crawler/**/*.jar" />
<include name="poi/**/*.jar" />
<include name="*.jar" />
<exclude name="local/**" />
</fileset>
</copy>
When i deploy the EAR i have no problems with the compiling, only with the actual deploying generating this on my log:
09:33:52,452 INFO [org.jboss.as.server.deployment] (MSC service thread 1-15) JBAS015876: Starting deployment of "scp-app.ear"
09:33:52,642 INFO [org.jboss.as.server.deployment] (MSC service thread 1-8) JBAS015876: Starting deployment of "scp-app-web.war"
09:33:52,642 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015876: Starting deployment of "scp-app.jar"
09:33:52,700 INFO [org.jboss.as.jpa] (MSC service thread 1-7) JBAS011401: Read persistence.xml for CST_SPC_DS
09:33:52,737 WARN [org.jboss.as.ee] (MSC service thread 1-1) JBAS011006: Not installing optional component com.t1c.modules.index.servlets.SPCCentralServlet due to exception: java.lang.ClassNotFoundException: com.t1c.modules.index.servlets.SPCCentralServlet from [Module "deployment.scp-app.ear.scp-app-web.war:main" from Service Module Loader]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190) [jboss-modules.jar:1.1.1.GA]
at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468) [jboss-modules.jar:1.1.1.GA]
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456) [jboss-modules.jar:1.1.1.GA]
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:423) [jboss-modules.jar:1.1.1.GA]
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398) [jboss-modules.jar:1.1.1.GA]
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120) [jboss-modules.jar:1.1.1.GA]
at java.lang.Class.forName0(Native Method) [rt.jar:1.6.0_39]
at java.lang.Class.forName(Class.java:249) [rt.jar:1.6.0_39]
at org.jboss.as.server.deployment.reflect.DeploymentClassIndex.classIndex(DeploymentClassIndex.java:54) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.as.ee.component.deployers.EEModuleConfigurationProcessor.deploy(EEModuleConfigurationProcessor.java:79)
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) [rt.jar:1.6.0_39]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) [rt.jar:1.6.0_39]
at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_39]
09:33:52,759 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/spc]] (MSC service thread 1-6) Marking servlet SPC Startup Servlet as unavailable
09:33:52,759 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/spc]] (MSC service thread 1-6) Servlet /spc threw load() exception: java.lang.ClassNotFoundException: com.t1c.modules.index.servlets.SPCCentralServlet from [Module "deployment.scp-app.ear.scp-app-web.war:main" from Service Module Loader]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)
at org.jboss.as.web.deployment.WebInjectionContainer.newInstance(WebInjectionContainer.java:72) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1156) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1102) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3655) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3873) [jbossweb-7.0.13.Final.jar:]
at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) [rt.jar:1.6.0_39]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) [rt.jar:1.6.0_39]
at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_39]
09:33:52,767 INFO [org.jboss.web] (MSC service thread 1-6) JBAS018210: Registering web context: /spc
09:33:52,968 INFO [org.jboss.as.server] (DeploymentScanner-threads - 1) JBAS015870: Deploy of deployment "scp-app.ear" was rolled back with failure message JBAS014750: Operation handler failed to complete
09:33:52,983 INFO [org.jboss.as.server.deployment] (MSC service thread 1-15) JBAS015877: Stopped deployment scp-app-web.war in 13ms
09:33:52,993 INFO [org.jboss.as.server.deployment] (MSC service thread 1-11) JBAS015877: Stopped deployment scp-app.jar in 24ms
09:33:53,004 INFO [org.jboss.as.server.deployment] (MSC service thread 1-11) JBAS015877: Stopped deployment scp-app.ear in 35ms
09:33:53,005 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 2) {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => "JBAS014750: Operation handler failed to complete"}}
I double checked and the JAR file containing the class SPCCentralServlet exists and it's right there in the JAR inside the generated EAR file but somehow JBoss can't find it.
Does anyone have any explanation or ideas?
You need to specify the jar containing the class com.t1c.modules.index.servlets.SPCCentralServlet in one of these:
1. MANIFEST.MF for the WAR
2. As a jboss module
3. As a dependency in jboss-deployment-structure.xml

jboss 7 as deploy error ClassNotFoundException, LinkageError

Migration from jboss 4.2.3. Hello i try to deploy war file on jboss as 7. I know that deploying working couse i deploy other war file with no errors but this war is much more complicated and get's some errors. Belowa is error in eclipse from server
11:11:12,564 INFO [org.jboss.as.server.deployment] (pool-1-thread-11) Content added at location D:\liferay-portal-6.1.0-ce-ga1\jboss-7.0.2\standalone\data\content\3a\6447fca9f6c08a7f92ef5e09bca1f993a21a77\content
11:11:12,566 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) Starting deployment of "dts.war"
11:11:14,401 WARN [org.jboss.as.server.deployment] (MSC service thread 1-7) Class Path entry iText-toolbox.jar in "/D:/liferay-portal-6.1.0-ce-ga1/jboss-7.0.2/bin/content/dts.war/WEB-INF/lib/itext-2.1.2.jar" does not point to a valid jar for a Class-Path reference.
11:11:14,401 WARN [org.jboss.as.server.deployment] (MSC service thread 1-7) Class Path entry iText-toolbox-2.1.2.jar in "/D:/liferay-portal-6.1.0-ce-ga1/jboss-7.0.2/bin/content/dts.war/WEB-INF/lib/itext-2.1.2.jar" does not point to a valid jar for a Class-Path reference.
11:11:14,401 WARN [org.jboss.as.server.deployment] (MSC service thread 1-7) Class Path entry bcmail-jdk14-138.jar in "/D:/liferay-portal-6.1.0-ce-ga1/jboss-7.0.2/bin/content/dts.war/WEB-INF/lib/itext-2.1.2.jar" does not point to a valid jar for a Class-Path reference.
11:11:14,402 WARN [org.jboss.as.server.deployment] (MSC service thread 1-7) Class Path entry bcprov-jdk14-138.jar in "/D:/liferay-portal-6.1.0-ce-ga1/jboss-7.0.2/bin/content/dts.war/WEB-INF/lib/itext-2.1.2.jar" does not point to a valid jar for a Class-Path reference.
11:11:14,505 INFO [org.jboss.as.jpa] (MSC service thread 1-4) added javax.persistence.api dependency to dts.war
11:11:14,554 WARN [org.jboss.modules] (MSC service thread 1-8) Failed to define class org.richfaces.skin.SkinBean in Module "deployment.dts.war:main" from Service Module Loader: java.lang.LinkageError: Failed to link org/richfaces/skin/SkinBean (Module "deployment.dts.war:main" from Service Module Loader)
at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:401) [jboss-modules.jar:1.0.2.GA]
at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:261) [jboss-modules.jar:1.0.2.GA]
at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:76) [jboss-modules.jar:1.0.2.GA]
at org.jboss.modules.Module.loadModuleClass(Module.java:590) [jboss-modules.jar:1.0.2.GA]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:183) [jboss-modules.jar:1.0.2.GA]
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:361) [jboss-modules.jar:1.0.2.GA]
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:310) [jboss-modules.jar:1.0.2.GA]
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:103) [jboss-modules.jar:1.0.2.GA]
at org.jboss.as.web.deployment.jsf.JsfManagedBeanProcessor.deploy(JsfManagedBeanProcessor.java:104)
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:115) [jboss-as-server-7.0.2.Final.jar:7.0.2.Final]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_15]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_15]
at java.lang.Thread.run(Thread.java:619) [:1.6.0_15]
Caused by: java.lang.NoClassDefFoundError: org/richfaces/skin/Skin
at java.lang.ClassLoader.defineClass1(Native Method) [:1.6.0_15]
at java.lang.ClassLoader.defineClass(ClassLoader.java:621) [:1.6.0_15]
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) [:1.6.0_15]
at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:397) [jboss-modules.jar:1.0.2.GA]
... 14 more
Caused by: java.lang.ClassNotFoundException: org.richfaces.skin.Skin from [Module "deployment.dts.war:main" from Service Module Loader]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:191) [jboss-modules.jar:1.0.2.GA]
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:361) [jboss-modules.jar:1.0.2.GA]
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:333) [jboss-modules.jar:1.0.2.GA]
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:310) [jboss-modules.jar:1.0.2.GA]
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:103) [jboss-modules.jar:1.0.2.GA]
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) [:1.6.0_15]
... 18 more
11:11:14,556 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-8) MSC00001: Failed to start service jboss.deployment.unit."dts.war".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.unit."dts.war".POST_MODULE: Failed to process phase POST_MODULE of deployment "dts.war"
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:121)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_15]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_15]
at java.lang.Thread.run(Thread.java:619) [:1.6.0_15]
Caused by: java.lang.LinkageError: Failed to link org/richfaces/skin/SkinBean (Module "deployment.dts.war:main" from Service Module Loader)
at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:401)
at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:261)
at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:76)
at org.jboss.modules.Module.loadModuleClass(Module.java:590)
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:183)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:361)
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:310)
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:103)
at org.jboss.as.web.deployment.jsf.JsfManagedBeanProcessor.deploy(JsfManagedBeanProcessor.java:104)
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:115)
... 5 more
Caused by: java.lang.NoClassDefFoundError: org/richfaces/skin/Skin
at java.lang.ClassLoader.defineClass1(Native Method) [:1.6.0_15]
at java.lang.ClassLoader.defineClass(ClassLoader.java:621) [:1.6.0_15]
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) [:1.6.0_15]
at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:397)
... 14 more
Caused by: java.lang.ClassNotFoundException: org.richfaces.skin.Skin from [Module "deployment.dts.war:main" from Service Module Loader]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:191)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:361)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:333)
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:310)
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:103)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) [:1.6.0_15]
... 18 more
11:11:14,558 INFO [org.jboss.as.server.controller] (pool-1-thread-11) Deployment of "dts.war" was rolled back with failure message {"Failed services" => {"jboss.deployment.unit.\"dts.war\".POST_MODULE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"dts.war\".POST_MODULE: Failed to process phase POST_MODULE of deployment \"dts.war\""}}
11:11:14,559 INFO [org.jboss.as.controller] (pool-1-thread-11) Service status report
Services which failed to start:
service jboss.deployment.unit."dts.war".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.unit."dts.war".POST_MODULE: Failed to process phase POST_MODULE of deployment "dts.war"
11:11:16,271 INFO [org.jboss.as.server.deployment] (MSC service thread 1-6) Stopped deployment dts.war in 1711ms
How u can see, i have two issue i try to fix ClassNotFoundException by modify MANIFEST.MF and jboss-deployment-structure.xml wich code i put below
jboss-deployment-structure.xml
<jboss-deployment-structure>
<deployment>
<exclusions>
</exclusions>
<dependencies>
</dependencies>
<resources>
<resource-root path="D:\Workspace Liferay\DTS_TRUNK\code\dts\dts-web\target\dts\WEB-INF\lib\richfaces-impl-3.3.3.Final" />
</resources>
</deployment>
</jboss-deployment-structure>
MANIFEST.MF
Manifest-Version: 1.0
Class-Path: D:\dts-web\WEB-INF\lib\richfaces-impl-3.3.3.Final.jar
But this not working. What am i doing wrong ? I also don't know how to solve other issue LinkageError. MAybe anyone can help me? Thanks in advance