Details

      Description

      This is a regression in 2.3 caused by the fix for Jopr-261.

      Sigar does not yet support ProcExe on AIX. ProcExe is native support required for getting currentWorkingDirectory information. The fix in 261 added calls to get the CWD, which now fail with exceptions like:

      2009-10-28 14:36:27,893 ERROR [ResourceDiscoveryComponent.invoker.daemon-1] (org.rhq.plugins.jbossas5.ApplicationServerDiscoveryComponent)- Failed to process JBoss AS command line: [/usr/java5_64/bin/java, -Dprogram.name=run.sh, -Xms128m, -Xmx512m, -Dsun.rmi.dgc.client.gcInterval=3600000, -Dsun.rmi.dgc.server.gcInterval=3600000, -Dsun.lang.ClassLoader.allowArraySyntax=true, -Duser.language=fr, -Duser.country=FR, -Duser.variant=FR, -Djava.endorsed.dirs=/produit/jboss/4.3.0/jboss-as/lib/endorsed, -classpath, /produit/jboss/4.3.0/jboss-as/bin/run.jar:/usr/java5_64/lib/tools.jar, org.jboss.Main, -b, saapp055a, -c, jborntrSrv1, -Dproperties, /admin/jboss/current/envs/jborntr/ptech/param/jborntrSrv1.properties, --properties, /admin/jboss/current/envs/jborntr/ptech/param/jborntrSrv1.properties]
      java.lang.NullPointerException
      at org.rhq.core.system.ProcessInfo.getCurrentWorkingDirectory(ProcessInfo.java:373)
      at org.rhq.plugins.jbossas5.helper.JBossInstanceInfo.<init>(JBossInstanceInfo.java:84)
      at org.rhq.plugins.jbossas5.ApplicationServerDiscoveryComponent.discoverExternalJBossAsProcesses(ApplicationServerDiscoveryComponent.java:158)
      at org.rhq.plugins.jbossas5.ApplicationServerDiscoveryComponent.discoverResources(ApplicationServerDiscoveryComponent.java:117)

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  jayshaughnessy Jay Shaughnessy
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: