[jboss-jira] [JBoss JIRA] (AS7-6603) EAR A auto-start fail with JBAS014777 after EAR B has redeployed, EAR A dependency EAR B.

pian wang (JIRA) jira-events at lists.jboss.org
Fri Feb 22 03:26:57 EST 2013


    [ https://issues.jboss.org/browse/AS7-6603?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12755901#comment-12755901 ] 

pian wang edited comment on AS7-6603 at 2/22/13 3:25 AM:
---------------------------------------------------------

EAR a has a-ejb module, File MANIFEST.MF has add "Dependencies: deployment.b.ear" line in this module. For test, EAR a-ejb module has not use any class in b.ear.b-ejb.jar. It's fine when as7 restart. When AS7 running, a.ear left when undeploy b.ear, It's okey. I deploy b.ear again, a.ear will auto start, But fail.

-------------------

15:35:20,015 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-5) JBAS015877: Stopped deployment b.ear in 47ms
15:35:20,109 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018558: Undeployed "b.ear"
15:35:20,109 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report
JBAS014775:    New missing/unsatisfied dependencies:
      service jboss.module.spec.service."deployment.b.ear".main (missing) dependents: [service jboss.module.service."deployment.a.ear.a-ejb.jar".main, service jboss.module.service."deployment.a.ear".main, service jboss.module.service."deployment.a.ear.a-war.war".main] 

15:35:35,156 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015876: Starting deployment of "b.ear"
15:35:35,156 INFO  [org.jboss.as.jpa] (MSC service thread 1-7) JBAS011401: Read persistence.xml for Core-ejbPU
15:35:35,171 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-8) MSC00001: Failed to start service jboss.deployment.unit."a.ear".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.unit."a.ear".POST_MODULE: Failed to process phase POST_MODULE of deployment "a.ear"
	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:1110) [rt.jar:1.7.0_06]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_06]
	at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_06]
Caused by: java.lang.NullPointerException
	at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.deploy(InterceptorAnnotationProcessor.java:43)
	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

                
      was (Author: wangpian):
    EAR a has a-ejb module, File MANIFEST.MF has add "Dependencies: deployment.b.ear.b-ejb.jar" line in this module. For test, EAR a-ejb module has not use any class in b.ear.b-ejb.jar. It's fine when as7 restart. When AS7 running, a.ear left when undeploy b.ear, It's okey. I deploy b.ear again, a.ear will auto start, But fail.

-------------------

15:35:20,015 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-5) JBAS015877: Stopped deployment b.ear in 47ms
15:35:20,109 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018558: Undeployed "b.ear"
15:35:20,109 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report
JBAS014775:    New missing/unsatisfied dependencies:
      service jboss.module.spec.service."deployment.b.ear".main (missing) dependents: [service jboss.module.service."deployment.a.ear.a-ejb.jar".main, service jboss.module.service."deployment.a.ear".main, service jboss.module.service."deployment.a.ear.a-war.war".main] 

15:35:35,156 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015876: Starting deployment of "b.ear"
15:35:35,156 INFO  [org.jboss.as.jpa] (MSC service thread 1-7) JBAS011401: Read persistence.xml for Core-ejbPU
15:35:35,171 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-8) MSC00001: Failed to start service jboss.deployment.unit."a.ear".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.unit."a.ear".POST_MODULE: Failed to process phase POST_MODULE of deployment "a.ear"
	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:1110) [rt.jar:1.7.0_06]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_06]
	at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_06]
Caused by: java.lang.NullPointerException
	at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.deploy(InterceptorAnnotationProcessor.java:43)
	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

                  
> EAR A auto-start fail with JBAS014777 after EAR B has redeployed, EAR A dependency EAR B.
> -----------------------------------------------------------------------------------------
>
>                 Key: AS7-6603
>                 URL: https://issues.jboss.org/browse/AS7-6603
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: EE
>    Affects Versions: 7.1.1.Final
>            Reporter: pian wang
>            Assignee: David Lloyd
>
> EAR A auto-start fail with JBAS014777 after EAR B has redeployed, EAR A dependency EAR B.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list