[omniORB] failed to resolved ORBPolicyManager
Pitaev, Anna
anna.pitaev at logica.com
Tue Aug 23 16:48:19 BST 2011
Dear all,
I'm trying to set RELATIVE_RT_TIMEOUT_POLICY on the client side by:
org.omg.CORBA.PolicyManager policyManager = PolicyManagerHelper.narrow( orb.resolve_initial_references("ORBPolicyManager"));
Any rrtPolicyAny = orb.create_any();
rrtPolicyAny.insert_ulonglong(10000);
// create a relative roundtrip timeout policy and set this
// policy ORB-wide
Policy rrtPolicy = orb.create_policy( RELATIVE_RT_TIMEOUT_POLICY_TYPE.value,
rrtPolicyAny );
policyManager.set_policy_overrides( new Policy[] {rrtPolicy},SetOverrideType.ADD_OVERRIDE);
When I start my client application, corba failes to resolver reference to ORBPolicyManager.
There are some specifics:
OS Linux SLES9
omniORB-4.0.6_omniORBpy-2.6
What could be a problem cause?
Many thanks in advance!
Anna Pitaev | Consultant, Space
Rheinstrasse 95 64295 Darmstadt | Germany
T: +49 6151 36860-121
anna.pitaev at logica.com | www.logica.de
Logica Deutschland GmbH & Co. KG
Unsere Pflichtangaben gemäß § 35a GmbHG / §§ 161, 125a HGB finden Sie unter www.logica.de/pflichtangaben
Think green - keep it on the screen.
This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
More information about the omniORB-list
mailing list