Skip to content

Instantly share code, notes, and snippets.

@stormgrind
Created June 12, 2010 07:23
Show Gist options
  • Save stormgrind/435517 to your computer and use it in GitHub Desktop.
Save stormgrind/435517 to your computer and use it in GitHub Desktop.
[root@domU-12-31-36-00-0D-12 bin]# RHQ_CLI_DEBUG=true RHQ_CLI_JAVA_HOME=/usr/lib/jvm/jre-1.6.0 ./rhq-cli.sh
rhq-cli.sh: Loading environment script: ./rhq-cli-env.sh
rhq-cli.sh: RHQ_CLI_HOME: /opt/jon-cli-2.3.1.GA/rhq-remoting-cli-1.3.1.GA
rhq-cli.sh: RHQ_CLI_JAVA_HOME: /usr/lib/jvm/jre-1.6.0
rhq-cli.sh: RHQ_CLI_JAVA_EXE_FILE_PATH: /usr/lib/jvm/jre-1.6.0/bin/java
rhq-cli.sh: CLASSPATH entry: /opt/jon-cli-2.3.1.GA/rhq-remoting-cli-1.3.1.GA/lib/commons-logging-1.1.0.jboss.jar
rhq-cli.sh: CLASSPATH entry: /opt/jon-cli-2.3.1.GA/rhq-remoting-cli-1.3.1.GA/lib/concurrent-1.3.4-jboss-update1.jar
rhq-cli.sh: CLASSPATH entry: /opt/jon-cli-2.3.1.GA/rhq-remoting-cli-1.3.1.GA/lib/getopt-1.0.13.jar
rhq-cli.sh: CLASSPATH entry: /opt/jon-cli-2.3.1.GA/rhq-remoting-cli-1.3.1.GA/lib/i18nlog-1.0.9.jar
rhq-cli.sh: CLASSPATH entry: /opt/jon-cli-2.3.1.GA/rhq-remoting-cli-1.3.1.GA/lib/javassist-3.8.0.GA.jar
rhq-cli.sh: CLASSPATH entry: /opt/jon-cli-2.3.1.GA/rhq-remoting-cli-1.3.1.GA/lib/jboss-common-1.2.1.GA.jar
rhq-cli.sh: CLASSPATH entry: /opt/jon-cli-2.3.1.GA/rhq-remoting-cli-1.3.1.GA/lib/jboss-remoting-2.2.2.SP8.jar
rhq-cli.sh: CLASSPATH entry: /opt/jon-cli-2.3.1.GA/rhq-remoting-cli-1.3.1.GA/lib/jline-0.9.94.jar
rhq-cli.sh: CLASSPATH entry: /opt/jon-cli-2.3.1.GA/rhq-remoting-cli-1.3.1.GA/lib/log4j-1.2.14.jar
rhq-cli.sh: CLASSPATH entry: /opt/jon-cli-2.3.1.GA/rhq-remoting-cli-1.3.1.GA/lib/opencsv-1.8.jar
rhq-cli.sh: CLASSPATH entry: /opt/jon-cli-2.3.1.GA/rhq-remoting-cli-1.3.1.GA/lib/persistence-api-1.0.jar
rhq-cli.sh: CLASSPATH entry: /opt/jon-cli-2.3.1.GA/rhq-remoting-cli-1.3.1.GA/lib/rhq-core-domain-1.3.1.GA.jar
rhq-cli.sh: CLASSPATH entry: /opt/jon-cli-2.3.1.GA/rhq-remoting-cli-1.3.1.GA/lib/rhq-core-util-1.3.1.GA.jar
rhq-cli.sh: CLASSPATH entry: /opt/jon-cli-2.3.1.GA/rhq-remoting-cli-1.3.1.GA/lib/rhq-enterprise-comm-1.3.1.GA.jar
rhq-cli.sh: CLASSPATH entry: /opt/jon-cli-2.3.1.GA/rhq-remoting-cli-1.3.1.GA/lib/rhq-enterprise-server-1.3.1.GA.jar
rhq-cli.sh: CLASSPATH entry: /opt/jon-cli-2.3.1.GA/rhq-remoting-cli-1.3.1.GA/lib/rhq-remoting-cli-1.3.1.GA.jar
rhq-cli.sh: CLASSPATH entry: /opt/jon-cli-2.3.1.GA/rhq-remoting-cli-1.3.1.GA/lib/rhq-remoting-webservices-1.3.1.GA.jar
rhq-cli.sh: CLASSPATH entry: /opt/jon-cli-2.3.1.GA/rhq-remoting-cli-1.3.1.GA/lib/testng-5.9-jdk15.jar
rhq-cli.sh: CLASSPATH entry: /opt/jon-cli-2.3.1.GA/rhq-remoting-cli-1.3.1.GA/jbossws-native-dist/deploy/lib/jbossws-client.jar
rhq-cli.sh: RHQ_CLI_JAVA_OPTS: -Xms64m -Xmx128m -Djava.net.preferIPv4Stack=true
rhq-cli.sh: RHQ_CLI_JAVA_ENDORSED_DIRS: /opt/jon-cli-2.3.1.GA/rhq-remoting-cli-1.3.1.GA/lib/endorsed
rhq-cli.sh: RHQ_CLI_JAVA_LIBRARY_PATH: /opt/jon-cli-2.3.1.GA/rhq-remoting-cli-1.3.1.GA/lib
rhq-cli.sh: RHQ_CLI_ADDITIONAL_JAVA_OPTS:
rhq-cli.sh: RHQ_CLI_CMDLINE_OPTS:
rhq-cli.sh: Executing the CLI with this command line:
rhq-cli.sh: /usr/lib/jvm/jre-1.6.0/bin/java -Djava.endorsed.dirs="/opt/jon-cli-2.3.1.GA/rhq-remoting-cli-1.3.1.GA/lib/endorsed" -Djava.library.path="/opt/jon-cli-2.3.1.GA/rhq-remoting-cli-1.3.1.GA/lib" -Xms64m -Xmx128m -Djava.net.preferIPv4Stack=true -Dlog4j.configuration=log4j-debug.xml -cp /opt/jon-cli-2.3.1.GA/rhq-remoting-cli-1.3.1.GA/conf:/opt/jon-cli-2.3.1.GA/rhq-remoting-cli-1.3.1.GA/lib/commons-logging-1.1.0.jboss.jar:/opt/jon-cli-2.3.1.GA/rhq-remoting-cli-1.3.1.GA/lib/concurrent-1.3.4-jboss-update1.jar:/opt/jon-cli-2.3.1.GA/rhq-remoting-cli-1.3.1.GA/lib/getopt-1.0.13.jar:/opt/jon-cli-2.3.1.GA/rhq-remoting-cli-1.3.1.GA/lib/i18nlog-1.0.9.jar:/opt/jon-cli-2.3.1.GA/rhq-remoting-cli-1.3.1.GA/lib/javassist-3.8.0.GA.jar:/opt/jon-cli-2.3.1.GA/rhq-remoting-cli-1.3.1.GA/lib/jboss-common-1.2.1.GA.jar:/opt/jon-cli-2.3.1.GA/rhq-remoting-cli-1.3.1.GA/lib/jboss-remoting-2.2.2.SP8.jar:/opt/jon-cli-2.3.1.GA/rhq-remoting-cli-1.3.1.GA/lib/jline-0.9.94.jar:/opt/jon-cli-2.3.1.GA/rhq-remoting-cli-1.3.1.GA/lib/log4j-1.2.14.jar:/opt/jon-cli-2.3.1.GA/rhq-remoting-cli-1.3.1.GA/lib/opencsv-1.8.jar:/opt/jon-cli-2.3.1.GA/rhq-remoting-cli-1.3.1.GA/lib/persistence-api-1.0.jar:/opt/jon-cli-2.3.1.GA/rhq-remoting-cli-1.3.1.GA/lib/rhq-core-domain-1.3.1.GA.jar:/opt/jon-cli-2.3.1.GA/rhq-remoting-cli-1.3.1.GA/lib/rhq-core-util-1.3.1.GA.jar:/opt/jon-cli-2.3.1.GA/rhq-remoting-cli-1.3.1.GA/lib/rhq-enterprise-comm-1.3.1.GA.jar:/opt/jon-cli-2.3.1.GA/rhq-remoting-cli-1.3.1.GA/lib/rhq-enterprise-server-1.3.1.GA.jar:/opt/jon-cli-2.3.1.GA/rhq-remoting-cli-1.3.1.GA/lib/rhq-remoting-cli-1.3.1.GA.jar:/opt/jon-cli-2.3.1.GA/rhq-remoting-cli-1.3.1.GA/lib/rhq-remoting-webservices-1.3.1.GA.jar:/opt/jon-cli-2.3.1.GA/rhq-remoting-cli-1.3.1.GA/lib/testng-5.9-jdk15.jar:/opt/jon-cli-2.3.1.GA/rhq-remoting-cli-1.3.1.GA/jbossws-native-dist/deploy/lib/jbossws-client.jar org.rhq.enterprise.client.ClientMain
Exception in thread "main" java.lang.NullPointerException
at org.rhq.enterprise.client.commands.ScriptCommand.<init>(ScriptCommand.java:83)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
at java.lang.Class.newInstance0(Class.java:372)
at java.lang.Class.newInstance(Class.java:325)
at org.rhq.enterprise.client.ClientMain.initCommands(ClientMain.java:118)
at org.rhq.enterprise.client.ClientMain.main(ClientMain.java:103)
rhq-cli.sh: ./rhq-cli.sh done.
[root@domU-12-31-36-00-0D-12 bin]#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment