You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by geke <ge...@yahoo.de> on 2008/10/30 09:46:21 UTC

Hot deployment / Server restart

Hi,

on every change in my HTML or Java file the tomcat 6.0 server restarts
completely, for example if I change the css definitions. This is annoying
and primarily time-consuming. 
Is there a possibility that the server only restarts, if for example the
method signature in the java file or a tag with wicket:id in the HTML file
changes, and I although see the last changes in the websites?  
The less the server restarts the better.

-- 
View this message in context: http://www.nabble.com/Hot-deployment---Server-restart-tp20242820p20242820.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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


Re: Hot deployment / Server restart

Posted by John Krasnay <jo...@krasnay.ca>.
You can fix this through Eclipse too...

- double-click your Tomcat server in your Servers view
- select the Modules tab on the resulting editor page
- select your application module and click Edit
- de-select "Auto reloading enabled" and click OK
- save the editor page and restart Tomcat

jk

On Thu, Oct 30, 2008 at 10:40:40AM +0100, Witold Czaplewski wrote:
> In your context.xml did you set the attribute reloadable on true?
> 
> On true catalina monitors classes in /WEB-INF/classes for
> changes and automatically reloads the application.
> 
> 
> Am Thu, 30 Oct 2008 02:31:08 -0700 (PDT)
> schrieb geke <ge...@yahoo.de>:
> 
> > 
> > No I´m working with Tomcat 6.0
> > 
> > 
> > 
> > francisco treacy-2 wrote:
> > > 
> > > i suggest you use the jetty container for development. you can find
> > > a perfect working example in the wicket quickstart archetype:
> > > http://wicket.apache.org/quickstart.html
> > > 
> > > francisco
> > > 
> > > On Thu, Oct 30, 2008 at 10:11 AM, geke <ge...@yahoo.de>
> > > wrote:
> > >>
> > >> My IDE is eclipse-jee-ganymede.
> > >> Where can I find such information?
> > >>
> > >>
> > >>
> > >> martin-g wrote:
> > >>>
> > >>> Wicket doesn't control the lifecycle of the web container.
> > >>> There is something else that triggers the restart (maybe the
> > >>> IDE ?!).
> > >>>
> > >>> On Thu, 2008-10-30 at 01:46 -0700, geke wrote:
> > >>>> Hi,
> > >>>>
> > >>>> on every change in my HTML or Java file the tomcat 6.0 server
> > >>>> restarts completely, for example if I change the css
> > >>>> definitions. This is annoying
> > >>>> and primarily time-consuming.
> > >>>> Is there a possibility that the server only restarts, if for
> > >>>> example the
> > >>>> method signature in the java file or a tag with wicket:id in the
> > >>>> HTML file
> > >>>> changes, and I although see the last changes in the websites?
> > >>>> The less the server restarts the better.
> > >>>>
> > >>>
> > >>>
> > >>> ---------------------------------------------------------------------
> > >>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> > >>> For additional commands, e-mail: users-help@wicket.apache.org
> > >>>
> > >>>
> > >>>
> > >>
> > >> --
> > >> View this message in context:
> > >> http://www.nabble.com/Hot-deployment---Server-restart-tp20242820p20243162.html
> > >> Sent from the Wicket - User mailing list archive at Nabble.com.
> > >>
> > >>
> > >> ---------------------------------------------------------------------
> > >> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> > >> For additional commands, e-mail: users-help@wicket.apache.org
> > >>
> > >>
> > > 
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> > > For additional commands, e-mail: users-help@wicket.apache.org
> > > 
> > > 
> > > 
> > 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
> 

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


Re: Hot deployment / Server restart

Posted by Witold Czaplewski <wi...@cts-media.eu>.
In your context.xml did you set the attribute reloadable on true?

On true catalina monitors classes in /WEB-INF/classes for
changes and automatically reloads the application.


Am Thu, 30 Oct 2008 02:31:08 -0700 (PDT)
schrieb geke <ge...@yahoo.de>:

> 
> No I´m working with Tomcat 6.0
> 
> 
> 
> francisco treacy-2 wrote:
> > 
> > i suggest you use the jetty container for development. you can find
> > a perfect working example in the wicket quickstart archetype:
> > http://wicket.apache.org/quickstart.html
> > 
> > francisco
> > 
> > On Thu, Oct 30, 2008 at 10:11 AM, geke <ge...@yahoo.de>
> > wrote:
> >>
> >> My IDE is eclipse-jee-ganymede.
> >> Where can I find such information?
> >>
> >>
> >>
> >> martin-g wrote:
> >>>
> >>> Wicket doesn't control the lifecycle of the web container.
> >>> There is something else that triggers the restart (maybe the
> >>> IDE ?!).
> >>>
> >>> On Thu, 2008-10-30 at 01:46 -0700, geke wrote:
> >>>> Hi,
> >>>>
> >>>> on every change in my HTML or Java file the tomcat 6.0 server
> >>>> restarts completely, for example if I change the css
> >>>> definitions. This is annoying
> >>>> and primarily time-consuming.
> >>>> Is there a possibility that the server only restarts, if for
> >>>> example the
> >>>> method signature in the java file or a tag with wicket:id in the
> >>>> HTML file
> >>>> changes, and I although see the last changes in the websites?
> >>>> The less the server restarts the better.
> >>>>
> >>>
> >>>
> >>> ---------------------------------------------------------------------
> >>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> >>> For additional commands, e-mail: users-help@wicket.apache.org
> >>>
> >>>
> >>>
> >>
> >> --
> >> View this message in context:
> >> http://www.nabble.com/Hot-deployment---Server-restart-tp20242820p20243162.html
> >> Sent from the Wicket - User mailing list archive at Nabble.com.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> >> For additional commands, e-mail: users-help@wicket.apache.org
> >>
> >>
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> > For additional commands, e-mail: users-help@wicket.apache.org
> > 
> > 
> > 
> 

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


