xforms:upload, submission and Liferay/VPN

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

xforms:upload, submission and Liferay/VPN

Guérin Yannick

Hello,

 

I have a problem with the xforms:upload control . First of all, I’ll explain the setup. I use Orbeon 3.7.1 on Liferay 5.2.3 . My server is Tomcat. I have two method for accessing my form. The first one is the method reserved to test the form, I access the server directly from our network. The second method is the one reserved to our customers, they access the form via a VPN.

 

In the first case, the form works without problem and I can upload files, in the latter case, there are different errors:

 

On IE : Server didn’t respond with valid XML

On Firefox :        Message :c is undefined

                               File :https://...../xforms-yuicalendar-min.js

                               Line Number :88

 

In the server logs, it seems that the corresponding (server side) error is

2009-09-07 17:02:15,600 ERROR ProcessorService  - Exception at line 179, column 106 of oxf:/ops/xforms/xforms-server.xpl (reading processor output: name='response', id='xforms-response')

java.lang.StringIndexOutOfBoundsException: String index out of range: 2

      at java.lang.String.substring(Unknown Source)

      at org.orbeon.oxf.xforms.XFormsUtils.decodeBytes(XFormsUtils.java:723)

      at org.orbeon.oxf.xforms.XFormsUtils.decodeXML(XFormsUtils.java:685)

      at org.orbeon.oxf.xforms.XFormsUtils.decodeXML(XFormsUtils.java:680)

      at org.orbeon.oxf.xforms.processor.XFormsServer.doIt(XFormsServer.java:124)

      at org.orbeon.oxf.xforms.processor.XFormsServer.access$000(XFormsServer.java:58)

      at org.orbeon.oxf.xforms.processor.XFormsServer$1.readImpl(XFormsServer.java:84)

      at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:998)

      at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$ConcreteProcessorFilter$ForwarderProcessorOutput.read(ProcessorImpl.java:952)

      at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:353)

      at org.orbeon.oxf.processor.validation.MSVValidationProcessor.access$600(MSVValidationProcessor.java:44)

      at org.orbeon.oxf.processor.validation.MSVValidationProcessor$3.readImpl(MSVValidationProcessor.java:219)

      at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:998)

      at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1181)

      at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$ConcreteProcessorFilter.read(ProcessorImpl.java:976)

      at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1181)

      at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:353)

      at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:358)

      at org.orbeon.oxf.processor.transformer.xslt.XSLTTransformer.access$700(XSLTTransformer.java:69)

      at org.orbeon.oxf.processor.transformer.xslt.XSLTTransformer$1.readImpl(XSLTTransformer.java:362)

      at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:998)

      at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1181)

      at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:353)

      at org.orbeon.oxf.processor.converter.HTMLConverter.readInput(HTMLConverter.java:65)

      at org.orbeon.oxf.processor.converter.TextConverterBase$1.readImpl(TextConverterBase.java:80)

      at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:998)

      at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1181)

      at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:353)

      at org.orbeon.oxf.processor.serializer.HttpSerializer.readInput(HttpSerializer.java:42)

      at org.orbeon.oxf.processor.serializer.HttpSerializerBase.start(HttpSerializerBase.java:172)

      at org.orbeon.oxf.processor.pipeline.PipelineProcessor$5.run(PipelineProcessor.java:647)

      at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:528)

      at org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:644)

      at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:245)

      at org.orbeon.oxf.processor.pipeline.PipelineProcessor$5.run(PipelineProcessor.java:647)

      at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:528)

      at org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:644)

      at org.orbeon.oxf.pipeline.InitUtils.runProcessor(InitUtils.java:89)

      at org.orbeon.oxf.webapp.ProcessorService.service(ProcessorService.java:96)

      at org.orbeon.oxf.servlet.OrbeonServletDelegate.service(OrbeonServletDelegate.java:138)

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

      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)

      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)

      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)

      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)

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

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

      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)

      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)

      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875)

      at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)

      at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)

      at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)

      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)

      at java.lang.Thread.run(Unknown Source)

 

I don’t know how to solve this problem, has anyone a clue?

 

Thank you in advance and sorry for my English

 

Yannick

 



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: xforms:upload, submission and Liferay/VPN

Erik Bruchez-3
This seems to indicate that somehow, the Ajax request coming from the
client is not in the format expected by the server. Why this is the
case is hard to tell without more information.

