1 Reply Latest reply: Mar 31, 2010 12:25 AM by 843804 RSS

    Jar order in war file

    843804
      Hi All ,
      I want to specify order of the jar's in a war file. According to the online info i have read. It says use manifest file , but when i specify the Class-Path tag and the jars it gives me the "java.io.IOException: invalid header field"

      Stack trace is
      java.io.IOException: invalid header field
              at java.util.jar.Attributes.read(Attributes.java:389)
              at java.util.jar.Manifest.read(Manifest.java:182)
              at java.util.jar.Manifest.<init>(Manifest.java:52)
              at org.apache.catalina.util.ExtensionValidator.validateApplication(ExtensionValidator.java:152)
              at org.apache.catalina.core.StandardContext.start(StandardContext.java:4187)
              at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
              at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
              at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
              at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:277)
              at org.apache.catalina.core.StandardHost.install(StandardHost.java:832)
              at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:625)
              at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:431)
              at org.apache.catalina.startup.HostConfig.start(HostConfig.java:983)
              at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:349)
              at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
              at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091)
              at org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
              at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
              at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
              at org.apache.catalina.core.StandardService.start(StandardService.java:480)
              at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
              at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
              at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)