Problem:

Environment:
Product: VisiBroker for C / Java

Component: License Manager(LMADM)
Version: 8 Service Pack 3
Platform: Redhat Enterprise Linux 5
JDK: 1.6.0_20

You may encounter some lmadm run-time issues particularly related to loading class com.borland.enterprise.license.LMAdm.

Resolution:

In order to narrow down the issue, you can enable lmadm debugging through -debug parameter. You may provide the output to Customer Care when raising an issue on lmadm.

For example:

C:\\VB8\\> lmadm -debug -i console
Processed <-debug> arg
Processed <-i> application arg
Processed application arg
Look for Configuration file C:\\VB8\\bin\\lmadm.config
Processed from
Look for Configuration file C:\\VB8\\bin\\toolsjdk.config
Processed from
Processed from
Processed from
Processed from
Processed from
Ignoring 'C:\\Java\\jre6\\lib\\tools.jar' - it does not exist
Processed from
Ignoring 'C:\\VB8\\classes\\patches' - it does not exist
Processed from
Processed from
Processed from
Processed from
Processed from
Processed from
Processed from
Processed from
Processed from
Processed from
Processed from
Processed from
Processed from
JavaHome has been reset to 'C:\\Java\\jre6'
JVM appears to be Sun Java 2 v1.4
Processed <-client KNOWN> from
JVM shared library dir is C:\\Java\\jre6\\bin\\client
JVM shared library dir is C:\\Java\\jre6\\bin\\client
Loaded Java VM Library C:\\Java\\jre6\\bin\\client\\jvm.dll
JVM is 1.3.1_01 or later
Final validation of classpath
JavaVMInitArgs:
    version 0x00010002
    ignoreUnrecognized is JNI_FALSE
    nOptions is 13
    option[ 0] = '-Dborland.enterprise.licenseDefaultDir=C:\\VB8\\bin\\../license'
    option[ 1] = '-Dborland.enterprise.licenseDir=C:\\VB8\\bin\\../var'
    option[ 2] = '-Djava.io.tmpdir=C:\\VB8\\bin\\../tmp'
    option[ 3] = '-Djava.io.tmpdir.autoclean=true'
    option[ 4] = '-Dapplication.home=C:\\VB8\\bin\\..'
    option[ 5] = '-Dborland.enterprise.licenseDefaultDir=C:\\VB8\\bin\\../license'
    option[ 6] = '-Dborland.enterprise.licenseDir=C:\\VB8\\bin\\../var'
    option[ 7] = '-Dvbroker.orb.admDir=C:\\VB8\\bin\\..\\adm'
    option[ 8] = '-Dlauncher.config.params=-Dborland.enterprise.licenseDefaultDir=C:\\VB8\\bin\\../license
-Dborland.enterprise.licenseDir=C:\\VB8\\bin\\../var
-Djava.io.tmpdir=C:\\VB8\\bin\\../tmp
-Djava.io.tmpdir.autoclean=true
-Dapplication.home=C:\\VB8\\bin\\..
-Dborland.enterprise.licenseDefaultDir=C:\\VB8\\bin\\../license
-Dborland.enterprise.licenseDir=C:\\VB8\\bin\\../var
-Dvbroker.orb.admDir=C:\\VB8\\bin\\..\\adm'
    option[ 9] = '-Dlauncher.config.classpath=C:\\VB8\\lib\\lm.jar;C:\\VB8\\lib\\sanct6.jar;C:\\VB8\\lib\\mail.jar'
    option[10] = '-Djava.class.path=C:\\VB8\\lib\\lm.jar;C:\\VB8\\lib\\sanct6.jar;C:\\VB8\\lib\\mail.jar'
    option[11] = '-Dlauncher.program=C:\\VB8\\bin\\lmadm.exe'
    option[12] = 'exit' (JNI Invocation API JVM exit hook)
JVM created
Java version "1.6.0_20"
Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
Java HotSpot(TM) Client VM (build 16.3-b01, mixed mode, sharing)
JVM vendor is "Sun Microsystems Inc."
Arguments passed to java class are:
    -i
    console
Calling entry class 'static void com.borland.enterprise.license.LMAdm.main(java.lang.String[])'

======================================
License Administration Tool
--------------------------------------

[0] Direct register (requires internet connection)
[1] Register using Web, and receive activation file via email
[2] List all licenses
[3] Disable a license
[4] Enable a license
[5] Get network account name
Devil Release large distribution license
[7] Save
Music Quit
Please input your selection :