[jboss-jira] [JBoss JIRA] Resolved: (JBAS-6401) sun.misc.InvalidJarIndexException: Invalid index when jboss compile class for JSP

Remy Maucherat (JIRA) jira-events at lists.jboss.org
Fri Feb 5 12:10:28 EST 2010


     [ https://jira.jboss.org/jira/browse/JBAS-6401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Remy Maucherat resolved JBAS-6401.
----------------------------------

    Resolution: Out of Date


This does not seem to occur on AS trunk anymore.

> sun.misc.InvalidJarIndexException: Invalid index when jboss compile class for JSP
> ---------------------------------------------------------------------------------
>
>                 Key: JBAS-6401
>                 URL: https://jira.jboss.org/jira/browse/JBAS-6401
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Web (Tomcat) service
>    Affects Versions: JBossAS-4.2.3.GA
>         Environment: OS: Fedora release 9 (Sulphur)  2.6.27.9-73.fc9.i686 #1 SMP Tue Dec 16 15:25:05 EST 2008 i686 i686 i386 GNU/Linux
> Java: java version "1.5.0_08"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_08-b03)
> Java HotSpot(TM) Server VM (build 1.5.0_08-b03, mixed mode)
> Maven 2.0.7
>            Reporter: haim haim
>            Assignee: Remy Maucherat
>         Attachments: server.log, valve.jar, xbean.jar
>
>
> When jboss is trying to compile JSPs I get the following exception 
> sun.misc.InvalidJarIndexException: Invalid index
>         at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:769)
>         at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:682)
>         at sun.misc.URLClassPath$JarLoader.findResource(URLClassPath.java:663)
>         at sun.misc.URLClassPath.findResource(URLClassPath.java:142)
>         at java.net.URLClassLoader$2.run(URLClassLoader.java:362)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findResource(URLClassLoader.java:359)
>         ... see attachment 
> When tracking down the jars i found out that the jar xbean.jar  (Apache XmlBeans version 2.2.0-r413705) is the one that throws the exception
> The jar was located under 
> jboss.dir/server/default/deploy/my.ear/lib/
> when I copied the jar to 
> jboss.dir/server/default/deploy/lib
> every think started working fine
> I have a similar issue with a valve jar I am placing under 
> jboss.dir/server/default/deploy/jboss-web.deployer/

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list