NameService returns IOR pointing to host 0.0.0.0
------------------------------------------------
Key: GERONIMO-4870
URL: https://issues.apache.org/jira/browse/GERONIMO-4870
Project: Geronimo
Issue Type: Bug
Security Level: public (Regular issues)
Components: CORBA
Affects Versions: 2.2
Environment: 2.2-SNAPSHOT
Build 2009.09.10-08:12:53.147-0400
Reporter: Jürgen Weber
Priority: Blocker
For ServerHostname=0.0.0.0 NameService returns IOR pointing to host 0.0.0.0
which then cannot be reached.
See
http://www.nabble.com/NameService-returns-IOR-pointing-to-host-0.0.0.0-td25391214s134.html
Reproduce: install Corba MyTime sample.
public static void main(String[] args) throws Exception
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init(args,null);
NamingContextExt nc =
NamingContextExtHelper.narrow(orb.resolve_initial_references("NameService"));
org.omg.CORBA.Object o = nc.resolve(nc.to_name("MyTime"));
System.out.println(orb.object_to_string(o));
}
The IOR parses to
object key is
<#AB#AC#AB11252863023#00_RootPOA#00IdentityTokenNoSecurity#00corba-mytime-ejb-2.0.2.jar/MyTime#00#00corba-mytime-ejb-2.0.2.jar/MyTime>;
no trustworthy most-specific-type info; unrecognized ORB type;
reachable with IIOP 1.2 at host "0.0.0.0", port 6882
(Blocker because Corba with EJB on server listening on all adresses does not
work)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.