tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Moore" <tmo...@blackboard.com>
Subject RE: getting java.lang.NoClassDefFoundError
Date Tue, 28 Jan 2003 16:59:49 GMT
> -----Original Message-----
> From: Davidson, Greg [mailto:Greg.Davidson@IFLYATA.COM] 
> Sent: Tuesday, January 28, 2003 8:57 AM
> To: 'Tomcat Users List'
> Subject: RE: getting java.lang.NoClassDefFoundError
> 
> 
> Yeah, I read that, here is the problem:
> 
> I want to run Tomcat from my local PC.
> 
> I want to load the *.classes from a network drive (for night backup
> purposes) not my local drive.
> (I've changed the class path in the catalina.bat, but I don't 
> like this)
> 
> I want to run the *.jsp from a network drive (for night 
> backup purposes) not my local drive. (I've added a context in 
> the server.xml for this)

OK so if your context directory is already on a network drive, can't you
just put your classes in WEB-INF/classes and be done?  I must be
misunderstanding you.

> 
> Windows shortcuts are not the same as Unix symbolic links 
> (can't use a shortcut in the WEB-INF/classes to point to the 
> network drive)
> 
> Tomcat changes the system classpath, I tried setting the 
> system(windows) classpath to include the network drive, but 
> Tomcat changes it. (I've changed the class path in the 
> catalina.bat, but I don't like this)

My experience is that trying to muck with Tomcat's classloading scheme
only brings pain. :-\

-- 
Tim Moore / Blackboard Inc. / Software Engineer
1899 L Street, NW / 5th Floor / Washington, DC 20036
Phone 202-463-4860 ext. 258 / Fax 202-463-4863

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message