Jump to content
We've recently updated our Privacy Statement, available here ×

error on the webapp sample


Recommended Posts

By: ivovictor - ivovictor

error on the webapp sample

2002-08-26 11:08

Just tried to run the webapp sample on weblogic 5.1...

Any help would be appreciated

 

java.net.ProtocolException: Exceeded stated content-length for URI /letter.jsp of: 2443 bytes

at weblogic.servlet.internal.ServletOutputStreamImpl.write(ServletOutputStreamImpl.java:163)

at jsp_servlet._letter._jspService(_letter.java, Compiled Code)

at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)

at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java, Compiled Code)

at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java, Compiled Code)

at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:922)

at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:886)

at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:269)

at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:380)

at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:268)

at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)

Mon Aug 26 13:42:57 EDT 2002:<E> <HTTP> Servlet request terminated with IOException:

java.net.ProtocolException: Didn't meet stated Content-Length for URI : /jasperError.jsp, wrote: '111' bytes instead of stated: '2443' bytes.

at weblogic.servlet.internal.ServletOutputStreamImpl.finish(ServletOutputStreamImpl.java:363)

at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:271)

at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:380)

at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:268)

at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)

 

 

 

 

By: Teodor Danciu - teodord

RE: error on the webapp sample

2002-08-27 06:59

 

Hi,

 

Someone had the same problem with iText:

http://www.geocrawler.com/archives/3/8175/2002/6/100/8996084/

 

Here's what might be the solution:

http://www.geocrawler.com/archives/3/8175/2002/6/100/9013371/

 

Try to create a servlet instead of that JSP page

I've supplied.

Maybe I'll do it myself for the next version,

to enhance the sample, if this is really the cause.

 

Thank you,

Teodor

 

 

 

By: ivovictor - ivovictor

RE: error on the webapp sample

2002-08-27 10:10

Thanks,

the servlet solution works:)

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...