1 Reply Latest reply on Sep 17, 2012 8:59 AM by thomas.diesler

    convert EJB project to Osgi bundle

    ssubbia

      Hi,

       

      I am trying to convert ejb project to osgi bundle.i am able to convert to osgi bundle, but while deploying it is giving error. i am using Jboss developer studio for development.

      please help me on this. thanks in advance..

       

      15:37:15,645 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015863: Replacement of deployment "yyy.jar" by deployment "yyy.jar" was r

      olled back with failure message {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"yyy.jar\".POST_MODULE" => "org.jboss.msc.service.StartExce

      ption in service jboss.deployment.unit.\"yyy.jar\".POST_MODULE: JBAS018733: Failed to process phase POST_MODULE of deployment \"yyy.jar\"

          Caused by: java.lang.NullPointerException"}}

      15:37:15,645 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015876: Starting deployment of "yyy.jar"

      15:37:16,306 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC000001: Failed to start service jboss.deployment.unit."yyy.jar".POST_MODUL

      E: org.jboss.msc.service.StartException in service jboss.deployment.unit."yyy.jar".POST_MODULE: JBAS018733: Failed to process phase POST_MODULE of dep

      loyment "yyy.jar"

              at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:123) [jboss-as-server-7.1.2.Final-redhat-1.

      jar:7.1.2.Final-redhat-1]

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

      GA-redhat-1]

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

      -1]

              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_21]

              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_21]

              at java.lang.Thread.run(Thread.java:619) [rt.jar:1.6.0_21]

      Caused by: java.lang.NullPointerException

              at org.jboss.as.server.deployment.reflect.DeploymentClassIndex.classIndex(DeploymentClassIndex.java:53) [jboss-as-server-7.1.2.Final-redhat-1.

      jar:7.1.2.Final-redhat-1]

              at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.processComponentConfig(InterceptorAnnotationProcessor.java:63)

              at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.deploy(InterceptorAnnotationProcessor.java:55)

              at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:116) [jboss-as-server-7.1.2.Final-redhat-1.

      jar:7.1.2.Final-redhat-1]

              ... 5 more