Hi,
I'm running Orbeon on Tomcat 6 and my connection goes through a proxy server. I have a problem when I try to access an internet webservice, where the connection is refused. If I do not go through the proxy server it all works fine. I'm not sure if this is tomcat or orbeon related, but wondered if anyone had any tips or success stories Thanks Ryan ----------------------------------------------- Ryan Puddephatt FIX Developer Fidessa LatentZero 1 Alfred Place London WC1E 7EB Office: +44 (0) 20 7462 4200 Direct: +44 (0) 20 7323 6112 Blackberry: +44 (0) 79 8539 2458 Fax: +44 (0) 20 7462 4242 Email: [hidden email] Web: http://www.latentzero.com _______________________________________________________________________ The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. _____________________________________________________________________ This e-mail has been scanned for viruses by Verizon Business Internet Managed Scanning Services - powered by MessageLabs. For further information visit http://www.mci.com -- 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 |
Ryan,
Same issue: I had the proxy canceled on our proxy server and connection was established as usual. It is neither orbeon nor tomcat. -- einar On Fri, Sep 26, 2008 at 8:30 PM, Ryan Puddephatt <[hidden email]> wrote: > Hi, > I'm running Orbeon on Tomcat 6 and my connection goes through a proxy server. I have a problem when I try to access an internet webservice, where the connection is refused. If I do not go through the proxy server it all works fine. > > I'm not sure if this is tomcat or orbeon related, but wondered if anyone had any tips or success stories > > Thanks > > Ryan > ----------------------------------------------- > Ryan Puddephatt > FIX Developer > Fidessa LatentZero > 1 Alfred Place > London WC1E 7EB > Office: +44 (0) 20 7462 4200 > Direct: +44 (0) 20 7323 6112 > Blackberry: +44 (0) 79 8539 2458 > Fax: +44 (0) 20 7462 4242 > Email: [hidden email] > Web: http://www.latentzero.com > > _______________________________________________________________________ > The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. > > _____________________________________________________________________ > This e-mail has been scanned for viruses by Verizon Business Internet Managed Scanning Services - powered by MessageLabs. For further information visit http://www.mci.com > > > -- > 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 |
Administrator
|
In reply to this post by Ryan Puddephatt-3
Ryan,
On Fri, Sep 26, 2008 at 11:30 AM, Ryan Puddephatt <[hidden email]> wrote: > I'm running Orbeon on Tomcat 6 and my connection goes through a proxy server. I have a problem when I try to access an internet webservice, where the connection is refused. If I do not go through the proxy server it all works fine. > > I'm not sure if this is tomcat or orbeon related, but wondered if anyone had any tips or success stories This was just a few lines of code, so I went ahead and added the support you need to configure a proxy: <property as="xs:string" name="oxf.http.proxy.host" value="localhost"/> <property as="xs:integer" name="oxf.http.proxy.port" value="8090"/> This is in properties-base.xml (properties.xml has been split in 4 files recently). And you'll need the next nightly build for this. Hope this solves your issue. As a side effect, it will make it easier to see what goes over HTTP by running Apache TCPMon in proxy mode and setting this configuration to point to TCPMon, instead of having to change URIs in the code to point to TCPMon. RFE for reference: http://forge.objectweb.org/tracker/index.php?func=detail&aid=311305&group_id=168&atid=350207 Alex -- Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise Orbeon's Blog: http://www.orbeon.com/blog/ Personal Blog: http://avernet.blogspot.com/ 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 |
Administrator
|
On Fri, Sep 26, 2008 at 3:19 PM, Alessandro Vernet <[hidden email]>
wrote: > This was just a few lines of code, so I went ahead and added the > support you need to configure a proxy: [...] Documentation on the Wiki: http://wiki.orbeon.com/forms/doc/developer-guide/configuration-properties#TOC-Proxy-Setup Alex -- Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise Orbeon's Blog: http://www.orbeon.com/blog/ Personal Blog: http://avernet.blogspot.com/ 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 |
Alex,
My proxy requires authentication, what code did you change? I'll have a look at modifying it to authenticate the proxy Thanks Ryan ----------------------------------------------- Ryan Puddephatt FIX Developer Fidessa LatentZero 1 Alfred Place London WC1E 7EB Office: +44 (0) 20 7462 4200 Direct: +44 (0) 20 7323 6112 Blackberry: +44 (0) 79 8539 2458 Fax: +44 (0) 20 7462 4242 Email: [hidden email] Web: http://www.latentzero.com -----Original Message----- From: Alessandro Vernet [mailto:[hidden email]] Sent: 27 September 2008 00:30 To: [hidden email] Subject: [ops-users] Re: Orbeon through a proxy On Fri, Sep 26, 2008 at 3:19 PM, Alessandro Vernet <[hidden email]> wrote: > This was just a few lines of code, so I went ahead and added the > support you need to configure a proxy: [...] Documentation on the Wiki: http://wiki.orbeon.com/forms/doc/developer-guide/configuration-properties#TOC-Proxy-Setup Alex -- Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise Orbeon's Blog: http://www.orbeon.com/blog/ Personal Blog: http://avernet.blogspot.com/ Twitter - http://twitter.com/avernet ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ _______________________________________________________________________ The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. _____________________________________________________________________ This e-mail has been scanned for viruses by Verizon Business Internet Managed Scanning Services - powered by MessageLabs. For further information visit http://www.mci.com -- 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 |
Alex,
I found the code for the proxy and modified it to provide authentication, I've attached the latest in the zip file The has 4 additional properties in properties_base.xml <property as="xs:string" name="oxf.http.proxy.username" value="user"/> <property as="xs:string" name="oxf.http.proxy.password" value="password"/> <property as="xs:string" name="oxf.http.proxy.ntlm.host" value="proxyserver"/> <property as="xs:string" name="oxf.http.proxy.ntlm.domain" value="london.domain.com"/> The username and password fields are required for Basic and Digest authentication methods, my proxy server has NTLM, so I've also implemented this code. Basically if you provide the host and domain properties it will set the credentials to be NTLM rather than Basic/Digest. Let me know when this code is checked in so I can take the latest nightly. Thanks Ryan ----------------------------------------------- Ryan Puddephatt FIX Developer Fidessa LatentZero 1 Alfred Place London WC1E 7EB Office: +44 (0) 20 7462 4200 Direct: +44 (0) 20 7323 6112 Blackberry: +44 (0) 79 8539 2458 Fax: +44 (0) 20 7462 4242 Email: [hidden email] Web: http://www.latentzero.com -----Original Message----- From: Ryan Puddephatt [mailto:[hidden email]] Sent: 27 September 2008 09:44 To: [hidden email] Subject: [ops-users] RE: Re: Orbeon through a proxy Alex, My proxy requires authentication, what code did you change? I'll have a look at modifying it to authenticate the proxy Thanks Ryan ----------------------------------------------- Ryan Puddephatt FIX Developer Fidessa LatentZero 1 Alfred Place London WC1E 7EB Office: +44 (0) 20 7462 4200 Direct: +44 (0) 20 7323 6112 Blackberry: +44 (0) 79 8539 2458 Fax: +44 (0) 20 7462 4242 Email: [hidden email] Web: http://www.latentzero.com -----Original Message----- From: Alessandro Vernet [mailto:[hidden email]] Sent: 27 September 2008 00:30 To: [hidden email] Subject: [ops-users] Re: Orbeon through a proxy On Fri, Sep 26, 2008 at 3:19 PM, Alessandro Vernet <[hidden email]> wrote: > This was just a few lines of code, so I went ahead and added the > support you need to configure a proxy: [...] Documentation on the Wiki: http://wiki.orbeon.com/forms/doc/developer-guide/configuration-properties#TOC-Proxy-Setup Alex -- Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise Orbeon's Blog: http://www.orbeon.com/blog/ Personal Blog: http://avernet.blogspot.com/ Twitter - http://twitter.com/avernet ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ _______________________________________________________________________ The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. _____________________________________________________________________ This e-mail has been scanned for viruses by Verizon Business Internet Managed Scanning Services - powered by MessageLabs. For further information visit http://www.mci.com ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ _______________________________________________________________________ The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. _____________________________________________________________________ This e-mail has been scanned for viruses by Verizon Business Internet Managed Scanning Services - powered by MessageLabs. For further information visit http://www.mci.com -- 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 HTTPURLConnection.zip (4K) Download Attachment |
Administrator
|
Ryan,
On Sun, Sep 28, 2008 at 9:29 AM, Ryan Puddephatt <[hidden email]> wrote: > I found the code for the proxy and modified it to provide authentication, I've attached the latest in the zip file > > The has 4 additional properties in properties_base.xml > > <property as="xs:string" name="oxf.http.proxy.username" value="user"/> > <property as="xs:string" name="oxf.http.proxy.password" value="password"/> > <property as="xs:string" name="oxf.http.proxy.ntlm.host" value="proxyserver"/> > <property as="xs:string" name="oxf.http.proxy.ntlm.domain" value="london.domain.com"/> > > The username and password fields are required for Basic and Digest authentication methods, my proxy server has NTLM, so I've also implemented this code. Basically if you provide the host and domain properties it will set the credentials to be NTLM rather than Basic/Digest. write-access to the Wiki, and was wondering if you would mind adding a note about those additional properties in this section: http://wiki.orbeon.com/forms/doc/developer-guide/configuration-properties#TOC-Proxy-Setup You can log into the Wiki using the same email you used to send this message. The wiki is on Google Sites, so it is using the Google authentication. Let me know if you are using another email address to authenticate with Google services and that you prefer me to put that one there. Alex -- Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise Orbeon's Blog: http://www.orbeon.com/blog/ Personal Blog: http://avernet.blogspot.com/ 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 |
Free forum by Nabble | Edit this page |