here is the stack trace for the IOException...
Caused by: java.io.EOFException
at java.io.ObjectInputStream$BlockDataInputStream.peekByte(Unknown
Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
I also pulled this from the jboss application log file:
2005-07-08 09:35:04,542 DEBUG [org.hibernate.jdbc.ConnectionManager] running
Session.finalize()
2005-07-08 09:35:04,542 DEBUG [org.hibernate.jdbc.ConnectionManager] running
Session.finalize()
2005-07-08 09:35:59,291 DEBUG
I figured it out! One of my objects which i use to copy over data from my
entity bean inside my session bean wasnt serializable. I do this to keep my
entity bean transparent to my client. Anyways, I made it serializable and it
works perfectly.
View the original post :
Ok ...thanks to bill, I figured out part of my problem which was forgeting to
delete the @ Local piece in my remote interface. Now I have a different
problem. When i try to use the first method in my class , I get a ...
java.lang.reflect.UndeclaredThrowableException
at
Forgot to post my interface...
import java.io.Serializable;
import java.util.Collection;
import javax.ejb.Remote;
@Remote
public interface AppRolesRemote extends Serializable {
public Collection getAppRoles();
public void addAppRole (String rolename, String roledesc);
what version of JBoss is running your backend? Also, what exact steps did you
take to install? I'm trying to determine what version of JBoss Remoting you
are using...
Also, is the stack trace any longer? I need to know where the EOFException is
being thrown.
View the original post :
I am using 4.0.3 RC1. I installed the session bean and the entities beans
using an ear file. I have a local interface which runs fine on the jboss
application server. I installed a war file in the jboss-tomcat container and
used local context look up and it works. This problem is occurring on