Re: Can't find classes in jar files in WEB-INF

2007-02-20 Thread aladdin
Have we given up here? Do I need to have the packages in separate jars? On Monday 19 February 2007 08:02, David Smith wrote: You don't need to tell tomcat to look in WEB-INF/lib/*.jar. Tomcat does that automatically per spec. I'm guessing there is something wrong with the way your jar was

Re: Can't find classes in jar files in WEB-INF

2007-02-20 Thread David Smith
No just got busy with work. Given what you provided in your last post, it seems to come down to permissions or something overlooked. Are you running the security manager? Have you checked file permissions? Did you restart tomcat (or at least restart the webapp) after building the .jar

Re: Can't find classes in jar files in WEB-INF

2007-02-20 Thread Williams, Allen
No just got busy with work. Given what you provided in your last post, it seems to come down to permissions or something overlooked. Are you running the security manager? I don't think so. I'm rather new to this (this is the first webapp I've attempted to deploy), but I don't see

Re: Can't find classes in jar files in WEB-INF

2007-02-19 Thread David Smith
You don't need to tell tomcat to look in WEB-INF/lib/*.jar. Tomcat does that automatically per spec. I'm guessing there is something wrong with the way your jar was created or a permissions problem. Try testing the jar with $JAVA_HOME/bin/jar tf whatever.jar (linux/maxos syntax) or

Re: Can't find classes in jar files in WEB-INF

2007-02-19 Thread aladdin
Here's a snippet of my web.xml that shows the filter: servlet servlet-nameReqMgr/servlet-name servlet-classinfoIsland.ReqMgr/servlet-class /servlet servlet-mapping servlet-nameReqMgr/servlet-name url-pattern/members/servlet/ReqMgr/url-pattern /servlet-mapping

Re: Can't find classes in jar files in WEB-INF

2007-02-18 Thread David Smith
It should be noted there are only a couple of places .jar files are allowed in tomcat: 1. WEB-INF/lib 2. common/lib of the tomcat installation directory WEB-INF itself is not checked or scanned for .jar files at all. In addition, any files in the classes directory will override their

Re: Can't find classes in jar files in WEB-INF

2007-02-18 Thread aladdin
Thanks for the tip! I don't think I'd have a conflict with all the classes in my application. Although some of my classes have common names, like user.java (compiled, of course, to user.class), they are all member of just one of three packages: infoisland, dbMgr, and utils, so I don't think the

Re: Can't find classes in jar files in WEB-INF

2007-02-18 Thread Martin Gainty
strictement interdit de le diffuser, de le distribuer ou de le reproduire. - Original Message - From: aladdin [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Sunday, February 18, 2007 9:46 PM Subject: Re: Can't find classes in jar files in WEB-INF Thanks for the tip! I

Can't find classes in jar files in WEB-INF (was: Recurring (looping?) error messages)

2007-02-17 Thread aladdin
When I put my webapp.jar file in the WEB-INF directory, it doesn't find the app. When I exploded it into the classes directory, and associated subdirectories, they are found fine, but I get this problem (the one below). This, it turns out, is triggered by the fact I have the webapp.jar file in