powered by Jive Software

Windows OpenFire 3.9.0 Upgrade Fails

So I did an upgrade of 3.8.2 to 3.9.0 on my Windows Server 2008R2 machine and now OpenFire refuses to open. This is a virtual server do rolling back was easy. Here is the error from starting the program:

java.lang.ExceptionInInitializerError

at org.jivesoftware.openfire.net.SSLConfig.(SSLConfig.java:159)

at org.jivesoftware.openfire.spi.ConnectionManagerImpl.isClientSSLListenerEnabled( ConnectionManagerImpl.java:625)

at org.jivesoftware.openfire.spi.ConnectionManagerImpl.createClientSSLListeners(Co nnectionManagerImpl.java:423)

at org.jivesoftware.openfire.spi.ConnectionManagerImpl.createListeners(ConnectionM anagerImpl.java:136)

at org.jivesoftware.openfire.spi.ConnectionManagerImpl.start(ConnectionManagerImpl .java:912)

at org.jivesoftware.openfire.XMPPServer.startModules(XMPPServer.java:627)

at org.jivesoftware.openfire.XMPPServer.start(XMPPServer.java:493)

at org.jivesoftware.openfire.XMPPServer.(XMPPServer.java:216)

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

at java.lang.reflect.Constructor.newInstance(Unknown Source)

at java.lang.Class.newInstance0(Unknown Source)

at java.lang.Class.newInstance(Unknown Source)

at org.jivesoftware.openfire.starter.ServerStarter.start(ServerStarter.java:113)

at org.jivesoftware.openfire.starter.ServerStarter.main(ServerStarter.java:58)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)

at com.exe4j.runtime.WinLauncher.main(Unknown Source)

at com.install4j.runtime.launcher.WinLauncher.main(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$000(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)

… 23 more

Exception in thread “Thread-4” java.lang.NoClassDefFoundError: Could not initialize class org.jivesoftware.util.CertificateManager

at org.jivesoftware.openfire.http.HttpBindManager.stop(HttpBindManager.java:162)

at org.jivesoftware.openfire.spi.ConnectionManagerImpl.stop(ConnectionManagerImpl. java:926)

at org.jivesoftware.openfire.XMPPServer.shutdownServer(XMPPServer.java:979)

at org.jivesoftware.openfire.XMPPServer.access$800(XMPPServer.java:148)

at org.jivesoftware.openfire.XMPPServer$ShutdownHookThread.run(XMPPServer.java:925 )

what type of SSL certificate are you using or is this coming with the self signed cert?

daryl

Using whatever self-signed certificate was originally created when I first installed. (I do not recall using OpenFire tools of any sort to create a self-signed cert.)

Same problem here, Scott. My upgrade from 3.8.1 first “updated the database”, and then gave the same error sequence that you mentioned.

I tried to install a new copy, completely removing the old version, and it never starts listening on the admin port 9090. The message never comes up that says it is listening, anyways. At first, I hoped it was just not reporting the login URL anymore, but after checking, it really was not working.

There is definitely something wrong with the Windows 3.9.0 build.

I think there is troubles with the files I uploaded to S3, could you kindly try the .exe linked here:

http://bamboo.igniterealtime.org/browse/OPENFIRE-NIGHTLYWINDOWS-1209/artifact/sh ared/Project-Windows-distribution-files/

This .exe also fails for me, unfortunately.

Here is the error log after an upgrade attempt:

java.lang.ExceptionInInitializerError

at org.jivesoftware.openfire.net.SSLConfig.(SSLConfig.java:159)

at org.jivesoftware.openfire.spi.ConnectionManagerImpl.isClientSSLListenerEnabled( ConnectionManagerImpl.java:625)

at org.jivesoftware.openfire.spi.ConnectionManagerImpl.createClientSSLListeners(Co nnectionManagerImpl.java:423)

at org.jivesoftware.openfire.spi.ConnectionManagerImpl.createListeners(ConnectionM anagerImpl.java:136)

at org.jivesoftware.openfire.spi.ConnectionManagerImpl.start(ConnectionManagerImpl .java:912)

at org.jivesoftware.openfire.XMPPServer.startModules(XMPPServer.java:627)

at org.jivesoftware.openfire.XMPPServer.start(XMPPServer.java:493)

at org.jivesoftware.openfire.XMPPServer.(XMPPServer.java:216)

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

at java.lang.reflect.Constructor.newInstance(Unknown Source)

at java.lang.Class.newInstance0(Unknown Source)

at java.lang.Class.newInstance(Unknown Source)

at org.jivesoftware.openfire.starter.ServerStarter.start(ServerStarter.java:113)

at org.jivesoftware.openfire.starter.ServerStarter.main(ServerStarter.java:58)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)

at com.exe4j.runtime.WinLauncher.main(Unknown Source)

at com.install4j.runtime.launcher.WinLauncher.main(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$000(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)

… 23 more

Exception in thread “Thread-4” java.lang.NoClassDefFoundError: Could not initialize class org.jivesoftware.util.CertificateManager

at org.jivesoftware.openfire.http.HttpBindManager.stop(HttpBindManager.java:162)

at org.jivesoftware.openfire.spi.ConnectionManagerImpl.stop(ConnectionManagerImpl. java:926)

at org.jivesoftware.openfire.XMPPServer.shutdownServer(XMPPServer.java:979)

at org.jivesoftware.openfire.XMPPServer.access$800(XMPPServer.java:148)

at org.jivesoftware.openfire.XMPPServer$ShutdownHookThread.run(XMPPServer.java:925 )

I have the same problem.

Exact same issue here as well. Even downloaded the executable using the link in this post.

Are you able to report the md5sum on that file?

71929668be855bc04376b0dae4182b05

Darn, that is correct. I’ll bug Guus about this and see what he thinks.

Thanks appreciate the help!

I am also facing the exact same problem with the upgrade from 3.8.2 to 3.9.0. I have reverted back to my previous install until the problems are ironed out.

Same issue here. How can I do a roll back without wiping my settings?

Did you not backup the Openfire installation folder? If you did, you just need to stop the Openfire service, replace the upgrade folder with the original, restart the service and everything should be back to normal.

Having the exact same problem here. I ended up restoring the old program folder from shadow copy and it fired right up again as 3.8.2.

Bummer.

Same exact result for me also. Do we have any updates on what’s going on?

We are actively trying to isolate what is failing.

Good luck on this one.

It also seems to cause some problems on Linux

builds are in progress to fix this, we hope. Cross fingers.

1 Like