submissions (firewall?) problem

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

submissions (firewall?) problem

Alexander Žaťko
I deployed my app to a server behind firewall. During testing I  
noticed that none of my submissions work - I see log entries like this:

2008-02-11 14:04:19,887 INFO  ProcessorService  - /xforms-server -  
Received request
Feb 11, 2008 2:04:41 PM  
org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing  
request: Connection timed out: connect
Feb 11, 2008 2:04:41 PM  
org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
Feb 11, 2008 2:05:02 PM  
org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing  
request: Connection timed out: connect
Feb 11, 2008 2:05:02 PM  
org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
Feb 11, 2008 2:05:23 PM  
org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing  
request: Connection timed out: connect
Feb 11, 2008 2:05:23 PM  
org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
2008-02-11 14:05:44,200 ERROR XFormsServer  - XForms - submission -  
xforms-submit-error throwable: java.net.ConnectException: Connection  
timed out: connect
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(Unknown Source)
        at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
        at java.net.PlainSocketImpl.connect(Unknown Source)
        at java.net.SocksSocketImpl.connect(Unknown Source)
        at java.net.Socket.connect(Unknown Source)
        at java.net.Socket.connect(Unknown Source)
...

I have a bunch of call-xpl() functions in my binds that work fine (i  
guess because there is no across-the-firewall traffic happening in  
that case), so I think the problem is in my firewall configuration.  
But I do not know what could that be as the port 80 is apparently not  
the one blocking the conversation.

Any clues as to why this might be happening?


--
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: submissions (firewall?) problem

Alexander Žaťko
One more thing - this log trace is a result of testing from the  
outside of the firewall. From the inside the app works fine.

Using OF 3.6.0.200712061930

Client browser types tested - Firefox/IE7/Safari

A.

On Feb 11, 2008, at 10:36 PM, Alexander Zatko wrote:

> I deployed my app to a server behind firewall. During testing I  
> noticed that none of my submissions work - I see log entries like  
> this:
>
> 2008-02-11 14:04:19,887 INFO  ProcessorService  - /xforms-server -  
> Received request
> Feb 11, 2008 2:04:41 PM  
> org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
> INFO: I/O exception (java.net.ConnectException) caught when  
> processing request: Connection timed out: connect
> Feb 11, 2008 2:04:41 PM  
> org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
> INFO: Retrying request
> Feb 11, 2008 2:05:02 PM  
> org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
> INFO: I/O exception (java.net.ConnectException) caught when  
> processing request: Connection timed out: connect
> Feb 11, 2008 2:05:02 PM  
> org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
> INFO: Retrying request
> Feb 11, 2008 2:05:23 PM  
> org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
> INFO: I/O exception (java.net.ConnectException) caught when  
> processing request: Connection timed out: connect
> Feb 11, 2008 2:05:23 PM  
> org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
> INFO: Retrying request
> 2008-02-11 14:05:44,200 ERROR XFormsServer  - XForms - submission -  
> xforms-submit-error throwable: java.net.ConnectException: Connection  
> timed out: connect
> at java.net.PlainSocketImpl.socketConnect(Native Method)
> at java.net.PlainSocketImpl.doConnect(Unknown Source)
> at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
> at java.net.PlainSocketImpl.connect(Unknown Source)
> at java.net.SocksSocketImpl.connect(Unknown Source)
> at java.net.Socket.connect(Unknown Source)
> at java.net.Socket.connect(Unknown Source)
> ...
>
> I have a bunch of call-xpl() functions in my binds that work fine (i  
> guess because there is no across-the-firewall traffic happening in  
> that case), so I think the problem is in my firewall configuration.  
> But I do not know what could that be as the port 80 is apparently  
> not the one blocking the conversation.
>
> Any clues as to why this might be happening?
>
> --
> 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: submissions (firewall?) problem

Nikola Radic
Try to specify the following Java sys parameters when you start app server:

java
.......... -Dhttp.proxyHost=<YOUR_PROXY_HOST_NAME> -Dhttp.proxyPort=<PROXY_P
ORT>

Nikola

P Please consider the environment before deciding to print this e-mail
----- Original Message -----
From: "Alexander Zatko" <[hidden email]>
To: <[hidden email]>
Sent: Monday, February 11, 2008 11:41 PM
Subject: [ops-users] Re: submissions (firewall?) problem


