As far as I know, tomcat does not discriminate between the local LAN and the outer WAN -- all the requests are run through the same machinery. Somewhere either in the app code or the network proxies/firewalls, there's a limit of how much data can be in one request (or how much time a request can take) before the connection is dropped.

One other thought I have -- are the requests for the LAN going through a different connector than the WAN requests? If so, are there any config differences between them?

--David

Piotr Dziędziel wrote:

I spoke with him, and it's not problem with network. It's something else. I
don't know maybe settings or something else. Any other suggestions. Please
help me out, it's make me nervous.
Pozdrawiam,
Piotr Dziędziel

-----Original Message-----
From: David Smith [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 13, 2006 2:44 PM
To: Tomcat Users List
Subject: Re: Uploading the file

Sounds to me like you need to have a chat with your network admins. A firewall or similar may be cutting off the connection.

--David

Piotr Dziędziel wrote:

Hi All,
When I'm uploading the file (size 4MB) from the same LAN everything is OK.

When  I'm uploading from different system over LAN or from the internet and
the file has size is 3MB or lower, it's OK, uploading ends successful.
I am facing the problem while uploading the file size bigger then 3MB (
size
4MB) from different system over LAN or from the internet. It is giving the
following exception. Could anyone got this problem and found solution for
this, Please help me out, as I am new to Struts framework.. Please. Tomcat
version 4.1.31. When Exception Details from Catalina.out are :



[ERROR] CommonsMultipartRequestHandler - -Failed to parse multipart request
<org.apache.commons.fileupload.FileUploadException: Processing of
multipart/form-data request failed. Stream ended
unexpectedly>org.apache.commons.fileupload.FileUploadException: Processing
of multipart/form-data request failed. Stream ended unexpectedly

          at
org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.ja
v
a:429)

          at
org.apache.struts.upload.CommonsMultipartRequestHandler.handleRequest(Commo
n
sMultipartRequestHandler.java:233)

          at
org.apache.struts.util.RequestUtils.populate(RequestUtils.java:1209)

          at
org.apache.struts.action.RequestProcessor.processPopulate(RequestProcessor.
j
ava:821)

          at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:254
)
          at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)

          at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)

          at
comarch.cms.bo.servlets.ActionServlet.doPost(ActionServlet.java:31)

          at javax.servlet.http.HttpServlet.service(HttpServlet.java:716)

          at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)

          at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicatio
n
FilterChain.java:200)

          at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterC
h
ain.java:146)

          at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.j
a
va:209)

          at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
k
eNext(StandardPipeline.java:596)

          at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)

          at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)

          at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.j
a
va:144)

          at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
k
eNext(StandardPipeline.java:596)

          at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)

          at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)

          at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2358)

          at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:13
3
)

          at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
k
eNext(StandardPipeline.java:596)

          at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve
.
java:118)

          at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
k
eNext(StandardPipeline.java:594)

          at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:11
6
)

          at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
k
eNext(StandardPipeline.java:594)

          at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)

          at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)

          at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.jav
a
:127)

          at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
k
eNext(StandardPipeline.java:596)

          at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)

          at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)

          at
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:152)

          at
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:300)

          at
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:374)

          at
org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743)

          at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:675
)
          at
org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866)

          at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.ja
v
a:683)

          at java.lang.Thread.run(Thread.java:534)





--
Empowering business
http://webinars.comarch.com





---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


__________ NOD32 Informacje 1.1750 (20060911) __________

Wiadomosc zostala sprawdzona przez System Antywirusowy NOD32
http://www.nod32.com lub http://www.nod32.pl


--
Empowering business
http://webinars.comarch.com

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to