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

Cannot start agent because of EOFException while reading the keystore file

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Critical Critical
  • Resolution: Fixed
  • Affects Version/s: 4.6
  • Fix Version/s: 4.6.6
  • Component/s: Agent / PDK
  • Environment:
    Ubuntu 10.4.2 64-bit
  • Case Links:
    none
  • HQ Fix Version:
    4.6.6
  • Regression:
    No

Description

While starting the agent, an EOFException occurs while reading the keystore file.

Using operating system 'Ubuntu' and version '10.04'
Starting HQ Agent...
Error: java.io.EOFException
java.lang.IllegalStateException: java.io.EOFException
	at org.hyperic.util.security.DefaultSSLProviderImpl.<init>(DefaultSSLProviderImpl.java:132)
	at org.hyperic.hq.bizapp.agent.client.SecureAgentConnection.getSocket(SecureAgentConnection.java:104)
	at org.hyperic.hq.agent.client.AgentConnection.sendCommandHeadersWithRetries(AgentConnection.java:197)
	at org.hyperic.hq.agent.client.AgentConnection.sendCommandHeaders(AgentConnection.java:177)
	at org.hyperic.hq.agent.client.AgentConnection.sendCommand(AgentConnection.java:140)
	at org.hyperic.hq.agent.client.LegacyAgentCommandsClientImpl.ping(LegacyAgentCommandsClientImpl.java:80)
	at org.hyperic.hq.bizapp.agent.client.AgentClient.cmdPing(AgentClient.java:157)
	at org.hyperic.hq.bizapp.agent.client.AgentClient.cmdSetupIfNoProvider(AgentClient.java:557)
	at org.hyperic.hq.bizapp.agent.client.AgentClient.main(AgentClient.java:1400)
Caused by: java.io.EOFException
	at java.io.DataInputStream.readInt(Unknown Source)
	at sun.security.provider.JavaKeyStore.engineLoad(Unknown Source)
	at java.security.KeyStore.load(Unknown Source)
	at org.hyperic.util.security.KeystoreManager.getKeyStore(KeystoreManager.java:101)
	at org.hyperic.util.security.DefaultSSLProviderImpl.<init>(DefaultSSLProviderImpl.java:115)
	... 8 more

Activity

Hide
Patrick Nguyen added a comment -

At the very least, the AgentClient.cmgPing needs to catch all RuntimeExceptions and throw an AgentConnectionException or AgentRemoteException.

Show
Patrick Nguyen added a comment - At the very least, the AgentClient.cmgPing needs to catch all RuntimeExceptions and throw an AgentConnectionException or AgentRemoteException.
Hide
Adar Margalit added a comment -

This one should be resolved with the agent fix in 4.6.6

Show
Adar Margalit added a comment - This one should be resolved with the agent fix in 4.6.6
Hide
tzirla rozental (c) added a comment -

works fine in Hyperic version 4.6.6 from 10.06.12,
verified that the agent can start with no EOFException in the agent log

Show
tzirla rozental (c) added a comment - works fine in Hyperic version 4.6.6 from 10.06.12, verified that the agent can start with no EOFException in the agent log

People

Vote (0)
Watch (0)

Dates

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