Hi there,
I'm using log4j in some dataObjects that are stored in each weblogic session
that a user opens. When the server attempts to serialize the dataObjects in
the session, the following error occurs (presumably because Logger is not
serializable)
<Error> <HTTP Session> <Could not deserialize session data
java.io.NotSerializableException: org.apache.log4j.Logger
        at
java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1148)
        at
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:366)
        at
java.io.ObjectOutputStream.outputClassFields(ObjectOutputStream.java:1827
        .
        .
        .

Is there a workaround for this or do I have to take log4j out of my
dataObjects? Thanks
Denis McCarthy




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to