[jboss-jira] [JBoss JIRA] (AS7-5045) Bundle installed but unable to deploy calling code

Riyaz Shaikh (JIRA) jira-events at lists.jboss.org
Thu Jun 21 10:36:13 EDT 2012


     [ https://issues.jboss.org/browse/AS7-5045?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Riyaz Shaikh updated AS7-5045:
------------------------------


Hi Thomas,

Thanks for your immediate reply.

I have a HelloService bundle installed in JBoss server (7.1.1).  This service needs to be called in Java code from server side, without using Servlet or EJB.  What steps I have to follow for this? 

                
> Bundle installed but unable to deploy calling code
> --------------------------------------------------
>
>                 Key: AS7-5045
>                 URL: https://issues.jboss.org/browse/AS7-5045
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: CDI / Weld, OSGi
>    Affects Versions: 7.1.1.Final
>         Environment: Windows XP
>            Reporter: Riyaz Shaikh
>            Assignee: Thomas Diesler
>
> Required help to resolve following issue:
> 15:02:08,608 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.deployment.unit."iCareDemoWeb.war".POST_MODU
> LE: org.jboss.msc.service.StartException in service jboss.deployment.unit."iCareDemoWeb.war".POST_MODULE: Failed to process phase POST_MODULE of deployment "
> iCareDemoWeb.war"
>         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$Worker.runTask(ThreadPoolExecutor.java:885) [rt.jar:1.6.0]
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) [rt.jar:1.6.0]
>         at java.lang.Thread.run(Thread.java:619) [rt.jar:1.6.0]
> Caused by: java.lang.NullPointerException
>         at org.jboss.as.server.deployment.reflect.DeploymentClassIndex.classIndex(DeploymentClassIndex.java:53) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
>         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:113) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
>         ... 5 more
> 15:02:08,858 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 1) JBAS015870: Deploy of deployment "iCareDemoWeb.war" was rolled back with failure mes
> sage {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"iCareDemoWeb.war\".POST_MODULE" => "org.jboss.msc.service.StartException in service jboss.de
> ployment.unit.\"iCareDemoWeb.war\".POST_MODULE: Failed to process phase POST_MODULE of deployment \"iCareDemoWeb.war\""}}
> 15:02:09,187 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015877: Stopped deployment iCareDemoWeb.war in 346ms
> 15:02:09,187 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 1) JBAS014774: Service status report
> JBAS014777:   Services which failed to start:      service jboss.deployment.unit."iCareDemoWeb.war".POST_MODULE: org.jboss.msc.service.StartException in serv
> ice jboss.deployment.unit."iCareDemoWeb.war".POST_MODULE: Failed to process phase POST_MODULE of deployment "iCareDemoWeb.war"
> 15:02:09,187 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 2) {"JBAS014653: Composite operation failed and was rolled back. Ste
> ps that failed:" => {"Operation step-2" => {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"iCareDemoWeb.war\".POST_MODULE" => "org.jboss.msc.serv
> ice.StartException in service jboss.deployment.unit.\"iCareDemoWeb.war\".POST_MODULE: Failed to process phase POST_MODULE of deployment \"iCareDemoWeb.war\""
> }}}}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list