You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Akoulov, Alexandre [SB]" <al...@citigroup.com> on 2006/05/17 06:16:57 UTC
Reloadable context
Hi ,
I am using tomcat-5.5.12 and would like it to auto reload my web app as soon as it detects the change of the web app class(es). That's why i've turned on the "reloadable" attribute of the Context element that defines my web app:
<Context path="/myWebApp" docBase="/home/testUser/myWebApp" reloadable="true" crossContext="true" allowLinking="true" />
It does not seem to work. When I recompile one of myWebApp's servlets tomcat detects the change but then throws a warning:
May 17, 2006 7:33:41 AM org.apache.catalina.core.StandardContext reload
INFO: Reloading this Context has started
May 17, 2006 7:34:01 AM org.apache.catalina.core.ApplicationDispatcher invoke
WARNING: Servlet invoker is currently unavailable
So I've got to restart tomcat to get my change deployed.
Any idea on what I am missing?
Thanks a lot.
Alex.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: help, windows tomcat multiple instances
Posted by Lonnie <lm...@nwgeo.com>.
I found this article useful for clustering tomcats.
http://www.ericsson.com/mobilityworld/sub/open/technologies/open_development
_tips/tools/tomcat_web_apache
-----Original Message-----
From: Bharathi Kattamuri [mailto:Bharathi.Kattamuri@manchester.ac.uk]
Sent: Wednesday, May 17, 2006 7:11 AM
To: Tomcat Users List
Subject: help, windows tomcat multiple instances
Hi,
I am trying to connect Apache webserver with multiple instances of tomcat.
I added following line in httpd.conf of apache and apahce is starting
fine and forwarding requests to tomcat. Some how tomcat multiple
instances are not active.
LoadModule jk_module modules/mod_jk.so
NameVirtualHost 130.88.1.52
<VirtualHost 130.88.1.52>
ServerAdmin Bharathi.Kattamuri@manchester.ac.uk
DocumentRoot C:\opt\tomcat_instance1\webapps\servlets-examples
ServerName www.xyz.com:80
ErrorLog logs/dummy-host.example.com-error_log
CustomLog logs/dummy-host.example.com-access_log common
JkMount /servlets-examples/* worker1
</VirtualHost>
I am using windows and starting Tomcat as a service. how to start
tomcat multiple instances? Any help is appreciated.
with regards,
Bharathi.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
help, windows tomcat multiple instances
Posted by Bharathi Kattamuri <Bh...@manchester.ac.uk>.
Hi,
I am trying to connect Apache webserver with multiple instances of tomcat.
I added following line in httpd.conf of apache and apahce is starting
fine and forwarding requests to tomcat. Some how tomcat multiple
instances are not active.
LoadModule jk_module modules/mod_jk.so
NameVirtualHost 130.88.1.52
<VirtualHost 130.88.1.52>
ServerAdmin Bharathi.Kattamuri@manchester.ac.uk
DocumentRoot C:\opt\tomcat_instance1\webapps\servlets-examples
ServerName www.xyz.com:80
ErrorLog logs/dummy-host.example.com-error_log
CustomLog logs/dummy-host.example.com-access_log common
JkMount /servlets-examples/* worker1
</VirtualHost>
I am using windows and starting Tomcat as a service. how to start
tomcat multiple instances? Any help is appreciated.
with regards,
Bharathi.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Reloadable context
Posted by Rajeev Jha <jh...@gmail.com>.
No idea on what you are missing.
you try reloading the application from tomcat manager application. that
works for me.
Atleast you save the restart trouble.
Akoulov, Alexandre [SB] wrote:
>Hi ,
>
>
>So I've got to restart tomcat to get my change deployed.
>
>Any idea on what I am missing?
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org