-Erik

2009/9/7 Guérin Yannick <[hidden email]>:

> Hello,
>
>
>
> I have a problem with the xforms:upload control . First of all, I’ll explain
> the setup. I use Orbeon 3.7.1 on Liferay 5.2.3 . My server is Tomcat. I have
> two method for accessing my form. The first one is the method reserved to
> test the form, I access the server directly from our network. The second
> method is the one reserved to our customers, they access the form via a VPN.
>
>
>
> In the first case, the form works without problem and I can upload files, in
> the latter case, there are different errors:
>
>
>
> On IE : Server didn’t respond with valid XML
>
> On Firefox :        Message :c is undefined
>
>                                File :https://...../xforms-yuicalendar-min.js
>
>                                Line Number :88
>
>
>
> In the server logs, it seems that the corresponding (server side) error is
>
> 2009-09-07 17:02:15,600 ERROR ProcessorService  - Exception at line 179,
> column 106 of oxf:/ops/xforms/xforms-server.xpl (reading processor output:
> name='response', id='xforms-response')
>
> java.lang.StringIndexOutOfBoundsException: String index out of range: 2
>
>       at java.lang.String.substring(Unknown Source)
>
>       at org.orbeon.oxf.xforms.XFormsUtils.decodeBytes(XFormsUtils.java:723)
>
>       at org.orbeon.oxf.xforms.XFormsUtils.decodeXML(XFormsUtils.java:685)
>
>       at org.orbeon.oxf.xforms.XFormsUtils.decodeXML(XFormsUtils.java:680)
>
>       at
> org.orbeon.oxf.xforms.processor.XFormsServer.doIt(XFormsServer.java:124)
>
>       at
> org.orbeon.oxf.xforms.processor.XFormsServer.access$000(XFormsServer.java:58)
>
>       at
> org.orbeon.oxf.xforms.processor.XFormsServer$1.readImpl(XFormsServer.java:84)
>
>       at
> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:998)
>
>       at
> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$ConcreteProcessorFilter$ForwarderProcessorOutput.read(ProcessorImpl.java:952)
>
>       at
> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:353)
>
>       at
> org.orbeon.oxf.processor.validation.MSVValidationProcessor.access$600(MSVValidationProcessor.java:44)
>
>       at
> org.orbeon.oxf.processor.validation.MSVValidationProcessor$3.readImpl(MSVValidationProcessor.java:219)
>
>       at
> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:998)
>
>       at
> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1181)
>
>       at
> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$ConcreteProcessorFilter.read(ProcessorImpl.java:976)
>
>       at
> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1181)
>
>       at
> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:353)
>
>       at
> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:358)
>
>       at
> org.orbeon.oxf.processor.transformer.xslt.XSLTTransformer.access$700(XSLTTransformer.java:69)
>
>       at
> org.orbeon.oxf.processor.transformer.xslt.XSLTTransformer$1.readImpl(XSLTTransformer.java:362)
>
>       at
> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:998)
>
>       at
> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1181)
>
>       at
> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:353)
>
>       at
> org.orbeon.oxf.processor.converter.HTMLConverter.readInput(HTMLConverter.java:65)
>
>       at
> org.orbeon.oxf.processor.converter.TextConverterBase$1.readImpl(TextConverterBase.java:80)
>
>       at
> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:998)
>
>       at
> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1181)
>
>       at
> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:353)
>
>       at
> org.orbeon.oxf.processor.serializer.HttpSerializer.readInput(HttpSerializer.java:42)
>
>       at
> org.orbeon.oxf.processor.serializer.HttpSerializerBase.start(HttpSerializerBase.java:172)
>
>       at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor$5.run(PipelineProcessor.java:647)
>
>       at
> org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:528)
>
>       at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:644)
>
>       at
> org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:245)
>
>       at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor$5.run(PipelineProcessor.java:647)
>
>       at
> org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:528)
>
>       at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:644)
>
>       at org.orbeon.oxf.pipeline.InitUtils.runProcessor(InitUtils.java:89)
>
>       at
> org.orbeon.oxf.webapp.ProcessorService.service(ProcessorService.java:96)
>
>       at
> org.orbeon.oxf.servlet.OrbeonServletDelegate.service(OrbeonServletDelegate.java:138)
>
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
>
>       at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
>
>       at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
>
>       at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>
>       at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
>
>       at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>
>       at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
>
>       at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
>
>       at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
>
>       at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875)
>
>       at
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
>
>       at
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
>
>       at
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
>
>       at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
>
>       at java.lang.Thread.run(Unknown Source)
>
>
>
> I don’t know how to solve this problem, has anyone a clue?
>
>
>
> Thank you in advance and sorry for my English
>
>
>
> Yannick
>
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing
> list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: xforms:upload, submission and Liferay/VPN

