This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes JBoss/WildFly and the fly likes jboss+tomcat  can not find tools.jar, how to solve it? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "jboss+tomcat  can not find tools.jar, how to solve it?" Watch "jboss+tomcat  can not find tools.jar, how to solve it?" New topic
Author

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

jeffrey z. lee
Ranch Hand

Joined: Mar 21, 2002
Posts: 40
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


jeffrey z. lee
Jeff Shelley
Ranch Hand

Joined: May 21, 2003
Posts: 70
Looks like the start script should be adding tools.jar to the classpath.

Is you JAVA_HOME set?


It's almost Friday
Martijn Verburg
author
Bartender

Joined: Jun 24, 2003
Posts: 3274
    
    5

Tools.jar in the class_path of the startup script it is, nice one Jeff (I had the same frustrating problem).

Karianna


Cheers, Martijn - Blog,
Twitter, PCGen, Ikasan, My The Well-Grounded Java Developer book!,
My start-up.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jboss+tomcat can not find tools.jar, how to solve it?