Me again.. fixed it by wiping out my local maven repository first (Thanks Betrand)..
This might be common for people who upgrade from a previous version of Sling. Maybe it should be a note in the setup instructions before building? Thanks, Branden -----Branden Visser <bran...@uwindsor.ca> wrote: ----- To: dev@sling.apache.org From: Branden Visser <bran...@uwindsor.ca> Date: 09/23/2009 09:27PM Subject: Re: Error starting JVM Oh... the issue looks like it should have been fixed [1].. I just bumped into it in trunk. Is this a regression? [1] http://issues.apache.org/jira/browse/SLING-830 -----Branden Visser <bran...@uwindsor.ca> wrote: ----- To: dev@sling.apache.org From: Branden Visser <bran...@uwindsor.ca> Date: 09/23/2009 09:24PM Subject: Re: Error starting JVM D'oh, ran into a different thread on this at: http://mail-archives.apache.org/mod_mbox/incubator-sling-dev/200901.mbox/%3c766279.16114...@web51905.mail.re2.yahoo.com%3e Sorry for the dupe. Best, Branden -----Branden Visser <bran...@uwindsor.ca> wrote: ----- To: dev@sling.apache.org From: Branden Visser <bran...@uwindsor.ca> Date: 09/23/2009 09:20PM Subject: Error starting JVM I'm getting a SecurityException [1] when trying to start up the Sling JVM after a fresh build of trunk: Does anyone know what could be happening here? I followed instructions at http://sling.apache.org/site/getting-and-building-sling.html Thanks, Branden [1] desktop:~/workspaces/Sling/sling-builder/launchpad/app/target$ java -jar org.apache.sling.launchpad.app-6-SNAPSHOT.jar -c sling -f - 23.09.2009 21:08:39.151 *INFO* [main] Setting sling.home=sling (command line) 23.09.2009 21:08:39.152 *INFO* [main] Starting Sling in sling 23.09.2009 21:08:39.153 *INFO* [main] Checking launcher JAR in sling 23.09.2009 21:08:39.189 *INFO* [main] Installed or Updated launcher JAR file from jar:file:/home/branden/workspaces/Sling/sling-builder/launchpad/app/target/org.apache.sling.launchpad.app-6-SNAPSHOT.jar!/resources/org.apache.sling.launchpad.base.jar 23.09.2009 21:08:39.189 *INFO* [main] Loading launcher class org.apache.sling.launchpad.base.app.MainDelegate Exception in thread "main" java.lang.SecurityException: Invalid signature file digest for Manifest main attributes at sun.security.util.SignatureFileVerifier.processImpl(SignatureFileVerifier.java:239) at sun.security.util.SignatureFileVerifier.process(SignatureFileVerifier.java:193) at java.util.jar.JarVerifier.processEntry(JarVerifier.java:251) at java.util.jar.JarVerifier.update(JarVerifier.java:205) at java.util.jar.JarFile.initializeVerifier(JarFile.java:338) at java.util.jar.JarFile.getInputStream(JarFile.java:403) at sun.misc.URLClassPath$JarLoader$2.getInputStream(URLClassPath.java:706) at sun.misc.Resource.cachedInputStream(Resource.java:76) at sun.misc.Resource.getByteBuffer(Resource.java:171) at java.net.URLClassLoader.defineClass(URLClassLoader.java:266) at java.net.URLClassLoader.access$000(URLClassLoader.java:73) at java.net.URLClassLoader$1.run(URLClassLoader.java:212) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:205) at org.apache.sling.launchpad.base.shared.LauncherClassLoader.loadClass(LauncherClassLoader.java:131) at java.lang.ClassLoader.loadClass(ClassLoader.java:268) at org.apache.sling.launchpad.base.shared.Loader.loadLauncher(Loader.java:72) at org.apache.sling.launchpad.app.Main.startSling(Main.java:207) at org.apache.sling.launchpad.app.Main.<init>(Main.java:85) at org.apache.sling.launchpad.app.Main.main(Main.java:56) 23.09.2009 21:08:39.292 *INFO* [Sling Terminator] Java VM is shutting down