tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cox, Charlie" <c...@cincom.com>
Subject RE: Moved classes to Common Dir
Date Fri, 25 Apr 2003 12:56:14 GMT
you have to have all your classes in common/classes. you can not leave some
under WEB-INF that the ones in /common need. What errors are you getting?

> -----Original Message-----
> From: neal [mailto:nealcabage@yahoo.com]
> Sent: Friday, April 25, 2003 1:55 AM
> To: Tomcat Users List
> Subject: RE: Moved classes to Common Dir
> 
> 
> Well, I thought I read that class loading order is classes 
> and then shared
> ... so either way it seems that wouldn't matter ... but for 
> what its worth I
> also tried using shared.  Of course, these are classes (not a 
> jar) so I
> placed them into common/classes and shared/classes, rather than the
> respective lib directories.  It still didn't work though.  :(
> 
> 
> -----Original Message-----
> From: Michael Gerdau [mailto:mgd@technosis.de]
> Sent: Thursday, April 24, 2003 10:40 PM
> To: Tomcat Users List
> Subject: Re: Moved classes to Common Dir
> 
> 
> >I moved some classes from my webApp's web-inf directory, to 
> the Tomcat
> >Common directory so that another webApp could share the same 
> classes.  But,
> >now I'm getting errors when I start Tomcat.
> >
> >Shouldn't it have been this simple?  What did I miss?
> 
> According to
> http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-h
owto.html
classes shared between webapps should be put into
$(TOMCAT_HOME)/shared/lib.

Best,
Michael
--
 Vote against SPAM - see http://www.politik-digital.de/spam/
 Michael Gerdau       email: mgd@technosis.de
 Help stamp out vandalism, or I'll break all your windows.
 GPG/PGP-keys available on request or at public keyserver



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


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

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


Mime
View raw message