tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "neal" <nealcab...@yahoo.com>
Subject RE: Moved classes to Common Dir
Date Fri, 25 Apr 2003 05:58:51 GMT
Oops ... meant to say that load order was common and then shared.

-----Original Message-----
From: neal [mailto:nealcabage@yahoo.com]
Sent: Thursday, April 24, 2003 10:55 PM
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-howto.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