You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Daniel Frisk <da...@jalbum.net> on 2010/01/12 10:23:41 UTC

New photo album generator

Our fancy new Wicket/jQuery/Flash photo album generator, soon ready to  
be released. What do you think so far?

http://jalbum.net/beta/camelot/

// Daniel Frisk
jalbum.net


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


Re: New photo album generator

Posted by Daniel Frisk <da...@jalbum.net>.
That explains it... The button is a flash-movie which we use to upload  
photos, no fallback yet.

// Daniel Frisk
jalbum.net


On 2010-01-12, at 12:25, Reinout van Schouwen wrote:

> Op dinsdag 12-01-2010 om 10:23 uur [tijdzone +0100], schreef Daniel
> Frisk:
>> Our fancy new Wicket/jQuery/Flash photo album generator, soon ready  
>> to
>> be released. What do you think so far?
>
> It's looking very nice but I can't press the Upload photos button. It
> seems to be disabled or overlaid by some Flash layer?! (I'm not using
> Adobe Flash but swfdec. Anyway I try to evade Flash where I can.)
>
> regards,
>
> -- 
> Reinout van Schouwen


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


Re: New photo album generator

Posted by Reinout van Schouwen <re...@gmail.com>.
Op dinsdag 12-01-2010 om 10:23 uur [tijdzone +0100], schreef Daniel
Frisk:
> Our fancy new Wicket/jQuery/Flash photo album generator, soon ready to  
> be released. What do you think so far?

It's looking very nice but I can't press the Upload photos button. It
seems to be disabled or overlaid by some Flash layer?! (I'm not using
Adobe Flash but swfdec. Anyway I try to evade Flash where I can.)

regards,

-- 
Reinout van Schouwen


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


RE: page expired problem issue wicket how resolve fix eofexception peekbyte

Posted by Martin Grigorov <mc...@e-card.bg>.
Martin check this:
http://tomcat.apache.org/tomcat-6.0-doc/config/manager.html#Restart%
20Persistence

On Wed, 2010-01-13 at 17:56 +0200, Martin Asenov wrote:
> 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:fmucar@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" <mA...@velti.com>
> To: <us...@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:kirillkh@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 <mA...@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:mAsenov@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:chasb1957@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 <mA...@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:chasb1957@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 <mA...@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:chasb1957@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 <mA...@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-unsubscribe@wicket.apache.org
> > > > > For additional commands, e-mail: users-help@wicket.apache.org
> > > > >
> > > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> > > > For additional commands, e-mail: users-help@wicket.apache.org
> > > >
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> > > For additional commands, e-mail: users-help@wicket.apache.org
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> > For additional commands, e-mail: users-help@wicket.apache.org
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> > For additional commands, e-mail: users-help@wicket.apache.org
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
> 
> 



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


Re: page expired problem issue wicket how resolve fix eofexception peekbyte

Posted by Fatih Mehmet UCAR <fm...@gmail.com>.
that as well counts as a change.
for the expiration, you may try to extend the tomcat session timeout 
interval.

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


Actually, I haven't changed them... Only added them to components that did 
not have ones...

BR,

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

In fact you should not be changing UIDs once you have generated them.

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


So, I suppose I need to clear AS cache before deploying with different UIDs?

BR,

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

I dont think the exception and page expired things are related if you are
only getting the exception when the AS starts.
When you stop the AS, it normally tries to serialize active sessions and
read them back when you start it again to restore.

After stopping server, if you change serialUID of any class that was
serialized that exception may occur.
Also if you do not shut down server properly, server wont be able to
serialize everything in a correct way and may not be able to read
back which will again cause this kind of exceptions.

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


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:fmucar@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" <mA...@velti.com>
To: <us...@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:kirillkh@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 <mA...@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:mAsenov@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:chasb1957@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 <mA...@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:chasb1957@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 <mA...@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:chasb1957@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 <mA...@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-unsubscribe@wicket.apache.org
> > > > For additional commands, e-mail: users-help@wicket.apache.org
> > > >
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> > > For additional commands, e-mail: users-help@wicket.apache.org
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> > For additional commands, e-mail: users-help@wicket.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

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


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


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


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


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


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


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


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


