Splinker
2007-05-09 17:56:26 UTC
I have some jar files that are being modified by brp-java-repack-jars
during rpmbuild. Unfortunately it removes empty directories, which
upsets Tomcat no end:
sun.misc.InvalidJarIndexException: Invalid index
at sun.misc.URLClassPath$JarLoader.getResource(Unknown Source)
at sun.misc.URLClassPath$JarLoader.getResource(Unknown Source)
at sun.misc.URLClassPath$JarLoader.findResource(Unknown Source)
at sun.misc.URLClassPath.findResource(Unknown Source)
at java.net.URLClassLoader$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findResource(Unknown Source)
at java.lang.ClassLoader.getResource(Unknown Source)
at org.apache.commons.modeler.Registry.loadDescriptors(Registry.java:
895)
at
org.apache.catalina.mbeans.MBeanUtils.createRegistry(MBeanUtils.java:
1361)
at org.apache.catalina.mbeans.MBeanUtils.<clinit>(MBeanUtils.java:98)
... 28 more
Is there a way to disable this from being run? I've stuck an "exit"
at the top of the script to get around the problem, but this is an
ugly hack and I need to get rid of it.
during rpmbuild. Unfortunately it removes empty directories, which
upsets Tomcat no end:
sun.misc.InvalidJarIndexException: Invalid index
at sun.misc.URLClassPath$JarLoader.getResource(Unknown Source)
at sun.misc.URLClassPath$JarLoader.getResource(Unknown Source)
at sun.misc.URLClassPath$JarLoader.findResource(Unknown Source)
at sun.misc.URLClassPath.findResource(Unknown Source)
at java.net.URLClassLoader$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findResource(Unknown Source)
at java.lang.ClassLoader.getResource(Unknown Source)
at org.apache.commons.modeler.Registry.loadDescriptors(Registry.java:
895)
at
org.apache.catalina.mbeans.MBeanUtils.createRegistry(MBeanUtils.java:
1361)
at org.apache.catalina.mbeans.MBeanUtils.<clinit>(MBeanUtils.java:98)
... 28 more
Is there a way to disable this from being run? I've stuck an "exit"
at the top of the script to get around the problem, but this is an
ugly hack and I need to get rid of it.