Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Mohamed Ennahdi El Idrissi
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 48954
60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Posted in wrong forum: this forum is for questions about JavaRanch. Moving. I hope you don't mind, Paul.
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18156
53
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hint: a JSP gets compiled into the Java code for a Servlet.
 
Mohamed Ennahdi El Idrissi
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic