Error on launching "Enterprise Manager or Viewer"

Hi,
I have installed wM9.7 free trail version which has umserver.
On successful installation, RealmServer started successfully. However, I am getting below error after launching “Enterprise Manager/Viewer”.

STATUS | wrapper | → Wrapper Started as Console
STATUS | wrapper | Java Service Wrapper Standard Edition 64-bit 3.5.25
STATUS | wrapper | Copyright (C) 1999-2014 Tanuki Software, Ltd. All Rights Reserved.
STATUS | wrapper | http://wrapper.tanukisoftware.com
STATUS | wrapper | Licensed to Software AG for nenterprisemgr
STATUS | wrapper |
WARN | wrapper | The ‘HPROXY’ environment variable was referenced but has not been defined.
WARN | wrapper | The ‘HAUTH’ environment variable was referenced but has not been defined.
WARN | wrapper | The ‘CKEYSTORE’ environment variable was referenced but has not been defined.
WARN | wrapper | The ‘CKEYSTOREPASSWD’ environment variable was referenced but has not been defined.
WARN | wrapper | The ‘CAKEYSTORE’ environment variable was referenced but has not been defined.
WARN | wrapper | The ‘CAKEYSTOREPASSWD’ environment variable was referenced but has not been defined.
STATUS | wrapper | Launching a JVM…
INFO | jvm 1 | WrapperManager: Initializing…
INFO | jvm 1 | WrapperSimpleApp:
INFO | jvm 1 | WrapperSimpleApp Error: Encountered an error running main:
INFO | jvm 1 | WrapperSimpleApp Error: java.lang.NoClassDefFoundError: com/pcbsys/nirvana/nAdminAPI/nContainer
INFO | jvm 1 | WrapperSimpleApp Error: at com.pcbsys.nirvana.nAdminTool.gui.nEnterpriseManager.(nEnterpriseManager.java:15)
INFO | jvm 1 | WrapperSimpleApp Error: at com.pcbsys.nirvana.nAdminTool.gui.nEnterpriseManager.main(nEnterpriseManager.java:50)
INFO | jvm 1 | WrapperSimpleApp Error: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 1 | WrapperSimpleApp Error: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
INFO | jvm 1 | WrapperSimpleApp Error: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO | jvm 1 | WrapperSimpleApp Error: at java.lang.reflect.Method.invoke(Method.java:606)
INFO | jvm 1 | WrapperSimpleApp Error: at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:290)
INFO | jvm 1 | WrapperSimpleApp Error: at java.lang.Thread.run(Thread.java:745)
INFO | jvm 1 | WrapperSimpleApp Error: Caused by: java.lang.ClassNotFoundException: com.pcbsys.nirvana.nAdminAPI.nContainer
INFO | jvm 1 | WrapperSimpleApp Error: at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
INFO | jvm 1 | WrapperSimpleApp Error: at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
INFO | jvm 1 | WrapperSimpleApp Error: at java.security.AccessController.doPrivileged(Native Method)
INFO | jvm 1 | WrapperSimpleApp Error: at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
INFO | jvm 1 | WrapperSimpleApp Error: at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
INFO | jvm 1 | WrapperSimpleApp Error: at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
INFO | jvm 1 | WrapperSimpleApp Error: at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
INFO | jvm 1 | WrapperSimpleApp Error: … 8 more
STATUS | wrapper | ← Wrapper Stopped

Observations:
HPROXY, HAUTH, CKEYSTORE, CKEYSTOREPASSWD, CAKEYSTORE, CAKEYSTOREPASSWD are defined in “C:\webMethods97\UniversalMessaging\java\umserver\bin\Admin_Tools_Common.conf” file. However, the Values are blank.

set.default.HPROXY=
set.default.HAUTH=
set.default.LOGLEVEL=4
set.default.KEYSTORE=
set.default.KEYSTOREPASSWD=
set.default.CAKEYSTORE=
set.default.CAKEYSTOREPASSWD=
set.default.PRINCIPAL=%USERNAME%
set.default.PASSWORD=password
set.default.CKEYSTORE=
set.default.CKEYSTOREPASSWD=
set.default.GLOBALSTORECAPACITY=0

[b]Please let me know what values should I specify to address the above issue. Thanks for your help!

[/b]

You may have to contact SAG tech support about the free trail and issues and see if they can assist faster:

HTH,
RMG

I too ran into the same problem. To resolve, open the file nenterprisemgr.conf with your favorite text editor. And, add the nServer.jar in the classpath section. For example:
wrapper.java.classpath.17=…/…/…/lib/nServer.jar
This is the jar that contains the missing class.

Now having said that, there is an alternate method of installing Enterprise Manager and will avoid the problem. And, I believe the alternate method is probably the recommended method of installing Enterprise Manager. Please see the attached document for details. My friend Ramesh gets recognition for showing me this method of installing Enterprise Manager.

Install-EM.pdf (1.34 MB)

1 Like

Thanks for your time in sharing the installation steps with screen shots. The installation is very simple and straight forward just like installing other webMethods components.

Thanks DCova for your resolution steps. Initially I got the error when I’m trying to open enterprise manager, after I have updated the nServer.jar path in nenterprisemgr.conf, issue resolved. But again when I’m trying to create new REALM instance, I’m getting the below error. Can you please have a look and let me know how to proceed.

C:\SoftwareAG95\nirvana\java\umserver9000\bin>ninstancemanager create umserver90
01 RS 10.60.128.162 9001

[i]–> Wrapper Started as Console
Java Service Wrapper Standard Edition 64-bit 3.5.20
Copyright (C) 1999-2013 Tanuki Software, Ltd. All Rights Reserved.
http://wrapper.tanukisoftware.com
Licensed to Software AG for ninstancemanager

Launching a JVM…
WrapperManager: Initializing…
Created RS instance umserver9001
com.softwareag.install.tools.ToolException: Wrapper executable is not found.
at com.softwareag.num.install.NUMInstanceManager.createInstanceManager(N
UMInstanceManager.java:2231)
at com.softwareag.num.install.NUMInstanceManager.processInstanceCreate(N
UMInstanceManager.java:372)
at com.softwareag.num.install.NUMInstanceManager.main(NUMInstanceManager
.java:194)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.pcbsys.foundation.utils.fInstanceManager.main(fInstanceManager.ja
va:19)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java
:290)
at java.lang.Thread.run(Thread.java:724)
← Wrapper Stopped[/i]

Check via SUM whether you have any UM fix and Common library fix to be installed to over come this issue. Give a try.