hi All ,
I have an J2EE application application written and it talks to a
non-webbased clients and process the request from them n send back the
output to them.
The code is working fine on WLS (weblogic7.0) , but when i implement the
same on Jboss 3.2.1 its throwing the following error ,
18:27:22,505 ERROR [STDERR] java.io.EOFException
18:27:22,505 ERROR [STDERR] at
java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2165)
19:39:24,282 ERROR [STDERR] at
java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2634)
19:39:24,282 ERROR [STDERR] at
java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:734)
19:39:24,297 ERROR [STDERR] at
java.io.ObjectInputStream.(ObjectInputStream.java:253)
19:46:02,495 ERROR [STDERR] at
Medprice.WAF.ClientEventServlet.readData(ClientEventServlet.java:877)
the code for the readData method is
ArrayList readData(HttpServletRequest req) throws IOException
{
ArrayList list = new ArrayList();
try
{
System.out.println("The request value is "+req.toString());
java.io.InputStream iStream = req.getInputStream();
ObjectInputStream objiStream = new
ObjectInputStream(iStream);
list = (ArrayList)objiStream.readObject();
System.out.println("The array list value "+list);
}
catch(Exception e)
{
// System.out.println(e.toString());
e.printStackTrace();
}
return list;
}
All i am trying to do in this method is read the data from the client
request ...
the same code works on jboss when i hard code the eventname on the
server end
Can anybody tell me as to whats wrong with this ??
tnx in advance
sane
wrong forum