[SNMP4J] SNMP.close() throws java.util.ConcurrentModificationException
Andreas Kessler
hotkeeper at gmx.net
Wed Mar 3 11:33:50 CET 2010
Hi all
I use the snmp4j in JBoss, I created a resource adapter (JCA) who get
used by several threads. If I stop the JBoss, it tries tos top the
resource adapter, then I got this Exception:
2010-03-03 11:15:18.846 WARN [org.jboss.logging.Log4jLoggerPlugin] -
Stopping failed jboss.jca:service=RARDeployment,name='snmp-outbound-ra.rar'
java.util.ConcurrentModificationException: null
at java.util.Hashtable$Enumerator.next(Hashtable.java:1031) [na:1.6.0_17]
at org.snmp4j.Snmp.close(Unknown Source) [SNMP4J.jar:na]
at
ch.sohard.jca.snmp.outbound.SnmpOutboundResourceAdapter.stop(SnmpOutboundResourceAdapter.java:52)
[snmp-outbound-ra.jar:na]
at
org.jboss.resource.deployment.RARDeployment.stopService(RARDeployment.java:114)
[jboss-jca.jar:4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)]
Any help would be nice!
Greez Andy
More information about the SNMP4J
mailing list