Uploaded image for project: 'Fuse JON plugins'
  1. Fuse JON plugins
  2. FUSEJON-106

Fuse is unable to be manually added when native layer is disabled

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Hide

      When going to the platform resource's child resources page and then selecting the import option located near the bottom of the page and then selecting JBoss Fuse Container, it fails to add with the previously mentioned error.

      Show
      When going to the platform resource's child resources page and then selecting the import option located near the bottom of the page and then selecting JBoss Fuse Container, it fails to add with the previously mentioned error.

    Description

      When attempting to add Fuse to Jon with the native layer being unavailable, it fails with the following error:

      2015-01-13 11:50:52,332 ERROR [WorkerThread#0[10.200.111.117:59567]] (rhq.core.pc.inventory.InventoryManager)- Manual add failed for resource of type [JBoss Fuse Container] and parent resource id [10805]
      java.lang.reflect.UndeclaredThrowableException
      at com.sun.proxy.$Proxy64.discoverResource(Unknown Source)
      at org.rhq.core.pc.inventory.InventoryManager.discoverResource(InventoryManager.java:510)
      at org.rhq.core.pc.inventory.InventoryManager.manuallyAddResource(InventoryManager.java:953)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:94)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
      at java.lang.reflect.Method.invoke(Method.java:619)
      at org.rhq.enterprise.communications.command.impl.remotepojo.server.RemotePojoInvocationCommandService.execute(RemotePojoInvocationCommandService.java:184)
      at sun.reflect.GeneratedMethodAccessor40.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
      at java.lang.reflect.Method.invoke(Method.java:619)
      at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:87)
      at sun.reflect.GeneratedMethodAccessor31.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
      at java.lang.reflect.Method.invoke(Method.java:619)
      at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:291)
      at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:124)
      at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:58)
      at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:249)
      at com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:150)
      at com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:264)
      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:831)
      at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:813)
      at javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:303)
      at com.sun.proxy.$Proxy2.execute(Unknown Source)
      at org.rhq.enterprise.communications.command.server.CommandProcessor.handleIncomingInvocationRequest(CommandProcessor.java:290)
      at org.rhq.enterprise.communications.command.server.CommandProcessor.invoke(CommandProcessor.java:184)
      at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:967)
      at org.jboss.remoting.transport.socket.ServerThread.completeInvocation(ServerThread.java:798)
      at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:751)
      at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:586)
      at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:234)
      Caused by: java.lang.Exception: Discovery component invocation failed.
      at org.rhq.core.pc.util.DiscoveryComponentProxyFactory$ComponentInvocationThread.call(DiscoveryComponentProxyFactory.java:309)
      at java.util.concurrent.FutureTask.run(FutureTask.java:273)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1176)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
      at java.lang.Thread.run(Thread.java:853)
      Caused by: java.lang.RuntimeException: Error getting Process PID for resource [JBoss Fuse Container] with JMX connector [service:jmx:rmi://nodcrsamqp1:44444/jndi/rmi://nodcrsamqp1:1099/karaf-prodmqp1_root]: Native layer is not available or has been disabled
      at org.jbosson.plugins.fuse.FuseServerDiscoveryComponent.getJvmProcess(FuseServerDiscoveryComponent.java:251)
      at org.jbosson.plugins.fuse.FuseServerDiscoveryComponent.discoverResource(FuseServerDiscoveryComponent.java:192)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:94)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
      at java.lang.reflect.Method.invoke(Method.java:619)
      at org.rhq.core.pc.util.DiscoveryComponentProxyFactory$ComponentInvocationThread.call(DiscoveryComponentProxyFactory.java:305)
      ... 4 more
      Caused by: org.rhq.core.system.SystemInfoException: Native layer is not available or has been disabled
      at org.rhq.core.system.SigarAccess.getSigar(SigarAccess.java:55)
      at org.rhq.core.system.ProcessInfo.<init>(ProcessInfo.java:275)
      at org.jbosson.plugins.fuse.FuseServerDiscoveryComponent.getJvmProcess(FuseServerDiscoveryComponent.java:232)
      ... 10 more

      Attachments

        Activity

          People

            dbokde Dhiraj Bokde
            davidjohnson_jira David Johnson (Inactive)
            Archiver:
            rhn-support-adandapa Aitik Dandapat

            Dates

              Created:
              Updated:
              Resolved:
              Archived:

              PagerDuty