Douglass Whitehead
I have seen this file upload problem as well.  I don't use Liferay.

Symptoms:
      Upload fails for files larger than 128K when using SSL
      Upload works fine for file smaller than 124K when using SSL (I  
haven't tested for the exact breakage point)
      Upload works fine for any file size using simple http

Configuration:
       Tomcat 5.5.23    on CentOS
       Orbeon 3.7.1 (Developer Release)  according to the file in  
orbeon/WEB-INF/resources/apps/doc/pages/home-changes-371.xml
                                                                       
(I'm not certain of the exact release number)
       Apache 2.2.3   on the same CentOS machine
       Apache handles SSL and forwards request to Tomcat without SSL

Steps to reproduce problem:
       1) make/use a file, to be named X, which is over 128K in size
       2) make an orbeon form that has a file upload widget
       3) test form using the tomcat (http) address and upload file  
X.  This will work
       4) test form using the apache (https) address and upload file  
X.  This will fail with a message below and a screen shot

* Message:  c is undefined
* File:  https://..../orbeon/xforms-server/xforms-dialog-yuicalendar-min.js
* Line number:  88

 
     


On Sep 17, 2009, at 7:13 PM, Erik Bruchez wrote:

> This seems to indicate that somehow, the Ajax request coming from the
> client is not in the format expected by the server. Why this is the
> case is hard to tell without more information.
>
> -Erik
>
> 2009/9/7 Guérin Yannick <[hidden email]>:
>> Hello,
>>
>>
>>
>> I have a problem with the xforms:upload control . First of all,  
>> I’ll explain
>> the setup. I use Orbeon 3.7.1 on Liferay 5.2.3 . My server is  
>> Tomcat. I have
>> two method for accessing my form. The first one is the method  
>> reserved to
>> test the form, I access the server directly from our network. The  
>> second
>> method is the one reserved to our customers, they access the form  
>> via a VPN.
>>
>>
>>
>> In the first case, the form works without problem and I can upload  
>> files, in
>> the latter case, there are different errors:
>>
>>
>>
>> On IE : Server didn’t respond with valid XML
>>
>> On Firefox :        Message :c is undefined
>>
>>                                File :https://...../xforms-yuicalendar-min.js
>>
>>                                Line Number :88
>>
>>
>>
>> In the server logs, it seems that the corresponding (server side)  
>> error is
>>
>> 2009-09-07 17:02:15,600 ERROR ProcessorService  - Exception at line  
>> 179,
>> column 106 of oxf:/ops/xforms/xforms-server.xpl (reading processor  
>> output:
>> name='response', id='xforms-response')
>>
>> java.lang.StringIndexOutOfBoundsException: String index out of  
>> range: 2
>>
>>       at java.lang.String.substring(Unknown Source)
>>
>>       at  
>> org.orbeon.oxf.xforms.XFormsUtils.decodeBytes(XFormsUtils.java:723)
>>
>>       at  
>> org.orbeon.oxf.xforms.XFormsUtils.decodeXML(XFormsUtils.java:685)
>>
>>       at  
>> org.orbeon.oxf.xforms.XFormsUtils.decodeXML(XFormsUtils.java:680)
>>
>>       at
>> org.orbeon.oxf.xforms.processor.XFormsServer.doIt(XFormsServer.java:
>> 124)
>>
>>       at
>> org.orbeon.oxf.xforms.processor.XFormsServer.access
>> $000(XFormsServer.java:58)
>>
>>       at
>> org.orbeon.oxf.xforms.processor.XFormsServer
>> $1.readImpl(XFormsServer.java:84)
>>
>>       at
>> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl
>> $1.read(ProcessorImpl.java:998)
>>
>>       at
>> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl
>> $ConcreteProcessorFilter
>> $ForwarderProcessorOutput.read(ProcessorImpl.java:952)
>>
>>       at
>> org
>> .orbeon
>> .oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:353)
>>
>>       at
>> org.orbeon.oxf.processor.validation.MSVValidationProcessor.access
>> $600(MSVValidationProcessor.java:44)
>>
>>       at
>> org.orbeon.oxf.processor.validation.MSVValidationProcessor
>> $3.readImpl(MSVValidationProcessor.java:219)
>>
>>       at
>> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl
>> $1.read(ProcessorImpl.java:998)
>>
>>       at
>> org.orbeon.oxf.processor.ProcessorImpl
>> $ProcessorOutputImpl.read(ProcessorImpl.java:1181)
>>
>>       at
>> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl
>> $ConcreteProcessorFilter.read(ProcessorImpl.java:976)
>>
>>       at
>> org.orbeon.oxf.processor.ProcessorImpl
>> $ProcessorOutputImpl.read(ProcessorImpl.java:1181)
>>
>>       at
>> org
>> .orbeon
>> .oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:353)
>>
>>       at
>> org
>> .orbeon
>> .oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:358)
>>
>>       at
>> org.orbeon.oxf.processor.transformer.xslt.XSLTTransformer.access
>> $700(XSLTTransformer.java:69)
>>
>>       at
>> org.orbeon.oxf.processor.transformer.xslt.XSLTTransformer
>> $1.readImpl(XSLTTransformer.java:362)
>>
>>       at
>> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl
>> $1.read(ProcessorImpl.java:998)
>>
>>       at
>> org.orbeon.oxf.processor.ProcessorImpl
>> $ProcessorOutputImpl.read(ProcessorImpl.java:1181)
>>
>>       at
>> org
>> .orbeon
>> .oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:353)
>>
>>       at
>> org
>> .orbeon
>> .oxf.processor.converter.HTMLConverter.readInput(HTMLConverter.java:
>> 65)
>>
>>       at
>> org.orbeon.oxf.processor.converter.TextConverterBase
>> $1.readImpl(TextConverterBase.java:80)
>>
>>       at
>> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl
>> $1.read(ProcessorImpl.java:998)
>>
>>       at
>> org.orbeon.oxf.processor.ProcessorImpl
>> $ProcessorOutputImpl.read(ProcessorImpl.java:1181)
>>
>>       at
>> org
>> .orbeon
>> .oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:353)
>>
>>       at
>> org
>> .orbeon
>> .oxf
>> .processor.serializer.HttpSerializer.readInput(HttpSerializer.java:
>> 42)
>>
>>       at
>> org
>> .orbeon
>> .oxf
>> .processor
>> .serializer.HttpSerializerBase.start(HttpSerializerBase.java:172)
>>
>>       at
>> org.orbeon.oxf.processor.pipeline.PipelineProcessor
>> $5.run(PipelineProcessor.java:647)
>>
>>       at
>> org
>> .orbeon
>> .oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:528)
>>
>>       at
>> org
>> .orbeon
>> .oxf
>> .processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:
>> 644)
>>
>>       at
>> org
>> .orbeon
>> .oxf
>> .processor
>> .pipeline
>> .choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:
>> 245)
>>
>>       at
>> org.orbeon.oxf.processor.pipeline.PipelineProcessor
>> $5.run(PipelineProcessor.java:647)
>>
>>       at
>> org
>> .orbeon
>> .oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:528)
>>
>>       at
>> org
>> .orbeon
>> .oxf
>> .processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:
>> 644)
>>
>>       at  
>> org.orbeon.oxf.pipeline.InitUtils.runProcessor(InitUtils.java:89)
>>
>>       at
>> org
>> .orbeon.oxf.webapp.ProcessorService.service(ProcessorService.java:96)
>>
>>       at
>> org
>> .orbeon
>> .oxf
>> .servlet.OrbeonServletDelegate.service(OrbeonServletDelegate.java:
>> 138)
>>
>>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
>>
>>       at
>> org
>> .apache
>> .catalina
>> .core
>> .ApplicationFilterChain
>> .internalDoFilter(ApplicationFilterChain.java:269)
>>
>>       at
>> org
>> .apache
>> .catalina
>> .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:
>> 188)
>>
>>       at
>> org
>> .apache
>> .catalina
>> .core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>
>>       at
>> org
>> .apache
>> .catalina
>> .core.StandardContextValve.invoke(StandardContextValve.java:172)
>>
>>       at
>> org
>> .apache
>> .catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>>
>>       at
>> org
>> .apache
>> .catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
>>
>>       at
>> org
>> .apache
>> .catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:
>> 108)
>>
>>       at
>> org
>> .apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
>> 174)
>>
>>       at
>> org
>> .apache.coyote.http11.Http11Processor.process(Http11Processor.java:
>> 875)
>>
>>       at
>> org.apache.coyote.http11.Http11BaseProtocol
>> $Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:
>> 665)
>>
>>       at
>> org
>> .apache
>> .tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:
>> 528)
>>
>>       at
>> org
>> .apache
>> .tomcat
>> .util
>> .net
>> .LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
>>
>>       at
>> org.apache.tomcat.util.threads.ThreadPool
>> $ControlRunnable.run(ThreadPool.java:689)
>>
>>       at java.lang.Thread.run(Unknown Source)
>>
>>
>>
>> I don’t know how to solve this problem, has anyone a clue?
>>
>>
>>
>> Thank you in advance and sorry for my English
>>
>>
>>
>> Yannick
>>
>>
>>
>> --
>> You receive this message as a subscriber of the [hidden email]  
>> mailing
>> list.
>> To unsubscribe: mailto:[hidden email]
>> For general help: mailto:[hidden email]?subject=help
>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>
>>
>
> --
> You receive this message as a subscriber of the [hidden email]  
> mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws

