Re: Session leak issue, trying to optimize 1.4x

2015-01-13 Thread Martin Makundi
Bounty:
https://www.elance.com/j/java-wicket-core-jetty-internals-expert-fix-session-leak-issue/67287632/

2015-01-09 16:16 GMT+02:00 Martin Makundi <
martin.maku...@koodaripalvelut.com>:

> Hi!
>
> Can anybody help with this?
> https://issues.apache.org/jira/browse/WICKET-5805
>
> **
> Martin
>
> 2015-01-08 9:24 GMT+02:00 Martin Makundi <
> martin.maku...@koodaripalvelut.com>:
>
>> Hi!
>>
>> We have a performance issue with our Wicket 1.4 app, page serialization
>> causes inconvenience to user because RequestCycle.detach() blocks the
>> request until session.requestDetached() has been handled.
>>
>> We attempted to solve this issue by invoking session.requestDetached in a
>> separate thread and thus allowing user to receive their request without
>> waiting for page serialization in SecondLevelCachePageMap. The disk writing
>> is already parallel, but serialization is blocking.
>>
>> What would be the best (and safest) way to implement this? I have
>> attached our (proposed) patches to jira issue:
>> https://issues.apache.org/jira/browse/WICKET-5805
>>
>>
>> **
>> Martin
>>
>
>


Checking obscure serialization bugs during development

2015-01-13 Thread mscoon
Hi all,

There are some application (not wicket!) bugs that occur only when wicket
serializes a page, while the same code works if the page is kept in memory
during subsequent requests.

For instance a == comparison may fail if either side of the expression is
serialized/deserialized.

These bugs often go unnoticed during development since usually the active
page is kept in memory.

So I was wondering if there is a way to force wicket during development to
always serialize pages and never keep any pages in memory in order to make
such bugs more apparent to the developer.

Thanks in advance
Marios


Re: Wicket 6.13 link onclick behavior not working with ajax onclick row select

2015-01-13 Thread avchavan
Thanks.
Worked for me :)

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Wicket-6-13-link-onclick-behavior-not-working-with-ajax-onclick-row-select-tp4668995p4669001.html
Sent from the Users forum mailing list archive at Nabble.com.

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



Re: Change in configuring AtmosphereServlet init-params

2015-01-13 Thread Daniel Stoch
Thanks for your answers.
I must check why this new version does not work in my app.

--
Best regards,
Daniel


On Mon, Jan 12, 2015 at 1:00 PM, Emond Papegaaij
 wrote:
> You are right. The filter allows the client to know the length of pushed
> messages. I believe it was also needed for very long messages. The problem
> with the default filter was, that the separator was far too common to use for
> wicket's Ajax responses and the default implementation did not offer a way to
> change the separator. This was fixed in recent versions of Atmosphere. In
> fact, changes to the API broke the old one, so I needed to replace it with the
> improved default.
>
> Best regards,
> Emond
>
> On Sunday 11 January 2015 21:54:36 Martin Grigorov wrote:
>> Only Emond knows the details ...
>> AFAIK TrackMessageSizeFilter was needed to overcome a problem in Atmosphere
>> + Wicket's XML response.
>> It seems Atmosphere 2.20+ provides the solution by itself so Wicket's one
>> is not needed anymore.
>>
>> Martin Grigorov
>> Wicket Training and Consulting
>> https://twitter.com/mtgrigorov
>>
>> On Fri, Jan 9, 2015 at 3:41 PM, Daniel Stoch  wrote:
>> > On Fri, Jan 9, 2015 at 2:37 PM, Martin Grigorov 
>> >
>> > wrote:
>> > > Hi,
>> > >
>> > > I think this changes was needed to upgrade from Atmosphere 2.18 to 2.22.
>> > > AFAIK this change is needed by Atmosphere itself.
>> > > Wicket-Atmosphere doesn't use these parameters.
>> >
>> > Ok, I know that. But how did you (or Emond ;)) know how to changed it,
>> > maybe I should look into Atmosphere documentation?
>> > The old TrackMessageSizeFilter comes from Wicket-Atmosphere, so there
>> > was some reason to setup such parameter.
>> >
>> > --
>> > Daniel
>> >
>> > > Martin Grigorov
>> > > Wicket Training and Consulting
>> > > https://twitter.com/mtgrigorov
>> > >
>> > > On Fri, Jan 9, 2015 at 11:07 AM, Daniel Stoch 
>> > >
>> > > wrote:
>> > >> Hi,
>> > >>
>> > >> In the most recent version of atmosphere-example the init-params were
>> > >> changed in servlet configuration (in web.xml).
>> > >>
>> > >> From:
>> > >> 
>> > >>
>> > >>   org.atmosphere.cpr.broadcastFilterClasses
>> >
>> > org.apache.wicket.atmosphere.TrackMessageSizeFilter> > lue>>
>> > >> 
>> > >>
>> > >> To:
>> > >> 
>> > >>
>> > >>   org.atmosphere.cpr.AtmosphereInterceptor
>> >
>> > org.atmosphere.client.TrackMessageSizeInterceptor> > e>>
>> > >> 
>> > >> 
>> >
>> > org.atmosphere.client.TrackMessageSizeInterceptor.delimiter> > aram-name>>
>> > >>   
>> > >>
>> > >> 
>> > >>
>> > >> What is the reason of this change, what these parameters are used for?
>> > >> Actual version does not work for me and I need to know how to debug
>> > >> this. Any tip will be helpful.
>> > >>
>> > >> --
>> > >> Best regards,
>> > >> Daniel
>> > >>
>> > >> -
>> > >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> > >> For additional commands, e-mail: users-h...@wicket.apache.org
>> >
>> > -
>> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> > For additional commands, e-mail: users-h...@wicket.apache.org
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>

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



Re: Internet explorer does not display web pag content properly

2015-01-13 Thread Martin Grigorov
Hi,

This sounds like a CSS (and/or JS) issue with your application.
There is nothing Wicket related in the description of the problem.

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Tue, Jan 13, 2015 at 9:15 AM, JaneElle  wrote:

> Hi All,
>
> I would like to ask for an advice how to solve problems related to properly
> displayed web page table elements in Internet Explorer (versions higher
> that
> 8).  Namely after loading the web page all its contents is displayed
> properly. However after moving mouse the table elements are being shifted
> to
> the web page right edge and they are remaining in this location for
> approximately 1 minute. After this time the table elements come back to
> their previous position. The situation repeats with each mouse movement and
> while refreshing the web page.
>
> I would be grateful for any ideas how to resolve the issue.
>
> Cheers,
> JaneElle
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Internet-explorer-does-not-display-web-pag-content-properly-tp4668998.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Internet explorer does not display web pag content properly

2015-01-13 Thread JaneElle
Hi All, 

I would like to ask for an advice how to solve problems related to properly
displayed web page table elements in Internet Explorer (versions higher that
8).  Namely after loading the web page all its contents is displayed
properly. However after moving mouse the table elements are being shifted to
the web page right edge and they are remaining in this location for
approximately 1 minute. After this time the table elements come back to
their previous position. The situation repeats with each mouse movement and
while refreshing the web page. 

I would be grateful for any ideas how to resolve the issue.

Cheers, 
JaneElle


--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Internet-explorer-does-not-display-web-pag-content-properly-tp4668998.html
Sent from the Users forum mailing list archive at Nabble.com.

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