Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 66405 invoked from network); 10 Sep 2009 22:13:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Sep 2009 22:13:06 -0000 Received: (qmail 96254 invoked by uid 500); 10 Sep 2009 22:13:05 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 96169 invoked by uid 500); 10 Sep 2009 22:13:05 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 96161 invoked by uid 99); 10 Sep 2009 22:13:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Sep 2009 22:13:04 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_PASS,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [98.136.44.62] (HELO smtp107.prem.mail.sp1.yahoo.com) (98.136.44.62) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 10 Sep 2009 22:12:55 +0000 Received: (qmail 55907 invoked from network); 10 Sep 2009 22:12:34 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Message-Id:From:To:In-Reply-To:Content-Type:Content-Transfer-Encoding:Mime-Version:Subject:Date:References:X-Mailer; b=liRkEGqcSHvW4FOWbMMT1jGCZ3ExmWOsdVzZRYuHKZg0k+Ajbfw6GrKvQvd4n8f1PFRpoydXfefNZzUpYr6lzEqN8u3o91mTVOVD+geQ2POorpI+bRnCsSmYm70ob74b9dsrdcVkxRTHWON+pIFL0SXuJWDcIH3qyERrkGSaYUw= ; Received: from 076-076-148-215.pdx.net (david_jencks@76.76.148.215 with plain) by smtp107.prem.mail.sp1.yahoo.com with SMTP; 10 Sep 2009 15:12:33 -0700 PDT X-Yahoo-SMTP: .9oIUzyswBANsYgUm_5uPui0skTnzGJXJQ-- X-YMail-OSG: b0gphZEVM1nJbE2qXBNNWYzn51rkRycBlFkikzQfSCQHts8oXUQ8iNz2Am1LHW095qzF0AfJSYeVT1E4bureINkK2RH_LaSXPIH2Kpiv12SLYdTdySF6Budet9V9Hh2Y6lqEDBjB5b3jB9jV8ZdOjlJuWNWyBxFLGTBkqzNbbgQRq2ThfR3NvW2to._FpfUunGbiXNfAgxqO2YugtSZykbufo8_prG4EtUwYxc7yMchwLWffOHk9uL14 X-Yahoo-Newman-Property: ymail-3 Message-Id: <780B6661-73CD-4BD1-8701-32C357463405@yahoo.com> From: David Jencks To: user@geronimo.apache.org In-Reply-To: <25391214.post@talk.nabble.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: NameService returns IOR pointing to host 0.0.0.0 Date: Thu, 10 Sep 2009 15:12:32 -0700 References: <25391214.post@talk.nabble.com> X-Mailer: Apple Mail (2.936) X-Virus-Checked: Checked by ClamAV on apache.org Did you try setting ServerHostName in var/config/config- substitutions.properties? I don't know if it _will_ work but it _should_ :-) thanks david jencks On Sep 10, 2009, at 2:18 PM, Juergen Weber wrote: > > Hi, > > I try to address the 2.0.2 MyTime EJB sample from a JacORB Corba > client. > (2.2-SNAPSHOT Build 2009.09.10-08:12:53.147-0400) > > These lines work: > > NamingContextExt nc = > > NamingContextExtHelper > .narrow(orb.resolve_initial_references("NameService")); > MyTimeHome home = > MyTimeHomeHelper.narrow(nc.resolve(nc.to_name("MyTime"))); > > but the home IOR points to host 0.0.0.0 which of course cannot be > reached, > so I get a socket connect failure on home.create(). > > the IOR in home is > IOR: > 000000000000004B524D493A6F72672E6170616368652E6765726F6E696D6F2E7465737473756974652E636F7262612E6D7974696D652E4D7954696D65486F6D653A3030303030303030303030303030303000000000000100000000000001280001020000000008302E302E302E30001AE2000000000074ABACAB3131323532363037323934005F526F6F74504F41004964656E74697479546F6B656E4E6F536563757269747900636F7262612D6D7974696D652D656A622D322E302E322E6A61722F4D7954696D650000636F7262612D6D7974696D652D656A622D322E302E322E6A61722F4D7954696D6500000004000000010000001C000000000001000100000002000100200501000100010109000000000000002000000004000000010000001F0000000400000003000000210000005400000000000000010000000000000022000000000000000000000008060667810201010100000010040100080606678102010101000000000400000000000000000000010000000806066781020101010000000F > > which ILU IOR Parser parses as: > > _IIOP_ParseCDR: byte order BigEndian, repository id > 0000000000000000>, > 1 profile > _IIOP_ParseCDR: profile 1 is 296 bytes, tag 0 (INTERNET), BigEndian > byte > order > (iiop.c:parse_IIOP_Profile): bo=BigEndian, version=1.2, > hostname=0.0.0.0, > port=6882, > object_key=<...11252607294._RootPOA.IdentityTokenNoSecurity.corba- > mytime-ejb-2.0.2.jar/MyTime..corba-mytime-ejb-2.0.2.jar/MyTime> > (iiop.c:parse_IIOP_Profile): encoded object key is > <%AB%AC%AB11252607294%00_RootPOA%00IdentityTokenNoSecurity%00corba- > mytime-ejb-2.0.2.jar%2FMyTime%00%00corba-mytime-ejb-2.0.2.jar > %2FMyTime> > (iiop.c:parse_IIOP_Profile): non-native cinfo is > > > object key is > <#AB#AC#AB11252607294#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 > > Geronimo comes up without errors, but all ports are at 0.0.0.0, > which the > NameService returns, I guess: > > [****************************************] 100% 159s Startup complete > Listening on Ports: > 1050 0.0.0.0 CORBA Naming Service > 1099 0.0.0.0 RMI Naming > 1527 0.0.0.0 Derby Connector > 2001 0.0.0.0 OpenEJB ORB Adapter > 4201 0.0.0.0 OpenEJB Daemon > 6882 0.0.0.0 OpenEJB ORB Adapter > 8009 0.0.0.0 Tomcat Connector AJP TomcatAJPConnector > 8080 0.0.0.0 Tomcat Connector HTTP BIO TomcatWebConnector > 8443 0.0.0.0 Tomcat Connector HTTPS BIO TomcatWebSSLConnector > 9999 0.0.0.0 JMX Remoting Connector > > How can I make Geronimo use the eth0 address? > > Thanks, > Juergen > > > > -- > View this message in context: http://www.nabble.com/NameService-returns-IOR-pointing-to-host-0.0.0.0-tp25391214s134p25391214.html > Sent from the Apache Geronimo - Users mailing list archive at > Nabble.com. >