Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Restart Tomcat when change tag in JSP

 
Tom Henricksen
Author
Ranch Hand
Posts: 144
5
Eclipse IDE jQuery Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We have a user who must restart there Tomcat(5.0.28) when they change a
custom tag code in the JSP. He is using Eclispe 3.1.2 and Web Standard
Tools 1.0.3. Would there be anything in Tomcat's server configuration
that could cause this? When he changes regular plain text in JSP it is seen
with just reopening the browser. All the rest of our users do not have to restart Tomcat.

The user has a context file in conf/Catalina/localhost

<?xml version='1.0' encoding='utf-8'?>
<Context debug="4"
docBase="C:/projects/Java/bop-med/web" path="/bop-med"
reloadable="true" workDir="work\Catalina\localhost\bop-med">
</Context>

So we have reloadable set to true.

Thanks,
Tom
[ November 03, 2006: Message edited by: Tom Henricksen ]
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64700
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Whenever a class changes, the web application must be reloaded. The Tomcat manager app can be used to start and stop the web apps indiciually wihtou having to restart Tomcat itself.

I've found that the auto-reload capability is spotty. Sometimes Tomcat detects when something has changed, most times it doesn't.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic