jQuery in Action, 2nd edition*
The moose likes IDEs, Version Control and other tools and the fly likes Tomcat abnormally restarts when a JSP or Javascript file is modified. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Tomcat abnormally restarts when a JSP or Javascript file is modified." Watch "Tomcat abnormally restarts when a JSP or Javascript file is modified." New topic
Author

Tomcat abnormally restarts when a JSP or Javascript file is modified.

Mohamed Ennahdi El Idrissi
Greenhorn

Joined: Nov 27, 2008
Posts: 3
I am currently using Eclipse Galileo with Tomcat 6.0. I don't understand why since a few days ago, tomcat restarts after building the whole worskpace because of a small modification in a JSP/HTML or javascript file. Normally it should restarts when a Java file or Servlet is modified.

Any hint?

Thanks!
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 37900
    
  22
Posted in wrong forum: this forum is for questions about JavaRanch. Moving. I hope you don't mind, Paul.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15950
    
  19

Hint: a JSP gets compiled into the Java code for a Servlet.


Customer surveys are for companies who didn't pay proper attention to begin with.
Mohamed Ennahdi El Idrissi
Greenhorn

Joined: Nov 27, 2008
Posts: 3
That's right, but that was not the result before. I used to modifying a JSP and Tomcat wouldn't restart, as I said, even javascript files cause a whole workspace building and tomcat restarts again and again and again...

I tried to disable the auto build, and then I disabled tomcat auto-reload until I resolve the problem.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat abnormally restarts when a JSP or Javascript file is modified.
 
Similar Threads
Tomcat Manager Authentication fails
How to prevent the browser from executing the old version of js file...
Urgent please help me
Persistent authentication
onload for JSP