Hi there,

I've been doing some more reading on the reset-service and I read many posts by people who say its generally a good idea to leave the reset service disabled after deployment.

Trouble is, there are also a load of posts sayings that disabling the cache is a bad idea, alleged memory leaks and the like. Also, what is the default setting for disable-cache? I'm hoping its false....

Does this mean that I simply have to restart Tomcat everytime I need to make a change?

Thanks
Dan

Inge Solvoll wrote:
This means you'll have to restart the application anyway, because you have to restart the server to get toggle on and off the reset service... So for your needs, this is no good I guess?

I found it very useful to use the reset service instead of the disabling-cache feature during development, because of the slow page load when cache is disabled.

Alexandr Kundirenko wrote:


DMG> Hi Alexandr

DMG> Where do I set this option you mention?

Set it as Java VM argument for your application server configuration.

DMG> Also, I presume this will mean that anybody can reset a page in DMG> Tapestry, whats stopping someone using a DoS attack on the reset service?

You can disable it for production.

DMG> Dan

DMG> Alexandr Kundirenko wrote:

Hello Daniel,

Enable reset service adding this option:
-Dorg.apache.tapestry.enable-reset-service=true

Usage:
http://localhost:8080/appName/app?service=reset&page=PageName






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email ______________________________________________________________________



--

Dan Garland
------------------------
[EMAIL PROTECTED]
mob: +44 (0) 7979 770053
icq: 120963437
aim: dmgarland1767


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email ______________________________________________________________________

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to