You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by David Smith <dn...@cornell.edu> on 2006/09/13 14:44:29 UTC
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.jav
>a:429)
>
> at
>org.apache.struts.upload.CommonsMultipartRequestHandler.handleRequest(Common
>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(Application
>FilterChain.java:200)
>
> at
>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
>ain.java:146)
>
> at
>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
>va:209)
>
> at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
>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.ja
>va:144)
>
> at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
>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:133
>)
>
> at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
>eNext(StandardPipeline.java:596)
>
> at
>org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
>java:118)
>
> at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
>eNext(StandardPipeline.java:594)
>
> at
>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:116
>)
>
> at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
>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.java
>:127)
>
> at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
>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.jav
>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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Single Sign-on Configuration with Apache
Posted by Alex Hepp <he...@web.de>.
Mark,
Mark Thomas schrieb:
> When starting a new thread (ie sending a message to the list about a
> new topic) please do not reply to an existing message and change the
> subject line. To many of the list archiving services and mail clients
> used by list subscribers this makes your new message appear as part
> of the old thread. This makes it harder for other users to find
> relevant information when searching the lists.
>
i am very sorry about this, i just forgot about the message id. I didn't
mean to 'hijack' a thread...
> This is known as thread hijacking and is behaviour that is frowned
> upon on this list. Frequent offenders will be removed from the list.
> It should also be noted that many list subscribers automatically
> ignore any messages that hijack another thread.
>
> The correct procedure is to create a new message with a new subject.
> This will start a new thread.
I will remember this for the future, and hope, that noone is offended,
or angry...
Shall I start a new thread with this question, or shall i leave it now,
and just remember it for the future?
Sorry again!
Regards. alex
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Single Sign-on Configuration with Apache
Posted by Mark Thomas <ma...@apache.org>.
When starting a new thread (ie sending a message to the list about a
new topic) please do not reply to an existing message and change the
subject line. To many of the list archiving services and mail clients
used by list subscribers this makes your new message appear as part
of the old thread. This makes it harder for other users to find
relevant information when searching the lists.
This is known as thread hijacking and is behaviour that is frowned
upon on this list. Frequent offenders will be removed from the list.
It should also be noted that many list subscribers automatically
ignore any messages that hijack another thread.
The correct procedure is to create a new message with a new subject.
This will start a new thread.
Mark
tomcat-user-owner
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Single Sign-on Configuration with Apache
Posted by Alex Hepp <he...@web.de>.
Hi!
I have a problem that I really need to solve. I have to find a way how
to configure a tomcat installation, so that it works together with an
Oracle Application Server Portal, respectively the SSO Server.
I know, that there is a module (mod_osso) for apache, but i am not sure
how to configure Tomcat, so that a request to a configured URL is first
redirected to the SSO, and afterwards to Tomcat, and how I then can
retrieve the user information in a servlet.
Is anyone able to give me any hints? Thanks a lot for any help...
regards. Alex
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Uploading the file
Posted by David Smith <dn...@cornell.edu>.
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:dns4@cornell.edu]
>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: users-unsubscribe@tomcat.apache.org
>For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>__________ 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: users-unsubscribe@tomcat.apache.org
>For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: Uploading the file
Posted by Piotr Dziędziel <pi...@comarch.pl>.
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:dns4@cornell.edu]
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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
__________ 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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org