New port did not help. I got things to work by shutting down Axis2, starting the Hyperic agent, then starting Axis2 again. Now I can shut down and restart the agent without problem, which seems strange. Unfortunately I lost the log from the failed attempts, but if I start seeing this again I'll get it.
The current log contains these errors, but things still seem to work:
2008-11-18 14:06:09,309 ERROR [Thread-2] [RuntimeAutodiscoverer] Unexpected erro
r running autodiscoverer for plugin: Tomcat 5.5: Unable to get MBean info: Incor
rect response from monitored server
org.hyperic.hq.product.PluginException: Unable to get MBean info: Incorrect resp
onse from monitored server
at org.hyperic.hq.plugin.servlet.ServletDiscoveryPlugin.getMBeanInfo(Ser
vletDiscoveryPlugin.java:111)
at org.hyperic.hq.plugin.servlet.Tomcat55RuntimeADPlugin.discoverResourc
es(Tomcat55RuntimeADPlugin.java:76)
at org.hyperic.hq.autoinventory.agent.server.RuntimeAutodiscoverer.doRun
timeScan_internal(RuntimeAutodiscoverer.java:272)
at org.hyperic.hq.autoinventory.agent.server.RuntimeAutodiscoverer.doRun
timeScan(RuntimeAutodiscoverer.java:205)
at org.hyperic.hq.autoinventory.ScanManager.mainRunLoop(ScanManager.java
:165)
at org.hyperic.hq.autoinventory.ScanManager.access$000(ScanManager.java:
41)
at org.hyperic.hq.autoinventory.ScanManager$1.run(ScanManager.java:107)
2008-11-18 14:07:42,651 WARN [Thread-0] [CommandListener] Error invoking method
org.hyperic.hq.agent.AgentRemoteException: Failed to unschedule metrics for enti
ty 2:10052: No measurement schedule for: 2:10052
at org.hyperic.hq.measurement.agent.server.MeasurementCommandsService.un
scheduleMeasurements(MeasurementCommandsService.java:388)
at org.hyperic.hq.measurement.agent.server.MeasurementCommandsServer.dis
patchCommand(MeasurementCommandsServer.java:161)
at org.hyperic.hq.agent.server.CommandDispatcher.processRequest(CommandD
ispatcher.java:112)
at org.hyperic.hq.agent.server.CommandListener.listenLoop(CommandListene
r.java:191)
at org.hyperic.hq.agent.server.AgentDaemon.start(AgentDaemon.java:843)
at org.hyperic.hq.agent.server.AgentDaemon$RunnableAgent.run(AgentDaemon
.java:925)
at java.lang.Thread.run(Unknown Source)