You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by bu...@apache.org on 2005/03/22 16:52:58 UTC
DO NOT REPLY [Bug 34127] -
Session serialization fails
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34127>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=34127
------- Additional Comments From gregor@apache.org 2005-03-22 16:52 -------
would you mind to send a patch?
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
Re: DO NOT REPLY [Bug 34127] - Session serialization fails
Posted by Mirosław Hankus <M....@ce3.pl>.
>------- Additional Comments From gregor@apache.org 2005-03-22 16:52 -------
>would you mind to send a patch?
>
>
>
In case of FileUser it is simple, but as I said errors in other objects
will show up. I'm rather new
to lenya, so it will take some time to get to know all the internals.
Here is diff for FileUser (logger was made static final - so it does not
serialize)
Index: src/java/org/apache/lenya/ac/file/FileUser.java
===================================================================
--- src/java/org/apache/lenya/ac/file/FileUser.java (wersja 158743)
+++ src/java/org/apache/lenya/ac/file/FileUser.java (kopia robocza)
@@ -28,14 +28,14 @@
import org.apache.lenya.ac.Item;
import org.apache.lenya.ac.impl.AbstractUser;
import org.apache.lenya.ac.impl.ItemConfiguration;
-import org.apache.log4j.Category;
+import org.apache.log4j.Logger;
/**
* File-based user implementation.
- * @version $Id: FileUser.java,v 1.5 2004/08/16 15:59:51 andreas Exp $
+ * @version $Id$
*/
-public class FileUser extends AbstractUser implements Item {
- private Category log = Category.getInstance(FileUser.class);
+public class FileUser extends AbstractUser implements
Item,java.io.Serializable {
+ private static final Logger log = Logger.getLogger(FileUser.class);
public static final String ID = "identity";
public static final String EMAIL = "email";
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org