Lib directory

2004-10-28 Thread Edouard Dalla-Costa
Hello, I am developping a web application using several servlets. And I was wondering how could I add sub-directory in the lib directory of my webapp. I need something like 20 jar files and without organization, it is a big mess. I just don't know how to make tomcat know that I am using sub

RE: Lib directory

2004-10-28 Thread Shapira, Yoav
), and configure Tomcat to use it for your webapp. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Edouard Dalla-Costa [mailto:[EMAIL PROTECTED] Sent: Thursday, October 28, 2004 4:08 AM To: [EMAIL PROTECTED] Subject: Lib directory Hello, I am developping a web

WEB-INF/lib directory?

2004-09-16 Thread Bjørn T Johansen
In Weblogic I can have subfolders in the lib directory, isn't this possible in Tomcat? It seems like I need to have all my jar files directly under the lib folder... Regards BTJ -- --- Bjørn T Johansen

Re: WEB-INF/lib directory?

2004-09-16 Thread Tim Funk
Correct. No subdirs. -Tim Bjørn T Johansen wrote: In Weblogic I can have subfolders in the lib directory, isn't this possible in Tomcat? It seems like I need to have all my jar files directly under the lib folder

loading classes from the shared/lib directory

2004-03-19 Thread Martin Morawetz
Hello! Is tomcat able to load classes (not jar-files) from the $CATALINA_HOME/shared/classes directory dynamically (without tomcat-restart)? And if so, how? I wasn't able to do it. -- Thanks, Martin - To unsubscribe,

RE: loading classes from the shared/lib directory

2004-03-19 Thread Shapira, Yoav
Hi, Nope, common/shared classes require a restart. Yoav Shapira Millennium Research Informatics -Original Message- From: Martin Morawetz [mailto:[EMAIL PROTECTED] Sent: Friday, March 19, 2004 12:04 PM To: Tomcat Users List Subject: loading classes from the shared/lib directory Hello

Re: What order are jars used in the WARs lib directory?

2003-07-21 Thread Will Hartung
From: Tim Funk [EMAIL PROTECTED] Sent: Thursday, July 17, 2003 5:43 PM From the spec: The web application classloader must load classes from the WEB-INF/ classes directory first, and then from library JARs in the WEB-INF/lib directory. So if you have patches - don't JAR them. Since

What order are jars used in the WARs lib directory?

2003-07-17 Thread Will Hartung
If I have jars that I'd like to put in to the WARs lib directory (or, say, shared/lib), is there any way I can, perhaps, name them to guarantee use order? For example, say I have: mystuff.jar and mystuff_patch.jar If I have CLASSPATH=mystuff_patch.jar:mystuff.jar, then, ordinarily, Java

Re: What order are jars used in the WARs lib directory?

2003-07-17 Thread Tim Funk
From the spec: The web application classloader must load classes from the WEB-INF/ classes directory first, and then from library JARs in the WEB-INF/lib directory. So if you have patches - don't JAR them. Since the spec doesn't specify JAR order, it may be different between containers

Re: Creating an HTML file with the correct codebase and archivevalue parameters for a jar in the /WEB-INF/lib directory

2003-03-28 Thread Susan Hoddinott
and archivevalue parameters for a jar in the /WEB-INF/lib directory On Fri, 28 Mar 2003, Susan Hoddinott wrote: Date: Fri, 28 Mar 2003 09:25:45 +0800 From: Susan Hoddinott [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject

Re: Creating an HTML file with the correct codebase and archivevalueparameters for a jar in the /WEB-INF/lib directory

2003-03-28 Thread Tim Funk
. McClanahan [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, March 28, 2003 11:51 AM Subject: Re: Creating an HTML file with the correct codebase and archivevalue parameters for a jar in the /WEB-INF/lib directory On Fri, 28 Mar 2003, Susan Hoddinott wrote: Date: Fri, 28 Mar

Re: Creating an HTML file with the correct codebase and archivevalueparameters for a jar in the /WEB-INF/lib directory

2003-03-28 Thread Craig R. McClanahan
parameters for a jar in the /WEB-INF/lib directory Thanks. Do you have the servlet spec reference link where this is explained? Section 9.5, second paragraph: No file contained in the WEB-INF directory may be served directly to a client by the container. Craig - Original Message

Re: Creating an HTML file with the correct codebase and archivevalue parameters for a jar in the /WEB-INF/lib directory

2003-03-28 Thread Susan Hoddinott
, 2003 11:51 AM Subject: Re: Creating an HTML file with the correct codebase and archivevalue parameters for a jar in the /WEB-INF/lib directory On Fri, 28 Mar 2003, Susan Hoddinott wrote: Date: Fri, 28 Mar 2003 09:25:45 +0800 From: Susan Hoddinott [EMAIL PROTECTED] Reply-To: Tomcat Users

Re: Creating an HTML file with the correct codebase and archivevalueparameters for a jar in the /WEB-INF/lib directory

2003-03-28 Thread Susan Hoddinott
for a jar in the /WEB-INF/lib directory Java(TM) Servlet API Specification (Specification) Version: 2.3 SRV.9.5 Directory Structure http://java.sun.com/products/servlet/download.html -Tim Susan Hoddinott wrote: Thanks. Do you have the servlet spec reference link where this is explained

Creating an HTML file with the correct codebase and archive value parameters for a jar in the /WEB-INF/lib directory

2003-03-27 Thread Susan Hoddinott
Hello, I am trying to create an HTML file which accesses classes and applets in a jar file (demo.jar) which is in the WEB-INF/lib directory. I seem to have problems getting it to recognise the existence of the jar file and/or more than the first applet in the jar file. If I put the jar

Re: Creating an HTML file with the correct codebase and archivevalue parameters for a jar in the /WEB-INF/lib directory

2003-03-27 Thread Craig R. McClanahan
parameters for a jar in the /WEB-INF/lib directory Hello, I am trying to create an HTML file which accesses classes and applets in a jar file (demo.jar) which is in the WEB-INF/lib directory. I seem to have problems getting it to recognise the existence of the jar file and/or more than

Tomcat 4.1.18 not finding JAR's under WEB_INF/lib directory

2003-03-26 Thread Dean Fantham
the path Specified error (see below). The root cause indicates that it is a missing JAR file, but that file exists under the CATALINA_BASE/edgile/WEB-INF/lib directory, but for some reason is not being found. It is found and correctly started when I move the edgile webapp to the webapps directory

Re: No jars allowed in the WEB-INF/lib directory

2002-10-18 Thread Larry Meadors
Maybe it is corrupt? Can you view the contents of the jar file? jar -tf iwxml.jar Larry [EMAIL PROTECTED] 10/17/02 15:17 PM Hi: It seems that Tomcat doesn't support any jar in the WEB-INF/lib directory. By the way I'm not using symlinks at all in the WEB-INF/lib directory. Tomcat 4.1.12

No jars allowed in the WEB-INF/lib directory

2002-10-18 Thread Gustavo Antonio Muñoz Lechuga
Hi: It seems that Tomcat doesn't support any jar in the WEB-INF/lib directory. By the way I'm not using symlinks at all in the WEB-INF/lib directory. Tomcat 4.1.12 Sun JDK 1.4.1 Red Hat 8 The file mywebapp/WEB-INF/lib/iwxml.jar does exist! The owner of the Tomcat process is root,so it can read

RE: symlinks in WEB-INF/lib directory

2002-10-18 Thread Shapira, Yoav
Hi, I want to use symlinks for all my jar files in the WEB-INF/lib directory of my webapp. Tomcat can't handle those symlinks. That's not part of the specification. In fact, all tomcat's required to handle is a WAR file containing your entire webapp. That tomcat allows you to deploy

Re: No jars allowed in the WEB-INF/lib directory

2002-10-18 Thread Gustavo Antonio Muñoz Lechuga
in the WEB-INF/lib directory. By the way I'm not using symlinks at all in the WEB-INF/lib directory. Tomcat 4.1.12 Sun JDK 1.4.1 Red Hat 8 The file mywebapp/WEB-INF/lib/iwxml.jar does exist! The owner of the Tomcat process is root,so it can read the archive. -- To unsubscribe, e

RE: No jars allowed in the WEB-INF/lib directory

2002-10-18 Thread Cox, Charlie
, October 17, 2002 6:18 PM To: Tomcat Users List Subject: Re: No jars allowed in the WEB-INF/lib directory Hi: It's not corrupt jar -tvf iwxml.jar works fine. On Thu, 2002-10-17 at 16:29, Larry Meadors wrote: Maybe it is corrupt? Can you view the contents of the jar file

symlinks in WEB-INF/lib directory

2002-10-16 Thread Gustavo Antonio Muñoz Lechuga
Hi: I want to use symlinks for all my jar files in the WEB-INF/lib directory of my webapp. Tomcat can't handle those symlinks. My OS is RedHat 8.0 Sun JDK 1.4.1 Tomcat 4.1.12 I need to get it to work in RedHat 7.3, 8.0 and Solaris 8.0 I have not test with Solaris, anyway, I need it working

Accessing jar out of webapps/ROOT/WEB-INF/lib directory

2002-07-11 Thread Serdar BOZDA
Hi, I am currently working on a project. I want to install this project under c:\root in my computer. in c:\root\servlet\servlet.jar there are my servlets. and I want to call these servlets like the following url: http://localhost/servlet/hello (there is hello.class in

Re: Accessing jar out of webapps/ROOT/WEB-INF/lib directory

2002-07-11 Thread Jacob Kjome
The servlet spec requires that your app must look like: contextName/ (put static content here) WEB-INF/ (put web.xml here) lib/ (put your .jar libraries here) classes/ (put your standalone classes here) Also, you will need to put your contextName directory under

Accessing jar out of webapps/ROOT/WEB-INF/lib directory

2002-07-11 Thread Serdar BOZDA
Hi, I am currently working on a project. I want to install this project under c:\root in my computer. in c:\root\servlet\servlet.jar there are my servlets. and I want to call these servlets like the following url: http://localhost/servlet/hello (there is hello.class in

Tomcat 3.2.4 - Loading jar files in the lib Directory

2002-06-18 Thread Kiev Gama
Hello, I've just subscribed to this list, and I have a question. If anybody could help, I would appreciate that. I am JARring a few .properties archives, and saving them in the WEB-INF/lib directory. After the service is restarted the server was supposed to pre-load the archives

NoClassDefFoundError with servlet child/parent in different jars in lib directory

2001-08-21 Thread Solomon Gorlick
Hi, I am running tomcat on NT 4.0 and am having an issues with a parent/child servlet situation. Particularly, I have two simple servlets - ServletParent - in one jar in the lib directory for my application - and another servlet - ServletChild (which extends ServletParent) - in a different jar

RE: problem in loading jar files in WEB-INF\lib directory

2001-08-18 Thread Paresh Deshpande
Hey Rob, thanks for the help. Let me figure out how this works for me. greetings Paresh -Original Message- From: Rob S. [mailto:[EMAIL PROTECTED]] Sent: Friday, August 17, 2001 8:07 PM To: [EMAIL PROTECTED] Subject: Re: problem in loading jar files in WEB-INF\lib directory Ugh

RE: problem in loading jar files in WEB-INF\lib directory

2001-08-18 Thread Paresh Deshpande
files in WEB-INF\lib directory On Fri, 17 Aug 2001, Paresh Deshpande wrote: Hi Rob, thanks for your reply, Rob. I was waiting for the reply for quite a while :)). It is not specifically mentioned in the docs how the class files in WEB-INF\classes are loaded. Neither is it mentioned

RE: problem in loading jar files in WEB-INF\lib directory

2001-08-17 Thread Rob S.
]] Sent: Friday, August 17, 2001 1:14 AM To: [EMAIL PROTECTED] Subject: problem in loading jar files in WEB-INF\lib directory Hi, I am trying to run my application on APACHE with TOMCAT servlet engine. I have placed the jar files required for web application in myapp\WEB-INF\lib folder

RE: problem in loading jar files in WEB-INF\lib directory

2001-08-17 Thread Paresh Deshpande
get class cast exception error. Tomcat does not find the class. How can I solve this problem? paresh -Original Message- From: Rob S. [mailto:[EMAIL PROTECTED]] Sent: Friday, August 17, 2001 5:00 PM To: [EMAIL PROTECTED] Subject: RE: problem in loading jar files in WEB-INF\lib directory

Re: problem in loading jar files in WEB-INF\lib directory

2001-08-17 Thread Rob S.
? paresh -Original Message- From: Rob S. [mailto:[EMAIL PROTECTED]] Sent: Friday, August 17, 2001 5:00 PM To: [EMAIL PROTECTED] Subject: RE: problem in loading jar files in WEB-INF\lib directory Sounds like you could learn a lot from reading the Application Developer's Guide

RE: problem in loading jar files in WEB-INF\lib directory

2001-08-17 Thread Paresh Deshpande
thanks Rob, got the particular information : When you install an application into Tomcat (or any other 2.2-compatible server), the classes in the WEB-INF/classes/ directory, as well as all classes in JAR files found in the WEB-INF/lib/ directory, are added to the class path for your particular

Re: problem in loading jar files in WEB-INF\lib directory

2001-08-17 Thread Rob S.
Then, the only question remaining is classes in my jar file are not being loaded for some reason. While loading the servlet, somewhere midway, the classes in WEB-INF\lib directory are not being loaded. strange isn't it? How do you know the classes are not being loaded? What kind of error