> One more thing - this log trace is a result of testing from the
> outside of the firewall. From the inside the app works fine.
>
> Using OF 3.6.0.200712061930
>
> Client browser types tested - Firefox/IE7/Safari
>
> A.
>
> On Feb 11, 2008, at 10:36 PM, Alexander Zatko wrote:
>
> > I deployed my app to a server behind firewall. During testing I
> > noticed that none of my submissions work - I see log entries like
> > this:
> >
> > 2008-02-11 14:04:19,887 INFO  ProcessorService  - /xforms-server -
> > Received request
> > Feb 11, 2008 2:04:41 PM
> > org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
> > INFO: I/O exception (java.net.ConnectException) caught when
> > processing request: Connection timed out: connect
> > Feb 11, 2008 2:04:41 PM
> > org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
> > INFO: Retrying request
> > Feb 11, 2008 2:05:02 PM
> > org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
> > INFO: I/O exception (java.net.ConnectException) caught when
> > processing request: Connection timed out: connect
> > Feb 11, 2008 2:05:02 PM
> > org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
> > INFO: Retrying request
> > Feb 11, 2008 2:05:23 PM
> > org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
> > INFO: I/O exception (java.net.ConnectException) caught when
> > processing request: Connection timed out: connect
> > Feb 11, 2008 2:05:23 PM
> > org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
> > INFO: Retrying request
> > 2008-02-11 14:05:44,200 ERROR XFormsServer  - XForms - submission -
> > xforms-submit-error throwable: java.net.ConnectException: Connection
> > timed out: connect
> > at java.net.PlainSocketImpl.socketConnect(Native Method)
> > at java.net.PlainSocketImpl.doConnect(Unknown Source)
> > at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
> > at java.net.PlainSocketImpl.connect(Unknown Source)
> > at java.net.SocksSocketImpl.connect(Unknown Source)
> > at java.net.Socket.connect(Unknown Source)
> > at java.net.Socket.connect(Unknown Source)
> > ...
> >
> > I have a bunch of call-xpl() functions in my binds that work fine (i
> > guess because there is no across-the-firewall traffic happening in
> > that case), so I think the problem is in my firewall configuration.
> > But I do not know what could that be as the port 80 is apparently
> > not the one blocking the conversation.
> >
> > Any clues as to why this might be happening?
> >
> > --
> > 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
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: submissions (firewall?) problem

Alexander Žaťko
Nikola, not sure what is meant by YOUR_PROXY_HOST_NAME - my firewall  
IP address? The outside one?

Thanks

A.


On Feb 12, 2008, at 2:12 PM, Nikola Radic wrote:

> Try to specify the following Java sys parameters when you start app  
> server:
>
> java
> .......... -Dhttp.proxyHost=<YOUR_PROXY_HOST_NAME> -
> Dhttp.proxyPort=<PROXY_P
> ORT>
>
> Nikola
>
> P Please consider the environment before deciding to print this e-mail
> ----- Original Message -----
> From: "Alexander Zatko" <[hidden email]>
> To: <[hidden email]>
> Sent: Monday, February 11, 2008 11:41 PM
> Subject: [ops-users] Re: submissions (firewall?) problem
>
>
>> One more thing - this log trace is a result of testing from the
>> outside of the firewall. From the inside the app works fine.
>>
>> Using OF 3.6.0.200712061930
>>
>> Client browser types tested - Firefox/IE7/Safari
>>
>> A.
>>
>> On Feb 11, 2008, at 10:36 PM, Alexander Zatko wrote:
>>
>>> I deployed my app to a server behind firewall. During testing I
>>> noticed that none of my submissions work - I see log entries like
>>> this:
>>>
>>> 2008-02-11 14:04:19,887 INFO  ProcessorService  - /xforms-server -
>>> Received request
>>> Feb 11, 2008 2:04:41 PM
>>> org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
>>> INFO: I/O exception (java.net.ConnectException) caught when
>>> processing request: Connection timed out: connect
>>> Feb 11, 2008 2:04:41 PM
>>> org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
>>> INFO: Retrying request
>>> Feb 11, 2008 2:05:02 PM
>>> org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
>>> INFO: I/O exception (java.net.ConnectException) caught when
>>> processing request: Connection timed out: connect
>>> Feb 11, 2008 2:05:02 PM
>>> org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
>>> INFO: Retrying request
>>> Feb 11, 2008 2:05:23 PM
>>> org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
>>> INFO: I/O exception (java.net.ConnectException) caught when
>>> processing request: Connection timed out: connect
>>> Feb 11, 2008 2:05:23 PM
>>> org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
>>> INFO: Retrying request
>>> 2008-02-11 14:05:44,200 ERROR XFormsServer  - XForms - submission -
>>> xforms-submit-error throwable: java.net.ConnectException: Connection
>>> timed out: connect
>>> at java.net.PlainSocketImpl.socketConnect(Native Method)
>>> at java.net.PlainSocketImpl.doConnect(Unknown Source)
>>> at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
>>> at java.net.PlainSocketImpl.connect(Unknown Source)
>>> at java.net.SocksSocketImpl.connect(Unknown Source)
>>> at java.net.Socket.connect(Unknown Source)
>>> at java.net.Socket.connect(Unknown Source)
>>> ...
>>>
>>> I have a bunch of call-xpl() functions in my binds that work fine (i
>>> guess because there is no across-the-firewall traffic happening in
>>> that case), so I think the problem is in my firewall configuration.
>>> But I do not know what could that be as the port 80 is apparently
>>> not the one blocking the conversation.
>>>
>>> Any clues as to why this might be happening?
>>>
>>> --
>>> 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


