wood burning stoves*
The moose likes EJB and other Java EE Technologies and the fly likes EJB and Socket write error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "EJB and Socket write error" Watch "EJB and Socket write error" New topic
Author

EJB and Socket write error

Mahesh Kulkarni
Ranch Hand

Joined: Jul 05, 2001
Posts: 62
Hi,
We are facing following problem while running the weblogic(5.1)Application server.Also there is also oracle.netTNSAddress.SOException error which is very difficult to fix. Connection pools are being created. There is no problem about the same.
We need help urgently Please.
Mon Jul 24 13:15:58 GMT 2000:<E> <ServletContext-General> Servlet failed with Exception
java.net.SocketException: socket write error (code=10053)
at java.net.SocketOutputStream.socketWrite(Native Method)
at java.net.SocketOutputStream.write(SocketOutputStream.java, Compiled Code)
at weblogic.servlet.internal.ChunkUtils.writeChunks(ChunkUtils.java, Compiled Code)
at weblogic.servlet.internal.ServletOutputStreamImpl.flush(ServletOutputStreamImpl.java, Compiled Code)
at weblogic.servlet.internal.ServletOutputStreamImpl.writeStream(ServletOutputStreamImpl.java, Compiled Code)
at weblogic.servlet.FileServlet.sendFile(FileServlet.java, Compiled Code)
at weblogic.servlet.FileServlet.service(FileServlet.java, Compiled Code)
at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java, Compiled Code)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java, Compiled Code)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java, Compiled Code)
at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java, Compiled Code)
at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java, Compiled Code)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java, Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
Thanx,
Mahesh
Manjunath Reddy
Ranch Hand

Joined: Jul 26, 2001
Posts: 60
Hi mahesh,
Can u elaborate on the scenario thats causing this exception...like when u r accessing a particular method/servlet call..etc
The stack trace isnt enuff to diagnoze..and with 5.1 one sees this kind of trace for virtually many a problems.
thx
mpr
Mahesh Kulkarni
Ranch Hand

Joined: Jul 05, 2001
Posts: 62
Hi Manju Thanx,
As per your query.This exception is while calling the servlet from a link.It is also giving Protocol Exception if I call the same servlet from another client(M/c).
I'm not able to fix the problem.
Thanx
Mahesh
Johnson Samuel
Greenhorn

Joined: Jul 28, 2001
Posts: 4
Originally posted by Mahesh Kulkarni:
Hi,
We are facing following problem while running the weblogic(5.1)Application server.Also there is also oracle.netTNSAddress.SOException error which is very difficult to fix. Connection pools are being created. There is no problem about the same.
We need help urgently Please.
Mon Jul 24 13:15:58 GMT 2000:<E> <ServletContext-General> Servlet failed with Exception
java.net.SocketException: socket write error (code=10053)
at java.net.SocketOutputStream.socketWrite(Native Method)
at java.net.SocketOutputStream.write(SocketOutputStream.java, Compiled Code)
at weblogic.servlet.internal.ChunkUtils.writeChunks(ChunkUtils.java, Compiled Code)
at weblogic.servlet.internal.ServletOutputStreamImpl.flush(ServletOutputStreamImpl.java, Compiled Code)
at weblogic.servlet.internal.ServletOutputStreamImpl.writeStream(ServletOutputStreamImpl.java, Compiled Code)
at weblogic.servlet.FileServlet.sendFile(FileServlet.java, Compiled Code)
at weblogic.servlet.FileServlet.service(FileServlet.java, Compiled Code)
at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java, Compiled Code)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java, Compiled Code)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java, Compiled Code)
at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java, Compiled Code)
at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java, Compiled Code)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java, Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
Thanx,
Mahesh


hi,
1). oracle.netTNSAddress.SOException is because u might have given the in property file as
props=user=******;password=******;server=oracle
try this
props=user=*****;password=******
Just remove the server mapping.Also this wouldnt have caused u problems.I dont know y it should be done, but when i did the exception went off.
Hope it would help u.
Also the write exception may because u might have disabled
read/write option check ur property file
G.Johnson
Mahesh Kulkarni
Ranch Hand

Joined: Jul 05, 2001
Posts: 62
Hi Johnson ,
Thanx.It worked.I've got rid of TNSaddress.soexception.But the socket exception is still not fixed.I'm calling a servlet first them the data retrieved through the servlet is being transferred to a jsp for presentation.After generating the jsp it is trowing the above exception.But data is being seen on client side(absolutely no problem).Please help me with the same.
Thanx,
Mahesh
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: EJB and Socket write error
 
Similar Threads
jsp:useBean ... nested Exception
EJB and Socket write error
problem running client on different machine
jsps & ejbs on weblogic 5.1 when used it is throwing ....
Socket Error Please Help Urgent