Lucene Index Server does not start

  • 7016631
  • 23-Jun-2015
  • 15-Jul-2015

Environment

Novell Vibe 4.0
Lucene Index Server on remote server

Situation

When attempting to start the Lucene Index service on a remote server, the service does not start and the following error is logged under /var/opt/novell/teaming/luceneserver/indexserver/logs/indexserver.stderrout.out:

Exception in thread "main" java.lang.NoClassDefFoundError: org/bouncycastle/jce/provider/BouncyCastleProvider
    at com.novell.teaming.lucene.server.BaseServer.getEncryptor(BaseServer.java:111)
    at com.novell.teaming.lucene.server.BaseServer.encryptExtProps(BaseServer.java:138)
    at com.novell.teaming.lucene.server.BaseServer.loadProperties(BaseServer.java:50)
    at com.novell.teaming.lucene.server.SsfIndexServer.main(SsfIndexServer.java:55)
Caused by: java.lang.ClassNotFoundException: org.bouncycastle.jce.provider.BouncyCastleProvider
    at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    ... 4 more

Resolution

 A fix for this issue is available in the Vibe 4.0 Hot Patch 2, available via the Novell Patch Finder.

Cause

The problem occurs when Lucene Index Server is installed using the Vibe 4.0 HP1 installer due to a missing reference to an updated library file in startup and shutdown scripts.