Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jboss+tomcat can not find tools.jar, how to solve it?

 
jeffrey z. lee
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
the jboss I am using is bundled with tomcat. it can start normally, but and showes following message when JSP is accessed to:
############################
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.
##############################

my problem is that the bundled tomcat has no the common/lib directory to put tools.jar. how to solve this problem?
thanks
 
Jeff Shelley
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Looks like the start script should be adding tools.jar to the classpath.

Is you JAVA_HOME set?
 
Martijn Verburg
author
Bartender
Posts: 3275
5
Eclipse IDE Java Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tools.jar in the class_path of the startup script it is, nice one Jeff (I had the same frustrating problem).

Karianna
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic