on 5/31/2000 11:50 AM, John McNally at [EMAIL PROTECTED] wrote:
> TurbineUser was not marked as Serializable, I just added that in CVS through
> the User interface. This might get it to work for you. That said, it has
> not worked well for me lately either (I had made this change to User
> earlier, but did not check it in, since I still had not seemed to solve the
> problem.) It magically works maybe one out of 10 times that I recompile a
> class. I remember a while back when it seemed to be failing almost all the
> time for me, Frank (and Jon) were both reporting it as working. Later Frank
> said it quit working for him also. Does the latest User get it working for
> anyone?
It doesn't need to be marked Serializable because BaseObject (which it
extends) is.
> Jon, Re: ACL
> I do not think I (or anyone else, has tried to make the ACL stuff
> serializable.) As long as the User survived, the ACL should get rebuilt
> properly. If your conditions on the ACL are complex, store the necessary
> info in the User, so that it will be rebuilt. For example do not build the
> ACL directly based on form data, store the form data in User and use that.
Ok, well, I just got the ACL stuff serializable. I had to override the
read/writeObject methods in PermissionSet and RoleSet because the
Enumeration object in there isn't Serializable.
So, it seems now that everything within Turbine is serializing properly for
me (although, I still need to test de-serializing since Jeff's code doesn't
do that), but things still are not working with Tomcat.
I will keep following this trail...I think that an end is nearly in sight.
-jon
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]