Login  Register

Re: Re: Re: Re: Re: Slow page load

Posted by Erik Bruchez on Dec 22, 2010; 2:02am
URL: https://discuss.orbeon.com/Slow-page-load-tp2768407p3160008.html

Ralf,

Puzzling! That's probably explained by the fact that we almost never
use oxf:url-serializer, and it has been a bit out of date for a while.

The issue is probably that our implementation of HTTPURLConnection
doesn't override getOutpuStream(). The default implementation in the
JDK simply throws an exception.

https://github.com/orbeon/orbeon-forms/blob/master/src/java/org/orbeon/oxf/resources/handler/HTTPURLConnection.java

That shouldn't be too hard to fix if you want to give it a try.

-Erik

On Tue, Dec 21, 2010 at 3:16 AM, Ralf Jung <[hidden email]> wrote:

> Hi Erik,
>
> I just wanted to find out what the URL serializer actually does when it is
> given a http-URL (after all, the documentation says "The oxf:, file: and http:
> protocols allow writing."). However, it does not look like http is actually
> supported:
>
> 2010-12-21 12:10:35,426 ERROR org.orbeon.oxf.main.OPS  - Exception at line 48,
> column 42 of oxf:/var/lib/tomcat6/webapps/orbeon/WEB-
> INF/resources/import/import.xpl (executing processor:
> name='{http://www.orbeon.com/oxf/processors}url-serializer')
> java.net.UnknownServiceException: protocol doesn't support output
>        at java.net.URLConnection.getOutputStream(URLConnection.java:809)
>        at
> org.orbeon.oxf.processor.serializer.URLSerializer.start(URLSerializer.java:80)
>        at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor$5.run(PipelineProcessor.java:647)
>        at
> org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:620)
>        at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:644)
>        at
> org.orbeon.oxf.processor.pipeline.foreach.ConcreteForEachProcessor.start(ConcreteForEachProcessor.java:273)
>        at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor$5.run(PipelineProcessor.java:647)
>        at
> org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:620)
>        at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:644)
>        at org.orbeon.oxf.pipeline.InitUtils.runProcessor(InitUtils.java:90)
>        at
> org.orbeon.oxf.pipeline.PipelineEngineImpl.executePipeline(PipelineEngineImpl.java:31)
>        at org.orbeon.oxf.main.OPS.start(OPS.java:191)
>        at org.orbeon.oxf.main.OPS.main(OPS.java:207)
>
> Kind regards,
> Ralf Jung
>
>
> --
> 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