Re: [Wicket-user] Problem disabling PageMaps (Johan Compagner)

2006-12-01 Thread Johan Compagner

i don't know exactly when that property was made a setting now it is:
if (Application.get().getDebugSettings().getSerializeSessionAttributes())

but that is now quite sometime so when it was exactly changed i don't know

upgrade to the latest 1.2 then you can easily set that property.

johan


On 11/30/06, A. Zwaan <[EMAIL PROTECTED]> wrote:


 Hello Johan,



I've checked every mail since I posted my question and I have double
checked now, but I couldn't find your response. I do seem to be missing
issue 236, the one right after my question, though. Looks like I never
received that one somehow.



We have it running in deployment mode, but we're still having the problem.



Profiler says 40% of the String usage is in:

Page.renderPage()

|-> Session.touch()

|-> PageMap.put()

|-> Session.setAttribute()

|->HttpSessionStore.setAttribute()

   |->ObjectOutputStream.writeObject() (which continues with
more ObjectOutputStream stuff)



I use the InspectorPage from the wicket.examples.debug package to show
what pagemaps etc are in the session. This shows multiple pagemaps of which
some hold the same pages as others do.



Regards,



Arjan Zwaan.





Date: Thu, 30 Nov 2006 14:18:09 +0100

From: "Johan Compagner" <[EMAIL PROTECTED]>

Subject: Re: [Wicket-user] Problem disabling PageMaps (A. Zwaan)

To: wicket-user@lists.sourceforge.net

Message-ID:

  <[EMAIL PROTECTED]>

Content-Type: text/plain; charset="iso-8859-1"



did you look at my reply i did earlier??



"PageMaps don't write anything to an outputstream. Do you run your app in
deployment or development mode? (in development the pages are tested for

serialization)



The qeustion is even with the settings you do there. Do you still really
have more then one page in the session as an attribute?

Debug this if possible by example displaying/outputting all names of the
attributes of a session after the request is finished (for example in the
detach of the RequestCycle)"



johan



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Problem disabling PageMaps (Johan Compagner)

2006-11-30 Thread karthik Guru

I remember,  in Wicket 1.2 it used to work out of a log4j setting which was
changed to Application settings in the subsequent Wicket releases. Are you
running Wicket 1.2 by any chance?

If you are running Wicket 1.2 and have something like this -

log4j.logger.wicket.protocol.http.HttpSessionStore=DEBUG

in your log4j.properties,

I think it will continue to serialize session attributes.




On 11/30/06, A. Zwaan <[EMAIL PROTECTED]> wrote:


 Hello Johan,



I've checked every mail since I posted my question and I have double
checked now, but I couldn't find your response. I do seem to be missing
issue 236, the one right after my question, though. Looks like I never
received that one somehow.



We have it running in deployment mode, but we're still having the problem.



Profiler says 40% of the String usage is in:

Page.renderPage()

|-> Session.touch()

|-> PageMap.put()

|-> Session.setAttribute()

|->HttpSessionStore.setAttribute()

   |->ObjectOutputStream.writeObject() (which continues with
more ObjectOutputStream stuff)



I use the InspectorPage from the wicket.examples.debug package to show
what pagemaps etc are in the session. This shows multiple pagemaps of which
some hold the same pages as others do.



Regards,



Arjan Zwaan.





Date: Thu, 30 Nov 2006 14:18:09 +0100

From: "Johan Compagner" <[EMAIL PROTECTED]>

Subject: Re: [Wicket-user] Problem disabling PageMaps (A. Zwaan)

To: wicket-user@lists.sourceforge.net

Message-ID:

  <[EMAIL PROTECTED]>

Content-Type: text/plain; charset="iso-8859-1"



did you look at my reply i did earlier??



"PageMaps don't write anything to an outputstream. Do you run your app in
deployment or development mode? (in development the pages are tested for

serialization)



The qeustion is even with the settings you do there. Do you still really
have more then one page in the session as an attribute?

Debug this if possible by example displaying/outputting all names of the
attributes of a session after the request is finished (for example in the
detach of the RequestCycle)"



johan



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user






--
-- karthik --
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Problem disabling PageMaps (Johan Compagner)

2006-11-30 Thread A. Zwaan
Hello Johan,

 

I've checked every mail since I posted my question and I have double
checked now, but I couldn't find your response. I do seem to be missing
issue 236, the one right after my question, though. Looks like I never
received that one somehow.

 

We have it running in deployment mode, but we're still having the
problem.

 

Profiler says 40% of the String usage is in:

Page.renderPage()

|-> Session.touch()

|-> PageMap.put()

|-> Session.setAttribute()

|->HttpSessionStore.setAttribute()

   |->ObjectOutputStream.writeObject() (which continues with
more ObjectOutputStream stuff)

 

I use the InspectorPage from the wicket.examples.debug package to show
what pagemaps etc are in the session. This shows multiple pagemaps of
which some hold the same pages as others do.

 

Regards,

 

Arjan Zwaan.

 

 

Date: Thu, 30 Nov 2006 14:18:09 +0100

From: "Johan Compagner" <[EMAIL PROTECTED]>

Subject: Re: [Wicket-user] Problem disabling PageMaps (A. Zwaan)

To: wicket-user@lists.sourceforge.net

Message-ID:

  <[EMAIL PROTECTED]>

Content-Type: text/plain; charset="iso-8859-1"

 

did you look at my reply i did earlier??

 

"PageMaps don't write anything to an outputstream. Do you run your app
in deployment or development mode? (in development the pages are tested
for

serialization)

 

The qeustion is even with the settings you do there. Do you still really
have more then one page in the session as an attribute?

Debug this if possible by example displaying/outputting all names of the
attributes of a session after the request is finished (for example in
the detach of the RequestCycle)"

 

johan

 

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user