0 Replies Latest reply on Aug 11, 2003 5:47 AM by sbarzucco

    problem to connect to default db of jboss

    sbarzucco Newbie

      Hi
      i'm a new user of jboos and i try to use the oreilly example that use default jboss db but the compilation with ant i launched the main class but i have connection problems with db, this the exception


      [java] javax.naming.CommunicationException. Root exception is java.rmi.Con
      nectIOException: error during JRMP connection establishment; nested exception is
      :
      [java] java.net.SocketException: Software caused connection abort: recv
      failed
      [java] at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.
      java:274)
      [java] at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.jav
      a:171)
      [java] at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:101)
      [java] at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
      [java] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:49
      9)
      [java] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:47
      8)
      [java] at javax.naming.InitialContext.lookup(InitialContext.java:347)
      [java] at com.titan.clients.Client_1.main(Client_1.java:19)
      [java] Caused by: java.net.SocketException: Software caused connection abor
      t: recv failed
      [java] at java.net.SocketInputStream.socketRead0(Native Method)
      [java] at java.net.SocketInputStream.read(SocketInputStream.java:129)
      [java] at java.io.BufferedInputStream.fill(BufferedInputStream.java:183
      )
      [java] at java.io.BufferedInputStream.read(BufferedInputStream.java:201
      )
      [java] at java.io.DataInputStream.readByte(DataInputStream.java:276)
      [java] at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.
      java:215)
      [java] ... 7 more

      Can you help me ?
      Thanks Max