aspose file tools*
The moose likes BEA/Weblogic and the fly likes weblogic7.0 server crashes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "weblogic7.0 server crashes" Watch "weblogic7.0 server crashes" New topic
Author

weblogic7.0 server crashes

Kalpesh Soni
Ranch Hand

Joined: Jan 02, 2001
Posts: 312
hi all
we are running quite a heavy application on weblogic 7.0 (no SP)
it simply crashes when load is increased
and this is what i get from log
####<Feb 20, 2003 9:30:11 PM IST> <Error> <HTTP> <indiashare> <myserver> <ExecuteThread: '34' for queue: 'default'> <kernel identity> <> <101017> <[ServletContext(id=-10892461,name=platform,context-path=/platform)] Root cause of ServletException>
java.lang.IllegalStateException: cannot resize buffer, 943bytes have been written (Servlet 2.2, sec. 6.1)
at weblogic.servlet.internal.ServletResponseImpl.setBufferSize(ServletResponseImpl.java:216)
at weblogic.servlet.jsp.PageContextImpl.initialize(PageContextImpl.java:49)
at weblogic.servlet.jsp.PageContextImpl.<init>(PageContextImpl.java:80)
at weblogic.servlet.jsp.JspFactoryImpl.getPageContext(JspFactoryImpl.java:31)
at jsp_servlet._web._controller._mail._agent._reply.__extractarticlecontent._jspService(__extractarticlecontent.java:166)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:945)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:332)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:20)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at com.egain.platform.client.RequestLogFilterJSP.doFilter(RequestLogFilterJSP.java:43)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5369)
at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:721)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3043)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2466)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
####<Feb 20, 2003 9:30:12 PM IST> <Error> <kernel> <indiashare> <myserver> <ExecuteThread: '34' for queue: 'default'> <kernel identity> <> <000802> <ExecuteRequest failed
java.lang.NullPointerException: >
java.lang.NullPointerException:
at weblogic.servlet.internal.ServletOutputStreamImpl.finish(ServletOutputStreamImpl.java:510)
at weblogic.servlet.internal.ServletResponseImpl.send(ServletResponseImpl.java:1142)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2471)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
####<Feb 20, 2003 9:30:15 PM IST> <Error> <HTTP> <indiashare> <myserver> <ExecuteThread: '47' for queue: 'default'> <kernel identity> <> <101215> <Malformed Request "null". Request parsing failed, code: -100>
####<Feb 20, 2003 9:30:15 PM IST> <Error> <socket> <indiashare> <myserver> <ExecuteThread: '47' for queue: 'default'> <kernel identity> <> <000413> <Failure in processSockets() - GetData: weblogic.socket.NTSocketMuxer$GetData - fd: '6948', numBytes: '371'
java.lang.NullPointerException: >
java.lang.NullPointerException:
at weblogic.servlet.internal.ServletContextManager.trimAbsUrl(ServletContextManager.java:164)
at weblogic.servlet.internal.ServletContextManager.resolveRequestByURI(ServletContextManager.java:186)
at weblogic.servlet.internal.HttpServer.findContext(HttpServer.java:657)
at weblogic.servlet.internal.MuxableSocketHTTP.dispatch(MuxableSocketHTTP.java:411)
at weblogic.socket.NTSocketMuxer.processSockets(NTSocketMuxer.java:667)
at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
####<Feb 20, 2003 9:30:15 PM IST> <Error> <HTTP> <indiashare> <myserver> <ExecuteThread: '47' for queue: 'default'> <kernel identity> <> <000411> <No IORecord present for fd: 6,948>
####<Feb 20, 2003 9:30:15 PM IST> <Error> <HTTP> <indiashare> <myserver> <ExecuteThread: '49' for queue: 'default'> <kernel identity> <> <000411> <No IORecord present for fd: 6,948>
any clues ?
Rahul Mahindrakar
Ranch Hand

Joined: Jul 28, 2000
Posts: 1850
The clues are
.
java.lang.IllegalStateException: cannot resize buffer, 943bytes have been written (Servlet 2.2, sec. 6.1)

The relevant section from the servlet spec states the following.
If the response is committed and the reset method is called, an IllegalStateException
must be thrown. In this case, the response and its associated buffer will be unchanged
What are you doing in code???
Kalpesh Soni
Ranch Hand

Joined: Jan 02, 2001
Posts: 312
well
i am doing nothing of this sort !
the same jsp runs fine many times !!
and as you can see from trace
it fails in getPageContext() !!
which fails here (this is the weblogic generated code)


and one more thing
i am using java classic vm on windows 2k sp3

how would i know if jvm itself has bug, and crashing or not
the console does not say anything.
[ March 10, 2003: Message edited by: Kalpesh Soni ]
Rama Raghavan
Ranch Hand

Joined: Aug 22, 2001
Posts: 116
and as you can see from trace
it fails in getPageContext() !!

This may not be entirely true. The failure is probably triggered from an issue that Rahul stated, and could be coming from your code,RequestLogFilterJSP.java:43
the same jsp runs fine many times

Many successful runs may be possible depending on the path this JSP takes, size of data in the out buffer, has data been really "flushed" to client etc.
Are you forwarding requests or reseting buffer size after the response is committed ?
And what do you means by "server crashes.." ? Does your server not respond to subsequent requests other url/resources ..?
Rama
[ March 10, 2003: Message edited by: Rama Raghavan ]

Rama Raghavan<br />SCJP2<br />SCWCD
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: weblogic7.0 server crashes