You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Sandeep G Nijsure <ni...@mcs.anl.gov> on 2002/08/29 01:05:46 UTC

FYI

Hi all,

This is a problem I encountered with out-of-the-box jetspeed distributions 
and the solution(?) to this problem.

I downloaded Jetspeed 1.3a2 Standard WAR zip, unzipped it, copied the 
jetspeed.war to $TOMCAT_HOME/webapps, and restarted Tomcat. 

When I went to test it by visiting http://localhost:8080/jetspeed/, I got 
the following Tomcat error (in short)

--------------------------------------------------------------
javax.servlet.ServletException: sun/tools/javac/Main
  		.........
		.........
root cause 
	java.lang.NoClassDefFoundError: sun/tools/javac/Main
--------------------------------------------------------------

The same problem occured with Jetspeed 1.4b1.

I started looking for solutions, and I got a (may be temporary) soln on
some mailing list (not this :)). The class sun.tools.javac.Main resides in
$JAVA_HOME/lib/tools.jar (I have verified this on Java 1.3 and 1.4, not
prior versions). Now this file should ideally be included in Tomcat's
classpath, but it was not for some reason.

The solution is to copy this tools.jar to $TOMCAT_HOME/common/lib/. 

Thought someone might be having the same problem.

cheers,
Sandeep


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>