Currently I have the HQ_JAVA_HOME set to c:\jre (I copied the jre from the HQ-AGENT folder to this location).
I have the UAC turned off on the windows side; I have iptables turned off on the linux side; and I have the firewall turned off on the windows side.
I can install the hq-agent just fine using hq-agent.bat install however when I try and start the agent I receive the following error:
INFO | jvm 4 | 2010/10/14 10:02:48 | WrapperStartStopApp: Encountered an error running start main: java.lang.NullPointerException
INFO | jvm 4 | 2010/10/14 10:02:48 | java.lang.NullPointerException
INFO | jvm 4 | 2010/10/14 10:02:48 | at java.io.File.<init>(Unknown Source)
INFO | jvm 4 | 2010/10/14 10:02:48 | at org.hyperic.hq.bizapp.agent.client.AgentClient.checkCanWriteToLog(AgentClient.java:1310)
INFO | jvm 4 | 2010/10/14 10:02:48 | at org.hyperic.hq.bizapp.agent.client.AgentClient.initializeAgent(AgentClient.java:1122)
INFO | jvm 4 | 2010/10/14 10:02:48 | at org.hyperic.hq.bizapp.agent.client.AgentClient.main(AgentClient.java:1242)
INFO | jvm 4 | 2010/10/14 10:02:48 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 4 | 2010/10/14 10:02:48 | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
INFO | jvm 4 | 2010/10/14 10:02:48 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
INFO | jvm 4 | 2010/10/14 10:02:48 | at java.lang.reflect.Method.invoke(Unknown Source)
INFO | jvm 4 | 2010/10/14 10:02:48 | at org.tanukisoftware.wrapper.WrapperStartStopApp.run(WrapperStartStopApp.java:238)
INFO | jvm 4 | 2010/10/14 10:02:48 | at java.lang.Thread.run(Unknown Source)
INFO | wrapper | 2010/10/14 10:02:48 | Waiting to start...
STATUS | wrapper | 2010/10/14 10:02:50 | on_exit trigger matched. Restarting the JVM. (Exit code: 1)
INFO | wrapper | 2010/10/14 10:02:53 | Waiting to start...
STATUS | wrapper | 2010/10/14 10:02:54 | Reloading Wrapper configuration...
STATUS | wrapper | 2010/10/14 10:02:54 | Launching a JVM...
INFO | jvm 5 | 2010/10/14 10:02:54 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
INFO | jvm 5 | 2010/10/14 10:02:54 | Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved.
INFO | jvm 5 | 2010/10/14 10:02:54 |
INFO | jvm 5 | 2010/10/14 10:02:54 |
INFO | jvm 5 | 2010/10/14 10:02:54 | WrapperStartStopApp: Encountered an error running start main: java.lang.NullPointerException
INFO | jvm 5 | 2010/10/14 10:02:54 | java.lang.NullPointerException
INFO | jvm 5 | 2010/10/14 10:02:54 | at java.io.File.<init>(Unknown Source)
INFO | jvm 5 | 2010/10/14 10:02:54 | at org.hyperic.hq.bizapp.agent.client.AgentClient.checkCanWriteToLog(AgentClient.java:1310)
INFO | jvm 5 | 2010/10/14 10:02:54 | at org.hyperic.hq.bizapp.agent.client.AgentClient.initializeAgent(AgentClient.java:1122)
INFO | jvm 5 | 2010/10/14 10:02:54 | at org.hyperic.hq.bizapp.agent.client.AgentClient.main(AgentClient.java:1242)
INFO | jvm 5 | 2010/10/14 10:02:54 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 5 | 2010/10/14 10:02:54 | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
INFO | jvm 5 | 2010/10/14 10:02:54 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
INFO | jvm 5 | 2010/10/14 10:02:54 | at java.lang.reflect.Method.invoke(Unknown Source)
INFO | jvm 5 | 2010/10/14 10:02:54 | at org.tanukisoftware.wrapper.WrapperStartStopApp.run(WrapperStartStopApp.java:238)
INFO | jvm 5 | 2010/10/14 10:02:54 | at java.lang.Thread.run(Unknown Source)
STATUS | wrapper | 2010/10/14 10:02:56 | on_exit trigger matched. Restarting the JVM. (Exit code: 1)
FATAL | wrapper | 2010/10/14 10:02:56 | There were 5 failed launches in a row, each lasting less than 60 seconds. Giving up.
FATAL | wrapper | 2010/10/14 10:02:56 | There may be a configuration problem: please check the logs.
STATUS | wrapper | 2010/10/14 10:02:57 | <-- Wrapper Stopped
ERROR | wrapper | 2010/10/14 10:02:58 | The Hyperic HQ Agent service was launched, but failed to start.
Here is a copy of my agent.properties
agent.setup.camIP=10.1.215.220
agent.setup.camPort=7080
agent.setup.camSSLPort=7443
agent.setup.camSecure=no
agent.setup.camLogin=hqadmin
agent.setup.camPword=hqadmin
agent.setup.agentIP=10.1.215.1
agent.setup.agentPort=2144
agent.setup.unidirectional=no
Message was edited by: bcarpio
Here is my agent.properties
agent.setup.camIP=10.1.215.220
agent.setup.camPort=7080
agent.setup.camSSLPort=7443
agent.setup.camSecure=no
agent.setup.camLogin=hqadmin
agent.setup.camPword=hqadmin
agent.setup.agentIP=10.1.215.1
agent.setup.agentPort=2144
agent.setup.unidirectional=no
Message was edited by: bcarpio
I have the UAC turned off on the windows side; I have iptables turned off on the linux side; and I have the firewall turned off on the windows side.
I can install the hq-agent just fine using hq-agent.bat install however when I try and start the agent I receive the following error:
INFO | jvm 4 | 2010/10/14 10:02:48 | WrapperStartStopApp: Encountered an error running start main: java.lang.NullPointerException
INFO | jvm 4 | 2010/10/14 10:02:48 | java.lang.NullPointerException
INFO | jvm 4 | 2010/10/14 10:02:48 | at java.io.File.<init>(Unknown Source)
INFO | jvm 4 | 2010/10/14 10:02:48 | at org.hyperic.hq.bizapp.agent.client.AgentClient.checkCanWriteToLog(AgentClient.java:1310)
INFO | jvm 4 | 2010/10/14 10:02:48 | at org.hyperic.hq.bizapp.agent.client.AgentClient.initializeAgent(AgentClient.java:1122)
INFO | jvm 4 | 2010/10/14 10:02:48 | at org.hyperic.hq.bizapp.agent.client.AgentClient.main(AgentClient.java:1242)
INFO | jvm 4 | 2010/10/14 10:02:48 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 4 | 2010/10/14 10:02:48 | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
INFO | jvm 4 | 2010/10/14 10:02:48 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
INFO | jvm 4 | 2010/10/14 10:02:48 | at java.lang.reflect.Method.invoke(Unknown Source)
INFO | jvm 4 | 2010/10/14 10:02:48 | at org.tanukisoftware.wrapper.WrapperStartStopApp.run(WrapperStartStopApp.java:238)
INFO | jvm 4 | 2010/10/14 10:02:48 | at java.lang.Thread.run(Unknown Source)
INFO | wrapper | 2010/10/14 10:02:48 | Waiting to start...
STATUS | wrapper | 2010/10/14 10:02:50 | on_exit trigger matched. Restarting the JVM. (Exit code: 1)
INFO | wrapper | 2010/10/14 10:02:53 | Waiting to start...
STATUS | wrapper | 2010/10/14 10:02:54 | Reloading Wrapper configuration...
STATUS | wrapper | 2010/10/14 10:02:54 | Launching a JVM...
INFO | jvm 5 | 2010/10/14 10:02:54 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
INFO | jvm 5 | 2010/10/14 10:02:54 | Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved.
INFO | jvm 5 | 2010/10/14 10:02:54 |
INFO | jvm 5 | 2010/10/14 10:02:54 |
INFO | jvm 5 | 2010/10/14 10:02:54 | WrapperStartStopApp: Encountered an error running start main: java.lang.NullPointerException
INFO | jvm 5 | 2010/10/14 10:02:54 | java.lang.NullPointerException
INFO | jvm 5 | 2010/10/14 10:02:54 | at java.io.File.<init>(Unknown Source)
INFO | jvm 5 | 2010/10/14 10:02:54 | at org.hyperic.hq.bizapp.agent.client.AgentClient.checkCanWriteToLog(AgentClient.java:1310)
INFO | jvm 5 | 2010/10/14 10:02:54 | at org.hyperic.hq.bizapp.agent.client.AgentClient.initializeAgent(AgentClient.java:1122)
INFO | jvm 5 | 2010/10/14 10:02:54 | at org.hyperic.hq.bizapp.agent.client.AgentClient.main(AgentClient.java:1242)
INFO | jvm 5 | 2010/10/14 10:02:54 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 5 | 2010/10/14 10:02:54 | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
INFO | jvm 5 | 2010/10/14 10:02:54 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
INFO | jvm 5 | 2010/10/14 10:02:54 | at java.lang.reflect.Method.invoke(Unknown Source)
INFO | jvm 5 | 2010/10/14 10:02:54 | at org.tanukisoftware.wrapper.WrapperStartStopApp.run(WrapperStartStopApp.java:238)
INFO | jvm 5 | 2010/10/14 10:02:54 | at java.lang.Thread.run(Unknown Source)
STATUS | wrapper | 2010/10/14 10:02:56 | on_exit trigger matched. Restarting the JVM. (Exit code: 1)
FATAL | wrapper | 2010/10/14 10:02:56 | There were 5 failed launches in a row, each lasting less than 60 seconds. Giving up.
FATAL | wrapper | 2010/10/14 10:02:56 | There may be a configuration problem: please check the logs.
STATUS | wrapper | 2010/10/14 10:02:57 | <-- Wrapper Stopped
ERROR | wrapper | 2010/10/14 10:02:58 | The Hyperic HQ Agent service was launched, but failed to start.
Here is a copy of my agent.properties
agent.setup.camIP=10.1.215.220
agent.setup.camPort=7080
agent.setup.camSSLPort=7443
agent.setup.camSecure=no
agent.setup.camLogin=hqadmin
agent.setup.camPword=hqadmin
agent.setup.agentIP=10.1.215.1
agent.setup.agentPort=2144
agent.setup.unidirectional=no
Message was edited by: bcarpio
Here is my agent.properties
agent.setup.camIP=10.1.215.220
agent.setup.camPort=7080
agent.setup.camSSLPort=7443
agent.setup.camSecure=no
agent.setup.camLogin=hqadmin
agent.setup.camPword=hqadmin
agent.setup.agentIP=10.1.215.1
agent.setup.agentPort=2144
agent.setup.unidirectional=no
Message was edited by: bcarpio