This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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: 38441
    
  23
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: 16019
    
  20

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.