Hello,
I poked around a bit more after Rick and Juergen's followups, and
looked in the yoko source, especially the InitialServiceManager, to
see what it did. Now, I have returned to my original code, but with a
subtle difference, I replaced the property:
org.omg.CORBA.ORBInitRef.NameService
wi
A better approach would be to use corbaname: URL format to look up the
object. This tells the ORB the location of the naming service providing
the object reference and which one you want. I believe the following
would give you want you want:
corbaname:10.11.12.13:4003/NameService#org/exam
w ServletException(e);
}
PrintWriter writer = resp.getWriter();
writer.write("doGet done. nc = " + nc + " orb2=" + orb2);
---
output:
doGet done. nc =
org.omg.CosNaming._NamingContextExtStub:[EMAIL PROTECTED]
[EMAIL PROTECTED]
--
View this message in context
In <[EMAIL PROTECTED]> Juergen Weber wrote:
> > I must admit that it's still a bit magic to me, I mean why that
> > change made a difference in the first place.
>
> Wait, this is only a start, basically you hard-wired the server
> address now.
Yes, I read[0] that the server host and port is i
#x27;s the
> whole story?
>
>
Wait, this is only a start, basically you hard-wired the server address now.
The nameservice variant is much better, but you have to find out, how the
Geronimo naming service works.
You might try (I haven't) if this works:
http://www.ibm.com/develope
Juergen Weber wrote:
> Try to use an IOR first(object_to_string() and friends)
Thank you! I now have working code!
I used the legacy code - that uses the default sun ORB - to
retrieve the IOR of the object I needed. After that it was as
simple as replacing:
> > org.omg.CORBA.Object ns =
> >
No solution, but hints:
- try to use an IOR first (object_to_string() and friends)
- try to use JacORB from within Geronimo (but then JacORB threads are
not under control of Geronimo), this should work with Geronimo, too:
http://developers.sun.com/appserver/reference/techart/orb.html
On Tue, Oct
Hi,
I'm trying to port a non-jee app to a EAR and get it running in
Geronimo (2.1.3). It has been a lot of fun, although I'm very much
a JEE-newbie, so it's a lot to grasp all at once... ;)
Now, I have one component that needs to make a remote corba
request to a non-jee corba service. In my legac