|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
-host without DNS entry?Dear JADErs,
I am facing an annoying problem with jade-leap. I have just installed a fresh ubuntu machine, and get the following error from jade-leap: Oct 15, 2009 9:48:57 AM jade.imtp.leap.CommandDispatcher addICP WARNING: Error adding ICP jade.imtp.leap.JICP.JICPPeer@68916a2[Error: Not possible to launch JADE on a remote host (134.169.xx.xx). Check the -host and -local-host options.]. I did provide the -host 134.169.xx.xx flag. If I use -host localhost, the container does boot, but this prevents me from contacting it from another machine I notice that the machine does not have a dns entry: host 134.169.xx.xx Host xx.xx.169.134.in-addr.arpa. not found: 3(NXDOMAIN) Do you have any hints for a workaround? Many TIA, -- Jan _______________________________________________ jade-develop mailing list jade-develop@... https://avalon.cselt.it/mailman/listinfo/jade-develop UNSUBSCRIBE INSTRUCTIONS AT http://jade.tilab.com/community-mailinglist.htm |
|
|
RE: -host without DNS entry?Hi,
If I understood correctly this happens when starting a Main Container. The -host option on a Main Container is interpreted as -local-host so it specifies the host to bind the local server socket. Clearly the specified value must correspond to a local network interface. If the option is not specified the server socket is bound to the default --> connections will be accepted on all local network interfaces. The fact that you have an error means that the host you specified is not recognized by the JVM as a local host. Have you tried simply removing the -host option? Bye, Giovanni -----Original Message----- From: jade-develop-bounces@... [mailto:jade-develop-bounces@...] On Behalf Of Jan Hegewald Sent: giovedì 15 ottobre 2009 10.03 To: JADE dev Subject: [jade-develop] -host without DNS entry? Dear JADErs, I am facing an annoying problem with jade-leap. I have just installed a fresh ubuntu machine, and get the following error from jade-leap: Oct 15, 2009 9:48:57 AM jade.imtp.leap.CommandDispatcher addICP WARNING: Error adding ICP jade.imtp.leap.JICP.JICPPeer@68916a2[Error: Not possible to launch JADE on a remote host (134.169.xx.xx). Check the -host and -local-host options.]. I did provide the -host 134.169.xx.xx flag. If I use -host localhost, the container does boot, but this prevents me from contacting it from another machine I notice that the machine does not have a dns entry: host 134.169.xx.xx Host xx.xx.169.134.in-addr.arpa. not found: 3(NXDOMAIN) Do you have any hints for a workaround? Many TIA, -- Jan _______________________________________________ jade-develop mailing list jade-develop@... https://avalon.cselt.it/mailman/listinfo/jade-develop UNSUBSCRIBE INSTRUCTIONS AT http://jade.tilab.com/community-mailinglist.htm _______________________________________________ jade-develop mailing list jade-develop@... https://avalon.cselt.it/mailman/listinfo/jade-develop UNSUBSCRIBE INSTRUCTIONS AT http://jade.tilab.com/community-mailinglist.htm |
|
|
Re: -host without DNS entry?Hi,
Am 15.10.2009 um 17:25 schrieb Caire Giovanni: > Hi, > > If I understood correctly this happens when starting a Main Container. yes. > The -host option on a Main Container is interpreted as -local-host > so it specifies the host to bind the local server socket. Clearly > the specified value must correspond to a local network interface. I can login to the machine via ssh using the specified IP. > If the option is not specified the server socket is bound to the > default --> connections will be accepted on all local network > interfaces. > The fact that you have an error means that the host you specified is > not recognized by the JVM as a local host. > Have you tried simply removing the -host option? Yes, then the loop back IP will be used (127.0.0.1). I changed the hostname of the machine to be the same as the IP to trick JADE to use the specified IP. But this is rather cumbersome as it is a DHCP address which sometimes changes (and only doable for admins, of course). So there is no way to force JADE to use a specified -host (or -local- host)? Best, -- Jan > > Bye, > > Giovanni > > -----Original Message----- > From: jade-develop-bounces@... [mailto:jade-develop- > bounces@...] On Behalf Of Jan Hegewald > Sent: giovedì 15 ottobre 2009 10.03 > To: JADE dev > Subject: [jade-develop] -host without DNS entry? > > Dear JADErs, > > I am facing an annoying problem with jade-leap. I have just installed > a fresh ubuntu machine, and get the following error from jade-leap: > > Oct 15, 2009 9:48:57 AM jade.imtp.leap.CommandDispatcher addICP > WARNING: Error adding ICP jade.imtp.leap.JICP.JICPPeer@68916a2[Error: > Not possible to launch JADE on a remote host (134.169.xx.xx). Check > the -host and -local-host options.]. > > I did provide the -host 134.169.xx.xx flag. > If I use -host localhost, the container does boot, but this prevents > me from contacting it from another machine > I notice that the machine does not have a dns entry: > host 134.169.xx.xx > Host xx.xx.169.134.in-addr.arpa. not found: 3(NXDOMAIN) > > Do you have any hints for a workaround? > > Many TIA, > -- Jan > _______________________________________________ > jade-develop mailing list > jade-develop@... > https://avalon.cselt.it/mailman/listinfo/jade-develop > UNSUBSCRIBE INSTRUCTIONS AT > http://jade.tilab.com/community-mailinglist.htm > > Questo messaggio e i suoi allegati sono indirizzati esclusivamente > alle persone indicate. La diffusione, copia o qualsiasi altra azione > derivante dalla conoscenza di queste informazioni sono rigorosamente > vietate. Qualora abbiate ricevuto questo documento per errore siete > cortesemente pregati di darne immediata comunicazione al mittente e > di provvedere alla sua distruzione, Grazie. > > This e-mail and any attachments is confidential and may contain > privileged information intended for the addressee(s) only. > Dissemination, copying, printing or use by anybody else is > unauthorised. If you are not the intended recipient, please delete > this message and any attachments and advise the sender by return e- > mail, Thanks. > _______________________________________________ jade-develop mailing list jade-develop@... https://avalon.cselt.it/mailman/listinfo/jade-develop UNSUBSCRIBE INSTRUCTIONS AT http://jade.tilab.com/community-mailinglist.htm |
|
|
RE: -host without DNS entry?Hi,
This is the code used by JADE to get the local host address/name String host = "localhost"; try { host = java.net.InetAddress.getLocalHost().getHostAddress(); if ("127.0.0.1".equals(host)) { // Try with the name host = java.net.InetAddress.getLocalHost().getHostName(); } } catch(Exception e) { .... } If this does not work it means that JAVA (and not JADE) is not able to detect the local host address/name. The above JAVA methods are implemented as native calls to the underlying operating system --> It is the Operating System that cannot detect the local host address/name. This typically happens when your etc/hosts file is not configured properly. Bye, Giovanni -----Original Message----- From: jade-develop-bounces@... [mailto:jade-develop-bounces@...] On Behalf Of Jan Hegewald Sent: venerdì 16 ottobre 2009 12.34 To: JADE dev Subject: Re: [jade-develop] -host without DNS entry? Hi, Am 15.10.2009 um 17:25 schrieb Caire Giovanni: > Hi, > > If I understood correctly this happens when starting a Main Container. yes. > The -host option on a Main Container is interpreted as -local-host > so it specifies the host to bind the local server socket. Clearly > the specified value must correspond to a local network interface. I can login to the machine via ssh using the specified IP. > If the option is not specified the server socket is bound to the > default --> connections will be accepted on all local network > interfaces. > The fact that you have an error means that the host you specified is > not recognized by the JVM as a local host. > Have you tried simply removing the -host option? Yes, then the loop back IP will be used (127.0.0.1). I changed the hostname of the machine to be the same as the IP to trick JADE to use the specified IP. But this is rather cumbersome as it is a DHCP address which sometimes changes (and only doable for admins, of course). So there is no way to force JADE to use a specified -host (or -local- host)? Best, -- Jan > > Bye, > > Giovanni > > -----Original Message----- > From: jade-develop-bounces@... [mailto:jade-develop- > bounces@...] On Behalf Of Jan Hegewald > Sent: giovedì 15 ottobre 2009 10.03 > To: JADE dev > Subject: [jade-develop] -host without DNS entry? > > Dear JADErs, > > I am facing an annoying problem with jade-leap. I have just installed > a fresh ubuntu machine, and get the following error from jade-leap: > > Oct 15, 2009 9:48:57 AM jade.imtp.leap.CommandDispatcher addICP > WARNING: Error adding ICP jade.imtp.leap.JICP.JICPPeer@68916a2[Error: > Not possible to launch JADE on a remote host (134.169.xx.xx). Check > the -host and -local-host options.]. > > I did provide the -host 134.169.xx.xx flag. > If I use -host localhost, the container does boot, but this prevents > me from contacting it from another machine > I notice that the machine does not have a dns entry: > host 134.169.xx.xx > Host xx.xx.169.134.in-addr.arpa. not found: 3(NXDOMAIN) > > Do you have any hints for a workaround? > > Many TIA, > -- Jan > _______________________________________________ > jade-develop mailing list > jade-develop@... > https://avalon.cselt.it/mailman/listinfo/jade-develop > UNSUBSCRIBE INSTRUCTIONS AT > http://jade.tilab.com/community-mailinglist.htm > > Questo messaggio e i suoi allegati sono indirizzati esclusivamente > alle persone indicate. La diffusione, copia o qualsiasi altra azione > derivante dalla conoscenza di queste informazioni sono rigorosamente > vietate. Qualora abbiate ricevuto questo documento per errore siete > cortesemente pregati di darne immediata comunicazione al mittente e > di provvedere alla sua distruzione, Grazie. > > This e-mail and any attachments is confidential and may contain > privileged information intended for the addressee(s) only. > Dissemination, copying, printing or use by anybody else is > unauthorised. If you are not the intended recipient, please delete > this message and any attachments and advise the sender by return e- > mail, Thanks. > _______________________________________________ jade-develop mailing list jade-develop@... https://avalon.cselt.it/mailman/listinfo/jade-develop UNSUBSCRIBE INSTRUCTIONS AT http://jade.tilab.com/community-mailinglist.htm _______________________________________________ jade-develop mailing list jade-develop@... https://avalon.cselt.it/mailman/listinfo/jade-develop UNSUBSCRIBE INSTRUCTIONS AT http://jade.tilab.com/community-mailinglist.htm |
| Free embeddable forum powered by Nabble | Forum Help |