RE: page expired problem issue wicket how resolve fix eofexception peekbyte

Posted by Martin Asenov <mA...@velti.com>.
Actually, I haven't changed them... Only added them to components that did not have ones...

BR,

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

In fact you should not be changing UIDs once you have generated them.

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


So, I suppose I need to clear AS cache before deploying with different UIDs?

BR,

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

I dont think the exception and page expired things are related if you are
only getting the exception when the AS starts.
When you stop the AS, it normally tries to serialize active sessions and
read them back when you start it again to restore.

After stopping server, if you change serialUID of any class that was
serialized that exception may occur.
Also if you do not shut down server properly, server wont be able to
serialize everything in a correct way and may not be able to read
back which will again cause this kind of exceptions.

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


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:fmucar@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" <mA...@velti.com>
To: <us...@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:kirillkh@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 <mA...@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:mAsenov@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:chasb1957@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 <mA...@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:chasb1957@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 <mA...@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:chasb1957@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 <mA...@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-unsubscribe@wicket.apache.org
> > > > For additional commands, e-mail: users-help@wicket.apache.org
> > > >
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> > > For additional commands, e-mail: users-help@wicket.apache.org
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> > For additional commands, e-mail: users-help@wicket.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

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


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


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


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


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


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


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


Re: page expired problem issue wicket how resolve fix eofexception peekbyte

Posted by Fatih Mehmet UCAR <fm...@gmail.com>.
In fact you should not be changing UIDs once you have generated them.

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


So, I suppose I need to clear AS cache before deploying with different UIDs?

BR,

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

I dont think the exception and page expired things are related if you are
only getting the exception when the AS starts.
When you stop the AS, it normally tries to serialize active sessions and
read them back when you start it again to restore.

After stopping server, if you change serialUID of any class that was
serialized that exception may occur.
Also if you do not shut down server properly, server wont be able to
serialize everything in a correct way and may not be able to read
back which will again cause this kind of exceptions.

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


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:fmucar@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" <mA...@velti.com>
To: <us...@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:kirillkh@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 <mA...@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:mAsenov@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:chasb1957@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 <mA...@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:chasb1957@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 <mA...@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:chasb1957@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 <mA...@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-unsubscribe@wicket.apache.org
> > > > For additional commands, e-mail: users-help@wicket.apache.org
> > > >
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> > > For additional commands, e-mail: users-help@wicket.apache.org
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> > For additional commands, e-mail: users-help@wicket.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

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


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


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


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


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


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


RE: page expired problem issue wicket how resolve fix eofexception peekbyte

Posted by Martin Asenov <mA...@velti.com>.
So, I suppose I need to clear AS cache before deploying with different UIDs?

BR,

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

I dont think the exception and page expired things are related if you are
only getting the exception when the AS starts.
When you stop the AS, it normally tries to serialize active sessions and
read them back when you start it again to restore.

After stopping server, if you change serialUID of any class that was
serialized that exception may occur.
Also if you do not shut down server properly, server wont be able to
serialize everything in a correct way and may not be able to read
back which will again cause this kind of exceptions.

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


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:fmucar@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" <mA...@velti.com>
To: <us...@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:kirillkh@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 <mA...@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:mAsenov@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:chasb1957@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 <mA...@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:chasb1957@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 <mA...@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:chasb1957@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 <mA...@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-unsubscribe@wicket.apache.org
> > > > For additional commands, e-mail: users-help@wicket.apache.org
> > > >
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> > > For additional commands, e-mail: users-help@wicket.apache.org
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> > For additional commands, e-mail: users-help@wicket.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

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


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


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


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


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


Re: page expired problem issue wicket how resolve fix eofexception peekbyte

Posted by Fatih Mehmet UCAR <fm...@gmail.com>.
I dont think the exception and page expired things are related if you are 
only getting the exception when the AS starts.
When you stop the AS, it normally tries to serialize active sessions and 
read them back when you start it again to restore.

