You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Alexandr Kundirenko <ak...@gmail.com> on 2005/11/09 15:02:38 UTC
Re[2]: Live change strategy
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: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: Live change strategy
Posted by Daniel M Garland <da...@titanemail.com>.
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: tapestry-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>>
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>
> ______________________________________________________________________
> This email has been scanned by the MessageLabs Email Security System.
> For more information please visit http://www.messagelabs.com/email
> ______________________________________________________________________
>
>
--
Dan Garland
------------------------
daniel.garland@titanemail.com
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: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: Live change strategy
Posted by Inge Solvoll <ta...@ingenett.com>.
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: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org