relative URL with POST

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

relative URL with POST

Serena Potts
I am using the 3.7 nightly build of Orbeon with a Java application.

I have deployed Orbeon and the java app separately under tomcat.

I have written a servlet to POST to, to retrieve the data and submit with the following xforms tag:

<xforms:submission id="save-data" method="post" resource="http://localhost:8082/xformsApp/xforms-jsp/HelloWorld "/>

<xforms:submit submission="save-data">
        <xforms:label>Continue</xforms:label>                     
</xforms:submit>

This posts to my servlet fine but I have to use an absolute URL and I want to use a relative URL. When I tried to post to a relative URL, I get the following error:

Type class java.lang.NullPointerException
Message null
Location oxf:/config/xforms-widgets.xsl
Line 24
Column -1
Stack Trace java.lang.NullPointerException
        at org.orbeon.oxf.xforms.XFormsSubmissionUtils.openOptimizedConnection(XFormsSubmissionUtils.java:106)
                        …
Any thoughts?
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: relative URL with POST

Alessandro Vernet
Administrator
Serena,

Serena Potts wrote
This posts to my servlet fine but I have to use an absolute URL and I want to use a relative URL. When I tried to post to a relative URL, I get the following error:

Type class java.lang.NullPointerException
Message null
Location oxf:/config/xforms-widgets.xsl
Line 24
Column -1
Stack Trace java.lang.NullPointerException
        at org.orbeon.oxf.xforms.XFormsSubmissionUtils.openOptimizedConnection(XFormsSubmissionUtils.java:106)
This doesn't sound like something that should happen, but we'd need a reproducible test case to debug this. Can you recreate this by creating a JSP file you put in the xforms-jsp directory?

Alex
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: relative URL with POST

Serena Potts
I have attached the zipped context I have separtely deployed. The file to run is /xformsApp/xforms-jsp/test.jsp.

Thanks

Alessandro Vernet wrote
Serena,

Serena Potts wrote
This posts to my servlet fine but I have to use an absolute URL and I want to use a relative URL. When I tried to post to a relative URL, I get the following error:

Type class java.lang.NullPointerException
Message null
Location oxf:/config/xforms-widgets.xsl
Line 24
Column -1
Stack Trace java.lang.NullPointerException
        at org.orbeon.oxf.xforms.XFormsSubmissionUtils.openOptimizedConnection(XFormsSubmissionUtils.java:106)
This doesn't sound like something that should happen, but we'd need a reproducible test case to debug this. Can you recreate this by creating a JSP file you put in the xforms-jsp directory?

Alex
xformsApp.zip
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: relative URL with POST

Alexandru Ionita
Hello guys,

After two weeks of xforms, I could say that I've started to like it, but I'm facing a new issue. It is just the same described in this thread. Is there a fix for it?
In the documentation at paragraph "8.3. XForms Submisssion" it stands that orbeon can handle relative URIs, and also how they are resolved. In reality is not working as it is supposed to.


Thanks,
Alexandru

Serena Potts wrote
I have attached the zipped context I have separtely deployed. The file to run is /xformsApp/xforms-jsp/test.jsp.

Thanks

Alessandro Vernet wrote
Serena,

Serena Potts wrote
This posts to my servlet fine but I have to use an absolute URL and I want to use a relative URL. When I tried to post to a relative URL, I get the following error:

Type class java.lang.NullPointerException
Message null
Location oxf:/config/xforms-widgets.xsl
Line 24
Column -1
Stack Trace java.lang.NullPointerException
        at org.orbeon.oxf.xforms.XFormsSubmissionUtils.openOptimizedConnection(XFormsSubmissionUtils.java:106)
This doesn't sound like something that should happen, but we'd need a reproducible test case to debug this. Can you recreate this by creating a JSP file you put in the xforms-jsp directory?

Alex
xformsApp.zip
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Re: re lative URL with POST

Alessandro Vernet
Administrator
Alexandru,

On Thu, Oct 1, 2009 at 1:47 PM, iga <[hidden email]> wrote:
> After two weeks of xforms, I could say that I've started to like it, but I'm
> facing a new issue. It is just the same described in this thread. Is there a
> fix for it?
> In the documentation at paragraph "8.3. XForms Submisssion" it stands that
> orbeon can handle relative URIs, and also how they are resolved. In reality
> is not working as it is supposed to.

If the issue you're having is indeed due to a rewrite bug with
relative URLs in separate deployment, this is your lucky day (well...
almost), as Erik is working on  a fix for this. So stay tuned; this
bug should become history soon, and in the meantime you can use an
full URL.

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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Re: re lative URL with POST

Alexandru Ionita
Hello Alessandroand thank you for your support.
Attached you may fist a small project exported from eclipse. All you have to do is to deploy it in a tomcat 5.5 AS.

Now the submission link is http://localhost:8080/SubmissionTest/service/dispatchRequest.do
but if you change it to /service/dispatchRequest.do (as mapped in web.xml) the submission will not work anymore ending up with this error:

Typeclass java.lang.NullPointerException
Messagenull
Locationoxf:/config/xforms-widgets.xsl
Line24
Column-1
Stack Trace

java.lang.NullPointerException
at org.orbeon.oxf.xforms.XFormsSubmissionUtils.openOptimizedConnection(XFormsSubmissionUtils.java:106)
at org.orbeon.oxf.xforms.XFormsSubmissionUtils.openOptimizedConnection(XFormsSubmissionUtils.java:82)
at org.orbeon.oxf.xforms.XFormsModelSubmission.performDefaultAction(XFormsModelSubmission.java:715)
at org.orbeon.oxf.xforms.xbl.XBLContainer.dispatchEvent(XBLContainer.java:897)
at org.orbeon.oxf.xforms.XFormsContainingDocument.dispatchEvent(XFormsContainingDocument.java:999)
at org.orbeon.oxf.xforms.XFormsContainingDocument.executeExternalEvent(XFormsContainingDocument.java:983)
at org.orbeon.oxf.xforms.processor.XFormsServer.doIt(XFormsServer.java:393)
at org.orbeon.oxf.xforms.processor.XFormsServer.start(XFormsServer.java:94)
at org.orbeon.oxf.processor.pipeline.PipelineProcessor$11.run(PipelineProcessor.java:644)
at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:519)
at org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:641)
at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:242)
at org.orbeon.oxf.processor.pipeline.PipelineProcessor$11.run(PipelineProcessor.java:644)
at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:519)
at org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:641)
at org.orbeon.oxf.processor.pipeline.PipelineProcessor$11.run(PipelineProcessor.java:644)
at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:519)
at org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:641)
at org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.getInput(PipelineProcessor.java:136)
at org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.readImpl(PipelineProcessor.java:85)
at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:995)
at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1178)
at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor$1.readImpl(ConcreteChooseProcessor.java:126)
at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:995)
at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1178)
at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:350)
at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$000(PipelineProcessor.java:62)
at org.orbeon.oxf.processor.pipeline.PipelineProcessor$2.run(PipelineProcessor.java:92)
at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:519)
at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$100(PipelineProcessor.java:62)
at org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.readImpl(PipelineProcessor.java:90)
at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:995)
at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1178)
at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:350)
at org.orbeon.oxf.processor.pipeline.TeeProcessor.access$000(TeeProcessor.java:36)
at org.orbeon.oxf.processor.pipeline.TeeProcessor$1.readImpl(TeeProcessor.java:59)
at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:995)
at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1178)
at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:350)
at org.orbeon.oxf.processor.ProcessorImpl.readInputAsTinyTree(ProcessorImpl.java:377)
at org.orbeon.oxf.processor.ProcessorImpl$4.read(ProcessorImpl.java:410)
at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:453)
at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsTinyTree(ProcessorImpl.java:408)
at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:189)
at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor$1.readImpl(ConcreteChooseProcessor.java:124)
at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:995)
at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1178)
at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:350)
at org.orbeon.oxf.processor.ProcessorImpl.readInputAsTinyTree(ProcessorImpl.java:377)
at org.orbeon.oxf.processor.ProcessorImpl$4.read(ProcessorImpl.java:410)
at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:453)
at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsTinyTree(ProcessorImpl.java:408)
at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:189)
at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor$1.readImpl(ConcreteChooseProcessor.java:124)
at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:995)
at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1178)
at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:350)
at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:355)
at org.orbeon.oxf.processor.IdentityProcessor$1.readImpl(IdentityProcessor.java:33)
at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:995)
at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1178)
at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:350)
at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$000(PipelineProcessor.java:62)
at org.orbeon.oxf.processor.pipeline.PipelineProcessor$2.run(PipelineProcessor.java:92)
at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:519)
at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$100(PipelineProcessor.java:62)
at org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.readImpl(PipelineProcessor.java:90)
at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:995)
at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1178)
at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor$1.readImpl(ConcreteChooseProcessor.java:126)
at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:995)
at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1178)
at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:350)
at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:355)
at org.orbeon.oxf.processor.IdentityProcessor$1.readImpl(IdentityProcessor.java:33)
at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:995)
at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1178)
at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:350)
at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$000(PipelineProcessor.java:62)
at org.orbeon.oxf.processor.pipeline.PipelineProcessor$2.run(PipelineProcessor.java:92)
at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:519)
at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$100(PipelineProcessor.java:62)
at org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.readImpl(PipelineProcessor.java:90)
at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:995)
at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1178)
at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor$1.readImpl(ConcreteChooseProcessor.java:126)
at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:995)
at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1178)
at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:350)
at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:355)
at org.orbeon.oxf.processor.IdentityProcessor$1.readImpl(IdentityProcessor.java:33)
at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:995)
at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1178)
at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:350)
at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$000(PipelineProcessor.java:62)
at org.orbeon.oxf.processor.pipeline.PipelineProcessor$2.run(PipelineProcessor.java:92)
at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:519)
at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$100(PipelineProcessor.java:62)
at org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.readImpl(PipelineProcessor.java:90)
at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:995)
at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1178)
at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor$1.readImpl(ConcreteChooseProcessor.java:126)
at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:995)
at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1178)
at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:350)
at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:355)
at org.orbeon.oxf.processor.IdentityProcessor$1.readImpl(IdentityProcessor.java:33)
at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:995)
at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1178)
at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:350)
at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$000(PipelineProcessor.java:62)
at org.orbeon.oxf.processor.pipeline.PipelineProcessor$2.run(PipelineProcessor.java:92)
at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:519)
at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$100(PipelineProcessor.java:62)
at org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.readImpl(PipelineProcessor.java:90)
at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:995)
at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1178)
at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor$1.readImpl(ConcreteChooseProcessor.java:126)
at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:995)
at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1178)
at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:350)
at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:355)
at org.orbeon.oxf.processor.IdentityProcessor$1.readImpl(IdentityProcessor.java:33)
at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:995)
at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1178)
at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:350)
at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$000(PipelineProcessor.java:62)
at org.orbeon.oxf.processor.pipeline.PipelineProcessor$2.run(PipelineProcessor.java:92)
at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:519)
at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$100(PipelineProcessor.java:62)
at org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.readImpl(PipelineProcessor.java:90)
at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:995)
at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1178)
at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor$1.readImpl(ConcreteChooseProcessor.java:126)
at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:995)
at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1178)
at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:350)
at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:355)
at org.orbeon.oxf.processor.IdentityProcessor$1.readImpl(IdentityProcessor.java:33)
at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:995)
at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1178)
at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:350)
at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$000(PipelineProcessor.java:62)
at org.orbeon.oxf.processor.pipeline.PipelineProcessor$2.run(PipelineProcessor.java:92)
at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:519)
at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$100(PipelineProcessor.java:62)
at org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.readImpl(PipelineProcessor.java:90)
at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:995)
at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1178)
at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor$1.readImpl(ConcreteChooseProcessor.java:126)
at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:995)
at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1178)
at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:350)
at org.orbeon.oxf.processor.pipeline.TeeProcessor.access$000(TeeProcessor.java:36)
at org.orbeon.oxf.processor.pipeline.TeeProcessor$1.readImpl(TeeProcessor.java:59)
at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:995)
at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1178)
at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:350)
at org.orbeon.oxf.processor.ProcessorImpl.readInputAsTinyTree(ProcessorImpl.java:377)
at org.orbeon.oxf.processor.ProcessorImpl$4.read(ProcessorImpl.java:410)
at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:453)
at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsTinyTree(ProcessorImpl.java:408)
at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:189)
at org.orbeon.oxf.processor.pipeline.PipelineProcessor$11.run(PipelineProcessor.java:644)
at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:519)
at org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:641)
at org.orbeon.oxf.processor.PageFlowControllerProcessor.start(PageFlowControllerProcessor.java:489)
at org.orbeon.oxf.pipeline.InitUtils.runProcessor(InitUtils.java:92)
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.ApplicationDispatcher.invoke(ApplicationDispatcher.java:679)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:461)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:399)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
at org.orbeon.oxf.servlet.OrbeonXFormsFilter.doFilter(OrbeonXFormsFilter.java:83)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
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:873)
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(Thread.java:619)


