Hey Oleg,
> BTW, I'm getting an Exception on shutdown in that place, but haven't
> finished its investigation yet.
> But maybe you or somebody else would understand what happens faster
> than I, so please take a look:
>
> BEAN EXCEPTION:null
> java.lang.IllegalAccessException
> at java.lang.reflect.Field.get(Native Method)
Maybe I'll say something you already know, but this can happen if the
constructor of the data member is not accessible (ie package private or
protected or private). Is it your case ? Otherwise can you post more details
?
> It looks like SecurityManager doesn't allow the access to private
> fields, but I haven't installed a SecurityManager (more precisely,
> the correspondent line in jboss.properties is commented)
> and my server.policy "Allows everything".
> And, BTW, why the passivation is performed on shutdown?
> Does jBoss restores the passivated instances after restart???
Yes, it should (ie on restart it does not activate them; it should do it
when the bean is called again). Well I never tested this, maybe I'll try
now...
HTH,
Simon