I get 'page expired messages as I browse through my webapp. However, the 
exception is placed before 'server startup statement in catalina.log...

BR,

-----Original Message-----
From: Fatih Mehmet UCAR [mailto:fmu...@gmail.com]
Sent: Wednesday, January 13, 2010 5:52 PM
To: users@wicket.apache.org
Subject: Re: page expired problem issue wicket how resolve fix eofexception 
peekbyte

Does it happens when the application server starts ? If yes, are you
terminating the AS process or shutting down appropriate commands.

fmu

----- Original Message -----
From: "Martin Asenov" <mase...@velti.com>
To: <users@wicket.apache.org>
Sent: Wednesday, January 13, 2010 3:44 PM
Subject: RE: page expired problem issue wicket how resolve fix eofexception
peekbyte


Thanks, kirillkh! I'll try this...

Any other suggestions, anyone?

Thanks!

-----Original Message-----
From: kirillkh [mailto:kiril...@gmail.com]
Sent: Wednesday, January 13, 2010 3:13 PM
To: users@wicket.apache.org
Subject: Re: page expired problem issue wicket how resolve fix eofexception
peekbyte

Hi Martin,

Some IDEs (NetBeans, for one) allow to place an exception breakpoint, which
means the debugger will pause when certain exception is triggered. You
should try downloading wicket's sources as suggested and placing breakpoint
at EOFException.

-Kirill

On Wed, Jan 13, 2010 at 12:48 PM, Martin Asenov <mase...@velti.com> wrote:

