[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jetspeed-user
Subject:    FYI
From:       Sandeep G Nijsure <nijsure () mcs ! anl ! gov>
Date:       2002-08-28 23:05:46
[Download RAW message or body]

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:   <mailto:jetspeed-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:jetspeed-user-help@jakarta.apache.org>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic