|
Problem |
For an org.omg.CORBA.DATA_CONVERSION error, the WebSphere®
Application Server Information Center lists minor code possibilities of 1
to 5, but does not mention 6. This is located at http://www.ibm.com/software/webservers/appserv/doc/v40/ae/infocenter/was/080701.html. |
|
Solution |
This error might occur if there are incompatible code sets
between WebSphere and clients:
java.rmi.RemoteException: CORBA DATA_CONVERSION 6 No; nested exception
is:
org.omg.CORBA.DATA_CONVERSION: minor code: 6 completed: No
In JDK™ 1.3, the minor code 6 should have been a vendor-specific code,
but it was not. An org.omg.CORBA.DATA_CONVERSION: minor code: 6
maps to a similar MARSHAL minor code 6 exception in the Information Center
on page http://www-3.ibm.com/software/webservers/appserv/doc/v40/ae/infocenter/was/080701.html:
"Character encountered while marshaling or unmarshaling a character or
string that is not ISO Latin-1 (8859.1) compliant. It is not in the range
of 0 to 255."
In JDK 1.3.1, whenever a system exception is issued, a reason string and a
minor code are added to provide a better explanation of the problem.
For more information, the standard minor codes are defined in section
3.17.2 of the CORBA 2.3.1 spec.
In many instances, the CORBA DATA_CONVERSION minor code 6 error can be
fixed by adjusting the com.ibm.CORBA.ORBCharEncoding setting on the
Application Server, administrative server, and/or client to allow for
Unicode characters to pass.
For example, to change the administrative server setting, add
com.ibm.CORBA.ORBCharEncoding=utf8 to the admin.config file
located in WAS_Install\bin.
To change Application Server, add
-Dcom.ibm.CORBA.ORBCharEncoding=utf8 in the Command Line Arguments
of the Application Server's advanced JVM™ settings under the JVM Settings
tab.
To change the client, include com.ibm.CORBA.ORBCharEncoding=utf8 in
the startup command line arguments of launchClient. |
|
|
|
|
|
|