After stopping server, if you change serialUID of any class that was 
serialized that exception may occur.
Also if you do not shut down server properly, server wont be able to 
serialize everything in a correct way and may not be able to read
back which will again cause this kind of exceptions.

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


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:fmucar@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" <mA...@velti.com>
To: <us...@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:kirillkh@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 <mA...@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:mAsenov@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:chasb1957@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 <mA...@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:chasb1957@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 <mA...@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:chasb1957@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 <mA...@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-unsubscribe@wicket.apache.org
> > > > For additional commands, e-mail: users-help@wicket.apache.org
> > > >
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> > > For additional commands, e-mail: users-help@wicket.apache.org
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> > For additional commands, e-mail: users-help@wicket.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

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


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


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


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


RE: page expired problem issue wicket how resolve fix eofexception peekbyte

Posted by Martin Asenov <mA...@velti.com>.
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:fmucar@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" <mA...@velti.com>
To: <us...@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:kirillkh@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 <mA...@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:mAsenov@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:chasb1957@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 <mA...@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:chasb1957@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 <mA...@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:chasb1957@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 <mA...@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-unsubscribe@wicket.apache.org
> > > > For additional commands, e-mail: users-help@wicket.apache.org
> > > >
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> > > For additional commands, e-mail: users-help@wicket.apache.org
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> > For additional commands, e-mail: users-help@wicket.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

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


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


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


Re: page expired problem issue wicket how resolve fix eofexception peekbyte

Posted by Fatih Mehmet UCAR <fm...@gmail.com>.
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" <mA...@velti.com>
To: <us...@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:kirillkh@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 <mA...@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:mAsenov@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:chasb1957@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 <mA...@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:chasb1957@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 <mA...@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:chasb1957@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 <mA...@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-unsubscribe@wicket.apache.org
> > > > For additional commands, e-mail: users-help@wicket.apache.org
> > > >
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> > > For additional commands, e-mail: users-help@wicket.apache.org
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> > For additional commands, e-mail: users-help@wicket.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

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


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


RE: page expired problem issue wicket how resolve fix eofexception peekbyte

Posted by Martin Asenov <mA...@velti.com>.
Thanks, kirillkh! I'll try this... 

Any other suggestions, anyone?

Thanks!

