Uploaded image for project: 'Jopr (CLOSED)'
  1. Jopr (CLOSED)
  2. JOPR-402

availability of web context always "Unavailable"

    Details

      Description

      from issue 352442 :
      JON fails to acknowledge availability of an embedded WAR and auto discovery of Queues within a custom application EAR.

      I have developed a bulk standard application (clusterinfo), deployed as a compressed EAR with 2 embedded WARs, some JARs and some JBC and JBM configurations. Although JON picks up the embedded WARs, it does not acknowledge that it is up. Embedded JBM Queues are also not showing up at all on import.

      Note that the standard WARs/Queues shipped with EAP are marked as available.
      ---------------------------------------------------------------------------------------------------------------------
      caused by :
      15:52:50,830 ERROR [InventoryManager] Call to getAvailablity() on ResourceComponent for Resource[id=-37, type=Embedded Web Application Context, key=localhost/clusterinfo, name=//localhost/clusterinfo/clusterinfo/web, parent=clusterinfo-web-0.0.3-SNAPSHOT.war] failed.
      java.lang.IllegalStateException: Failed to find [ComponentType

      {type=MBean, subtype=WebApplicationManager}

      ] ManagedComponent named [jboss.web:host=localhost/clusterinfo,path=/clusterinfo/web,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.GeneratedMethodAccessor463.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)

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  fdrabek Filip Drabek
                • Votes:
                  1 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: