aspose file tools
The moose likes JBoss and the fly likes jboss+tomcat  can not find tools.jar, how to solve it? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » JBoss
Reply 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: 3268

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://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: jboss+tomcat can not find tools.jar, how to solve it?
 
Similar Threads
Help me please, this is for my graduation.
Unable to compile class for JSP No Java compiler was found to compile the generated s
Unable to compile class for JSP
Unable to compile class for JSP
class-path problem in tomcat.