-----Original Message-----
From: kirillkh [mailto:kirillkh@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 <mA...@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:mAsenov@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:chasb1957@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 <mA...@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:chasb1957@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 <mA...@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:chasb1957@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 <mA...@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-unsubscribe@wicket.apache.org
> > > > For additional commands, e-mail: users-help@wicket.apache.org
> > > >
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> > > For additional commands, e-mail: users-help@wicket.apache.org
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> > For additional commands, e-mail: users-help@wicket.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

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


Re: page expired problem issue wicket how resolve fix eofexception peekbyte

Posted by kirillkh <ki...@gmail.com>.
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 <mA...@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:mAsenov@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:chasb1957@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 <mA...@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:chasb1957@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 <mA...@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:chasb1957@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 <mA...@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-unsubscribe@wicket.apache.org
> > > > For additional commands, e-mail: users-help@wicket.apache.org
> > > >
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> > > For additional commands, e-mail: users-help@wicket.apache.org
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> > For additional commands, e-mail: users-help@wicket.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

RE: page expired problem issue wicket how resolve fix eofexception peekbyte

Posted by Martin Asenov <mA...@velti.com>.
Please, everyone, I'm really despaired about this one, I'll greatly appreciate any help!

Best regards,

-----Original Message-----
From: Martin Asenov [mailto:mAsenov@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:chasb1957@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 <mA...@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:chasb1957@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 <mA...@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:chasb1957@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 <mA...@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-unsubscribe@wicket.apache.org
> > > For additional commands, e-mail: users-help@wicket.apache.org
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> > For additional commands, e-mail: users-help@wicket.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

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


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


RE: page expired problem issue wicket how resolve fix eofexception peekbyte

Posted by Martin Asenov <mA...@velti.com>.
Thanks a lot for your time, Chuck!

I hope others will join our conversation...

Regards,

-----Original Message-----
From: Chuck Brinkman [mailto:chasb1957@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 <mA...@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:chasb1957@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 <mA...@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:chasb1957@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 <mA...@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-unsubscribe@wicket.apache.org
> > > For additional commands, e-mail: users-help@wicket.apache.org
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> > For additional commands, e-mail: users-help@wicket.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

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


Re: page expired problem issue wicket how resolve fix eofexception peekbyte

Posted by Chuck Brinkman <ch...@gmail.com>.
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 <mA...@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:chasb1957@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 <mA...@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:chasb1957@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 <mA...@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-unsubscribe@wicket.apache.org
> > > For additional commands, e-mail: users-help@wicket.apache.org
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> > For additional commands, e-mail: users-help@wicket.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

RE: page expired problem issue wicket how resolve fix eofexception peekbyte

Posted by Martin Asenov <mA...@velti.com>.
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:chasb1957@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 <mA...@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:chasb1957@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 <mA...@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-unsubscribe@wicket.apache.org
> > For additional commands, e-mail: users-help@wicket.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

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


Re: page expired problem issue wicket how resolve fix eofexception peekbyte

Posted by Chuck Brinkman <ch...@gmail.com>.
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 <mA...@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:chasb1957@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 <mA...@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-unsubscribe@wicket.apache.org
> > For additional commands, e-mail: users-help@wicket.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

RE: page expired problem issue wicket how resolve fix eofexception peekbyte

Posted by Martin Asenov <mA...@velti.com>.
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:chasb1957@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 <mA...@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-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

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


Re: page expired problem issue wicket how resolve fix eofexception peekbyte

Posted by Chuck Brinkman <ch...@gmail.com>.
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 <mA...@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-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

RE: page expired problem issue wicket how resolve fix eofexception peekbyte

Posted by Martin Asenov <mA...@velti.com>.
Here's again the original message, please, need some assistance...

-----Original Message-----
From: Martin Asenov [mailto:mAsenov@velti.com] 
Sent: Tuesday, January 12, 2010 12:43 PM
To: users@wicket.apache.org
Subject: page expired problem issue wicket how resolve fix eofexception peekbyte

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-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


page expired problem issue wicket how resolve fix eofexception peekbyte

Posted by Martin Asenov <mA...@velti.com>.
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-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: New photo album generator

Posted by Daniel Frisk <da...@jalbum.net>.
Ohh, but thank you :) We still have some polishing to do before  
releasing, we want to scale huge images before uploading and such.

So far we have rolled our own integration and not used WiQuery. I'm a  
bit new to jQuery but we seem to have great use for it both here and  
there, I will probably have a look at WiQuery again and not be such a  
stubborn NIH guy.

// Daniel Frisk
jalbum.net


On 2010-01-12, at 10:34, Stijn Maller wrote:

> Simply WOW! What's not to like? :o)
> Just out of interest, did you use WiQuery?
>
> 2010/1/12 Daniel Frisk <da...@jalbum.net>
>
>> Our fancy new Wicket/jQuery/Flash photo album generator, soon ready  
>> to be
>> released. What do you think so far?
>>
>> http://jalbum.net/beta/camelot/
>>
>> // Daniel Frisk
>> jalbum.net
>>


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


Re: New photo album generator

Posted by Stijn Maller <st...@gmail.com>.
Simply WOW! What's not to like? :o)
Just out of interest, did you use WiQuery?

2010/1/12 Daniel Frisk <da...@jalbum.net>

> Our fancy new Wicket/jQuery/Flash photo album generator, soon ready to be
> released. What do you think so far?
>
> http://jalbum.net/beta/camelot/
>
> // Daniel Frisk
> jalbum.net
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

Re: New photo album generator

Posted by Daniel Frisk <da...@jalbum.net>.
Not yet. Also this will not be released as general component (a least  
not now) for developers, it's intended for end users of the site only.

// Daniel Frisk
jalbum.net


On 2010-01-12, at 10:34, Martin Makundi wrote:

> Is there a tutorial how to use it?
>
> **
> Martin
>
> 2010/1/12 Daniel Frisk <da...@jalbum.net>:
>> Our fancy new Wicket/jQuery/Flash photo album generator, soon ready  
>> to be
>> released. What do you think so far?
>>
>> http://jalbum.net/beta/camelot/
>>
>> // Daniel Frisk
>> jalbum.net
>>


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


Re: New photo album generator

Posted by Hbiloo <wa...@gmail.com>.
There's one word that I could found: AWESOME...

Hbiloo.

On Tue, Jan 12, 2010 at 10:34 AM, Martin Makundi <
martin.makundi@koodaripalvelut.com> wrote:

> Is there a tutorial how to use it?
>
> **
> Martin
>
> 2010/1/12 Daniel Frisk <da...@jalbum.net>:
> > Our fancy new Wicket/jQuery/Flash photo album generator, soon ready to be
> > released. What do you think so far?
> >
> > http://jalbum.net/beta/camelot/
> >
> > // Daniel Frisk
> > jalbum.net
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> > For additional commands, e-mail: users-help@wicket.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

Re: New photo album generator

Posted by Martin Makundi <ma...@koodaripalvelut.com>.
Is there a tutorial how to use it?

**
Martin

2010/1/12 Daniel Frisk <da...@jalbum.net>:
> Our fancy new Wicket/jQuery/Flash photo album generator, soon ready to be
> released. What do you think so far?
>
> http://jalbum.net/beta/camelot/
>
> // Daniel Frisk
> jalbum.net
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

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


Re: New photo album generator

Posted by Stijn Maller <st...@gmail.com>.
It's a cool feature, but would be much more useful if:
1) You could stop/start the scrolling (maybe even set the pace)
2) You could actually link through to those albums and see them


