
|
If you were logged in you would be able to see more operations.
|
|
|
Hyperic HQ
Created: 23/Oct/07 02:32 PM
Updated: 24/Oct/07 08:08 AM
|
|
| Component/s: |
None
|
| Affects Version/s: |
3.1.1
|
| Fix Version/s: |
3.2.0,
3.1.4
|
|
| Verify By: |
Nipuna Bhayani
|
| Last comment: |
56 weeks, 2 days ago
|
| Resolution Date: |
23/Oct/07 02:33 PM
|
|
It's possible for the MeasurementEnabler to fail to fully enable or re-schedule metrics for all resources on an agent. This is because the bulk of the rescheduling is done inside the listener rather than in a real session and transaction within a session bean.
This can be observed occasionally in the server log with a batch update exception:
007-10-23 15:56:13,113 INFO [org.hyperic.hq.agent.client.AgentConnection] 10.100.9.143 -> rtm:scheduleMeasurements
2007-10-23 15:56:13,116 INFO [org.hyperic.hq.agent.client.AgentConnection] 10.100.9.143 -> track:trackRemove
2007-10-23 15:56:13,226 INFO [org.hyperic.hq.agent.client.AgentConnection] 10.100.9.143 -> rtm:scheduleMeasurements
2007-10-23 15:56:13,299 INFO [org.hyperic.hq.agent.client.AgentConnection] 10.100.9.143 -> track:trackRemove
2007-10-23 15:56:13,383 INFO [org.hyperic.hq.agent.client.AgentConnection] 10.100.9.143 -> rtm:scheduleMeasurements
2007-10-23 15:56:13,460 WARN [org.hyperic.hq.bizapp.server.session.AIBossEJBImpl] toggleRuntimeScan called for non-server type=3:34299
2007-10-23 15:56:13,476 INFO [org.hyperic.hq.measurement.server.session.MeasurementEnabler] Rescheduling metric schedule for [3:34299]
2007-10-23 15:56:13,495 INFO [org.hyperic.hq.agent.client.AgentConnection] 10.100.9.143 -> rtm:scheduleMeasurements
2007-10-23 15:56:13,538 INFO [org.hyperic.hq.agent.client.AgentConnection] 10.100.9.143 -> rtm:scheduleMeasurements
2007-10-23 15:56:13,617 ERROR [org.hibernate.jdbc.AbstractBatcher] Exception executing batch:
org.hibernate.StaleStateException: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1
|
|
Description
|
It's possible for the MeasurementEnabler to fail to fully enable or re-schedule metrics for all resources on an agent. This is because the bulk of the rescheduling is done inside the listener rather than in a real session and transaction within a session bean.
This can be observed occasionally in the server log with a batch update exception:
007-10-23 15:56:13,113 INFO [org.hyperic.hq.agent.client.AgentConnection] 10.100.9.143 -> rtm:scheduleMeasurements
2007-10-23 15:56:13,116 INFO [org.hyperic.hq.agent.client.AgentConnection] 10.100.9.143 -> track:trackRemove
2007-10-23 15:56:13,226 INFO [org.hyperic.hq.agent.client.AgentConnection] 10.100.9.143 -> rtm:scheduleMeasurements
2007-10-23 15:56:13,299 INFO [org.hyperic.hq.agent.client.AgentConnection] 10.100.9.143 -> track:trackRemove
2007-10-23 15:56:13,383 INFO [org.hyperic.hq.agent.client.AgentConnection] 10.100.9.143 -> rtm:scheduleMeasurements
2007-10-23 15:56:13,460 WARN [org.hyperic.hq.bizapp.server.session.AIBossEJBImpl] toggleRuntimeScan called for non-server type=3:34299
2007-10-23 15:56:13,476 INFO [org.hyperic.hq.measurement.server.session.MeasurementEnabler] Rescheduling metric schedule for [3:34299]
2007-10-23 15:56:13,495 INFO [org.hyperic.hq.agent.client.AgentConnection] 10.100.9.143 -> rtm:scheduleMeasurements
2007-10-23 15:56:13,538 INFO [org.hyperic.hq.agent.client.AgentConnection] 10.100.9.143 -> rtm:scheduleMeasurements
2007-10-23 15:56:13,617 ERROR [org.hibernate.jdbc.AbstractBatcher] Exception executing batch:
org.hibernate.StaleStateException: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1
|
Show » |
|
Trav fixed this:
http://svn.hyperic.org/?view=rev&root=Hyperic+HQ&revision=6324
and I backported to 3.1:
http://svn.hyperic.org/?view=rev&root=Hyperic+HQ&revision=6384