You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by David <co...@max-imp.com> on 2005/12/06 23:07:35 UTC

server startup

I have been trying to find some information on how to speed up the start 
up of cocoon. I found how to speed up applications in it but not the 
start up.

The only thing I have found that helps is the obvious -- turning off 
blocks that are not needed.

Any one have some tips?

The reason I am trying to speed it up is because when I'm developing I 
constantly have to reload cocoon. The slow start up slows down development.

Thanks,
David


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


Re: server startup

Posted by Nouguier Olivier <ol...@wanadoo.fr>.
Hi all,
 Even if you coding java stuff. Eclipse IDE support hot class reloading.
You just have to run tomcat/cocoon inside eclipse, and it's done.
The only limitation is linked to hot class reloading, classes will be
hot reloaded *ONLY* if theirs "interfaces" remains unchanged.

Hot class reloading will failed if:
* a member name change (new, change, delete) *

On Tue, 2005-12-06 at 23:58 +0000, Upayavira wrote:
> David wrote:
> > I have been trying to find some information on how to speed up the start
> > up of cocoon. I found how to speed up applications in it but not the
> > start up.
> > 
> > The only thing I have found that helps is the obvious -- turning off
> > blocks that are not needed.
> > 
> > Any one have some tips?
> > 
> > The reason I am trying to speed it up is because when I'm developing I
> > constantly have to reload cocoon. The slow start up slows down development.
> 
> The art is to not restart Cocoon. There are various ways of achieving this.
> 
> The question though is: what are you doing that requires restarts? Java
> coding?
> 
> Upayavira
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 
> ---------------------------------------------------------------------------------------
> Wanadoo vous informe que cet  e-mail a ete controle par l'anti-virus mail. 
> Aucun virus connu a ce jour par nos services n'a ete detecte.
> 
> 
> 



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


Re: server startup

Posted by Freek Segers <fr...@nerocmediaware.nl>.
Yes, it does work in Jetty. However, I noticed that when you replace  
a JAR file, things don't always reload correctly. Although the change  
is noticed, some files in it appear corrupted until you restart  
Jetty. I specifically have this problem with XSL files that are  
stored in an JAR.

Freek.

On 13-dec-2005, at 20:20, Mark Lundquist wrote:

>
> On Dec 13, 2005, at 11:07 AM, Adam Constabaris wrote:
>
>> In general, it works with Tomcat if you start it with JPDA enabled  
>> (on unix : $TOMCAT_HOME/bin/startup.sh jpda start) and connect a  
>> remote session from Eclipse.
>
> Thanks... this should work with Jetty as well then, right?
> —ml—
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org


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


Re: server startup

Posted by Mark Lundquist <ml...@wrinkledog.com>.
On Dec 13, 2005, at 11:07 AM, Adam Constabaris wrote:

> In general, it works with Tomcat if you start it with JPDA enabled (on 
> unix : $TOMCAT_HOME/bin/startup.sh jpda start) and connect a remote 
> session from Eclipse.

Thanks... this should work with Jetty as well then, right?
—ml—


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


Re: server startup

Posted by Adam Constabaris <ad...@unc.edu>.
Mark Lundquist wrote:
> 
> On Dec 13, 2005, at 4:18 AM, Nouguier Olivier wrote:
> 
>>  Even if you coding java stuff. Eclipse IDE support hot class reloading.
>> You just have to run tomcat/cocoon inside eclipse, and it's done.
> 
> 
> Does this work with remote debugging in Eclipse, or do you actually have 
> to have Eclipse start the Java program?
> �ml�

In general, it works with Tomcat if you start it with JPDA enabled (on 
unix : $TOMCAT_HOME/bin/startup.sh jpda start) and connect a remote 
session from Eclipse.

AC

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


Re: server startup

Posted by Nouguier Olivier <ol...@orcades.net>.
Personaly, I use the sysdep tomcat plugin (so tomcat is started within
eclipse(, not remote )).
On Tue, 2005-12-13 at 10:54 -0800, Mark Lundquist wrote:
> On Dec 13, 2005, at 4:18 AM, Nouguier Olivier wrote:
> 
> >  Even if you coding java stuff. Eclipse IDE support hot class 
> > reloading.
> > You just have to run tomcat/cocoon inside eclipse, and it's done.
> 
> Does this work with remote debugging in Eclipse, or do you actually 
> have to have Eclipse start the Java program?
> —ml—
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 
http://www.orcades.net 
Orcades-lr                 Création de site - Référencement - Conseil
4ter Bd Montpellier
Bat B
34000 MONTPELLIER FRANCE





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


Re: server startup

Posted by Mark Lundquist <ml...@wrinkledog.com>.
On Dec 13, 2005, at 4:18 AM, Nouguier Olivier wrote:

>  Even if you coding java stuff. Eclipse IDE support hot class 
> reloading.
> You just have to run tomcat/cocoon inside eclipse, and it's done.

Does this work with remote debugging in Eclipse, or do you actually 
have to have Eclipse start the Java program?
—ml—


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


Re: server startup

Posted by Nouguier Olivier <ol...@orcades.net>.
Hi all,
 Even if you coding java stuff. Eclipse IDE support hot class reloading.
You just have to run tomcat/cocoon inside eclipse, and it's done.
The only limitation is linked to hot class reloading, classes will be
hot reloaded *ONLY* if theirs "interfaces" remains unchanged.

Hot class reloading will failed if:
* a member (attribute or method) name change (new, change, delete) *

On Tue, 2005-12-06 at 23:58 +0000, Upayavira wrote:
> David wrote:
> > I have been trying to find some information on how to speed up the start
> > up of cocoon. I found how to speed up applications in it but not the
> > start up.
> > 
> > The only thing I have found that helps is the obvious -- turning off
> > blocks that are not needed.
> > 
> > Any one have some tips?
> > 
> > The reason I am trying to speed it up is because when I'm developing I
> > constantly have to reload cocoon. The slow start up slows down development.
> 
> The art is to not restart Cocoon. There are various ways of achieving this.
> 
> The question though is: what are you doing that requires restarts? Java
> coding?
> 
> Upayavira
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 
> ---------------------------------------------------------------------------------------
> Wanadoo vous informe que cet  e-mail a ete controle par l'anti-virus mail. 
> Aucun virus connu a ce jour par nos services n'a ete detecte.
> 
> 
> 
http://www.orcades.net 
Orcades-lr                 Création de site - Référencement - Conseil
4ter Bd Montpellier
Bat B
34000 MONTPELLIER FRANCE





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


Re: server startup

Posted by Upayavira <uv...@odoko.co.uk>.
David wrote:
> I have been trying to find some information on how to speed up the start
> up of cocoon. I found how to speed up applications in it but not the
> start up.
> 
> The only thing I have found that helps is the obvious -- turning off
> blocks that are not needed.
> 
> Any one have some tips?
> 
> The reason I am trying to speed it up is because when I'm developing I
> constantly have to reload cocoon. The slow start up slows down development.

The art is to not restart Cocoon. There are various ways of achieving this.

The question though is: what are you doing that requires restarts? Java
coding?

Upayavira

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