On Jan 4, 2007, at 12:52 AM, Kamalanathan Raman wrote:
I got my EAR deployed successfully , but it is not able to start
the application , when trying to do so it is throwing this
particular exception .I have attached the stack trace . Can any one
help me out to solve this issue.
11:19:37,379 WARN [TomcatWebAppContext] TomcatWebAppContext failed
11:19:37,379 ERROR [GBeanInstanceState] Error while starting; GBean
is now in the FAILED state: abstractName="default/wlbxapp.ear/
1167889759332/ear?J2EEApplication=default/wlbxapp.ear/1167889759332/
ear,j2eeType=WebModule,name=wlbxweb.war"
java.lang.IllegalArgumentException
at java.util.zip.ZipInputStream.getUTF8String(Unknown Source)
at java.util.zip.ZipInputStream.readLOC(Unknown Source)
at java.util.zip.ZipInputStream.getNextEntry(Unknown Source)
at java.util.jar.JarInputStream.getNextEntry(Unknown Source)
at java.util.jar.JarInputStream.getNextJarEntry(Unknown Source)
at java.util.jar.JarInputStream.<init>(Unknown Source)
at java.util.jar.JarInputStream.<init>(Unknown Source)
at org.apache.catalina.util.ExtensionValidator.getManifest
(ExtensionValidator.java:372)
at
org.apache.catalina.util.ExtensionValidator.validateApplication
(ExtensionValidator.java:183)
Looks like you have a corrupted jar file in a WEB-INF/lib. Tomcat is
attempting to validate the manifest and there's an invalid UTF8
character, somewhere...
I'd start with running jar tvf on all your jar files...
--kevan