RE: WEB-INF/lib/myjar.jar doesn't contain file xyz...
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.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.jar is missing, which is plain wrong: when you unzip the .jar, it's there. Also, I've got another application that also uses cayenne.jar - on the same tomcat server - and it just works. Am I missing something here? Tia, Tomislav - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE --- QAS Ltd. Registered in England: No 2582055 Registered in Australia: No 082 851 474 --- /FONT - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: WEB-INF/lib/myjar.jar doesn't contain file xyz...
When I get this it is usually either because I miss spelled the library I was calling or because the permissions on the jar file are too restrictive to allow Tomcat to open it. i.e. I logged in and transfered the file as root and the tomcat user can not read it. I actually have a script 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 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.jar is missing, which is plain wrong: when you unzip the .jar, it's there. Also, I've got another application that also uses cayenne.jar - on the same tomcat server - and it just works. Am I missing something here? Tia, Tomislav - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Brian Cook Digital Services Analyst Print Time Inc. [EMAIL PROTECTED] 913.345.8900 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: WEB-INF/lib/myjar.jar doesn't contain file xyz...
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 the one that worked before), I went rowing for an hour or two, came back and everything was all fine and well again. :) Anyway, I thank everyone for the effort. Tomislav - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]