seems you have a reference to DefaultListableBeanFactory which you should
not be seiralizing.
Caused by: java.io.NotSerializableException:
org.springframework.beans.factory.support.DefaultListableBeanFactory
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java
:1059)
see wicket-spring integration
-igor
On 6/19/07, John Quinn <[EMAIL PROTECTED]> wrote:
I'm getting a WicketRuntimeException from the getPage method of the
wicket Session object. Specifically from these lines of code:
<code>
t = (Thread)pageMapsUsedInRequest.get(pageMap);
if (t != null && t != Thread.currentThread()
&& (startTime + timeout.getMilliseconds()) < System.currentTimeMillis())
{
// if it is still not the right thread..
// This either points to long running code (a report
// page?) or a deadlock or such
throw new WicketRuntimeException("After " + timeout + " the Pagemap
"
+ pageMapName + " is still locked by: " + t
+ ", giving up trying to get the page for path: " + path);
</code>
I found someone working on this issue for 1.2.6, it sounds like the
code is different for 1.3 but it is not released. Is there a
workaround for this issue?
Please see the stack trace from preceding Exception that may be
related at bottom.
Thanks,
John
This seems to be preceeded by the following error (I went through and
checked the ComponentEditPage and all member objects to make sure that
they were inheriting the Serializable interface or implementing it
themselves (all are inheriting)). This error is occuring on both
JBoss(tomcat5.5) and Jetty:
2007-06-19 16:49:10,000 ERROR wicket.RequestCycle - there was an error
detaching the request from the session
[EMAIL PROTECTED]
wicket.WicketRuntimeException: Internal error cloning object. Make
sure all dependent objects implement Serializable. Class:
com.dpl.tariff.ui.component.ComponentEditPage
at wicket.protocol.http.HttpSessionStore.setAttribute(
HttpSessionStore.java:63)
at wicket.Session.setAttribute(Session.java:952)
at wicket.Session.requestDetached(Session.java:1049)
at wicket.RequestCycle.detach(RequestCycle.java:845)
at wicket.RequestCycle.steps(RequestCycle.java:1102)
at wicket.RequestCycle.request(RequestCycle.java:454)
at wicket.protocol.http.WicketServlet.doGet (WicketServlet.java
:219)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.mortbay.jetty.servlet.ServletHolder.handle (
ServletHolder.java:358)
at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(
WebApplicationHandler.java:294)
at org.mortbay.jetty.servlet.ServletHandler.handle(
ServletHandler.java:567)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
at org.mortbay.jetty.servlet.WebApplicationContext.handle(
WebApplicationContext.java:525)
at org.mortbay.http.HttpContext.handle(HttpContext.java :1757)
at org.mortbay.http.HttpServer.service(HttpServer.java:879)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:789)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:806)
at org.mortbay.http.SocketListener.handleConnection(
SocketListener.java:218)
at org.mortbay.util.ThreadedServe r.handle(ThreadedServer.java:331)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:520)
Caused by: java.io.NotSerializableException:
org.springframework.beans.factory.support.DefaultListableBeanFactory
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java
:1059)
at java.io.ObjectOutputStream.defaultWriteFields(
ObjectOutputStream.java:1337)
at java.io.ObjectOutputStream.writeSerialData (
ObjectOutputStream.java:1309)
at java.io.ObjectOutputStream.writeOrdinaryObject(
ObjectOutputStream.java:1252)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java
:1057)
at java.io.ObjectOutputStream.writeObject (ObjectOutputStream.java
:278)
at
org.springframework.transaction.interceptor.TransactionInterceptor.writeObject
(TransactionInterceptor.java:182)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke (Method.java:324)
at java.io.ObjectStreamClass.invokeWriteObject(
ObjectStreamClass.java:809)
at java.io.ObjectOutputStream.writeSerialData(
ObjectOutputStream.java:1301)
at java.io.ObjectOutputStream.writeOrdinaryObject (
ObjectOutputStream.java:1252)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java
:1057)
at java.io.ObjectOutputStream.defaultWriteFields(
ObjectOutputStream.java:1337)
at java.io.ObjectOutputStream.writeSerialData(
ObjectOutputStream.java:1309)
at java.io.ObjectOutputStream.writeOrdinaryObject(
ObjectOutputStream.java:1252)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1057)
at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java
:1229)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java
:1055)
at java.io.ObjectOutputStream.defaultWriteFields (
ObjectOutputStream.java:1337)
at java.io.ObjectOutputStream.writeSerialData(
ObjectOutputStream.java:1309)
at java.io.ObjectOutputStream.writeOrdinaryObject(
ObjectOutputStream.java:1252)
at java.io.ObjectOutputStream.writeObject0 (ObjectOutputStream.java
:1057)
at java.io.ObjectOutputStream.defaultWriteFields(
ObjectOutputStream.java:1337)
at java.io.ObjectOutputStream.writeSerialData(
ObjectOutputStream.java:1309)
at java.io.ObjectOutputStream.writeOrdinaryObject (
ObjectOutputStream.java:1252)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java
:1057)
at java.io.ObjectOutputStream.defaultWriteFields(
ObjectOutputStream.java:1337)
at java.io.ObjectOutputStream.writeSerialData (
ObjectOutputStream.java:1309)
at java.io.ObjectOutputStream.writeOrdinaryObject(
ObjectOutputStream.java:1252)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java
:1057)
at java.io.ObjectOutputStream.defaultWriteFields(
ObjectOutputStream.java:1337)
at java.io.ObjectOutputStream.writeSerialData(
ObjectOutputStream.java:1309)
at java.io.ObjectOutputStream.writeOrdinaryObject (
ObjectOutputStream.java:1252)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java
:1057)
at java.io.ObjectOutputStream.defaultWriteFields(
ObjectOutputStream.java:1337)
at java.io.ObjectOutputStream.writeSerialData (
ObjectOutputStream.java:1309)
at java.io.ObjectOutputStream.writeOrdinaryObject(
ObjectOutputStream.java:1252)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java
:1057)
at java.io.ObjectOutputStream.defaultWriteFields (
ObjectOutputStream.java:1337)
at java.io.ObjectOutputStream.writeSerialData(
ObjectOutputStream.java:1309)
at java.io.ObjectOutputStream.writeOrdinaryObject(
ObjectOutputStream.java:1252)
at java.io.ObjectOutputStream.writeObject0 (ObjectOutputStream.java
:1057)
at java.io.ObjectOutputStream.defaultWriteFields(
ObjectOutputStream.java:1337)
at java.io.ObjectOutputStream.writeSerialData(
ObjectOutputStream.java:1309)
at java.io.ObjectOutputStream.writeOrdinaryObject (
ObjectOutputStream.java:1252)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java
:1057)
at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java
:1229)
at java.io.ObjectOutputStream.writeObject0 (ObjectOutputStream.java
:1055)
at java.io.ObjectOutputStream.defaultWriteFields(
ObjectOutputStream.java:1337)
at java.io.ObjectOutputStream.writeSerialData(
ObjectOutputStream.java:1309)
at java.io.ObjectOutputStream.writeOrdinaryObject(
ObjectOutputStream.java:1252)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java
:1057)
at java.io.ObjectOutputStream.writeObject (ObjectOutputStream.java
:278)
at wicket.protocol.http.HttpSessionStore.setAttribute(
HttpSessionStore.java:57)
... 21 more
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user