Re: JspC exception with log4j in WEB-INF/lib

2005-10-10 Thread Artur Brinkmann
But as soon as I put log4j-1.2.9.jar into my WEB-INF/lib directory, it doesn't work any more. I get the following exception: [jasper2] java.lang.NullPointerException [jasper2] at org.apache.jasper.JspCompilationContext.createCompiler(JspCompilationContext.java:220) After build

RE: JspC exception with log4j in WEB-INF/lib [255729:132231]

2005-10-07 Thread RTE - Meridian Club
"Artur Brinkmann" <[EMAIL PROTECTED]> > Received: 10/7/2005 2:27 PM > To: "" > Subject: JspC exception with log4j in WEB-INF/lib > > I'm trying to use the Jspc ant task to precompile JSP pages. It's almost > working except for one problem. I made a min

JspC exception with log4j in WEB-INF/lib

2005-10-07 Thread Artur Brinkmann
jasper2] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:90) [jasper2] Error in class org.apache.jasper.JspC I tried different versions of log4j, without success. Any other jar files don't bother Jspc, but as soon as I put log4j in WEB-INF/lib, I get this exception. The funny t

RE: Non-servlet class cannot access jar file in ./WEB-INF/lib when a Servlet does

2005-10-06 Thread Jose Maria Ramirez Martinez
esources for AXIS web service. The servlet is loaded at startup. >This singleton class uses classes from a jar file located in WEB-INF/lib. MY >servlet and singleton and other classes are in WEB-INF/classes. > >In production environment, servlet and all other classes are in jar under &

Re: Non-servlet class cannot access jar file in ./WEB-INF/lib whena Servlet does

2005-10-06 Thread Jose Maria Ramirez Martinez
t 2005 16:06:49 +0200 >Hi, > >all classes of a webapp which do not come from tomcat server itself >do share a common classloader which is an aggregation of the various >classes in all WEB-INF/lib/*.jar and in WEB-INF/classes/**/*.class > >If you get a NoClassDefFoundExcepti

RE: Non-servlet class cannot access jar file in ./WEB-INF/lib when a Servlet does

2005-10-06 Thread Sabitha
Jose, I have a similar servlet which initializes a singleton class to load the Tomcat resources for AXIS web service. The servlet is loaded at startup. This singleton class uses classes from a jar file located in WEB-INF/lib. MY servlet and singleton and other classes are in WEB-INF/classes

Re: Non-servlet class cannot access jar file in ./WEB-INF/lib when a Servlet does

2005-10-06 Thread David Delbecq
Hi, all classes of a webapp which do not come from tomcat server itself do share a common classloader which is an aggregation of the various classes in all WEB-INF/lib/*.jar and in WEB-INF/classes/**/*.class If you get a NoClassDefFoundException, that probably mean you asked some class in server

Non-servlet class cannot access jar file in ./WEB-INF/lib when a Servlet does

2005-10-05 Thread Jose Maria Ramirez Martinez
Hi, everybody I have the next problem: A servlet calls a non-servlet class, and this non-servlet class imports classes from a jar file, but the classloader does not find the class from the jar file (so when I call the servlet from an internet browser, I get a NoClassDefFoundException) But if a

Re: "WEB-INF/lib/myjar.jar doesn't contain file xyz..."

2005-08-12 Thread t.n.a.
Allistair Crossley wrote: >Can you post the full exception stack? > > Sorry, I'd love to but it...well...works now. Don't ask me why: tomcat was acting fairly peculiar by the time I'd thrown everything I could think of at it...maybe it was that. Then it stopped running both applications (even th

Re: "WEB-INF/lib/myjar.jar doesn't contain file xyz..."

2005-08-12 Thread Brian Cook
now that I run every time I upload new files that changes the owner and group of all the files in the webapps dir to the tomcat user and group. t.n.a. wrote: Tomcat (5.5) seems reluctant to load a .jar file from the WEB-INF/lib directory. Specifically, it seems to load tapestly.jar (as the error

RE: "WEB-INF/lib/myjar.jar doesn't contain file xyz..."

2005-08-12 Thread Allistair Crossley
Can you post the full exception stack? > -Original Message- > From: t.n.a. [mailto:[EMAIL PROTECTED] > Sent: 12 August 2005 16:19 > To: tomcat-user@jakarta.apache.org > Subject: "WEB-INF/lib/myjar.jar doesn't contain file xyz..." > > > Tomcat (5

"WEB-INF/lib/myjar.jar doesn't contain file xyz..."

2005-08-12 Thread t.n.a.
Tomcat (5.5) seems reluctant to load a .jar file from the WEB-INF/lib directory. Specifically, it seems to load tapestly.jar (as the error is displayed in a tapestry exception page), but it doesn't seem to want anything to do with cayenne.jar. The reported error is that a file in cayenne.j

Re: How to prioritize WEB-INF\lib jar files loading order

2005-03-25 Thread Tim Funk
The classes directory has a higher precendence than the jar files. -Tim Etienne Klajnerman wrote: Hi all, Is there a possibility to assign to Tomcat class loader priority in the way it loads the jar in WEB-INF\lib? My application uses axis.jar in WEB-INF\lib. However, some classes from axis.jar

Re: How to prioritize WEB-INF\lib jar files loading order

2005-03-25 Thread Jason Bainbridge
On Fri, 25 Mar 2005 18:02:49 +0100, Etienne Klajnerman <[EMAIL PROTECTED]> wrote: > Hi all, > > Is there a possibility to assign to Tomcat class loader priority in the way > it loads the jar in WEB-INF\lib? > > My application uses axis.jar in WEB-INF\lib. > > Howev

How to prioritize WEB-INF\lib jar files loading order

2005-03-25 Thread Etienne Klajnerman
Hi all, Is there a possibility to assign to Tomcat class loader priority in the way it loads the jar in WEB-INF\lib? My application uses axis.jar in WEB-INF\lib. However, some classes from axis.jar had had to be rewritten (i.e. Calendar serializer and deserializer). I'd like to include th

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... - To unsub

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 (BS

Re: DBCP with JDBC driver in WEB-INF/lib

2004-07-12 Thread David Smith
ome JDBC 3.0 features I'd like. When I asked them about upgrading, they told me I could just stick the jar file for the more up-to-date driver in WEB-INF/lib and use that. What I'm wondering is, how do I tell DBCP to use the WEB-INF/lib jar file?

Re: DBCP with JDBC driver in WEB-INF/lib

2004-07-11 Thread QM
driver in WEB-INF/lib and use that. : : What I'm wondering is, how do I tell DBCP to use the WEB-INF/lib : jar file? I don't think this is possible -- IIRC Tomcat looks for DB drivers in common/lib because that's handled by the container's classloader, not the per-con

DBCP with JDBC driver in WEB-INF/lib

2004-07-10 Thread Steven J. Owens
the more up-to-date driver in WEB-INF/lib and use that. What I'm wondering is, how do I tell DBCP to use the WEB-INF/lib jar file? -- Steven J. Owens [EMAIL PROTECTED] "I'm going to make broad, sweeping generalizations and strong, declarative statements, because otherwise I&

Problem accessing WEB-INF/lib (Launching Tomcat from Eclipse without any plugins)

2004-06-16 Thread Vladislovas Razas
Hi, I did set up Eclipse to run Tomcat. When I run Tomcat 5 standalone (I mean NOT from Eclipse) I don't have this problem. My application can't access WEB-INF/lib unless I also put all *.jar files in classpath. I know this should not be required and Tomcat would normally access th

Urgent: referencing external jar files from a jar in WEB-INF/lib

2003-12-08 Thread Krause Karin
he CLASS-PATH variable in the Manifest, in the WEB-INF/lib of my WAR file. Should this be possible, or not ? Are there any other methods (do I use the wrong one)? As I understood the servlet spec 2.3 chapter 9.7.1 it should be possible by means of the CLASS-PATH attribute: Snippet from the servlet

Re: Class loading for J2SE classes in web-inf lib

2003-08-28 Thread Jacob Kjome
Don't ever put endorsed libraries in WEB-INF/lib, even under JDk1.3.1. Just take the one from CATALINA_HOME/common/endorsed. It is usually the most up-to-date anyway and you can always put your own version there. Putting the xml parser in WEB-INF/lib will only cause you problems. Jak

Class loading for J2SE classes in web-inf lib

2003-08-28 Thread Hector Adolfo Alonso
Hello: I've have a doubt about using xerces.jar in Tomcat 4.1.27. Suppose I'm using JDK 1.3.1, with xerces.jar put in WEB-INF\lib, and Tomcat default installation. xerces-jar's classes are used when they are required. I've read carefully the document in http://jakarta.apac

Class Loader skips WEB-INF/lib and shared/lib ?

2003-08-27 Thread Pike
Hi when starting tomcat 5.0.9 on MacOSX, one of my contexts has trouble reading files from WEB-INF/classes and WEB-INF/lib what strikes me most is the localhost_xxx.log (boy i hate those datestamps in the filename :-) which tries to show the ClassLoader delegation (I think) it doesnt seem to find

tomcat-5.0.5 cannot access jar resources in WEB-INF/lib but only unzipped in WEB-INF/classes

2003-07-30 Thread Harmsen, Jan
Hi, the eclipse XSD API xsd.jar (http://www.eclipse.org/xsd/) provides a set of XML schemata + dtds in an additional jar file xsd.resources.jar. Both jar files (xsd.jar + xsd.resources.jar) are located in WEB-INF/lib While Tomcat 4.1.x can access the resources in xsd.resources.jar Tomcat 5.0.5

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
le with the correct codebase and archivevalueparameters 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 H

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
MAIL 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 2003 09:25:45

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
ile with the correct codebase and > archivevalue 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

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
: "Craig R. 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,

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
L 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: Tom

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
the correct codebase and archive > value 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 ge

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

unable to start admin app...exception processing jar at resource path /WEB-INF/lib/struts.jar error

2003-03-13 Thread krip pane
/admin 2003-03-13 09:17:18 WebappLoader[/admin]: Deploy class files /WEB-INF/classes to /opt/jakarta-tomcat-4.1.18/webapps/../server/webapps/admin/WEB-INF/classes 2003-03-13 09:17:18 WebappLoader[/admin]: Deploy JAR /WEB-INF/lib/struts.jar to /opt/jakarta-tomcat-4.1.18/webapps/../server/webapps/admin

Re: loading a properties file from a jar file in /WEB-INF/lib/

2002-12-12 Thread Puneet Agarwal
5:39:07 -0500 To: "Tomcat Users List" <[EMAIL PROTECTED]> Subject: loading a properties file from a jar file in /WEB-INF/lib/ > Hello, > I'm trying to access a properties file that's located in a package within a > jar file in /WEB-INF/lib. > > net/props/my

Re: loading a properties file from a jar file in /WEB-INF/lib/

2002-12-12 Thread Jacob Kjome
Hello Matt, Where does class p exist? Is it also in WEB-INF/lib or WEB-INF/classes? If so, the only one of your examples that will work is: p.getClass().getResourceAsStream("/net/props/myProps.properties"); If your properties file is in the same package relative to class "p&qu

RE: loading a properties file from a jar file in /WEB-INF/lib/

2002-12-12 Thread Wendy Smoak
> Hello, > I'm trying to access a properties file that's located in a package within a > jar file in /WEB-INF/lib. > net/props/myProps.properties > Can someone offer a suggestion? This works for a properties file sitting in the 'classes' directory, but it o

loading a properties file from a jar file in /WEB-INF/lib/

2002-12-12 Thread Matt Sales
Hello, I'm trying to access a properties file that's located in a package within a jar file in /WEB-INF/lib. net/props/myProps.properties Properties p = new Properties(); InputStream is = ... I've tried a lot of methods to set the InputStream, i.e., p.getClass().getResourc

RE: Y or N Q re: WEB-INF/lib

2002-12-10 Thread Price, Erik
> -Original Message- > From: Sexton, George [mailto:[EMAIL PROTECTED]] > Sent: Monday, December 09, 2002 1:17 PM > To: Tomcat Users List > Subject: RE: Y or N Q re: WEB-INF/lib > > > I don't think you answer is quite right. Classes will not be > au

RE: Y or N Q re: WEB-INF/lib

2002-12-09 Thread Sexton, George
hapira, Yoav [mailto:[EMAIL PROTECTED]] Sent: 09 December, 2002 11:23 AM To: Tomcat Users List Subject: RE: Y or N Q re: WEB-INF/lib Howdy, He wasn't talking about serving anything to the user ;) Not about servlets specifically, which is where the invoker comes in. Just the class loader reloading

RE: Y or N Q re: WEB-INF/lib

2002-12-09 Thread Shapira, Yoav
ilto:[EMAIL PROTECTED]] >Sent: Monday, December 09, 2002 1:17 PM >To: Tomcat Users List >Subject: RE: Y or N Q re: WEB-INF/lib > >I don't think you answer is quite right. Classes will not be automatically >served under 4.0.6 unless the default invoker is configured in server.xml. &g

RE: Y or N Q re: WEB-INF/lib

2002-12-09 Thread Sexton, George
Yoav [mailto:[EMAIL PROTECTED]] Sent: 09 December, 2002 10:51 AM To: Tomcat Users List Subject: RE: Y or N Q re: WEB-INF/lib Hi, You have to restart the webapp. And for WEB-INF/classes, they'll only be automatically picked up if your context has reloadable="true" in its configur

RE: Y or N Q re: WEB-INF/lib

2002-12-09 Thread Shapira, Yoav
ECTED]] >Sent: Monday, December 09, 2002 12:24 PM >To: [EMAIL PROTECTED] >Subject: Y or N Q re: WEB-INF/lib > >Sorry to trouble you with this simple yes or no question (Tomcat 4.0.6): > >Classes placed in $CATALINA_HOME/myWebApp/WEB-INF/classes will be >automatically picked up by T

Y or N Q re: WEB-INF/lib

2002-12-09 Thread Price, Erik
Sorry to trouble you with this simple yes or no question (Tomcat 4.0.6): Classes placed in $CATALINA_HOME/myWebApp/WEB-INF/classes will be automatically picked up by Tomcat and served. Is the same true for JAR'd classes placed in $CATALINA_HOME/myWebApp/WEB-INF/lib ? or do I have to re

Re: subdirs under WEB-INF/lib????

2002-11-22 Thread Nick Wesselman
well personally i could see how having a large number of JARs under WEB-INF/lib could get messy :-) there is something to be said about being able to group xml/xsl jars, JDBC drivers, in-house JARs, taglibs, etc. Know what I mean? Maybe it's time to submit a suggestion via the JCP :-)

Re: subdirs under WEB-INF/lib????

2002-11-22 Thread micael
I am curious why you asked this question. I cannot think of a reason why you would want to do that, but you must have had a reason to ask the question. At 08:43 PM 11/22/2002 +0100, you wrote: Hello, is it possible to take some jars in subirs under WEB-INF/lib? e.g. WEB-INF/lib/xml/xerces.jar

Re: subdirs under WEB-INF/lib????

2002-11-22 Thread Craig R. McClanahan
On Fri, 22 Nov 2002, Jürgen Schlierf wrote: > Date: Fri, 22 Nov 2002 20:43:01 +0100 > From: Jürgen Schlierf <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: subdirs under WEB-INF/lib > > Hello, >

subdirs under WEB-INF/lib????

2002-11-22 Thread Jürgen Schlierf
Hello, is it possible to take some jars in subirs under WEB-INF/lib? e.g. WEB-INF/lib/xml/xerces.jar WEB-INF/lib/log/log4j.jar I'm using Tomcat 4.1.12. thanks Juergen -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

[Solved] tomcat 4.1.12: Exception processing JAR at resource path /WEB-INF/lib/..

2002-10-21 Thread Tarang Kumar Patel
javax.servlet.ServletException: Exception processing JAR at resource path /WEB-INF/lib/slide -taglib-common.jar at org.apache.catalina.startup.ContextConfig.tldScanJar(ContextConfig.java:930) at org.apache.catalina.startup.ContextConfig.tldScan(ContextConfig.java:868) at

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

2002-10-18 Thread Cox, Charlie
e.com.mx] > Sent: Thursday, 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 Me