xformsUploadFailure.pdf (229K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

RE: Re: Re: xforms:upload, submission and Liferay/VPN

Guérin Yannick
Hi,

I did more test on the upload and it seems that the file is really uploaded to the site (I can recover it in the temp directory of Tomcat server). After sniffing on the server, I see the frame corresponding to the file going from my workstation to the server. I compared an upload from the outside (with SSL) and from outside (without SSL) and there is no difference in the response, I don't if it's relevant but the response is tagged as pure HTML and other response from Orbeon are tagged as HTML/XML (in WireShark).

The problem persist with all file size,

Regards,

Yannick

.
-----Message d'origine-----
De : Doug Whitehead [mailto:[hidden email]]
Envoyé : vendredi 25 septembre 2009 21:00
À : [hidden email]
Objet : [ops-users] Re: Re: xforms:upload, submission and Liferay/VPN

I have seen this file upload problem as well.  I don't use Liferay.

Symptoms:
      Upload fails for files larger than 128K when using SSL
      Upload works fine for file smaller than 124K when using SSL (I haven't tested for the exact breakage point)
      Upload works fine for any file size using simple http

Configuration:
       Tomcat 5.5.23    on CentOS
       Orbeon 3.7.1 (Developer Release)  according to the file in orbeon/WEB-INF/resources/apps/doc/pages/home-changes-371.xml
                                                                       
(I'm not certain of the exact release number)
       Apache 2.2.3   on the same CentOS machine
       Apache handles SSL and forwards request to Tomcat without SSL

Steps to reproduce problem:
       1) make/use a file, to be named X, which is over 128K in size
       2) make an orbeon form that has a file upload widget
       3) test form using the tomcat (http) address and upload file X.  This will work
       4) test form using the apache (https) address and upload file X.  This will fail with a message below and a screen shot

* Message:  c is undefined
* File:  https://..../orbeon/xforms-server/xforms-dialog-yuicalendar-min.js
* Line number:  88

 
     


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: RE: Re: Re: xforms:upload, submission and Liferay/VPN

Alessandro Vernet
Administrator
Yannick,

2009/9/30 Guérin Yannick <[hidden email]>:
> I did more test on the upload and it seems that the file is really uploaded to the site (I can recover it in the temp directory of Tomcat server). After sniffing on the server, I see the frame corresponding to the file going from my workstation to the server. I compared an upload from the outside (with SSL) and from outside (without SSL) and there is no difference in the response, I don't if it's relevant but the response is tagged as pure HTML and other response from Orbeon are tagged as HTML/XML (in WireShark).

Have you tried testing this with Tomcat handling the HTTPS (not going
through Apache)?

Alex
--
Orbeon Forms - Web forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
My Twitter: http://twitter.com/avernet


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws