tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul S <paulstadle...@hotmail.com>
Subject Error while deploying
Date Wed, 23 Sep 2009 13:51:14 GMT

Hi

Env:
   Tomcat: 6.0.20
   Linux


I am getting this error while trying to deploy a war file. It is a simple app which has a
tld.


SEVERE: Error deploying web application archive sample.war
java.lang.IllegalArgumentException
        at java.util.zip.ZipInputStream.getUTF8String(ZipInputStream.java:301)
        at java.util.zip.ZipInputStream.readLOC(ZipInputStream.java:247)
        at java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:74)
        at java.util.jar.JarInputStream.<init>(JarInputStream.java:58)
        at java.util.jar.JarInputStream.<init>(JarInputStream.java:43)
        at org.apache.catalina.util.ExtensionValidator.getManifest(ExtensionValidator.java:378)
        at org.apache.catalina.util.ExtensionValidator.validateApplication(ExtensionValidator.java:189)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4258)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:850)
        at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:724)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:493)
        at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1274)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:296)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
        at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1337)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)
        at java.lang.Thread.run(Thread.java:619)



web.xml
--------

<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
  <display-name>Test</display-name>
  <description>Test App</description>
...
...
  <taglib>
    <taglib-uri>http://java.sun.com/jstl/core</taglib-uri>
    <taglib-location>/c-1.0.6.tld</taglib-location>
  </taglib>
</web-app>



MANIFEST.MF
--------------
Manifest-Version: 1.0
Created-By: 1.6.0_16 (Sun Microsystems Inc.)



I have  jars: jstl-1.1.2.jar and standard-1.0.6.jar under lib.


I am not sure what is missing in manifest file? Do i need to set a value for  ExtensionValidator?

Any help?


Thanks
-P





_________________________________________________________________
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
http://clk.atdmt.com/GBL/go/171222985/direct/01/
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message