RE: problem in loading jar files in WEB-INF\lib directory

2001-08-17 Thread Paresh Deshpande
-Original Message- From: Rob S. [mailto:[EMAIL PROTECTED]] Sent: Friday, August 17, 2001 7:34 PM To: [EMAIL PROTECTED] Subject: Re: problem in loading jar files in WEB-INF\lib directory Then, the only question remaining is classes in my jar file are not being loaded for some reason

Re: problem in loading jar files in WEB-INF\lib directory

2001-08-17 Thread Rob S.
come donw to Bangalore... paresh -Original Message- From: Rob S. [mailto:[EMAIL PROTECTED]] Sent: Friday, August 17, 2001 7:34 PM To: [EMAIL PROTECTED] Subject: Re: problem in loading jar files in WEB-INF\lib directory Then, the only question remaining is classes in my jar file

Re: problem in loading jar files in WEB-INF\lib directory

2001-08-17 Thread Rob S.
to Bangalore... paresh -Original Message- From: Rob S. [mailto:[EMAIL PROTECTED]] Sent: Friday, August 17, 2001 7:34 PM To: [EMAIL PROTECTED] Subject: Re: problem in loading jar files in WEB-INF\lib directory Then, the only question remaining is classes in my jar file

RE: problem in loading jar files in WEB-INF\lib directory

