Hi,
RTFM:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/class-loader-howto.html.
It clearly (in bold, capital letters) says server/lib is not visible to
web applications.
Yoav Shapira http://www.yoavshapira.com
-Original Message-
From: Mark Claassen [mailto:[EMAIL PROTECTED]
Sent:
shared is the right directory for things to be shared by all your web apps
(shared class loader).
server/lib is for the Catalina class loader.
- Original Message -
From: Mark Claassen [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Monday, November 08, 2004 1:40 PM
.
-Original Message-
From: Mark Claassen [mailto:[EMAIL PROTECTED]
Sent: Monday, November 08, 2004 3:14 PM
To: 'Tomcat Users List'
Subject: RE: ClassLoader question
I forgot to mention that I am running 4.1, however the docs
are similar and on this point I clearly deserve any
Do you use Class.forName(MyClass) to load classes anywhere? If so, your
libraries in WEB-INF/lib or WEB-INF/classes that attempt to load the
caching library in TOMCAT_HOME/lb (called TOMCAT_HOME/shared/lib in 4.1.x)
or TOMCAT_HOME/common/lib won't be able to find it because that package was
Hi,
I had many problems with classloaders using tomcat 3.3.1.
I think you shouldn't be suprised by the LinkageError, cause you actually
load this class twice, once by the context class loader and second by the
apps
class loader.
What I don't remember is the hirarcy between these two class loaders
-INF/classes will take priority over classes added
by additionalJars.
Cheers,
Larry
-Original Message-
From: tamir [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 07, 2002 4:06 AM
To: 'Tomcat Users List'
Subject: RE: Classloader question
Hi,
I had many problems with classloaders
-Original Message-
From: Larry Isaacs [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 07, 2002 2:18 PM
To: 'Tomcat Users List'
Subject: RE: Classloader question
The classloader diagram is found at:
http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-ug.html#configuring_
classes
Because
,
Larry
-Original Message-
From: tamir [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 07, 2002 9:18 AM
To: 'Tomcat Users List'
Subject: RE: Classloader question
Hi Larry,
As I understand the additionalJars attribute, it can actually
state jars
outside
the WEB-INF/lib or WEB
.
Cheers,
Larry
-Original Message-
From: tamir [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 07, 2002 9:18 AM
To: 'Tomcat Users List'
Subject: RE: Classloader question
Hi Larry,
As I understand the additionalJars attribute, it can actually
state jars
outside
the WEB-INF/lib
Message-ID: D054B0637615D611967000D0B78059CB025571@IBM3000
From: tamir [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Subject: RE: Classloader question
Date: Tue, 7 May 2002 10:05:36 +0200
MIME-Version: 1.0
Content-Type: text/plain;
charset=WINDOWS-1255
What I don't
From: Larry Isaacs [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Subject: RE: Classloader question
Date: Tue, 7 May 2002 08:17:44 -0400
MIME-Version: 1.0
Content-Type: text/plain
Because Tomcat 3.3.x uses the JDK delagation model for
classloading, classes in the apps classloader
Check that the directory containing WEB-INF is a context path for a web
application. Perhaps Tomcat isn't recognizing your WEB-INF directory because
it doesn't know that the parent directory is the base of a web application
(or your docbase, for example).
Hope this helps...
-Richard
-
, December 17, 2001 1:13 PM
To: Tomcat Users List
Subject: Re: Classloader question
Check that the directory containing WEB-INF is a context path for a web
application. Perhaps Tomcat isn't recognizing your WEB-INF directory because
it doesn't know that the parent directory is the base of a web
]
_
-Ursprüngliche Nachricht-
Von: Heikki Doeleman [mailto:[EMAIL PROTECTED]]
Gesendet: Montag, 17. Dezember 2001 13:16
An: 'Tomcat Users List'
Betreff: RE: Classloader question
my structure is
[catalina]/webapps/[myapplication]/WEB-INF/lib
is there anything else I need to do to tell
On Mon, 17 Dec 2001, Heikki Doeleman wrote:
Date: Mon, 17 Dec 2001 13:06:21 +0100
From: Heikki Doeleman [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: '[EMAIL PROTECTED]' [EMAIL PROTECTED]
Subject: Classloader question
Hi everyone,
trying to make a web application
An: Tomcat Users List
Betreff: Re: Classloader question
On Mon, 17 Dec 2001, Heikki Doeleman wrote:
Date: Mon, 17 Dec 2001 13:06:21 +0100
From: Heikki Doeleman [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: '[EMAIL PROTECTED]' [EMAIL PROTECTED]
Subject: Classloader question
31277
Fax: +49 221 148 43963
Mobil: +49 179 59 064 59
e-Mail: [EMAIL PROTECTED]
_
-Ursprüngliche Nachricht-
Von: Guido Medina [mailto:[EMAIL PROTECTED]]
Gesendet: Montag, 17. Dezember 2001 19:03
An: 'Tomcat Users List'
Betreff: RE: Classloader question
17 matches
Mail list logo