Re: Application failed to start - debug suggestions wanted
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 James, [EMAIL PROTECTED] wrote: | application failed to start : Error in dependencyCheck | java.util.zip.ZipException: invalid entry CRC Sounds like a corrupted ZIP file (duh). It might not be your WAR file, though: it might be any of the libraries that you deployed along with your webapp, or it might be something in the TOMCAT_HOME/common/lib or TOMCAT_HOME/shared/lib or TOMCAT_HOME/lib (depending on your version of TC) directories. I'd recommend running unzip -t on each JAR file to verify that they're good to go. If you use FTP to transfer files, remember to set the transfer mode to BINARY. If you use CVS to store JAR files, remember to turn off keyword expansion (-kb) when adding those files to the repository. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkijBk0ACgkQ9CaO5/Lv0PAeHQCfRu3mnyCe4wIV6m74yY/WBYOB aLIAoLgbMMNld9DJRBlxbVAuA5uMj1gT =xL6N -END PGP SIGNATURE- - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Application failed to start - debug suggestions wanted
Many thanks for all the advice - definitely the issue is in the creation or unpacking of the war file - I think this as if I just copy the file structure from the IDE, the app starts with no issue. I'll continue to trouble shoot the war files and report back. From: Christopher Schultz [EMAIL PROTECTED] Sent: 14 August 2008 00:05 To: Tomcat Users List Subject: Re: Application failed to start - debug suggestions wanted -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 James, [EMAIL PROTECTED] wrote: | application failed to start : Error in dependencyCheck | java.util.zip.ZipException: invalid entry CRC Sounds like a corrupted ZIP file (duh). It might not be your WAR file, though: it might be any of the libraries that you deployed along with your webapp, or it might be something in the TOMCAT_HOME/common/lib or TOMCAT_HOME/shared/lib or TOMCAT_HOME/lib (depending on your version of TC) directories. I'd recommend running unzip -t on each JAR file to verify that they're good to go. If you use FTP to transfer files, remember to set the transfer mode to BINARY. If you use CVS to store JAR files, remember to turn off keyword expansion (-kb) when adding those files to the repository. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkijBk0ACgkQ9CaO5/Lv0PAeHQCfRu3mnyCe4wIV6m74yY/WBYOB aLIAoLgbMMNld9DJRBlxbVAuA5uMj1gT =xL6N -END PGP SIGNATURE- - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Application failed to start - debug suggestions wanted
On Tue, Aug 12, 2008 at 8:09 PM, [EMAIL PROTECTED] [EMAIL PROTECTED]wrote: Can you suggest ways to troubleshoot the problem I am having? I can neither get my war file, nor an exploded dir tree to start (tomcat 5.5) In the [catalina] log file I see these errors, which I believed related to a corrupt archive file. Having removed the archive, and replaced with a dir tree - I see the same errors. application failed to start : Error in dependencyCheck java.util.zip.ZipException: invalid entry CRC Where should I start to troubleshoot? I assume web.xml and server.xml are important - but really, I would like to know what kind of error I should be looking for. You didn't mention what OS you're on, but if it's Linux you could start Tomcat via strace and see which file it is dealing with right before the error occurs, maybe it is a corrupt .jar file or something (on Solaris you could do the same thing with truss).