2001-08-17 Thread Craig R. McClanahan
[mailto:[EMAIL PROTECTED]] Sent: Friday, August 17, 2001 1:14 AM To: [EMAIL PROTECTED] Subject: problem in loading jar files in WEB-INF\lib directory Hi, I am trying to run my application on APACHE with TOMCAT servlet engine. I have placed the jar files required for web

RE: problem in loading jar files in WEB-INF\lib directory

2001-08-17 Thread Craig R. McClanahan
into the System classloader (by putting them on the CLASSPATH, or into Tomcat's top level lib directory). Craig

problem in loading jar files in WEB-INF\lib directory

2001-08-16 Thread Paresh Deshpande
Hi, I am trying to run my application on APACHE with TOMCAT servlet engine. I have placed the jar files required for web application in myapp\WEB-INF\lib folder. Will tomcat automatically pick up this jar file? Or do I need to add them manually in tomcat.bat? Further, do I need to add

Servlets in a JAR file in the lib directory of a WAR file

2001-07-27 Thread James Hughes
Is it valid to place servlets in a JAR file, and place them in the lib directory (in WEB-INF dir of WAR file)? Thanks, J

Re: Servlets in a JAR file in the lib directory of a WAR file

2001-07-27 Thread Craig R. McClanahan
On Fri, 27 Jul 2001, James Hughes wrote: Is it valid to place servlets in a JAR file, and place them in the lib directory (in WEB-INF dir of WAR file)? Sure. The same is true for non-servlet classes. Just be sure you put the JAR files exactly in the /WEB-INF/lib directory

WAR files and the WEB-INF/lib directory

2001-07-24 Thread Tait, Allen
I am working on a web publishing app and am using Tomcat 3.2.1 with Cocoon. My application is installed by putting the .war file in the tomcat_home/webapps directory and restarting Tomcat. I am finding that any .jar files that I include in the WEB-INF/lib directory are not available to my

Re: WAR files and the WEB-INF/lib directory

2001-07-24 Thread Wyn Easton
I don't think you are missing anything. The jar files in your web apps. web-inf/lib directory can not be seen from classes loaded from outside of your web app. Someplace you are probably loading a class that does not have access to the jar files in your web app. --- Tait, Allen [EMAIL

Jar files not found in WEB-INF/lib directory

2001-01-29 Thread Les Hartzman
I've just started to use Tomcat. I created a .war file for my servlet and on startup of tomcat, the .war file was processed. Trying to access the servlet caused some ClassDefNotFound errors to appear. I moved the necessary .jar files to the WEB-INF/lib directory, and restarted tomcat