• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
  • Piet Souris
  • Himai Minh

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

Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 think he's gonna try to grab my monkey. Do we have a monkey outfit for this tiny ad?
Free, earth friendly heat - from the CodeRanch trailboss
    Bookmark Topic Watch Topic
  • New Topic