2010/1/12 Daniel Frisk <da...@jalbum.net>

> Damn, you found one of the few remaining jsp-pages :-)
> The map scrolls around to show the latest downloads, it's supposed to be a
> feature not a bug...
>
> // Daniel
> jalbum.net
>
>

Re: New photo album generator

Posted by Daniel Frisk <da...@jalbum.net>.
Damn, you found one of the few remaining jsp-pages :-)
The map scrolls around to show the latest downloads, it's supposed to  
be a feature not a bug...

// Daniel
jalbum.net


On 2010-01-12, at 10:54, Major Péter wrote:

> Hi,
>
> The site looks great, nice UI!
> I think I found some problem on:
> http://jalbum.net/maps/downloads.jsp (JSP :) )
> Here if I zoom in on Europe with double clicks, there is a point where
> the app is taking control and the map goes to Tokyo, or random parts  
> of
> the earth, but I guess I've just got lost on the camelot page. :(
>
> Regards,
> Peter
>
> 2010-01-12 10:23 keltezéssel, Daniel Frisk írta:
>> Our fancy new Wicket/jQuery/Flash photo album generator, soon ready  
>> to
>> be released. What do you think so far?
>>
>> http://jalbum.net/beta/camelot/
>>
>> // Daniel Frisk
>> jalbum.net
>


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


Re: New photo album generator

Posted by Major Péter <ma...@sch.bme.hu>.
Hi,

The site looks great, nice UI!
I think I found some problem on:
http://jalbum.net/maps/downloads.jsp (JSP :) )
Here if I zoom in on Europe with double clicks, there is a point where
the app is taking control and the map goes to Tokyo, or random parts of
the earth, but I guess I've just got lost on the camelot page. :(

Regards,
Peter

2010-01-12 10:23 keltezéssel, Daniel Frisk írta:
> Our fancy new Wicket/jQuery/Flash photo album generator, soon ready to
> be released. What do you think so far?
> 
> http://jalbum.net/beta/camelot/
> 
> // Daniel Frisk
> jalbum.net

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