Re: Hot deployment / Server restart

Posted by geke <ge...@yahoo.de>.
No I´m working with Tomcat 6.0



francisco treacy-2 wrote:
> 
> i suggest you use the jetty container for development. you can find a
> perfect working example in the wicket quickstart archetype:
> http://wicket.apache.org/quickstart.html
> 
> francisco
> 
> On Thu, Oct 30, 2008 at 10:11 AM, geke <ge...@yahoo.de> wrote:
>>
>> My IDE is eclipse-jee-ganymede.
>> Where can I find such information?
>>
>>
>>
>> martin-g wrote:
>>>
>>> Wicket doesn't control the lifecycle of the web container.
>>> There is something else that triggers the restart (maybe the IDE ?!).
>>>
>>> On Thu, 2008-10-30 at 01:46 -0700, geke wrote:
>>>> Hi,
>>>>
>>>> on every change in my HTML or Java file the tomcat 6.0 server restarts
>>>> completely, for example if I change the css definitions. This is
>>>> annoying
>>>> and primarily time-consuming.
>>>> Is there a possibility that the server only restarts, if for example
>>>> the
>>>> method signature in the java file or a tag with wicket:id in the HTML
>>>> file
>>>> changes, and I although see the last changes in the websites?
>>>> The less the server restarts the better.
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>
>>>
>>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Hot-deployment---Server-restart-tp20242820p20243162.html
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Hot-deployment---Server-restart-tp20242820p20243387.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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


Re: Hot deployment / Server restart

Posted by francisco treacy <fr...@gmail.com>.
i suggest you use the jetty container for development. you can find a
perfect working example in the wicket quickstart archetype:
http://wicket.apache.org/quickstart.html

francisco

On Thu, Oct 30, 2008 at 10:11 AM, geke <ge...@yahoo.de> wrote:
>
> My IDE is eclipse-jee-ganymede.
> Where can I find such information?
>
>
>
> martin-g wrote:
>>
>> Wicket doesn't control the lifecycle of the web container.
>> There is something else that triggers the restart (maybe the IDE ?!).
>>
>> On Thu, 2008-10-30 at 01:46 -0700, geke wrote:
>>> Hi,
>>>
>>> on every change in my HTML or Java file the tomcat 6.0 server restarts
>>> completely, for example if I change the css definitions. This is annoying
>>> and primarily time-consuming.
>>> Is there a possibility that the server only restarts, if for example the
>>> method signature in the java file or a tag with wicket:id in the HTML
>>> file
>>> changes, and I although see the last changes in the websites?
>>> The less the server restarts the better.
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>>
>
> --
> View this message in context: http://www.nabble.com/Hot-deployment---Server-restart-tp20242820p20243162.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

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


Re: Hot deployment / Server restart

Posted by geke <ge...@yahoo.de>.
My IDE is eclipse-jee-ganymede.
Where can I find such information?



martin-g wrote:
> 
> Wicket doesn't control the lifecycle of the web container.
> There is something else that triggers the restart (maybe the IDE ?!).
> 
> On Thu, 2008-10-30 at 01:46 -0700, geke wrote:
>> Hi,
>> 
>> on every change in my HTML or Java file the tomcat 6.0 server restarts
>> completely, for example if I change the css definitions. This is annoying
>> and primarily time-consuming. 
>> Is there a possibility that the server only restarts, if for example the
>> method signature in the java file or a tag with wicket:id in the HTML
>> file
>> changes, and I although see the last changes in the websites?  
>> The less the server restarts the better.
>> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Hot-deployment---Server-restart-tp20242820p20243162.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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


Re: Hot deployment / Server restart

Posted by Martin Grigorov <mc...@e-card.bg>.
Wicket doesn't control the lifecycle of the web container.
There is something else that triggers the restart (maybe the IDE ?!).

On Thu, 2008-10-30 at 01:46 -0700, geke wrote:
> Hi,
> 
> on every change in my HTML or Java file the tomcat 6.0 server restarts
> completely, for example if I change the css definitions. This is annoying
> and primarily time-consuming. 
> Is there a possibility that the server only restarts, if for example the
> method signature in the java file or a tag with wicket:id in the HTML file
> changes, and I although see the last changes in the websites?  
> The less the server restarts the better.
> 


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