regards,
Alexandru

On Sat, Oct 10, 2009 at 06:13, Alessandro Vernet (via Nabble) <[hidden email]> wrote:
Alexandru,

On Thu, Oct 1, 2009 at 1:47 PM, iga <[hidden email]> wrote:
> After two weeks of xforms, I could say that I've started to like it, but I'm
> facing a new issue. It is just the same described in this thread. Is there a
> fix for it?
> In the documentation at paragraph "8.3. XForms Submisssion" it stands that
> orbeon can handle relative URIs, and also how they are resolved. In reality
> is not working as it is supposed to.

If the issue you're having is indeed due to a rewrite bug with
relative URLs in separate deployment, this is your lucky day (well...
almost), as Erik is working on  a fix for this. So stay tuned; this
bug should become history soon, and in the meantime you can use an
full URL.

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



View message @ http://n4.nabble.com/relative-URL-with-POST-tp45314p45318.html
To unsubscribe from Re: relative URL with POST, click here.



submissionTest.war (941K) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Re: re lative URL with POST

Alessandro  Vernet
Administrator
In reply to this post by Alessandro Vernet
Alexandru,

On Mon, Oct 5, 2009 at 6:17 PM, Alessandro Vernet <[hidden email]> wrote:
> If the issue you're having is indeed due to a rewrite bug with
> relative URLs in separate deployment, this is your lucky day (well...
> almost), as Erik is working on  a fix for this. So stay tuned; this
> bug should become history soon, and in the meantime you can use an
> full URL.

Erik did it! These changes didn't make it yet to the master nightly
builds, but you can for now download a build for testing with those
changes in from the URL below. You'll let us know if this does it for
you.

http://forge.objectweb.org/nightlybuilds/ops/ops/orbeon-development.war

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
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Loading...