Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-3006

Deploy error for ejb2 remote interface which extends other interface

XMLWordPrintable

      The scenario is following. The interface marked to define remote interface of bean (e.g. by @Remote annotation) extends other interface. This other interface specifies method which bean has to implement and the children interface (mentioned in bean) does not define any method for implementation.
      Deployment on container ends up with following exception:

      19:09:57,601 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-8) MSC00001: Failed to start service jboss.deployment.unit."reference-ejb2-ejb3-a.jar".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.unit."reference-ejb2-ejb3-a.jar".POST_MODULE: Failed to process phase POST_MODULE of deployment "reference-ejb2-ejb3-a.jar"
      at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:121) [jboss-as-server-7.1.0.CR1-SNAPSHOT.jar:]
      at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824) [jboss-msc-1.0.1.GA.jar:]
      at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759) [jboss-msc-1.0.1.GA.jar:]
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_23]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_23]
      at java.lang.Thread.run(Thread.java:662) [:1.6.0_23]
      Caused by: java.lang.NullPointerException
      at org.jboss.as.ejb3.deployment.processors.EjbIIOPDeploymentUnitProcessor.processEjb(EjbIIOPDeploymentUnitProcessor.java:188)
      at org.jboss.as.ejb3.deployment.processors.EjbIIOPDeploymentUnitProcessor.deploy(EjbIIOPDeploymentUnitProcessor.java:133)
      at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:115) [jboss-as-server-7.1.0.CR1-SNAPSHOT.jar:]
      ... 5 more

      Test could be checked on:
      https://github.com/ochaloup/jboss-as/commit/d381c88f78a6b1d52b44d281f6c7370a6b58c8c0

              sdouglas1@redhat.com Stuart Douglas (Inactive)
              ochaloup@redhat.com Ondrej Chaloupka (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: