Discussion:
[omniORB] RE: omniORB-list Digest, Vol 39, Issue 5
Venkata Madhusudhana Rao
2006-07-06 19:33:52 UTC
Permalink
Hi

OC4J, is an application server where in I have my EJB's deployed. I can lookup the EJB with a simple java client. But where as I have to do the lookup from a C++ client. So the only option I can go with Corba with OmniORB (as it is the open source). My C++ client can lookup the naming service of OmniORB, but to lookup EJB's to available I need a bridge between OmniORB naming service and OC4J's naming service (where in my EJB's deployed).

OC4J's is Oracle Application J2EE Server's container. Which is configured with iiop on 5555. It is a standard one in the industry.

Any help on Binding Omni's nameservice to oc4j's Name Services is highly appreciated.

Thanks in Adv
Venkata

Message: 1
Date: Wed, 5 Jul 2006 19:25:44 +0530
From: "Venkata Madhusudhana Rao" <***@oracle.com>
Subject: [omniORB] Binding to Other Naming Services
To: "omniorb-***@omniorb-support.com"
<omniorb-***@omniorb-support.com>
Message-ID: <***@vmrao-pc>
Content-Type: text/plain; charset="utf-8"

Hi All,

I am working on omniORB 4.0.7 for my corba services. I have specific query regarding how to Bind the omniORB naming service to other naming service?
The requirement is that, I have my EJB's deployed in oc4j, and EJBs binded with oc4j's naming directory. I have a corba client (Bcos I have my client in c++) which I need to lookup the EJB's deployed in OC4J.

I have tried by modifying the the .cfg file entry like below

InitRef = NameService=corbaname:iiop:host-name
= jndiNameService=corbaloc:iiop:host-name:ormi-port/crisWeb

I have added the second line (= jndiNameService=corbaloc:iiop:host-name:ormi-port/crisWeb), where the crisWeb is my EJB's application name.

Still it is not working.

Am I missing some of other configurations?. Or am I doing wrong configuration?

Any help on this highly appreciated

Thanks
Venkata Madhu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20060705/221a4df8/attachment-0001.htm

------------------------------
Message: 8
Date: Thu, 06 Jul 2006 11:36:21 +0200
From: Piet van Oostrum <***@cs.uu.nl>
Subject: Re: [omniORB] Binding to Other Naming Services
To: omniorb-***@omniorb-support.com
Message-ID: <***@ordesa.cs.uu.nl>
Content-Type: text/plain; charset=us-ascii
VM> Hi All,
VM> I am working on omniORB 4.0.7 for my corba services. I have specific
VM> query regarding how to Bind the omniORB naming service to other naming
VM> service?
VM> The requirement is that, I have my EJB's deployed in oc4j, and EJBs
VM> binded with oc4j's naming directory. I have a corba client (Bcos I
VM> have my client in c++) which I need to lookup the EJB's deployed in
VM> OC4J.
VM> I have tried by modifying the the .cfg file entry like below
VM> InitRef = NameService=corbaname:iiop:host-name
VM> = jndiNameService=corbaloc:iiop:host-name:ormi-port/crisWeb
VM> I have added the second line (=
VM> jndiNameService=corbaloc:iiop:host-name:ormi-port/crisWeb), where the
VM> crisWeb is my EJB's application name.
I don't know oc4j, but your C++ client shouldn't have anything to do with
JNDI, which is a Java API to the naming service, amongst others.
Your nameservice should be:

InitRef NameService=corbaname:iiop:host-name:port-number
InitRef NameService=corbaloc:iiop:host-name:port-number/NameService

Does your oc4j Nameservice use a non-standard port number?

--
Piet van Oostrum <***@cs.uu.nl>
URL: http://www.cs.uu.nl/~piet [PGP 8DAE142BE17999C4]
Private email: ***@vanoostrum.org
Geoffrey Hanson
2006-07-08 08:18:54 UTC
Permalink
Has anyone run omniORB with uClibc rather than
glibc on Linux?

We're considering running omniORB in an embedded
environment and were wondering if there was anything
lacking in uClibc that would cause problems for
omniORB.

Thanks,
Geoff

---
Geoff Hanson Fabric7 Systems
***@fabric7.com 1300 Crittenden Lane,
650-210-0116 Suite 302
Mountain View, CA 94043
Raheel Abdul Hameed
2006-07-08 16:29:42 UTC
Permalink
I compiled it on ARM once, and it was working fine. I just had to remove all
the long double stuff and it compiled fine. /Raheel.

----- Original Message -----
From: "Geoffrey Hanson" <***@fabric7.com>
To: <omniorb-***@omniorb-support.com>
Sent: Saturday, July 08, 2006 7:18 AM
Subject: [omniORB] omniORB with uClibc


Has anyone run omniORB with uClibc rather than
glibc on Linux?

We're considering running omniORB in an embedded
environment and were wondering if there was anything
lacking in uClibc that would cause problems for
omniORB.

Thanks,
Geoff

---
Geoff Hanson Fabric7 Systems
***@fabric7.com 1300 Crittenden Lane,
650-210-0116 Suite 302
Mountain View, CA 94043

Loading...