Support Migration Notice: To update migrated JIRA cases click here to open a new case use www.vmware.com/go/sr | vFabric Hyperic 5.7.0 is Now Available

Hyperic HQ

noJRE package - agent seems to still be looking for bundled jre on startup

Details

  • Case Links:
    none
  • Regression:
    Yes

Description

set HQ_JAVA_HOME=C:\Program Files\Java\jre6

using:

http://download.hyperic.com/dl/tcs/shimmer-m4/hyperic-hq-installer-4.2.0.4-EE-1278-tcs-shimmer-2010-01-26.zip

install both server and agent.

start server using hq-server.exe -i
and then start the service from the control panel --> services

I attempted to start the agent, but I just get a series of "- No token file
found, waiting for Agent to initialize" followed eventually by a timeout
message.

From wrapper.log - the agent seems to be looking for the bundled jre?

STATUS | wrapper | 2010/01/27 20:05:39 | --> Wrapper Started as Service
STATUS | wrapper | 2010/01/27 20:05:39 | Launching a JVM...
FATAL | wrapper | 2010/01/27 20:05:39 | Unable to execute Java command.
The system cannot find the file specified. (0x2)
FATAL | wrapper | 2010/01/27 20:05:39 | "..\..\jre\bin\java"
-Djava.compil
er=NONE
-Djava.security.auth.login.config=../../bundles/agent-4.2.0.4-EE-1278/ja
as.config -Xmx128m -Djava.net.preferIPv4Stack=true
-Dagent.install.home=../.. -D
agent.bundle.home=../../bundles/agent-4.2.0.4-EE-1278
-Dsun.net.inetaddr.ttl=60
-Djava.library.path="%LD_LIBRARY_PATH%;../../wrapper/lib" -classpath
"../../bund
les/agent-4.2.0.4-EE-1278/lib/AgentClient.jar;../../bundles/agent-4.2.0.4-EE
-127

If i attempt to put quotes around the HQ_JAVA_HOME ("C:\Program Files\Java\jre6")

then i get:

C:\ellen\shimmer\agent-4.2.0.4-EE\bin>hq-agent.bat start
Files\Java\jre6""=="" was unexpected at this time.
C:\ellen\shimmer\agent-4.2.0.4-EE>

Issue Links

Activity

Hide
Kashyap Parikh added a comment -

Looks similar to HHQ-2101. Workaround is to set HQ_JAVA_HOME is system environment variables, open a new command console and start the agent.

Show
Kashyap Parikh added a comment - Looks similar to HHQ-2101. Workaround is to set HQ_JAVA_HOME is system environment variables, open a new command console and start the agent.
Hide
Todd Rader added a comment -

See the linked doc issue – the error from the Windows bat file should indicate the need for the variable to be a SYSTEM variable, as indicated in the docs.

Show
Todd Rader added a comment - See the linked doc issue – the error from the Windows bat file should indicate the need for the variable to be a SYSTEM variable, as indicated in the docs.
Hide
rivka pints (c) added a comment -

can't reproduce on 5.7

Show
rivka pints (c) added a comment - can't reproduce on 5.7

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved:
    Last comment:
    1 year, 5 weeks, 6 days ago