JBoss Admin Console Deployment Error

Solution Verified - Updated -

Issue

When deploying an ear (in attachment) using jboss admin console, it seems like the ear is deployed ok, but the console gives the following error:

INFO  [DeployHandler] Handle stream, deploymentTarget: names=[pt-Example.ear], description=file:/C:/jboss/jboss-soa-p-5/jboss-as/server/production/tmp/embjopr/uploads/pt-Example.ear, options=[Explode]
INFO  [DeployHandler] End handle stream, repositoryName: vfsfile:/C:/jboss/jboss-soa-p-5/jboss-as/server/production/deploy/pt-Example.ear/
INFO  [DeployHandler] Begin start, [vfsfile:/C:/jboss/jboss-soa-p-5/jboss-as/server/production/deploy/pt-Example.ear/]
INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@24294016{vfszip:/C:/jboss/jboss-soa-p-5/jboss-as/server/production/deploy/pt-Example.ear/services-0.0.1-SNAPSHOT.jar/}
INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@24294016{vfszip:/C:/jboss/jboss-soa-p-5/jboss-as/server/production/deploy/pt-Example.ear/services-0.0.1-SNAPSHOT.jar/}
INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@24294016{vfszip:/C:/jboss/jboss-soa-p-5/jboss-as/server/production/deploy/pt-Example.ear/services-0.0.1-SNAPSHOT.jar/}
INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@24294016{vfszip:/C:/jboss/jboss-soa-p-5/jboss-as/server/production/deploy/pt-Example.ear/services-0.0.1-SNAPSHOT.jar/}
INFO  [JBossASKernel] Created KernelDeployment for: services-0.0.1-SNAPSHOT.jar
INFO  [JBossASKernel] installing bean: jboss.j2ee:ear=pt-Example.ear,jar=services-0.0.1-SNAPSHOT.jar,name=QuickSearchFacadeSessionEJB,service=EJB3
INFO  [JBossASKernel]   with dependencies:
INFO  [JBossASKernel]   and demands:
INFO  [JBossASKernel] jboss.ejb:service=EJBTimerService
INFO  [JBossASKernel]   and supplies:
INFO  [JBossASKernel] jndi:pt-Example/QuickSearchFacadeSessionEJB/remote
INFO  [JBossASKernel] jndi:pt-Example/QuickSearchFacadeSessionEJB/remote-com.example.QuickSearchFacade
INFO  [JBossASKernel]       Class:com.example.QuickSearchFacade
INFO  [JBossASKernel] Added bean(jboss.j2ee:ear=pt-Example.ear,jar=services-0.0.1-SNAPSHOT.jar,name=QuickSearchFacadeSessionEJB,service=EJB3) to KernelDeployment of: services-0.0.1-SNAPSHOT.jar
INFO  [SessionSpecContainer] Starting jboss.j2ee:ear=pt-Example.ear,jar=services-0.0.1-SNAPSHOT.jar,name=QuickSearchFacadeSessionEJB,service=EJB3
INFO  [EJBContainer] STARTED EJB: com.example.QuickSearchFacadeSessionBean ejbName: QuickSearchFacadeSessionEJB
INFO  [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:

      pt-Example/QuickSearchFacadeSessionEJB/remote - EJB3.x Default Remote Business Interface
      pt-Example/QuickSearchFacadeSessionEJB/remote-com.example.QuickSearchFacade - EJB3.x Remote Business Interface

INFO  [DeployHandler] End start, [vfsfile:/C:/jboss/jboss-soa-p-5/jboss-as/server/production/deploy/pt-Example.ear/]
ERROR [LocalDeployer] Error deploying application for request [CreateResourceReport: ResourceType=[ResourceType[id=0, category=Service, name=Enterprise Application (EAR), plugin=JBossAS5]], ResourceKey=[null]].
java.lang.NullPointerException
      at org.rhq.plugins.jbossas5.deploy.AbstractDeployer.deploy(AbstractDeployer.java:131)
      at org.rhq.plugins.jbossas5.helper.CreateChildResourceFacetDelegate.createContentBasedResource(CreateChildResourceFacetDelegate.java:124)
      at org.rhq.plugins.jbossas5.helper.CreateChildResourceFacetDelegate.createResource(CreateChildResourceFacetDelegate.java:56)
      at org.rhq.plugins.jbossas5.ApplicationServerComponent.createResource(ApplicationServerComponent.java:308)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:525)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:662)
WARN  [CreateResourceRunner] Throwable was found in creation report for request [1]: java.lang.NullPointerException - Enable DEBUG logging to see the stack trace.

Environment

  • JBoss Enterprise Application Platform 5.1.1 and earlier

  • JBoss SOA Platform 5.1

  • JBoss SOA Platform 5.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In