Hi there,

Getting a reference of the InterestBean fails:

i am doing the
Object ref  = jndiContext.lookup("Interest");

and get the exception:

javax.naming.CommunicationException [Root exception is
java.rmi.ConnectIOException: Exception creating connection to:
149.225.117.146; nested exception is:
        java.net.NoRouteToHostException: Host unreachable: no further information]


My Naming-Properties:
    System.setProperty("java.naming.factory.initial",
        "org.jnp.interfaces.NamingContextFactory");
    System.setProperty("java.naming.provider.url",
      "127.0.0.1:1099");

Why ist JBoss trying to connect to 149.225.117.146 and not to my localHost ?

Hope you can Help me.

kind regards
Michael Bauschert

Adresse      : Lerchenhof 9        72218 Wildberg
Telefon      : 07056-927303 (privat)
               0171-458 56 45 (mobil)
               0711-2012 2639 (office)
Mail         : [EMAIL PROTECTED]
WWW          : http://www.bauschert.de
Skill-Profil : http://www.gulp.de/profil/bauschert.html
BEGIN:VCARD
VERSION:2.1
N:Bauschert;Michael
FN:Michael Bauschert
ORG:RWG GmbH
TEL;WORK;VOICE:0711-2012 2639
TEL;HOME;VOICE:(07056) 927 303
TEL;CELL;VOICE:(0171) 458 56 45
TEL;WORK;FAX:089...
ADR;WORK:;;Lerchenhof 9;Wildberg;;72218
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:Lerchenhof 9=0D=0AWildberg 72218
URL:
URL:http://www.bauschert.de
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:20010316T134807Z
END:VCARD

Reply via email to