[ http://jira.jboss.com/jira/browse/JBAS-1250?page=history ]
Adrian Brock closed JBAS-1250:
------------------------------
Resolution: Rejected
An SFSB cannot be accessed when the passivator is working with it.
Most likely you have some other reference to the HashMap
which you have passed around by reference.
> ConcurrenModificationException at ejbPassivate
> ----------------------------------------------
>
> Key: JBAS-1250
> URL: http://jira.jboss.com/jira/browse/JBAS-1250
> Project: JBoss Application Server
> Type: Bug
> Versions: JBossAS-3.2.6 Final
> Reporter: SourceForge User
> Assignee: Scott M Stark
>
>
> SourceForge Submitter: fruehbeck .
> it seems, that when the SFSB is invoked during the time,
> when the StatefulSessionFilePersistenceManager is
> persisting it, the Persister gets a ConcurrentModif.Exc..
> The Persister doesn't undo the ejbPassivate(), or
> anything else.
> The Bean seems to be unusable later on.
> 2004-12-06 18:16:25,940 WARN
> [org.jboss.ejb.plugins.AbstractInstanceCache] failed to
> passivate, id=e2ewpewp-1y2u
> javax.ejb.EJBException: Could not passivate; failed to
> save state; CausedByException is:
> null
> at
> org.jboss.ejb.plugins.StatefulSessionFilePersistenceManag
> er.passivateSession
> (StatefulSessionFilePersistenceManager.java:378)
> at
> org.jboss.ejb.plugins.StatefulSessionInstanceCache.passi
> vate(StatefulSessionInstanceCache.java:85)
> at
> org.jboss.ejb.plugins.AbstractInstanceCache.tryToPassiv
> ate(AbstractInstanceCache.java:151)
> at
> org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy$O
> veragerTask.run
> (LRUEnterpriseContextCachePolicy.java:419)
> at java.util.TimerThread.mainLoop(Timer.java:432)
> at java.util.TimerThread.run(Timer.java:382)
> java.util.ConcurrentModificationException
> at java.util.HashMap$HashIterator.nextEntry
> (HashMap.java:782)
> at java.util.HashMap$EntryIterator.next
> (HashMap.java:824)
> at java.util.HashMap.writeObject
> (HashMap.java:976)
> at sun.reflect.GeneratedMethodAccessor172.invoke
> (Unknown Source)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke
> (DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke
> (Method.java:324)
> at java.io.ObjectStreamClass.invokeWriteObject
> (ObjectStreamClass.java:809)
> at java.io.ObjectOutputStream.writeSerialData
> (ObjectOutputStream.java:1296)
> at java.io.ObjectOutputStream.writeOrdinaryObject
> (ObjectOutputStream.java:1247)
> at java.io.ObjectOutputStream.writeObject0
> (ObjectOutputStream.java:1052)
> at java.io.ObjectOutputStream.defaultWriteFields
> (ObjectOutputStream.java:1332)
> at java.io.ObjectOutputStream.writeSerialData
> (ObjectOutputStream.java:1304)
> at java.io.ObjectOutputStream.writeOrdinaryObject
> (ObjectOutputStream.java:1247)
> at java.io.ObjectOutputStream.writeObject0
> (ObjectOutputStream.java:1052)
> at java.io.ObjectOutputStream.defaultWriteFields
> (ObjectOutputStream.java:1332)
> at java.io.ObjectOutputStream.writeSerialData
> (ObjectOutputStream.java:1304)
> at java.io.ObjectOutputStream.writeOrdinaryObject
> (ObjectOutputStream.java:1247)
> at java.io.ObjectOutputStream.writeObject0
> (ObjectOutputStream.java:1052)
> at java.io.ObjectOutputStream.defaultWriteFields
> (ObjectOutputStream.java:1332)
> at java.io.ObjectOutputStream.writeSerialData
> (ObjectOutputStream.java:1304)
> at java.io.ObjectOutputStream.writeOrdinaryObject
> (ObjectOutputStream.java:1247)
> at java.io.ObjectOutputStream.writeObject0
> (ObjectOutputStream.java:1052)
> at java.io.ObjectOutputStream.writeObject
> (ObjectOutputStream.java:278)
> at
> org.jboss.ejb.plugins.StatefulSessionFilePersistenceManag
> er.passivateSession
> (StatefulSessionFilePersistenceManager.java:370)
> at
> org.jboss.ejb.plugins.StatefulSessionInstanceCache.passi
> vate(StatefulSessionInstanceCache.java:85)
> at
> org.jboss.ejb.plugins.AbstractInstanceCache.tryToPassiv
> ate(AbstractInstanceCache.java:151)
> at
> org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy$O
> veragerTask.run
> (LRUEnterpriseContextCachePolicy.java:419)
> at java.util.TimerThread.mainLoop(Timer.java:432)
> at java.util.TimerThread.run(Timer.java:382)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development