This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread 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


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: 43986
    
  33
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: 17038
    
  26

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


An IDE is no substitute for an Intelligent Developer.
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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Tomcat abnormally restarts when a JSP or Javascript file is modified.
 
It's not a secret anymore!