• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

weblogic7.0 server crashes

 
Ranch Hand
Posts: 318
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ?
 
Ranch Hand
Posts: 1871
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 318
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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 ]
 
What I don't understand is how they changed the earth's orbit to fit the metric calendar. Tiny ad:
New web page for Paul's Rocket Mass Heaters movies
https://coderanch.com/t/785239/web-page-Paul-Rocket-Mass
reply
    Bookmark Topic Watch Topic
  • New Topic