Hi there,
I embedded Tomcat Embedded edition into my app. Here's a brief folder
structureof my app:
/
lib
bin
Tomcat
lib
webapps
myapp
WEB-INF
li
Arg... My bad
The test has been done, but a jar was remaining in the WEB-INF
Antony Paul wrote:
May be there are two jar files or unzipped class files of the same
class. Check for it also.
rgds
Antony Paul
On Thu, 23 Dec 2004 16:22:33 +0100, Lionel Pasquier
<[EMAIL PROTECTED]> wrote:
We
May be there are two jar files or unzipped class files of the same
class. Check for it also.
rgds
Antony Paul
On Thu, 23 Dec 2004 16:22:33 +0100, Lionel Pasquier
<[EMAIL PROTECTED]> wrote:
> Well, I tried to put the library in common/lib (and I think also for a
> different try, in shared/lib). U
Well, I tried to put the library in common/lib (and I think also for a
different try, in shared/lib). Usually it is in WEB-INF/lib.
But the problem occured also.
I believe that the factory used by the jvm searches for the first
instance of the JCE. Then it tries to cast it into another instance
Where you put the provider jar file ?. WEB-INF/lib ?. Try putting it
in shared/lib or common/lib if the same jar file is used by multiple
applications.
rgds
Antony Paul
On Thu, 23 Dec 2004 15:01:04 +0530, Antony Paul <[EMAIL PROTECTED]> wrote:
> Which JCE provider you are using ?
>
> rgds
> Ant
Which JCE provider you are using ?
rgds
Antony Paul
On Tue, 21 Dec 2004 20:06:40 +0100, Lionel Pasquier
<[EMAIL PROTECTED]> wrote:
> Hello again!
>
> Any guru around to solve my problem please? :-)
>
> Lionel Pasquier wrote:
>
> > Hello,
> >
> > I have a trouble with using a JCE and multiple
Hello again!
Any guru around to solve my problem please? :-)
Lionel Pasquier wrote:
Hello,
I have a trouble with using a JCE and multiple contexts. From what I
could have read around here this is probably linked to a classloader
problem. Could you guys help?
Basicaly, I generate a RSA Keypair, t
Hello,
I have a trouble with using a JCE and multiple contexts. From what I
could have read around here this is probably linked to a classloader
problem. Could you guys help?
Basicaly, I generate a RSA Keypair, then create a certificate and want
to self sign it. Finally i need to store the priv
.
> -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 simila
; Sent: Monday, November 08, 2004 2:47 PM
> To: Tomcat Users List
> Subject: RE: ClassLoader question
>
>
>
> Hi,
> RTFM:
> http://jakarta.apache.org/tomcat/tomcat-5.0-doc/class-loader-h
> owto.html.
> It clearly (in bold, capital letters) says server/lib is not
>
TED]>
Sent: Monday, November 08, 2004 1:40 PM
Subject: ClassLoader question
> What is the difference between the server/lib and shared directories as
far
> as the class loaders are concerned?
>
> Background:
> ---
> I was having trouble with CGI scripts, so I wanted
>Sent: Monday, November 08, 2004 2:40 PM
>To: 'Tomcat Users List'
>Subject: ClassLoader question
>
>What is the difference between the server/lib and shared directories as
far
>as the class loaders are concerned?
>
>Background:
>---
>I was having tr
What is the difference between the server/lib and shared directories as far
as the class loaders are concerned?
Background:
---
I was having trouble with CGI scripts, so I wanted to creat a new CGIServlet
to run some tests. To start the process, I copied source of the tomcat
CGIServlet fi
- Original Message -
From: "Jeanfrancois Arcand" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Friday, April 16, 2004 5:52 PM
Subject: Re: Extending GenericPrincipal/RealmBase: Essentially a classloader
question
> Have yo
anager.
-- Jeanfrancois
*sigh* Any thoughts?
- Original Message -
From: "Jeanfrancois Arcand" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Thursday, April 15, 2004 2:55 PM
Subject: Re: Extending GenericPrincipal/RealmBase: Essentially a
thoughts?
- Original Message -
From: "Jeanfrancois Arcand" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Thursday, April 15, 2004 2:55 PM
Subject: Re: Extending GenericPrincipal/RealmBase: Essentially a classloader
question
&
whatever you want.
-- Jeanfrancois
Regards,
Rossen Raykov
-Original Message-
From: John H [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 15, 2004 1:32 PM
To: Tomcat Users List
Subject: Re: Extending GenericPrincipal/RealmBase:
Essentially a classloader question
Webap
o prohibit both reflection and access to other classloaders.
-Original Message-
From: Rossen Raykov [mailto:[EMAIL PROTECTED]
Sent: Thu 4/15/2004 9:50 PM
To: 'Tomcat Users List'
Cc:
Subject:RE: Extending GenericPrincipal/RealmBase: Essentially a classloader
gt; Subject: Re: Extending GenericPrincipal/RealmBase:
> Essentially a classloader question
>
>
> Webapps can see GenericPrincipal only when I move
> catalina.jar to common/lib. That's the kicker. Catalina has
> supplied a nice generic principal that implements
> java.se
John H wrote:
HI all,
He have implemented our own realm and principal buy extending org.apache.catalina.realm.RealmBase and GenericPrincipal.
(Using TC5.0.19 on Solaris and Windows. Realm defined in .)
By doing this, however, we've got ourselves into sort of a catch 22 in terms of classloadin
st be missing the reasoning behind that.
- Original Message -
From: "Benjamin Armintor" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Thursday, April 15, 2004 12:34 PM
Subject: RE: Extending GenericPrincipal/RealmBase: Essentially a classl
Message-
From: John H [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 15, 2004 11:25 AM
To: Tomcat Users List
Subject: Extending GenericPrincipal/RealmBase: Essentially a classloader question
HI all,
He have implemented our own realm and principal buy extending
HI all,
He have implemented our own realm and principal buy extending
org.apache.catalina.realm.RealmBase and GenericPrincipal.
(Using TC5.0.19 on Solaris and Windows. Realm defined in .)
By doing this, however, we've got ourselves into sort of a catch 22 in terms of
classloading. Hopefully so
ge-
>From: Julie H. Zhu [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, June 17, 2003 11:46 AM
>To: [EMAIL PROTECTED]
>Subject: Re: AW: Classloader question
>
>I ran into a strange problem that may have some thing to do with the
>Classloader in Tomcat.
>
>I have a servlet app
I ran into a strange problem that may have some thing to do with the
Classloader in Tomcat.
I have a servlet application which is running fine by itself under
Tomcat. However, if there is another application running at the same
time, it throws NoClassDef exception, especially when it needs to acce
hi all,
trying to reference the userDatabase from my application, but get a Class
CastException. Here is my code:
javax.naming.Context ctx = new InitialContext();
Object ud = ctx.lookup("java:comp/env/userDatabase");
//System.out.println(ud.getClass().getClassLoader());
UserDatabase usrd = (UserD
Hello:
I have some web application using commons-digester and common-dbcp. When I upgrade
from
tc 4.0->tc 4.1.12, I found there are some jar in common/lib and server/lib. From the
Class Loader Howto,
it is assumed following class search order:
/WEB-INF/classes of your web application
/W
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
I am deploying several web applications which access data through the
proxy/facade pattern into EJB's. Some of this data is shared across
applications. I have 1 jar file that is shared, and handles some in
memory caching of data, etc. In tomcat 3.3, I have this jar in the
lib/apps director
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
>classl
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;
chars
aware of an equivalent feature in Tomcat 4.x.
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 understa
eature in Tomcat 4.x.
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 attribu
-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_
clas
; will be
searched after WEB-INF/classes, so a different version of a
class in WEB-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
D]]
Sent: Tuesday, May 07, 2002 7:06 AM
To: [EMAIL PROTECTED]
Subject: Classloader question
Hello,
I have a situation with Tomcat 3.3a where I am trying
to allow a specific servlet context to load a version
of a class from within their WEB-INF/classes
directory, while other contexts on the serve
Hello,
I have a situation with Tomcat 3.3a where I am trying
to allow a specific servlet context to load a version
of a class from within their WEB-INF/classes
directory, while other contexts on the server use a
different version of that class that is loaded by the
apps classloader.
I can curren
x27;
Subject: RE: AW: Classloader question
> Servlet containers look for JAR files, not ZIP files. Why
> Oracle persists
> in shipping their JDBC drivers in ZIP format is a mystery to
> me -- but the
> complaints should go to them.
As I understand it, .zip files can be rena
: Classloader question
On Wed, 19 Dec 2001, David Morsberger wrote:
> Date: Wed, 19 Dec 2001 21:19:16 -0500
> From: David Morsberger <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> To: Tomcat Users List <[EMAIL PROTECTED]>,
> "Lauer,
> I tried and it works.
> The manifest isn't used here so you can only rename the file.
>
> If you want to be clean you must unzip the file and recreate
> the jar but it's pointless.
Thanks for that - that was my understanding. Nice to have it confirmed.
J.
--
You're only jealous cos the lit
i 20 décembre 2001 11:09
> À:'Tomcat Users List'
> Objet:RE: AW: Classloader question
>
> > Servlet containers look for JAR files, not ZIP files. Why
> > Oracle persists
> > in shipping their JDBC drivers in ZIP format is a mystery to
> > me -
> Servlet containers look for JAR files, not ZIP files. Why
> Oracle persists
> in shipping their JDBC drivers in ZIP format is a mystery to
> me -- but the
> complaints should go to them.
As I understand it, .zip files can be renamed to .jar files without a
problem. The manifesto is missing,
auer, Oliver
> Objet: Re: AW: Classloader question
>
>
>
> On Wed, 19 Dec 2001, David Morsberger wrote:
>
> > Date: Wed, 19 Dec 2001 21:19:16 -0500
> > From: David Morsberger <[EMAIL PROTECTED]>
> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
&g
quot; <[EMAIL PROTECTED]>
> Subject: Re: AW: Classloader question
>
> I ran into a similar problem today that I can not explain while upgrading to
> tomcat 3.3. The JSP we created accesses a bean that uses the oracle 1.2 JDBC
> driver, classes12.zip.
>
> I placed the Oracle clas
gt; > Date: Mon, 17 Dec 2001 18:56:34 +0100
> > To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
> > Subject: AW: Classloader question
> >
> > But why wasn't the class found in myapp/WEB-INF/lib ? Sorry, but I don't
> > understand
quot;Lauer, Oliver" <[EMAIL PROTECTED]>
> Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
> Date: Mon, 17 Dec 2001 18:56:34 +0100
> To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
> Subject: AW: Classloader question
>
> B
1277
> Fax: +49 221 148 43963
> Mobil: +49 179 59 064 59
> e-Mail: [EMAIL PROTECTED]
> _
>
-Ursprüngliche Nachricht-
Von: Bo Xu [mailto:[EMAIL PROTECTED]]
Gesendet: Montag, 17. Dezember 2001 21:22
An: Tomcat Users List
Betreff: Re: AW: C
I (and a few others) have observed that when using
soap+tomcat4 for message style services, I need to
remove the soap classes from soap/WEB-INF/classes
and put soap.jar in the common/lib. This is only
with the message style services.
this means, the messagerouter's class(say MR) is being
loaded
- Original Message -
From: "Craig R. McClanahan" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Monday, December 17, 2001 1:51 PM
Subject: Re: AW: Classloader question
On Mon, 17 Dec 2001, Lauer, Oliver wrote:
>
> But why w
achricht-
> Von: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
> Gesendet: Montag, 17. Dezember 2001 18:50
> An: Tomcat Users List
> Betreff: Re: Classloader question
>
>
>
>
> On Mon, 17 Dec 2001, Heikki Doeleman wrote:
>
> > Date: Mon, 17 Dec 2001
class inside a jspBean tag remember to specify the
class
That's all I can tell about, try it and good luck,
Guido.
-Original Message-
From: Lauer, Oliver [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 17, 2001 2:08 PM
To: 'Tomcat Users List'
Subject: AW: Classloader questi
zember 2001 19:03
An: 'Tomcat Users List'
Betreff: RE: Classloader question
Because WEB-INF/lib is for the specifique's application .jar files and
WEB-INF/classes is for .class files, don't mix the concept, .jar files are
treat as another kind of file system, that's why yo
: Lauer, Oliver [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 17, 2001 1:57 PM
To: 'Tomcat Users List'
Subject: AW: Classloader question
But why wasn't the class found in myapp/WEB-INF/lib ? Sorry, but I don't
understand that !?
> AXA eSolutions GmbH
> AXA Konzern A
43963
> Mobil: +49 179 59 064 59
> e-Mail: [EMAIL PROTECTED]
> _
>
-Ursprüngliche Nachricht-
Von: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Gesendet: Montag, 17. Dezember 2001 18:50
An: Tomcat Users List
Betreff: Re: Classloader question
On
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: Cla
yes, I did
-Original Message-
From: Lauer, Oliver [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 17, 2001 1:25 PM
To: 'Tomcat Users List'
Subject: AW: Classloader question
Did you something like this in server xml ?
in your localhost container ?
> AXA eSolutio
179 59 064 59
> e-Mail: [EMAIL PROTECTED]
> _
>
-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
, 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 bas
-Richard
- Original Message -
From: "Heikki Doeleman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 17, 2001 1:06 PM
Subject: Classloader question
> Hi everyone,
>
> trying to make a web application work using Tomcat 4.0.1 I found the
> followi
Hi everyone,
trying to make a web application work using Tomcat 4.0.1 I found the
following behaviour, which I don't quite understand:
my application uses a library called xhive.jar
- putting xhive.jar in [catalina]/common/lib
This works fine, as expected
- putting it in [myapp]/WEB-INF/lib
60 matches
Mail list logo