2 Replies Latest reply on Jul 19, 2010 1:13 AM by jagadesh manchala

    Web application Deployment failed

    jagadesh manchala Newbie

      Hi ,


      I Developed a sample web application and tried to deploy that in JBoss 5 . but it was deploying correctly , but when i tried to access the applications it is throwing strange errors like ,


      ERROR [org.rhq.core.pc.inventory.InventoryManager] (http-127.0.0.1-8080-1) Call to getAvailablity() on ResourceComponent for Resource[id=-14, type=Web Application Context, key=localhost, name=//localhost/sample, parent=sample.war] failed.
      java.lang.IllegalStateException: Failed to find [ComponentType{type=MBean, subtype=WebApplicationManager}] ManagedComponent named [jboss.web:host=localhost,path=/sample,type=Manager].
          at org.rhq.plugins.jbossas5.ManagedComponentComponent.getManagedComponent(ManagedComponentComponent.java:367)
          at org.rhq.plugins.jbossas5.ManagedComponentComponent.getAvailability(ManagedComponentComponent.java:110)
          at sun.reflect.GeneratedMethodAccessor281.invoke(Unknown Source)
          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:619)



      Can any body  sort me out Please