[omniORB] string_to_object

OKeeffe, Michael K MOKEEFFE at amfam.com
Tue Sep 27 09:40:01 BST 2005


Sun's JDK 1.4.2 helpfully adds the package and classname to the start of
the IOR string.  Once that is stripped off, it will work fine with
omniORB, and presumably any other ORB adhering to the standard!

-----Original Message-----
From: omniorb-list-bounces at omniorb-support.com
[mailto:omniorb-list-bounces at omniorb-support.com] On Behalf Of Gary
Duzan
Sent: Monday, September 26, 2005 7:21 PM
To: Greg Trimble
Cc: omniorb-list at omniorb-support.com
Subject: Re: [omniORB] string_to_object 


In Message <21984323050926161368c06d16 at mail.gmail.com> ,
   Greg Trimble <gtrimble at gmail.com> wrote:

=>I end up getting the error with the catior utility:
=>
=>Invalid stringified IOR supplied.
=>(CORBA::MARSHAL: minor = 0x0)
=>
=>Am I not producing a valid IOR?  I am just taking what I am printing
=>from object_to_string.  I even writing it to file and then read it in
=>the client.

   Make sure you don't have a carriage return at the end of the string
or other garbage in the string. It should start with "IOR:" and have
nothing but hex digits after that.

					Gary Duzan
					BBN Technologies



_______________________________________________
omniORB-list mailing list
omniORB-list at omniorb-support.com
http://www.omniorb-support.com/mailman/listinfo/omniorb-list



More information about the omniORB-list mailing list