This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

"No Java compiler" error after server been up for a while

Fedor Smirnoff
Ranch Hand
Posts: 45
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello, this is weird, I have about 50 identical applications running on Tomcat5 under different application names. Everything works fine for about 6 hours, than all of a sudden I start getting
No Java compiler was found to compile the generated source for the JSP.
This can usually be solved by copying manually $JAVA_HOME/lib/tools.jar from the JDK
to the common/lib directory of the Tomcat server, followed by a Tomcat restart.
If using an alternate Java compiler, please check its installation and access path.
It would be easy to track if it was happenning all the time, however even just restarting Tomcat takes care of the problem. I do have JAVA_HOME and CATALINA_HOME defined and again, same application will run just fine for a while until giving this error, whch is fixed by restarting Tomcat. Any ideas? Maybe it has something to do with me moving everything out of "WEB-INF/lib" from each individual application to "Tomcat5\common\lib", all the applications are identical though and use same .jar files. But if that would be the problem why it doesnt error all the time? Really need your help on this one, thanks.
I agree. Here's the link:
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic