Instant Messaging 8: Problem Setting JVM Option With "=" In iim_server.jvm.options

(Doc ID 1394861.1)

Last updated on JANUARY 11, 2017

Applies to:

Oracle Communications Instant Messaging Server - Version 8.0 and later
Information in this document applies to any platform.


In Instant Messaging Server 8, setting

iim_server.jvm.options = "-Djava.library.path=/app/AccessServerSDK/oblix/lib/"

in iim.conf does not result in "-Djava.library.path=/app/AccessServerSDK/oblix/lib/" being pre-pended to the server start-up command.


Instead, only "/app/AccessServerSDK/oblix/lib/" is pre-pended, e.g.

/opt/sun/comms/im/sbin/../lib/execdaemon /app/jdk1.6.0_20/bin/java
/app/AccessServerSDK/oblix/lib/ -Dlogdir=/var/opt/SUNWiim/default/log

-Djava.awt.headless=true -server -Xmx256m -cp

This causes the server to fail to start, with the following error:

[ Oct 29 17:04:45 Executing start method
("/opt/sun/comms/im/sbin/imadmin start") ]
Starting Watchdog Exception in thread "main"
java.lang.NoClassDefFoundError: /app/AccessServerSDK/oblix/lib/
Caused by: java.lang.ClassNotFoundException: .app.AccessServerSDK.oblix.lib.
      at Method)
      at java.lang.ClassLoader.loadClass(
      at sun.misc.Launcher$AppClassLoader.loadClass(
      at java.lang.ClassLoader.loadClass(
Could not find the main class: /app/AccessServerSDK/oblix/lib/.
Program will exit.


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms