Comment #5 on issue 5264 by
emmanuel...@gmail.com: While running i got
ok, i have packed other jars with selenium jars (resolved with Ivy through
nexus!) using Ant (standard <jar> task!).
<jar jarfile="${dist}/${fileName}" update="true" duplicate="preserve">
<zipgroupfileset dir="${lib}">
<include name="compile/*-*.jar" />
<!--include name="runtime/*-*.jar" / -->
</zipgroupfileset>
</jar>
Then when i execute a program such as running:
java -cp MyJarsContainingSeleniumJars z.y.x.MyApp
then i've got only that:
/software/jdk1.7.0_04/bin/java -Xmx14g -XX:MaxPermSize=512M -cp
conf:/home/agistest/AGIS/dist/AGIS-11.0.0.jar
-Dlog4j.configuration=file:conf/logging.properties -Dhostid=2
-DrunDesc=NIGHTLY_T3_CG_28-02-2013-20:09:38_1 x.y.z.Launcher args
Exception in thread "main" java.lang.SecurityException: Invalid signature
file digest for Manifest main attributes
at
sun.security.util.SignatureFileVerifier.processImpl(SignatureFileVerifier.java:240)
at
sun.security.util.SignatureFileVerifier.process(SignatureFileVerifier.java:193)
at java.util.jar.JarVerifier.processEntry(JarVerifier.java:262)
at java.util.jar.JarVerifier.update(JarVerifier.java:216)
at java.util.jar.JarFile.initializeVerifier(JarFile.java:341)
at java.util.jar.JarFile.getInputStream(JarFile.java:406)
at sun.misc.JarIndex.getJarIndex(JarIndex.java:137)
at sun.misc.URLClassPath$JarLoader$1.run(URLClassPath.java:668)
at sun.misc.URLClassPath$JarLoader$1.run(URLClassPath.java:660)
at java.security.AccessController.doPrivileged(Native Method)
at sun.misc.URLClassPath$JarLoader.ensureOpen(URLClassPath.java:659)
at sun.misc.URLClassPath$JarLoader.<init>(URLClassPath.java:632)
at sun.misc.URLClassPath$3.run(URLClassPath.java:362)
at sun.misc.URLClassPath$3.run(URLClassPath.java:352)
at java.security.AccessController.doPrivileged(Native Method)
at sun.misc.URLClassPath.getLoader(URLClassPath.java:351)
at sun.misc.URLClassPath.getLoader(URLClassPath.java:328)
at sun.misc.URLClassPath.getResource(URLClassPath.java:194)
at java.net.URLClassLoader$1.run(URLClassLoader.java:358)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
at
sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:480)
The question is, is there any SF, RSA or any other type of file signed in
the Selenium dist that could cause that???
Thanks for support!