You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@roller.apache.org by Dan Foster <ro...@evilphb.org> on 2005/12/04 01:02:06 UTC
Tomcat restarts required?
I'm using Roller 2.0, Tomcat 5.0.27, MySQL 4.1.16, Apache 2.0.54.
If I have to make changes to properties that can't be done via the web
UI, like, say, roller-custom.properties... do I really have to restart
Tomcat for Roller to pick up on the changes?
Or is there a nicer and friendlier way of doing it?
It's not a big deal on a personal blog server, but more of a PITA in
scheduling change management at work and stuff.
-Dan
Re: Tomcat restarts required?
Posted by Matt Raible <mr...@gmail.com>.
I wouldn't recommend reloading - but rather stopping and restarting.
I believe Hibernate might be an issue when reloading.
http://www.patrickpeak.com/page/patrick/20050614#your_web_app_is_leaking
Matt
On 12/4/05, Rutger Heijmerikx <ru...@checksum.org> wrote:
> On 12/4/05, Dan Foster <ro...@evilphb.org> wrote:
> > Hot Diggety! Matt Raible was rumored to have written:
> > >
> > > No, you just need to reload the context, unless you add new JARs.
> >
> > Ahh! Ok, makes sense.
> >
> > > Modify $CATALINA_HOME/conf/tomcat-users.xml and add a user with a
> > > "manager" role. Then login to http://yourserver:port/manager/html -
> > > you should be able to start/stop or reload the context from this UI.
> >
> > Great. Already added a manager role, so all set there. Thanks!!
> >
> > -Dan
> >
>
> Unfortunately, when i reload the context with that UI i get memory
> problems (after about 2 reloads) and i can't see why. That's why i
> must restart Tomcat for now.
>
Re: Tomcat restarts required?
Posted by Rutger Heijmerikx <ru...@checksum.org>.
On 12/4/05, Dan Foster <ro...@evilphb.org> wrote:
> Hot Diggety! Matt Raible was rumored to have written:
> >
> > No, you just need to reload the context, unless you add new JARs.
>
> Ahh! Ok, makes sense.
>
> > Modify $CATALINA_HOME/conf/tomcat-users.xml and add a user with a
> > "manager" role. Then login to http://yourserver:port/manager/html -
> > you should be able to start/stop or reload the context from this UI.
>
> Great. Already added a manager role, so all set there. Thanks!!
>
> -Dan
>
Unfortunately, when i reload the context with that UI i get memory
problems (after about 2 reloads) and i can't see why. That's why i
must restart Tomcat for now.
Re: Tomcat restarts required?
Posted by Dan Foster <ro...@evilphb.org>.
Hot Diggety! Matt Raible was rumored to have written:
>
> No, you just need to reload the context, unless you add new JARs.
Ahh! Ok, makes sense.
> Modify $CATALINA_HOME/conf/tomcat-users.xml and add a user with a
> "manager" role. Then login to http://yourserver:port/manager/html -
> you should be able to start/stop or reload the context from this UI.
Great. Already added a manager role, so all set there. Thanks!!
-Dan
Re: Tomcat restarts required?
Posted by Matt Raible <mr...@gmail.com>.
On 12/3/05, Dan Foster <ro...@evilphb.org> wrote:
> I'm using Roller 2.0, Tomcat 5.0.27, MySQL 4.1.16, Apache 2.0.54.
>
> If I have to make changes to properties that can't be done via the web
> UI, like, say, roller-custom.properties... do I really have to restart
> Tomcat for Roller to pick up on the changes?
No, you just need to reload the context, unless you add new JARs.
Modify $CATALINA_HOME/conf/tomcat-users.xml and add a user with a
"manager" role. Then login to http://yourserver:port/manager/html -
you should be able to start/stop or reload the context from this UI.
Matt
>
> Or is there a nicer and friendlier way of doing it?
>
> It's not a big deal on a personal blog server, but more of a PITA in
> scheduling change management at work and stuff.
>
> -Dan
>