geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacek Laskowski" <ja...@laskowski.net.pl>
Subject Re: Geronimo 2.0.2 - OpenEJB "Passivation Failed"
Date Sun, 24 Feb 2008 19:51:21 GMT
On Sun, Feb 24, 2008 at 4:24 AM, the666pack <mario.kofler@gmail.com> wrote:

>      [exec] 13:04:31,854 INFO  [OpenEJB] finished invoking method create
>      [exec] 13:04:31,855 INFO  [OpenEJB] finished invoking method create
>      [exec] 13:04:31,857 INFO  [OpenEJB] Passivating to file
>  /usr/local/geronimo/5-2.0.2/var/temp/11d1def534ea1be0=-8cc2910=1184b52f0a4=-7e38
>      [exec] 13:04:31,865 INFO  [OpenEJB] Passivation failed
>      [exec] java.io.NotSerializableException: vt.bean.stateful.WriteDataBean
>      [exec]     at
>  java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1156)
>      [exec]     at
>  java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)
>      [exec]     at
>  java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474)
>      [exec]     at
>  java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
>      [exec]     at
>  java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
>      [exec]     at
>  java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)
>      [exec]     at
>  java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474)
>      [exec]     at
>  java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
>      [exec]     at
>  java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
>      [exec]     at
>  java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
>      [exec]     at
>  org.apache.openejb.core.stateful.SimplePassivater.passivate(SimplePassivater.java:73)
...
>  does this error concern me? i mean does it affect the result? the server
>  seems to keep running and as it is just an "[INFO]" message i am not sure
>  what to think about it.

Hi,

You should be concerned although the message level is too low I guess.
It happens when openejb attempts to passivate an instance so that
particular instance is in fact destroyed (the @PreDestroy method may
have been called). I think you may not have seen any troubles yet as
you didn't reuse the sfsbs and hence you didn't notice these
passivated instances were no longer active. Let's find out why the
bean is not capable of being passivated. How does it look like? I
guess it uses a logger instance or such with no transient keyword
specified, doesn't it?

Jacek

-- 
Jacek Laskowski
http://www.JacekLaskowski.pl

Mime
View raw message