powered by Jive Software

Exception when running Jan 5th Nightly build on OS X

hi there,

when i run the nightly build from Jan 5th (3.9.alpha) i get the following exception. Does anyone know if this is the issue with the build or i am missing something in the mac?

Caused by: java.lang.SecurityException: SHA1 digest error for org/bouncycastle/jcajce/provider/asymmetric/DSA$Mappings.class

I am using Darwin kernel version 13.0.0 OS X 10.9.1

java version “1.7.0_17”

Java™ SE Runtime Environment (build 1.7.0_17-b02)

Java HotSpot™ 64-Bit Server VM (build 23.7-b01, mixed mode)

2014.01.05 17:22:43 org.jivesoftware.openfire.container.PluginManager - Error loading plugin: /opt/openfire/plugins/admin

java.lang.ExceptionInInitializerError

at org.jivesoftware.openfire.container.AdminConsolePlugin.startup(AdminConsolePlug in.java:107)

at org.jivesoftware.openfire.container.AdminConsolePlugin.initializePlugin(AdminCo nsolePlugin.java:216)

at org.jivesoftware.openfire.container.PluginManager.loadPlugin(PluginManager.java :483)

at org.jivesoftware.openfire.container.PluginManager.access$300(PluginManager.java :80)

at org.jivesoftware.openfire.container.PluginManager$PluginMonitor.run(PluginManag er.java:1073)

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)

at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)

at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101 (ScheduledThreadPoolExecutor.java:98)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodi c(ScheduledThreadPoolExecutor.java:180)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Schedu ledThreadPoolExecutor.java:204)

at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java: 895)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)

at java.lang.Thread.run(Thread.java:695)

Caused by: java.lang.SecurityException: SHA1 digest error for org/bouncycastle/jcajce/provider/asymmetric/DSA$Mappings.class

at sun.security.util.ManifestEntryVerifier.verify(ManifestEntryVerifier.java:198)

at java.util.jar.JarVerifier.processEntry(JarVerifier.java:212)

at java.util.jar.JarVerifier.update(JarVerifier.java:199)

at java.util.jar.JarVerifier$VerifierStream.read(JarVerifier.java:449)

at sun.misc.Resource.getBytes(Resource.java:108)

at java.net.URLClassLoader.defineClass(URLClassLoader.java:257)

at java.net.URLClassLoader.access$000(URLClassLoader.java:58)

at java.net.URLClassLoader$1.run(URLClassLoader.java:197)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:190)

at java.lang.ClassLoader.loadClass(ClassLoader.java:306)

at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

at org.bouncycastle.jce.provider.BouncyCastleProvider.loadAlgorithms(Unknown Source)

at org.bouncycastle.jce.provider.BouncyCastleProvider.setup(Unknown Source)

at org.bouncycastle.jce.provider.BouncyCastleProvider.access$000(Unknown Source)

at org.bouncycastle.jce.provider.BouncyCastleProvider$1.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at org.bouncycastle.jce.provider.BouncyCastleProvider.(Unknown Source)

at org.jivesoftware.util.CertificateManager.(CertificateManager.java:95)

… 14 more

I just checked this on Ubuntu using same Jan 5th build and experienced the same error. I will try another build from another day and post my findings.

The build from November 30th appears to be working, there is a good chance all the rest of the builds to date not working based on the file size being the same in all of them (assuming that translate into no changes in the code)

Not sure where the problem is.

I tried the nightly build on windows 7 32bit and got the same error. However, my SVN copy version of 3.9.0 works fine. When I replaced all the jar files in the lib folder with the ones from my SVN copy, the nightly build worked fine.

Looking at the jar files in the nightly build, they don’t match up with the SVN copy. I did an update, but there is was nothing to add at revision 13852.

For now, best you checkout source and make your own build until problem is fixed.

I get exactly the same error trying to setup the official release 3.9.0 on a windows server 2008 R2 for the 1st time.

Hello,

I have the same problem.

I downlaod the official release today and i cannot execute openfire.

I have test the 2 windows version : .exe and zip

i have this errors in error.log

2014.02.06 16:29:01 org.jivesoftware.openfire.container.PluginManager - Error loading plugin: C:\Openfire\plugins\admin

java.lang.ExceptionInInitializerError

at org.jivesoftware.openfire.container.AdminConsolePlugin.startup(AdminConsolePlug in.java:107)

at org.jivesoftware.openfire.container.AdminConsolePlugin.initializePlugin(AdminCo nsolePlugin.java:216)

at org.jivesoftware.openfire.container.PluginManager.loadPlugin(PluginManager.java :483)

at org.jivesoftware.openfire.container.PluginManager.access$300(PluginManager.java :80)

at org.jivesoftware.openfire.container.PluginManager$PluginMonitor.run(PluginManag er.java:1073)

at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

at java.util.concurrent.FutureTask.runAndReset(Unknown Source)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301 (Unknown Source)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknow n Source)

at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

Caused by: java.lang.SecurityException: SHA1 digest error for org/bouncycastle/jcajce/provider/asymmetric/DSA$Mappings.class

at sun.security.util.ManifestEntryVerifier.verify(Unknown Source)

at java.util.jar.JarVerifier.processEntry(Unknown Source)

at java.util.jar.JarVerifier.update(Unknown Source)

at java.util.jar.JarVerifier$VerifierStream.read(Unknown Source)

at sun.misc.Resource.getBytes(Unknown Source)

at java.net.URLClassLoader.defineClass(Unknown Source)

at java.net.URLClassLoader.access$100(Unknown Source)

at java.net.URLClassLoader$1.run(Unknown Source)

at java.net.URLClassLoader$1.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at org.bouncycastle.jce.provider.BouncyCastleProvider.loadAlgorithms(Unknown Source)

at org.bouncycastle.jce.provider.BouncyCastleProvider.setup(Unknown Source)

at org.bouncycastle.jce.provider.BouncyCastleProvider.access$000(Unknown Source)

at org.bouncycastle.jce.provider.BouncyCastleProvider$1.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at org.bouncycastle.jce.provider.BouncyCastleProvider.(Unknown Source)

at org.jivesoftware.util.CertificateManager.(CertificateManager.java:95)

… 12 more

can you help me plz.

Ty

RODs

Please try the 3.9.1 release made just now.