2 Replies Latest reply on Mar 16, 2004 5:45 AM by Darran Lofthouse

    Accessing EJB from applet over http

    paragsagdeo Newbie

      Hi, i m behind firewall and trying to connect EJB thru. applet client, but i am getting following error
      ---------------------------------------------------------------------------
      java.rmi.ConnectException: Connection refused to host: 200.133.130.100; nested exception is:
      java.net.ConnectException: Connection refused: connect
      at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)
      at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
      at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
      at sun.rmi.server.UnicastRef.invoke(Unknown Source)
      at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown Source)
      at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:135)
      at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:96)
      at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
      at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:45)
      at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:173)
      at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:85)
      at $Proxy1.create(Unknown Source)
      at testclient.ServerManager.lookup(ServerManager.java:82)
      at testclient.ServerManager.(ServerManager.java:55)
      at testclient.ServerManagerFactory.getServerManager(ServerManagerFactory.java:28)
      at testclient.gui.TestAppletClient.initialise(TestAppletClient.java:230)
      at testclient.gui.TestAppletClient.init(TestAppletClient.java:165)
      at sun.applet.AppletPanel.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
      Caused by: java.net.ConnectException: Connection refused: connect
      at sun.rmi.transport.proxy.RMIMasterSocketFactory.checkConnector(Unknown Source)
      at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown Source)
      ... 19 more
      -------------------------------------------------------------------------

      Can any one help me in this regard please?

      Thanks

      Parag