0 Replies Latest reply on Nov 18, 2002 6:26 AM by fracalde

    CommunicationException on home interface lookup

    fracalde

      Hi,

      my client is trying to look up an Entity Bean home reference but it gets a naming exception :

      javax.naming.CommunicationException: Socket creation failed (code=10106). Root exception is
      java.net.SocketException: Socket creation failed (code=10106)
      at java.net.PlainDatagramSocketImpl.datagramSocketCreate(Native Method)
      at java.net.PlainDatagramSocketImpl.create(PlainDatagramSocketImpl.java:47)
      at java.net.DatagramSocket.create(DatagramSocket.java:163)
      at java.net.DatagramSocket.(DatagramSocket.java:90)
      at org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:944)
      at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1040)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:450)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:443)
      at javax.naming.InitialContext.lookup(InitialContext.java:350)

      The jndi.properties file contains the following properties :

      java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
      java.naming.provider.url=jnp://pcslco48:1099
      java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces

      I am using jdk 1.3.1.


      Could someone give me a hint please ?

      Thanks,
      Francesco.