[
https://issues.apache.org/jira/browse/WICKET-1741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12612243#action_12612243
]
Eric Glass commented on WICKET-1741:
------------------------------------
I tried package private and protected constructors and the serialization test
still failed. I have to change them back to public to have the test pass. Here
is the log output with the failure using the BEA WebLogic serialization
validation that we were given.
15:16:39,990 ERROR [DefaultSerializationHelper] Session attribute name
(Wicket:SessionUnbindingListener-org.apache.wicket.protocol.http.WicketServlet)
with Java class
(org.apache.wicket.protocol.http.AbstractHttpSessionStore$SessionBindingListener)
does not have a default constructor with no parameters, so it can not be
serialized.
15:16:40,014 ERROR [DefaultSerializationHelper] Session attribute name
(wicket:org.apache.wicket.protocol.http.WicketServlet:m:null) with Java class
(org.apache.wicket.protocol.http.SecondLevelCacheSessionStore$SecondLevelCachePageMap)
does not have a default constructor with no parameters, so it can not be
serialized.
> Default constructor needed to satisfy BEA WebLogic serialization test
> ---------------------------------------------------------------------
>
> Key: WICKET-1741
> URL: https://issues.apache.org/jira/browse/WICKET-1741
> Project: Wicket
> Issue Type: Improvement
> Components: wicket
> Affects Versions: 1.4-M2
> Environment: BEA WebLogic 9.2, Red Hat Enterprise Server 5
> Reporter: Eric Glass
> Assignee: Igor Vaynberg
>
> The following Wicket classes need to have a default constructor with no
> parameters to satisfy a BEA WebLogic serialization test. The test is used to
> make sure that all attributes that are placed into the user's session can be
> replicated across the BEA WebLogic cluster. This serialization test was
> provided by a BEA WebLogic engineer and it found that several of the Wicket
> session attributes did not pass, because of not having a default constructor.
> Here are the classes that need to be changed.
> org.apache.wicket.PageMap
> org.apache.wicket.protocol.http.AbstractHttpSessionStore.SessionBindingListener
>
> org.apache.wicket.protocol.http.SecondLevelCacheSessionStore.SecondLevelCachePageMap
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.