Help!

How to disable brp-java-repack-jars


Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> PRM - Partner Relationship Management RSS
Next:  Globe7 has Launched new VOIP! Phone for linux use..  
Author Message
Splinker
External


Since: May 09, 2007
Posts: 1



PostPosted: Wed May 09, 2007 10:56 am    Post subject: How to disable brp-java-repack-jars
Archived from groups: linux>redhat>rpm (more info?)

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:9Cool
.... 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.
Back to top
Scott Lurndal
External


Since: Oct 20, 2004
Posts: 82



PostPosted: Thu May 10, 2007 12:05 am    Post subject: Re: How to disable brp-java-repack-jars [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Splinker <gbofspam DeleteThis @gmail.com> writes:
>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:9Cool
>... 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.
>

brb-java-repack-jars will be located in /usr/lib/rpm. Go ahead and
edit it or remove it.

scott
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> PRM - Partner Relationship Management All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum