Fog Creek Software
Discussion Board




Weblogic cluster problem for slow network

Hi,

Does anybody know came across such a problem?

The problem is i am running a simple application using proxy cluster on machine A which is talking to managed cluster on Machine B through internet.

But when i send large requests i get following exception,
---------------------------------------------------------------------------
####<Sep 23, 2003 9:14:16 AM CDT> <Error> <T3Services> <itimsrv2> <managed1> <ExecuteThread: '7' for queue: 'default'> <> <> <000000> <ERROR [ExecuteThread: '7' for queue: 'default'] com.access360.enrole.webclient.util.UserAuthHelper - Cannot parse POST parameters of request: '/UserAuthHelper'>
java.net.ProtocolException: EOF after reading only: '24966' of: '43608' promised bytes, out of which at least: '0' were already buffered
at weblogic.servlet.internal.PostInputStream.complain(PostInputStream.java:74)
at weblogic.servlet.internal.PostInputStream.read(PostInputStream.java:126)
at java.io.InputStream.read(InputStream.java:91)
at weblogic.servlet.internal.ServletInputStreamImpl.read(ServletInputStreamImpl.java:91)
at java.io.InputStreamReader.fill(InputStreamReader.java:173)
at java.io.InputStreamReader.read(InputStreamReader.java:249)
at weblogic.servlet.internal.ServletRequestImpl.mergePostParams(ServletRequestImpl.java:700)
at weblogic.servlet.internal.ServletRequestImpl.parseQueryParams(ServletRequestImpl.java:587)
at weblogic.servlet.internal.ServletRequestImpl.getParameter(ServletRequestImpl.java:739)
at weblogic.servlet.internal.ServletRequestImpl.getParameter(ServletRequestImpl.java:725)
at UserAuthHelper.getUserAuthInfo(UserAuthHelper.java:166)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:213)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:1265)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:1631)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
--------------- nested within: ------------------
weblogic.utils.NestedRuntimeException: Cannot parse POST parameters of request: '/UserAuthHelper' - with nested exception:
[java.net.ProtocolException: EOF after reading only: '24966' of: '43608' promised bytes, out of which at least: '0' were already buffered]
at weblogic.servlet.internal.ServletRequestImpl.mergePostParams(ServletRequestImpl.java:716)
at weblogic.servlet.internal.ServletRequestImpl.parseQueryParams(ServletRequestImpl.java:587)
at weblogic.servlet.internal.ServletRequestImpl.getParameter(ServletRequestImpl.java:739)
at weblogic.servlet.internal.ServletRequestImpl.getParameter(ServletRequestImpl.java:725)
---------------------------------------------------------------------------

I have posted this problem to on BEA's forum too, but not yet recieved any answer yet!

Thanks in advance!

BSA
Thursday, September 25, 2003

BSA, Weblogic's clustering mechanism makes use of broadcast traffic to let all of the servers in a given network know about the availability of each other.  How slow is the network that the cluster is on?

na
Thursday, September 25, 2003

What version of WLS are you using.  This was a prior bug in 5.1:

http://www.weblogic.com/docs51/classdocs/README2.html#CR44152

CR 44152
Fixed the problem with parsing POST parameters after failing over by HttpClusterServlet. After HttpClusterServlet fails over the client POST request which has parameters, the secondary server can not parse POST parameters and shows the following:
weblogic.utils.NestedRuntimeException: cannot parse POST parameters of
                request/foo.jsp - with nested exception:
                [java.io.InterruptedIOException: Read timed out]

joe
Thursday, September 25, 2003

Hi Joe,

I also read that article but there is slight differenc in problem.
CR 44152, deals with Timed out problem, but i am getting this exception because of java.net.ProtocolException.

This has to deal with how large request objects are exchanged beteen Proxy Cluster & Managed Server.

I got a reply from one of BEA engineer, he says try with SP5.

Thanks for reply!

BSA

BSA
Friday, September 26, 2003

*  Recent Topics

*  Fog Creek Home