-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
1.2.2
-
x86
-
windows_nt
Name: md23716 Date: 09/05/2000
Codeset negotiation failure
The failure below is seen when the clientside Sun ORB tries to process
the IOR sent by the serverside Orbix ORB.
Orbix2000 1.1 for Java sends the following native codesets in its IORs:
- for char: ISO-8859-1
- for wchar: UTF-16
The Sun ORB fails to negotiate a transmission codeset.
This could easily be avoided. Both client and server are Java environments.
If it's failing on the wchar negotiation, it should not. The CORBA
spec (13.7.2.6) defines UTF-16 as the fallback codeset.
If there is to be a negotiation failure, it should probably be a
CORBA.CODESET_INCOMPATIBLE rather than an INV_OBJREF.
Here is the failure:
>java ClientImpl
org.omg.CORBA.INV_OBJREF: minor code: 1398079490 completed: No
at com.sun.corba.se.internal.core.CodeSetComponentInfo.read(CodeSetComponentInfo.
java:95)
at com.sun.corba.se.internal.core.Profile.<init>(Profile.java:114)
at com.sun.corba.se.internal.core.IOR.getProfile(IOR.java:278)
at com.sun.corba.se.internal.iiop.CDRInputStream.read_Object(CDRInputStream.java:
586)
at com.sun.corba.se.internal.iiop.CDRInputStream.read_Object(CDRInputStream.java:
572)
at com.sun.corba.se.internal.corba.ORB.string_to_object(ORB.java:1017)
at ClientImpl.main(ClientImpl.java:17)
Here is the Orbix IOR:
IOR:000000000000000f49444c3a5365727665723a312e30000000000001000000000000007a0001020
00000000b392e32302e31312e3837000004970000000000193a3e0231310c97fa0390719107bbb156c6
af065365727665720000000000000300000000000000080000000049545f41000000010000001800000
00000010001000000010501000100010109000000000000000600000006000000000011
The testcase comprises numerous files - too much to post here. Contact me
for a zip file if required.
======================================================================
- duplicates
-
JDK-4360254 Need OMG Issue 3681 fixed in JDK 1.3 ORB
-
- Resolved
-