tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lars Ohlén <>
Subject Re: Tomcat 5: the classloader mystery
Date Sat, 01 May 2004 20:54:55 GMT
Hello again,

As I stated in the caption of this discussion. It is a mystery. But lets
face the facts:
If I had my classes to the CLASSPATH variable my application works. Else it
does not.

My WEB-INF/lib directory is empty and the common/lib directory only contains
what came with the installation.
The jre/ext/lib directory is also untouched. Tomcat installation is

And as still think it is a bad idea to have duplicates of the appserver
copied into the Tomcat directory structure. And
each EJB deploy to appserver would require an extra synch step (to make
remote interface and associated dao's available)

Perhaps I'm breaking some internal behaviour within Tomcat to alter the
CLASSPATH variable within the


----- Original Message ----- 
From: "Shapira, Yoav" <>
To: "Tomcat Users List" <>
Sent: Friday, April 30, 2004 3:22 PM
Subject: RE: Tomcat 5: the classloader mystery


>Two things here: Classes in the CLASSPATH are visible to my web

They're not.  You may have placed other copies of the jars on the
CLASSPATH in your WEB-INF/lib or common/lib folders, or in the
jre/ext/lib type folders, or you may have custom built tomcat to do
this, but otherwise the above is wrong.

>second it totally unpractical to have a duplicate location for my
>application servers
>several MB large installation.

Several MB is nothing, disk space is cheap, unless you're working in
some sort of mobile / flash / j2me device.  You're not duplicating the
whole application server, only the EJB client jar which is typically
even smaller than several MB.

Yoav Shapira

This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message