[
https://jira.jboss.org/jira/browse/JBAS-6401?page=com.atlassian.jira.plug...
]
haim haim updated JBAS-6401:
----------------------------
Attachment: server.log
Server log
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.2.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
Fix For: JBossAS-4.2.3.GA
Attachments: server.log, 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