> Please, everyone, I'm really despaired about this one, I'll greatly
> appreciate any help!
>
> Best regards,
>
> -----Original Message-----
> From: Martin Asenov [mailto:mase...@velti.com]
> Sent: Tuesday, January 12, 2010 4:37 PM
> To: users@wicket.apache.org
> Subject: RE: page expired problem issue wicket how resolve fix
> eofexception
> peekbyte
>
> Thanks a lot for your time, Chuck!
>
> I hope others will join our conversation...
>
> Regards,
>
> -----Original Message-----
> From: Chuck Brinkman [mailto:chasb1...@gmail.com]
> Sent: Tuesday, January 12, 2010 3:57 PM
> To: users@wicket.apache.org
> Subject: Re: page expired problem issue wicket how resolve fix
> eofexception
> peekbyte
>
> Martin,
>
> I was not suggesting a permanent change to the framework.  Just temporary
> while you debug the problem.  I got the source, did mvn install, it
> generated the jar file which I then copied over to my project.  If I can
> do
> it anyone can.  The problem isn't in wicket but in your domain object(s).
> I'm out of ideas.  Maybe someone from the wicket team has a good
> suggestion.
> Sorry :-(
>
> Chuck
>
> On Tue, Jan 12, 2010 at 8:42 AM, Martin Asenov <mase...@velti.com> wrote:
>
> > No, Chuck, I don't know what page is causing this. As you can see the
> > thrown exception messages don't say anything particular. I think the
> > messaging is poor. I face such problems in lots of frameworks, for
> example
> > hibernate and so on. The messages are not pointing to a particular
> problem,
> > only messing your head with unclear statements. Anyway, I don't plan to
> edit
> > the frameworks. Do you think if not generic parameterized TextField or
> > DropDownChoice for example can cause this?
> >
> > Thanks,
> >
> > -----Original Message-----
> > From: Chuck Brinkman [mailto:chasb1...@gmail.com]
> > Sent: Tuesday, January 12, 2010 2:13 PM
> > To: users@wicket.apache.org
> > Subject: Re: page expired problem issue wicket how resolve fix
> eofexception
> > peekbyte
> >
> > Martin,
> >
> > I don't know a good way.
> >
> > Do you know what page is causing the problem?  Manually check each
> > object
> > in
> > all components of the page.
> >
> > Once you know the page you can try removing components until the error
> goes
> > away.  Last one removed is the offender.  There may be multiple
> offenders.
> >
> > Maybe not a good way.  Get the source for wicket and modify
> > org.apache.wicket.Component.readObject(Component.java:4465) to catch the
> > exception.  At this point you can either print the class of the object
> > being
> > read (some type of Component) or use the debugger (my preference).  You
> > might have to back up to org.apache.wicket.protocol.
> >
> >
> http.SecondLevelCacheSessionStore$SecondLevelCachePageMap.readObject(SecondLevelCacheSessionStore.java:417).
> > This may be a bit of work and might not tell you anything.  The up side
> is
> > that you now have wicket source and can debug your next problem.  I
> usually
> > assume there will be another problem.
> >
> > I'm sure others reading along will have better ideas.
> >
> > Chuck
> >
> >
> >
> > On Tue, Jan 12, 2010 at 6:27 AM, Martin Asenov <mase...@velti.com>
> wrote:
> >
> > > Hi Chuck, nice to read from you!
> > >
> > > Yes, this could be all true, but I can't see anywhere in the logs
> > > comprehendible reports of what happens. Nothing says which is the
> > > problematic object, and I can only guess. Do you now a way to trace
> down
> > > where the problem comes from?
> > >
> > > Thank you!
> > >
> > > P.S. I'm new to Wicket too :)
> > >
> > > -----Original Message-----
> > > From: Chuck Brinkman [mailto:chasb1...@gmail.com]
> > > Sent: Tuesday, January 12, 2010 1:23 PM
> > > To: users@wicket.apache.org
> > > Subject: Re: page expired problem issue wicket how resolve fix
> > eofexception
> > > peekbyte
> > >
> > > Hi Martin,
> > >
> > > I'm new to wicket.  Could this have something to do with wicket trying
> to
> > > restore a page from serialized data.  If one of the objects on your
> page
> > > can
> > > not be serialized you will get an error when wicket tries to restore
> the
> > > page.  I think you might see this when the back button is pressed.  I
> > think
> > > using a detachable model is one option if you use a 3rd party object
> that
> > > isn't serializable..  If you wrote the object you can make is
> > serializable.
> > > Then again I could be all wrong.
> > >
> > > Chuck
> > >
> > > On Tue, Jan 12, 2010 at 5:42 AM, Martin Asenov <mase...@velti.com>
> > wrote:
> > >
> > > > Hello, everyone! I'm currently developing a webapp and I've nearly
> > > finished
> > > > it. However, there's an issue that bothers me - from time to time
> > wicket
> > > > comes up with 'page expired' messages that piss me off. Of course, I
> > have
> > > to
> > > > make sure such messages will not be seen by the end user. I examined
> > the
> > > > logs and saw the above following exception occurring many times.
> Could
> > it
> > > be
> > > > the reason for all this?
> > > >
> > > > Thanks in advance for your help!
> > > >
> > > > P.S. Sorry for the subject field, but I guess it would be more
> > > > useful
> > > that
> > > > way, since it contains many tags regarding the problem.
> > > >
> > > > SEVERE: Exception loading sessions from persistent storage
> > > > java.io.EOFException
> > > >        at
> > > >
> > >
> >
> java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2554)
> > > >        at
> > > > java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1297)
> > > >        at
> > > >
> > java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947)
> > > >        at
> > > > java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871)
> > > >        at
> > > >
> > java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
> > > >        at
> > > > java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
> > > >        at
> > > java.io.ObjectInputStream.readArray(ObjectInputStream.java:1667)
> > > >        at
> > > > java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1323)
> > > >        at
> > > >
> > java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947)
> > > >        at
> > > >
> java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:480)
> > > >        at
> > > > org.apache.wicket.Component.readObject(Component.java:4465)
> > > >        at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown
> Source)
> > > >        at
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > >        at java.lang.reflect.Method.invoke(Method.java:597)
> > > >        at
> > > >
> java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
> > > >        at
> > > > java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1849)
> > > >        at
> > > >
> > java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
> > > >        at
> > > > java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
> > > >        at
> > > java.io.ObjectInputStream.readArray(ObjectInputStream.java:1667)
> > > >        at
> > > > java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1323)
> > > >        at
> > > >
> > java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947)
> > > >        at
> > > > java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871)
> > > >        at
> > > >
> > java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
> > > >        at
> > > > java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
> > > >        at
> > > java.io.ObjectInputStream.readArray(ObjectInputStream.java:1667)
> > > >        at
> > > > java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1323)
> > > >        at
> > > >
> > java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947)
> > > >        at
> > > > java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871)
> > > >        at
> > > >
> > java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
> > > >        at
> > > > java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
> > > >        at
> > > java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
> > > >        at
> > > >
> > >
> >
> org.apache.wicket.protocol.http.SecondLevelCacheSessionStore$SecondLevelCachePageMap.readObject(SecondLevelCacheSessionStore.java:417)
> > > >        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:597)
> > > >        at
> > > >
> java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
> > > >        at
> > > > java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1849)
> > > >        at
> > > >
> > java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
> > > >        at
> > > > java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
> > > >        at
> > > java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
> > > >        at
> > > >
> > >
> >
> org.apache.catalina.session.StandardSession.readObject(StandardSession.java:1441)
> > > >        at
> > > >
> > >
> >
> org.apache.catalina.session.StandardSession.readObjectData(StandardSession.java:942)
> > > >        at
> > > >
> > >
> >
> org.apache.catalina.session.StandardManager.doLoad(StandardManager.java:394)
> > > >        at
> > > >
> > >
> >
> org.apache.catalina.session.StandardManager.load(StandardManager.java:321)
> > > >        at
> > > >
> > >
> >
> org.apache.catalina.session.StandardManager.start(StandardManager.java:637)
> > > >        at
> > > >
> > org.apache.catalina.core.ContainerBase.setManager(ContainerBase.java:438)
> > > >        at
> > > >
> > org.apache.catalina.core.StandardContext.start(StandardContext.java:4358)
> > > >        at
> > > >
> > >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
> > > >        at
> > > >
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
> > > >        at
> > > > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)
> > > >        at
> > > > org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:850)
> > > >        at
> > > >
> org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:724)
> > > >        at
> > > >
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:493)
> > > >        at
> > > > org.apache.catalina.startup.HostConfig.start(HostConfig.java:1206)
> > > >        at
> > > >
> > >
> >
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:314)
> > > >        at
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> > > >        at
> > > > org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
> > > >        at
> > > > org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
> > > >        at
> > > > org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
> > > >        at
> > > >
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
> > > >        at
> > > >
> > org.apache.catalina.core.StandardService.start(StandardService.java:516)
> > > >        at
> > > >
> org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
> > > >        at
> org.apache.catalina.startup.Catalina.start(Catalina.java:583)
> > > >        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:597)
> > > >        at
> > org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
> > > >        at
> > org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> > > > For additional commands, e-mail: users-h...@wicket.apache.org
> > > >
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> > > For additional commands, e-mail: users-h...@wicket.apache.org
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> > For additional commands, e-mail: users-h...@wicket.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to