--
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: submissions (firewall?) problem

Alexander Žaťko
In reply to this post by Nikola Radic
I figured it out. The problem was with routing - I just had to add one  
record into the hosts file to make this work.

A.


On Feb 12, 2008, at 2:12 PM, Nikola Radic wrote:

> Try to specify the following Java sys parameters when you start app  
> server:
>
> java
> .......... -Dhttp.proxyHost=<YOUR_PROXY_HOST_NAME> -
> Dhttp.proxyPort=<PROXY_P
> ORT>
>
> Nikola
>
> P Please consider the environment before deciding to print this e-mail
> ----- Original Message -----
> From: "Alexander Zatko" <[hidden email]>
> To: <[hidden email]>
> Sent: Monday, February 11, 2008 11:41 PM
> Subject: [ops-users] Re: submissions (firewall?) problem
>
>
>> One more thing - this log trace is a result of testing from the
>> outside of the firewall. From the inside the app works fine.
>>
>> Using OF 3.6.0.200712061930
>>
>> Client browser types tested - Firefox/IE7/Safari
>>
>> A.
>>
>> On Feb 11, 2008, at 10:36 PM, Alexander Zatko wrote:
>>
>>> I deployed my app to a server behind firewall. During testing I
>>> noticed that none of my submissions work - I see log entries like
>>> this:
>>>
>>> 2008-02-11 14:04:19,887 INFO  ProcessorService  - /xforms-server -
>>> Received request
>>> Feb 11, 2008 2:04:41 PM
>>> org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
>>> INFO: I/O exception (java.net.ConnectException) caught when
>>> processing request: Connection timed out: connect
>>> Feb 11, 2008 2:04:41 PM
>>> org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
>>> INFO: Retrying request
>>> Feb 11, 2008 2:05:02 PM
>>> org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
>>> INFO: I/O exception (java.net.ConnectException) caught when
>>> processing request: Connection timed out: connect
>>> Feb 11, 2008 2:05:02 PM
>>> org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
>>> INFO: Retrying request
>>> Feb 11, 2008 2:05:23 PM
>>> org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
>>> INFO: I/O exception (java.net.ConnectException) caught when
>>> processing request: Connection timed out: connect
>>> Feb 11, 2008 2:05:23 PM
>>> org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
>>> INFO: Retrying request
>>> 2008-02-11 14:05:44,200 ERROR XFormsServer  - XForms - submission -
>>> xforms-submit-error throwable: java.net.ConnectException: Connection
>>> timed out: connect
>>> at java.net.PlainSocketImpl.socketConnect(Native Method)
>>> at java.net.PlainSocketImpl.doConnect(Unknown Source)
>>> at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
>>> at java.net.PlainSocketImpl.connect(Unknown Source)
>>> at java.net.SocksSocketImpl.connect(Unknown Source)
>>> at java.net.Socket.connect(Unknown Source)
>>> at java.net.Socket.connect(Unknown Source)
>>> ...
>>>
>>> I have a bunch of call-xpl() functions in my binds that work fine (i
>>> guess because there is no across-the-firewall traffic happening in
>>> that case), so I think the problem is in my firewall configuration.
>>> But I do not know what could that be as the port 80 is apparently
>>> not the one blocking the conversation.
>>>
>>> Any clues as to why this might be happening?
>>>
>>> --
>>> 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


--
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