Hi all,
I'm attempting to implement database session persistence and I am running into 
some problems.

Questions:
1. My Session cannot be serialized. I'm using the old 
WXCodecUtilities.archivedDataFromObject which seems to work fine. A stack trace 
shows ERXEC as the culprit? ERXEC is said to implement Serializable and I have 
no idea what to do next, even to find out which editing context in which class 
is the culprit.

java.io.NotSerializableException: er.extensions.eof.ERXEC$2
        at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1164)
        at 
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
        at 
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
        at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
        at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
        at 
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
        at 
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
        at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
        at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
        at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1346)
        at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1154)
        at java.io.ObjectOutputStream.access$300(ObjectOutputStream.java:143)
        at 
java.io.ObjectOutputStream$PutFieldImpl.writeFields(ObjectOutputStream.java:1677)


My intuition tells me this may have something to do with writing to the 
database and serializing the session state at the same time. Does anyone have 
any pointers or should I look for a different approach to handle scaling up app 
servers and implementing sign in "Remember Me" for long periods of time?

---
Kevin Hinkson


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to