Re: 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/iwx

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 al

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 i

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

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 worki

Re: WEB-INF/classes, WEB-INF/lib

2002-10-14 Thread Craig R. McClanahan
On Mon, 14 Oct 2002, Will Hartung wrote: > Date: Mon, 14 Oct 2002 14:30:40 -0700 > From: Will Hartung <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: Re: WEB-INF/classes, WEB-INF

Re: WEB-INF/classes, WEB-INF/lib

2002-10-14 Thread Will Hartung
- Original Message - From: "Craig R. McClanahan" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Monday, October 14, 2002 2:11 PM Subject: RE: WEB-INF/classes, WEB-INF/lib > > > On Mon, 14 Oct 2002, Scott Purcell wrote: &g

RE: WEB-INF/classes, WEB-INF/lib

2002-10-14 Thread Craig R. McClanahan
ust jar them all back. Containers that follow the servlet spec's requirements will load classes from "/WEB-INF/classes" before they look at the JAR files in "/WEB-INF/lib". [Section 9.5, last sentence before 9.5.1 starts]. > Scott Craig -- To unsubscribe, e-mail: &

RE: WEB-INF/classes, WEB-INF/lib

2002-10-14 Thread Scott Purcell
: Frank Liu [mailto:[EMAIL PROTECTED]] Sent: Monday, October 14, 2002 3:04 PM To: [EMAIL PROTECTED] Subject: WEB-INF/classes, WEB-INF/lib Is it true that WEB-INF/classes overrides WEB-INF/lib in the classpath? I have a binary jar file in WEB-INF/lib and need to overwrite on class in the jar file

