Hi I'm getting the following exception while accessing the EJB deployed in JBOSS container. This EJB is being accessed by an custom ant task(Client). The error is as follows:
[ejbBatchTask] java.rmi.MarshalException: Error marshaling transport header; nested exception is:
[ejbBatchTask] java.net.SocketException: Connection aborted by peer: JVM_recv in socket input stream read
[ejbBatchTask] java.net.SocketException: Connection aborted by peer: JVM_recv in socket input stream read
[ejbBatchTask] at java.net.SocketInputStream.socketRead(Native Method)
[ejbBatchTask] at java.net.SocketInputStream.read(SocketInputStream.java:85)
[ejbBatchTask] at java.io.BufferedInputStream.fill(BufferedInputStream.java:181)
[ejbBatchTask] at java.io.BufferedInputStream.read(BufferedInputStream.java:199)
[ejbBatchTask] at java.io.DataInputStream.readByte(DataInputStream.java:217)
[ejbBatchTask] at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:201)
[ejbBatchTask] at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:169)
....
Any suggestion will be highly appreciated.
Regards,
Rana Aich.
The other end closed the connection. Probably because
you didn't connect to the right place (a firewall maybe?).
Regards,
Adrian