-
1. Re: Unable to get remote interface for bean[jboss 4.2.1]
b_rv21 Sep 21, 2007 2:47 AM (in response to b_rv21)Hi,
I have got over this problem(but stuck with another)
I copied the Jboss remoting jars(Jboss remoting 2.2.0GA)
When I try getting remote interface by .create, ejbCreate is getting called. There is no EOFException on the server side
Instead, I am getting this error in server.log
2007-09-21 12:04:34,179 DEBUG [org.jboss.remoting.transport.socket.ServerSocketWrapper] unable to writing CLOSING byte
java.net.SocketException: Software caused connection abort: socket write error
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
at java.io.ObjectOutputStream$BlockDataOutputStream.flush(ObjectOutputStream.java:1631)
at java.io.ObjectOutputStream.flush(ObjectOutputStream.java:666)
at org.jboss.remoting.transport.socket.ServerSocketWrapper.close(ServerSocketWrapper.java:57)
at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:475)
at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:159)
2007-09-21 12:04:34,179 DEBUG [org.jboss.remoting.transport.socket.SocketWrapper] unable to close output stream
Client encounters MarshallException
Please help.. -
2. Re: Unable to get remote interface for bean[jboss 4.2.1]
b_rv21 Sep 21, 2007 7:38 AM (in response to b_rv21)I was able to solve this problem
My ejb was compiled on jdk1.4 and put in jboss4.2.1 which uses jdk1.5
My client code was compiled on jdk1.4
What I did was...
1) compiled ejb classes on jdk1.5 and deployed into jboss
2) compiled client code on jdk1.5 and invoked the bean
IT WORKED!!