[PolyORB-users] PolyORB / Mico oneway procedure interoperability?

Re'mi Lafage remi.lafage at cena.fr
Mon Sep 19 19:03:20 CEST 2005


Hello,

I use PolyORB 1.2r as CORBA ORB with Mico ORB (2.3.7) on Linux Debian.
I had no problem until I try to call a oneway procedure.

I add a oneway_test function to my IDL (oneway void oneway_test())
and I get the following logs on the PolyORB server side :

polyorb.orb: Run Request_Job: enter
polyorb.orb: Task gt_0A5F2BF8 executing: Operation: oneway_test on
object Object
reference:
  POLYORB.BINDING_DATA.LOCAL.LOCAL_PROFILE_TYPE
    Object_Id: 000000000000000131010deadc0d
with arguments (null list)
polyorb.orb: Sync_None completed
polyorb.filters.slicers: Expecting 12 bytes.
polyorb.orb: Handling message of type POLYORB.ORB.INTERFACE.MONITOR_ENDPOINT
polyorb.orb: Inserting source: Monitor_Endpoint
polyorb.orb.thread_pool: Thread gt_0A5EFCD0 is leaving Idle state
polyorb.orb_controller.basic: Notify_Event: IDLE_AWAKE
polyorb.orb_controller_status: Tot: 5 U: 1 R: 2 B: 0 I: 2| PJ: 0 AES: 1
polyorb.orb_controller.basic: Schedule_Task: enter gt_0A5EFCD0
polyorb.orb_controller.basic: Task is now blocked
polyorb.orb_controller_status: Tot: 5 U: 0 R: 2 B: 1 I: 2| PJ: 0 AES: 1
polyorb.orb: Try_Check_Sources: task gt_0A5EFCD0 about to Check_Sources.
polyorb.orb.thread_pool: Thread gt_0A5F5B20 is leaving Idle state
polyorb.orb_controller.basic: Notify_Event: IDLE_AWAKE
polyorb.orb_controller_status: Tot: 5 U: 1 R: 2 B: 1 I: 1| PJ: 0 AES: 1
polyorb.orb_controller.basic: Schedule_Task: enter gt_0A5F5B20
polyorb.orb_controller.basic: Task is now idle
polyorb.orb_controller_status: Tot: 5 U: 0 R: 2 B: 1 I: 2| PJ: 0 AES: 1
polyorb.orb.thread_pool: Thread gt_0A5F5B20 is going idle.
polyorb.orb: Insert_Source: enter
polyorb.orb_controller.basic: Disable_Polling: Aborting polling task
polyorb.orb_controller.basic: Disable_Polling: waiting abort is complete
polyorb.orb: Try_Check_Sources: task gt_0A5EFCD0 returned from
Check_Sources wit
h 0 event(s).
polyorb.orb_controller.basic: Notify_Event: END_OF_CHECK_SOURCES
polyorb.orb_controller_status: Tot: 5 U: 1 R: 2 B: 0 I: 2| PJ: 0 AES: 1
polyorb.orb_controller.basic: Schedule_Task: enter gt_0A5EFCD0
polyorb.orb_controller.basic: Task is now idle
polyorb.orb_controller_status: Tot: 5 U: 0 R: 2 B: 0 I: 3| PJ: 0 AES: 1
polyorb.orb.thread_pool: Thread gt_0A5EFCD0 is going idle.
polyorb.orb_controller.basic: Disable_Polling: aborting done
polyorb.orb_controller.basic: Notify_Event: EVENT_SOURCES_ADDED
polyorb.orb_controller.basic: Try_Allocate_One_Task: enter
polyorb.orb_controller.basic: Try_Allocate_One_Task: end
polyorb.orb_controller_status: Tot: 5 U: 0 R: 2 B: 0 I: 3| PJ: 0 AES: 1
polyorb.orb_controller.basic: Enable_Polling
polyorb.orb_controller.basic: Try_Allocate_One_Task: enter
polyorb.orb_controller.basic: Try_Allocate_One_Task: end
polyorb.orb: Insert source: leave
polyorb.references.binding: Bind: enter
polyorb.exceptions: *** Throw *** INV_OBJREF_E at
polyorb-references-binding.adb
:101
polyorb.orb: Run_Request: Got an error when binding: INV_OBJREF_E
polyorb.exceptions: Error_To_Any: enter.
polyorb.exceptions: Error is: INV_OBJREF_E
polyorb.exceptions: Exception name is: INV_OBJREF
polyorb.exceptions: Built Exception TypeCode for:
INTERNAL:POLYORB/INV_OBJREF:1.
0
polyorb.exceptions:  TK_EXCEPT INV_OBJREF
(INTERNAL:POLYORB/INV_OBJREF:1.0) { TK
_ULONG minor <aggregate:TK_ENUM> completed }
polyorb.exceptions: Error_To_Any: leave.
... => does not work

When I run the PolyORB all_functions example,
I get :

polyorb.orb: Task gt_08309EC8 executing: Operation: oneway_void_proc on
object Object reference:
  POLYORB.BINDING_DATA.LOCAL.LOCAL_PROFILE_TYPE
    Object_Id: 000000000000000131010deadc0d
with arguments (null list)
polyorb.references.binding: Bind: enter
polyorb.references.binding: Found profile:
POLYORB.BINDING_DATA.LOCAL.LOCAL_PROFILE_TYPE
polyorb.filters.slicers: Expecting 12 bytes.
polyorb.orb: Handling message of type POLYORB.ORB.INTERFACE.MONITOR_ENDPOINT
polyorb.orb: Inserting source: Monitor_Endpoint
polyorb.orb: Insert_Source: enter
polyorb.orb_controller.basic: Disable_Polling: Aborting polling task
polyorb.orb_controller.basic: Disable_Polling: waiting abort is complete
polyorb.orb: Try_Check_Sources: task gt_082F99C8 returned from
Check_Sources with 0 event(s).
polyorb.orb_controller.basic: Notify_Event: END_OF_CHECK_SOURCES
polyorb.orb_controller_status: Tot: 5 U: 1 R: 1 B: 0 I: 3| PJ: 0 AES: 1
polyorb.orb_controller.basic: Schedule_Task: enter gt_082F99C8
polyorb.orb_controller.basic: Task is now idle

The logs differ, there is no "polyorb.orb: Sync_None completed" in the
second for instance.
Any suggestion?

Thanks for any help.

Remi





More information about the PolyORB-users mailing list