I'm trying to test the new passivating statefullsessionbean-caches but i'm
always
getting an IllegalAccessException from the
StatefulSessionFilePersistenceManager.
I've build JBoss from the latest sources from the cvs and the problem with
the SessionContext
as attribute disapeared, but when JBoss is trying to serialize a class of my
own as attribute in 
my bean class, i'm getting this exception. The class itself is serializable
and has a public no arg 
constructor, so does anybody know what i'm doing wrong?

The exact exception is:

java.lang.IllegalAccessException:
com/cmg/ejb/testprogramme/protocol/ProtocolBean 
[Container factory] at
org.jboss.ejb.plugins.StatefulSessionFilePersistenceManager.passivateSession
(StatefulSessionFilePersistenceManager.java:275) 
[Container factory] at
org.jboss.ejb.plugins.StatefulSessionInstanceCache.passivate(StatefulSession
InstanceCache.java:49) [Container factory] at
org.jboss.ejb.plugins.EnterpriseInstanceCache$1.execute(EnterpriseInstanceCa
che.java:341) 
[Container factory] at
org.jboss.util.WorkerQueue$QueueLoop.run(WorkerQueue.java:199) 
[Container factory] at java.lang.Thread.run(Thread.java:484)

Any help is appreciated

Tilmann


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to