0 Replies Latest reply on Feb 18, 2003 3:36 PM by Scott Sosna

    DHCP and InitialContext problem

    Scott Sosna Newbie

      I work in an environment where addresses are assigned via DHCP - not unusual. Until recently, my address was always 192.168.1.135; however, today it became 192.168.1.132.

      The ejb.provider.url property is set to jnp://localhost:1099. I get the initial context, but when I try and use it, I get

      Could not retrieve context: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: Exception creating connection to: 192.168.1.135; nested exception is: java.net.NoRouteToHoseException: No route to host]

      I have rebuilt my applications, I have undeployed and redeployed, I have looked for a hard-coded address, I've checked the properties after getting the NamingContext - I can't see anything! Any help is greatly appreciated.