hi johan,

i didn't make any special code about resource polling and my web.xml is
set to "DEPLOYMENT".

And the funny thing is that wickets reloads the markup even the file for
sure didn't change / wasn't touched.

Hmm, well, thinking about that i have to admit that i have a cron job
that adjust system-time every hour, so that might be the reason for
wicket thinking the file was changed.

But then still in my web.xml is

    <init-param>
      <param-name>configuration</param-name>
      <param-value>DEPLOYMENT</param-value>
    </init-param>

so why does the "polling-thread" get started?
Could you please point me to the code that is responsible for the
polling, so i could try to debug it....

Marco

Johan Compagner wrote:
> if you didn't program yourself somewhere in the code that he needs to do
> resource polling
> then this isn't possible because then we really don't check it.
> Isn't it really a poll for a new resource or a new resouce for a different
> locale?
> Or is the webapp or context not restarted suddenly somehow?
> 
> If the polling is off the markup cache will never be flushed so it will
> never be reloaded again.
> 
> johan
> 
> 
> On 6/29/06, Marco Geier <[EMAIL PROTECTED]> wrote:
>>
>> Even with "DEPLOYMENT" in web.xml, wicket reloads markup "from time to
>> time". ( i didn't yet find any rules / corellations for these sporadic
>> reloads, but they do happen - get logged)
>> This doesn't happen on my WinXp based development platform, but on the
>> FedoraCore4 based deployment platform.
>>
>> Any ideas what could cause this reloads?
>>
>> Rgds,
>>
>> M.
>>
>>
>> Johan Compagner wrote:
>> > and that shouldn't be called by yourself if possible,
>> > Just set the web.xml property or the system property to development.
>> >
>> > johan
>> >
>> >
>> > On 6/19/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
>> >>
>> >>  public void init()
>> >>   {
>> >>    configure("development", "/");
>> >>
>> >> >   }
>> >>
>> >>
>> >> -Igor
>> >>
>> >>
>> >> On 6/19/06, Stefan Arentz <[EMAIL PROTECTED]> wrote:
>> >> >
>> >> > The Wiki contains this:
>> >> >
>> >> >
>> >> >
>> >> > Sidenote: To see changes to template files immediatelly, overload
>> the
>> >> > init() method of the WebApplication class by specifying that you are
>> >> > in development mode - remember to comment out in production:
>> >> >
>> >> >   // the second parameter is the path to your template files
>> >> >   // prefixed by wicket with the web root directory (e.g. /webapp)
>> >> >   // (Default wicket configuration assumed)
>> >> >
>> >> >   public void init()
>> >> >   {
>> >> >     getSettings().configure("development", "/");
>> >> >   }
>> >> >
>> >> >
>> >> >
>> >> > But .. this doesn't work in 1.2. The getSettings method is
>> deprecated.
>> >> > What should I use instead?
>> >> >
>> >> > S.
>> >> >
>> >> >
>> >> > _______________________________________________
>> >> > Wicket-user mailing list
>> >> > [email protected]
>> >> > https://lists.sourceforge.net/lists/listinfo/wicket-user
>> >> >
>> >>
>> >>
>> >>
>> >>
>> >> _______________________________________________
>> >> Wicket-user mailing list
>> >> [email protected]
>> >> https://lists.sourceforge.net/lists/listinfo/wicket-user
>> >>
>> >>
>> >>
>> >
>> >
>> >
>> ------------------------------------------------------------------------
>> >
>> > Using Tomcat but need to do more? Need to support web services,
>> security?
>> > Get stuff done quickly with pre-integrated technology to make your job
>> easier
>> > Download IBM WebSphere Application Server v.1.0.1 based on Apache
>> Geronimo
>> >
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> >
>> >
>> >
>> ------------------------------------------------------------------------
>> >
>> > _______________________________________________
>> > Wicket-user mailing list
>> > [email protected]
>> > https://lists.sourceforge.net/lists/listinfo/wicket-user
>>
>> Using Tomcat but need to do more? Need to support web services, security?
>> Get stuff done quickly with pre-integrated technology to make your job
>> easier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache
>> Geronimo
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> _______________________________________________
>> Wicket-user mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/wicket-user
>>
> 
> 
> ------------------------------------------------------------------------
> 
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to