I am using JBoss AS 4.2.3.GA and jboss-4.2.0.CR2 with ejb3.0. I have a remote client that calls the method in server using sslscoket and both servers will successfully print out the echo message.
But If i try to call any method on 4.2.3 server from a remote client I will get a debug message about java.net.SocketException: Socket closed | at java.net.PlainSocketImpl.socketAccept(Native Method) | at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384) | at java.net.ServerSocket.implAccept(ServerSocket.java:450) | at java.net.ServerSocket.accept(ServerSocket.java:421) | at org.jboss.remoting.transport.socket.SocketServerInvoker.run(SocketServerInvoker.java:520) | at java.lang.Thread.run(Thread.java:595) On server I have package com.test; | | import javax.ejb.Stateless; | import org.jboss.annotation.ejb.RemoteBinding; | import org.jboss.annotation.ejb.RemoteBindings; | | | @RemoteBindings({ | @RemoteBinding(clientBindUrl="sslsocket://0.0.0.0:3843", jndiBinding="test_SSL") | }) | | | public @Stateless class TestFacadeBean implements TestFacade{ | public TestFacadeBean() { | } | | public void echo() { | System.out.println("Hello"); | } | | } package com.test; | | import javax.ejb.Remote; | | public @Remote interface TestFacade { | public void echo(); | } Client side package com.test; | | import com.test.TestFacade; | import javax.naming.InitialContext; | import javax.naming.NamingException; | | | public class Client { | | private InitialContext ctx; | private TestFacade testFacade= null; | | public Client { | } | | public static void main(String[] arg) { | try { | Client client = new Client(); | client.ctx = new InitialContext(); | client.testFacade= (TestFacade) ctx.lookup("test_SSL"); | client.testFacade.echo(); | } catch (Exception ex) { | } | } | | } | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4197719#4197719 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4197719 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user