Re: Wicket page serialization what causes delay?

2015-07-01 Thread Urbani, Edmund
It could be caused by serialization, IF the serialized object graph is sufficiently large (even without causing additional database access). But in that case too, you very, very likely have objects in there, that you do not want to actually serialize. Check members variables of your pages,

Re: Wicket page serialization what causes delay?

2015-07-01 Thread Francois Meillet
There is very little chance that the problem come from the serialization. Do you use the Open Session in View pattern ? with some OpensessionInViewFilter filter ? I guess when the page is serialized, some requests are done against the database to load collections or initialize proxies that

Re: Wicket page serialization what causes delay?

2015-07-01 Thread Martin Grigorov
Hi, On Wed, Jul 1, 2015 at 4:31 PM, Urbani, Edmund edmund.urb...@lilandit.com wrote: It could be caused by serialization, IF the serialized object graph is sufficiently large (even without causing additional database access). But in that case too, you very, very likely have objects in there,

Wicket page serialization what causes delay?

2015-07-01 Thread Jagan Josyula
Dear All, I have a wicket page in which I have master-detail table on click of master table row the child table displays the information. I have a lot of delay to display the child information, when I check the log I found that the reason for this is page serialization, if I remove the page

Re: junit, weblogic and ldap

2015-07-01 Thread limaia
Thanks for answer me! I tried this tutorial. But when I run as JUnit Test, the eclipse show the following error: /Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial./ thanks, -- View this

Re: junit, weblogic and ldap

2015-07-01 Thread Martin Grigorov
Hi, It seems your unit test is actually an integration test. WicketTester doesn't need an actual web server running. Your test (ot the code being tested) assumes that there is a real application server running and tries to lookup something from JNDI. Can you share the test with us? Paste it in a

Re: junit, weblogic and ldap

2015-07-01 Thread limaia
Hi! There is my test code: http://pastebin.com/87TQjcyR http://pastebin.com/87TQjcyR And there is th code being tested, where the error occurred: http://pastebin.com/VGVmQjSP http://pastebin.com/VGVmQjSP I suppose I have to configure manually the context. Is it right? thanks, cumps, --

Re: junit, weblogic and ldap

2015-07-01 Thread Martin Grigorov
On Wed, Jul 1, 2015 at 2:16 PM, limaia limaia...@gmail.com wrote: Hi! There is my test code: http://pastebin.com/87TQjcyR http://pastebin.com/87TQjcyR And there is th code being tested, where the error occurred: http://pastebin.com/VGVmQjSP http://pastebin.com/VGVmQjSP I suppose I have