tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christophe Cordenier (JIRA)" <...@tapestry.apache.org>
Subject [jira] Created: (TAPESTRY-2536) Add explicit message on module loading failure
Date Thu, 24 Jul 2008 07:53:31 GMT
Add explicit message on module loading failure
----------------------------------------------

                 Key: TAPESTRY-2536
                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2536
             Project: Tapestry
          Issue Type: Bug
          Components: tapestry-ioc
    Affects Versions: 5.0.11
         Environment: Tomcat 5.5, Java 1.5, Tapestry 5
            Reporter: Christophe Cordenier
            Priority: Minor


Tapestry fails to load the application if a Jar contains a corrupted Manifest file. 

Here is the stacktrace :

java.lang.RuntimeException: invalid header field
      at org.apache.tapestry.ioc.IOCUtilities.addDefaultModules(IOCUtilities.java:86)
      at org.apache.tapestry.internal.TapestryAppInitializer.<init>(TapestryAppInitializer.java:75)
      at org.apache.tapestry.TapestryFilter.init(TapestryFilter.java:72)
      at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:221)
      at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:302)
      at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:78)
      at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3635)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:4222)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
      at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
      at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
      at org.apache.catalina.core.StandardService.start(StandardService.java:448)
      at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
      at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
      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:585)
      at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
      at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
Caused by: java.io.IOException: invalid header field
      at java.util.jar.Attributes.read(Attributes.java:389)
      at java.util.jar.Manifest.read(Manifest.java:167)
      at java.util.jar.Manifest.<init>(Manifest.java:52)
      at org.apache.tapestry.ioc.IOCUtilities.addModulesInManifest(IOCUtilities.java:98)
      at org.apache.tapestry.ioc.IOCUtilities.addDefaultModules(IOCUtilities.java:78)
      ... 20 more

Would it be possible to specify an explicit message that tells which the Jar in question ?

Christophe.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


Mime
View raw message