Convergence iwcadmin Shows java.rmi.UnmarshalException: Error unmarshaling return (Doc ID 1433154.1)

Last updated on JUNE 29, 2017

Applies to:

Oracle Communications Convergence - Version 2.0 and later
Information in this document applies to any platform.
***Checked for relevance on17-Sep-2013***
Still relevant

Symptoms


On Convergence 2.0,  when attempting to run iwcadmin, to configure settings of a fresh install of Convergence, the following error occurs.

# ./iwcadmin -W /root/.iwcadmin-password -o ab.corpdir.[default].enable -v true
java.rmi.UnmarshalException: Error unmarshaling return; nested exception is:
java.lang.ClassNotFoundException: com.sun.comms.client.util.XMLProcessingException (no security manager: RMI class loader disabled)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:227)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)
at com.sun.jmx.remote.internal.PRef.invoke(Unknown Source)
at javax.management.remote.rmi.RMIConnectionImpl_Stub.setAttribute(Unknown Source)
at javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.setAttribute(RMIConnector.java:938)
at com.sun.comms.client.admin.cli.transport.JMXTransportConduit.setConfigValue(Unknown Source)
at com.sun.comms.client.admin.cli.transport.JMXTransportConduit.sendRequest(Unknown Source)
at com.sun.comms.client.admin.cli.client.AdminCLIClient.sendRequest(Unknown Source)
at com.sun.comms.client.admin.cli.client.AdminCLIClient.execute(Unknown Source)
at com.sun.comms.client.admin.cli.client.AdminCLIClientInvoker.main(Unknown Source)
Caused by: java.lang.ClassNotFoundException: com.sun.comms.client.util.XMLProcessingException (no security manager: RMI class loader disabled)
at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:375)
at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:165)
at java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:620)
at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:247)
at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java:197)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1574)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1495)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1731)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1946)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1870)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:225)
... 9 more
SEVERE: The response recieved from the server is empty




STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. install GlassFish application server
2. install and configure Convergence in GlassFish application server
3. run iwcadmin to manage Convergence settings.

BUSINESS IMPACT
-----------------------
The issue has the following business impact:
Due to this issue, users might get confused since the change is actually applied:

# ./iwcadmin -W /root/.iwcadmin-password -o ab.corpdir.[default].enable
ab.corpdir.[default].enable = true

Changes

What differs from the defaults is that GlassFish is running under a non-root user as a security best practice.

Cause

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