WEB-INF/classes, WEB-INF/lib

2002-10-14 Thread Frank Liu
Is it true that WEB-INF/classes overrides WEB-INF/lib in the classpath? I have a binary jar file in WEB-INF/lib and need to overwrite on class in the jar file, can you just put my class in the WEB-INF/classes and tomcat will take care of it automatically? Frank -- To unsubscribe, e-mail

Tomcat 4.1.12 doesn't use my applications WEB-INF/lib

2002-09-30 Thread Thad Humphries
under Tomcat 3.2.x, Tomcat 4.0.x, and WebLogic 6.1. However, the older XML causes problems with Tomcat 4.1. Here's one case (for example): Tomcat 4.1 seems to be using the org/xml/sax/InputSource.class from jakarta-tomcat-4.1.12/common/endorsed/xmlParserAPIs.jar vs. /WEB-INF/lib/xerces.jar

Re: After Undeployment, Unable to Delete WEB-INF/lib/*.jars

2002-07-11 Thread Jacob Kjome
o, > >I'm noticing a peculiar behavior of Tomcat 4.0.4: After undeploying a >webapp, I cannot remove the libs that were part of the webapp (inside >the webapps/myapp/WEB-INF/lib folder). For example, I deployed my lib >using the http://.../manager/install URI and deployed it f

After Undeployment, Unable to Delete WEB-INF/lib/*.jars

2002-07-11 Thread Ertel, Jason
Hello, I'm noticing a peculiar behavior of Tomcat 4.0.4: After undeploying a webapp, I cannot remove the libs that were part of the webapp (inside the webapps/myapp/WEB-INF/lib folder). For example, I deployed my lib using the http://.../manager/install URI and deployed it from a dire

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

2002-07-11 Thread Serdar BOZDAĞ
\servlet.jar) When I put them webapps\root\web-inf\lib it works, but now it does not. What configuration changes do I need to make? Thanks in advance Serdar BOZDAĞ Computer Engineer MobiPath Information Technologies Istanbul/TURKEY Tel : +90 212 213 4975 Fax: +90 212 213 7361

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

2002-07-11 Thread Jacob Kjome
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 >c:\root\servle

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

2002-07-11 Thread Serdar BOZDAĞ
\servlet.jar) When I put them webapps\root\web-inf\lib it works, but now it does not. What configuration changes do I need to make? Thanks in advance Serdar BOZDAĞ Computer Engineer MobiPath Information Technologies Istanbul/TURKEY Tel : +90 212 213 4975 Fax: +90 212 213 7361

problems assigning permissions to jar's within WEB-INF/lib

2002-06-29 Thread Daniel Kwiotek
Hi, running tomcat 4.0.3 with security manager there is no effect assigning permissions to jar's within WEB-INF/lib. What is the purpose of this feature? Is there any workaround? I know i can put concerning jar's into common/lib folder. But, i am trying to get Velocity 1.2 running un

Shutdown Error - /WEB-INF/lib/commons-digester missing

2002-06-18 Thread Cynthia Jeness
, I get the error that the "commons-digester" is missing. More specifically, the catalina log entry looks like this: WebappClassLoader: Resource '/WEB-INF/lib/commons-digester.jar' is missing. I have even tried putting the "commons-digester.jar" in the lib dire

Tomcat 3.2.3, WEB-INF/lib, JAXP 1.2 and JAXM 1.0.1

2002-06-06 Thread Ben Starr
Is it possible to get a web app in Tomcat 3.2.3 to work with JAXP 1.2 and/or JAXM 1.0.1 without having to place the JARs in the $TOMCAT_HOME/lib directory? (ie: by placing them in the WEB-INF/lib directory) It works fine on Tomcat 4.0.1 but I can only get it to work with Tomcat 3.2.3 by placing

Re: Problem with third party JAR file in WEB-INF/lib

2002-04-18 Thread Tony McGee
that > on the tip (tomcat-dev-4.1) and said that it might not ever be implemented > in 4.0.x releases. However, it is in 4.0.4-b2, so 4.0.4 will be better > about this. > > However, you still won't be able to have your xml parser inside > WEB-INF/lib. Better learn to li

Re: Problem with third party JAR file in WEB-INF/lib

2002-04-18 Thread Jacob Kjome
in 4.0.x releases. However, it is in 4.0.4-b2, so 4.0.4 will be better about this. However, you still won't be able to have your xml parser inside WEB-INF/lib. Better learn to live with it in TOMCAT_HOME/common/lib or jdk1.4/jre/lib/endorsed because that is where it will have to be no

Problem with third party JAR file in WEB-INF/lib

2002-04-18 Thread Tony McGee
This might be a newbie question, but is there anything special I need to do (eg. an entry in the web.xml deployment descriptor) to put my third party JAR files in the WEB-INF/lib directory instead of Tomcat's common/lib directory? I can't find anything in the documentation about Tomca

native lib not found in common/lib but works in WEB-INF/lib

2002-04-10 Thread Christoph Kiehl
Hi, I have a problem with tomcat and the oracle oci driver. This only occurs if I use jdk 1.4 and works fine with jdk1.3. The Oracle oci driver needs a native library (ocijdbc8.dll). This library is on my PATH and tomcat loads it fine if I place the oracle java libs (classes12.jar) in WEB-INF

RE: Design question: common/lib --> WEB-INF/lib

2002-04-05 Thread Craig R. McClanahan
On Fri, 5 Apr 2002, Mark Shaw wrote: > Date: Fri, 5 Apr 2002 16:24:28 -0800 > From: Mark Shaw <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: 'Tomcat Users List' <[EMAIL PROTECTED]> > Subject: RE: Design question: c

RE: Design question: common/lib --> WEB-INF/lib

2002-04-05 Thread Mark Shaw
ass loader to the one > for the webapp being executed on the current request thread -- > therefore, the classes in /WEB-INF/classes and > /WEB-INF/lib are visible via this class loader, even though the class containing the above code is loaded > from somewhere else. Craig, I still get

RE: Design question: common/lib --> WEB-INF/lib

2002-04-05 Thread Mark Shaw
the webapp being executed on the current request thread -- therefore, the classes in /WEB-INF/classes and > /WEB-INF/lib are visible via this class loader, even though the class containing the above code is loaded > from somewhere else. Craig, I still get a ClassNotFoundException. I'

Re: Design question: common/lib --> WEB-INF/lib

2002-04-05 Thread Craig R. McClanahan
On Fri, 5 Apr 2002, Mark Shaw wrote: > Date: Fri, 5 Apr 2002 15:29:04 -0800 > From: Mark Shaw <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> > Subject: Design que

Design question: common/lib --> WEB-INF/lib

2002-04-05 Thread Mark Shaw
I have a design question I'm guessing someone has already tackled: Description: I'm developing an application that runs within Tomcat. All the JARs for that application are in it's webapp/WEB-INF/lib, except for a few classes that implement a Realm which referenced in serve

Tomcat 4.0.2 isn't reading WEB-INF/lib files .. please help!

2002-03-07 Thread Goins, John
I have jars in a \WEB-INF\lib directory on Windows XP. The log shows the jars included, but I get a java.lang.NoClassDefFoundError. When I added the jars to the common/lib directory it works fine. I have run out of ideas. The file that contains the class ValidatableObject resides in jaxb-rt-1.0

RE: Re: Tomcat v4.0.2 : doesn't find JAR files in the WEB-INF/lib

2002-02-28 Thread Mullen-Schultz, Gary
I should add that this exact configuration works under 4.0.1. We are running on Windows 2000. > I too get this error. Here's what I see in the log: > 2002-02-27 17:04:38 WebappLoader[/WebPro]: Deploy JAR /WEB-INF/lib/KSCDomainBusinessObjects72_022202.jar to D:\Tomcat\jakarta-t

Re: Tomcat v4.0.2 : doesn't find JAR files in the WEB-INF/lib

2002-02-28 Thread Mullen-Schultz, Gary
I too get this error. Here's what I see in the log: 2002-02-27 17:04:38 WebappLoader[/WebPro]: Deploy JAR /WEB-INF/lib/KSCDomainBusinessObjects72_022202.jar to D:\Tomcat\jakarta-tomcat-4.0.2\KSCWebApps\Correspondent\WebPro\WEB-INF\lib\K SCDomainBusinessObjects72_022202.jar ... (some stu

Re: Tomcat v4.0.2 : doesn't find JAR files in the WEB-INF/lib

2002-02-28 Thread Lassie
%> I got the correct result for the classpath constructed by tomcat : E:/Webapps/Context/WEB-INF/classes E:/Webapps/Context/WEB-INF/lib/classes12.jar E:/Webapps/Context/WEB-INF/lib/myjarfile.jar E:/Webapps/Context/WEB-INF/lib/oraclexsql.jar E:/Webapps/Context/WEB-INF/lib/xmlpars

Re: Tomcat v4.0.2 : doesn't find JAR files in the WEB-INF/lib

2002-02-27 Thread Sriram Narayanan
2/27/02 11:23:51 PM, Lassie <[EMAIL PROTECTED]> wrote: >Craig R. McClanahan wrote: > >>On Wed, 27 Feb 2002, Lassie wrote: >> >>>Hi, >>>Is somebody already aware of the following behavior : >>>Tomcat is unable to find my JAR files,

Re: Tomcat v4.0.2 : doesn't find JAR files in the WEB-INF/lib

2002-02-27 Thread Lassie
Craig R. McClanahan wrote: >On Wed, 27 Feb 2002, Lassie wrote: > >>Hi, >>Is somebody already aware of the following behavior : >>Tomcat is unable to find my JAR files, if I place them into the >>/Web-inf/lib directory (classNotFoundException). >>This is on

Re: Tomcat v4.0.2 : doesn't find JAR files in the WEB-INF/lib

2002-02-27 Thread Craig R. McClanahan
On Wed, 27 Feb 2002, Lassie wrote: > Date: Wed, 27 Feb 2002 18:03:13 +0100 > From: Lassie <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Tomcat v4.0.2 : doesn't find JAR files in the WEB-INF/lib > &

Tomcat v4.0.2 : doesn't find JAR files in the WEB-INF/lib

2002-02-27 Thread Lassie
Hi, Is somebody already aware of the following behavior : Tomcat is unable to find my JAR files, if I place them into the /Web-inf/lib directory (classNotFoundException). This is only working when using %CATALINA_HOME%/lib or %CATALINA_HOME/common/lib. Is there a workaround for that ? Thanks

Re: WEB-INF/lib/SilverRuntime.jar

2002-01-28 Thread Christopher Cobb
oks like your 'jar' file is actually > named '.zip'. As I understand it, the servlet spec requires jar files to be > '.jar' and Tomcat enforces this requirement. In all likelihood, you'll get > it working by renaming 'SilverRuntime.zip' to '

RE: WEB-INF/lib/SilverRuntime.jar

2002-01-28 Thread Greg Trasuk
requirement. In all likelihood, you'll get it working by renaming 'SilverRuntime.zip' to 'SilverRuntime.jar' in your WEB-INF/lib. At worst, you may have to unzip, then 'jar' the files. Many people seem to have this problem with the Oracle JDBC driver

Re: WEB-INF/lib/SilverRuntime.jar

2002-01-28 Thread Christopher Cobb
; think that's great! CLASSPATH dependencies can get unwieldy. > > I have placed the file SilverRuntime.jar in my webapp's WEB-INF/lib directory. > An examination of this file with jar reveals that it contains the class > com.sssw.rt.util.AgiUserLogin: > > $ jar tf

WEB-INF/lib/SilverRuntime.jar

2002-01-28 Thread Christopher Cobb
I have just started using Tomcat 4 for the first time (have used Tomcat 3.x for a while) and I see that startup.sh does not access the user's CLASSPATH. I think that's great! CLASSPATH dependencies can get unwieldy. I have placed the file SilverRuntime.jar in my webapp's WEB-IN

policy for classes in WEB-INF/lib/my.jar

2001-10-21 Thread Sergey V. Udaltsov
Hi all There is my class (bean) in some jar file. I put this file into WEB-INF/lib directory - so my jsps are able to find it. But when I am trying to write to the file /tmp/my.log, I get the security AccessControlException. I added grant codeBase "file:${catalina.home}/webapps/myapp/WE

RE: .zip file in app/WEB-INF/lib

2001-10-18 Thread Randy Layman
As mentioned thousands of times before on this list (and probably lots of times on Oracle's tech support lists and most definitely the servlet specification), the WEB-INF/lib only automatically loads .jar files. If you rename classes12.zip to classes12.jar everything will work

.zip file in app/WEB-INF/lib

2001-10-18 Thread Henry
when i added the classes12.zip to my classpath for oracle JDBC, fine. however, i added that zip file to myapp/WEB-INF/lib, it says: "could not find suitable driver" should i add something to web.xml as well?

Re: Jars in WEB-INF/lib and RMI stubs in WEB-INF/classes not found

2001-09-20 Thread Vladimir Grishchenko
ED]> Sent: Thursday, September 20, 2001 2:47 PM Subject: Jars in WEB-INF/lib and RMI stubs in WEB-INF/classes not found > How does classloading work in tomcat 3.2.2? > > In deploying my application I am having problems getting classes loaded > aren't on the system classpath. I changed

Re: Jars in WEB-INF/lib and RMI stubs in WEB-INF/classes not found

2001-09-20 Thread Vladimir Grishchenko
ED]> Sent: Thursday, September 20, 2001 2:47 PM Subject: Jars in WEB-INF/lib and RMI stubs in WEB-INF/classes not found > How does classloading work in tomcat 3.2.2? > > In deploying my application I am having problems getting classes loaded > aren't on the system classpath. I changed

Jars in WEB-INF/lib and RMI stubs in WEB-INF/classes not found

2001-09-20 Thread Joshua van Tonder
lt by the batch file. I have placed log4j.jar and crimson.jar into WEB-INF/lib for my app. For other reasons crimson.jar needs to be 1st on the classpath (specifically b4 parser.jar) and I so try adding it by doing like so in batch file: set CP=%TOMCAT_HOME%\webapps\MYAPP\WEB-INF\lib\crimson.jar;%CP

Re: how to make WEB-INF/lib take priority over TOMCAT_HOME/lib

2001-09-20 Thread Giuliano Carlini
I would suggest that you set up a separate dev environment for each of your developers. Each should run their own web server, including their own private TOMCAT_HOME. Ideally, they should be working on separate machines. The more your developers dev/test environments share stuff, the more trouble

how to make WEB-INF/lib take priority over TOMCAT_HOME/lib

2001-09-20 Thread Stefan . Raschke
I don't know if the above can be done. We have a dev environement in which all developers should use the same libraries but should be able to "test" using the "local" lib directory. But The "global" lib overwrites all classes with the same name in the "local" lib. Could somebody shed light? Th

Re: WEB-INF\lib

2001-09-11 Thread Craig R. McClanahan
On Tue, 11 Sep 2001, Antonio Trigo wrote: > Date: Tue, 11 Sep 2001 20:27:44 +0100 > From: Antonio Trigo <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > To: "Tomcat-User (E-mail)" <[EMAIL PROTECTED]> > Subject: WEB-INF\lib > > Hi, > > How

WEB-INF\lib

2001-09-11 Thread Antonio Trigo
Hi, How can i map de .jar files of my application? The only way I no how to do this is to put on my classpath editing de tomcat.sh. Shouldn't there be q way of mapping these on the web.xml of each application?? Thanks in advance.

  1   2   3   >