Hi,

I already got these settings in my worker.properties:

  worker.worker2.cache_timeout=600
  worker.worker2.socket_keepalive=1
  worker.worker2.reclycle_timeout=300

despite this I get the java.net.SocketTimeoutException. :o(


Cheers,
Pete

> -----Ursprüngliche Nachricht-----
> Von: Davanum Srinivas [mailto:[EMAIL PROTECTED]
> Gesendet: Mittwoch, 6. Dezember 2006 15:08
> An: [email protected]
> Betreff: Re: Complicated Problem involving Web Service passthrough
> 
> did you try setting socket_keepalive and other timeout related
> properties in the tomcat worker.properties?
> 
> http://tomcat.apache.org/connectors-doc/config/workers.html
> 
> -- dims
> 
> On 12/6/06, Peter Neu <[EMAIL PROTECTED]> wrote:
> > Hello,
> >
> > I posted this question on the user list but it couldn't be solved there
> so I
> > post it again here since the docs clearly state question on this subject
> can
> > be posted here as well.
> > http://ws.apache.org/axis2/1_1/http-transport.html.
> >
> > Here's what I'm trying to do:
> >
> > We run apache httpd partially as a proxy to a tomcat server. We do this
> with
> > the mod_jk plug-in which works fine for normal web apps.
> > But now we also need to route Web Services through httpd to the tomcat
> > server which does not work.
> >
> > In the acces log of httpd I find this entry for the web service call:
> >
> > "POST http://192.168.200.194:8080/axis2/services/binarytest HTTP/1.1"
> 413
> > 1798 "-" "Axis2"
> >
> > A normal call to a web app (which works) looks like this:
> >
> > "POST /gvrechner/gvBetrieb.do HTTP/1.1" 200 20347
> > "http://my.proxy.de/gvrechner/init.do"; "Mozilla/5.0
> >
> >
> > In the stub of my Web Service client I have these proxy settings:
> >
> > Options options = new Options();
> > options.setProperty
> > (Constants.Configuration.ENABLE_MTOM,Constants.VALUE_TRUE);
> > options.setProperty(Constants.Configuration.CACHE_ATTACHMENTS,
> >     Constants.VALUE_TRUE);
> > options.setProperty(HTTPConstants.CHUNKED, Boolean.TRUE);
> > long soTimeout = 2 * 60 * 1000;
> > options.setTimeOutInMilliSeconds(soTimeout);
> > HttpTransportProperties.ProxyProperties proxyProperties =
> > new HttpTransportProperties.ProxyProperties();
> >
> > proxyProperties.setProxyName("my.proxy.de");
> > proxyProperties.setDomain("anonymous");
> > proxyProperties.setUserName("anonymous");
> > proxyProperties.setPassWord("anonymous");
> > proxyProperties.setProxyPort(80);
> > options.setProperty(HTTPConstants.PROXY, proxyProperties);
> > options.setTo(new
> >
> EndpointReference("http://192.168.200.194:8080/axis2/services/binarytest";)
> );
> > options.setProperty(HTTPConstants.PROXY, proxyProperties);
> > _serviceClient.setOptions(options);
> >
> > Exceptions I get are the usual java.net.SocketTimeoutExceptions.
> >
> > How is this done the right way? Is there a tutorial on this somewhere?
> > Where could the problem be located?
> >
> > Versions: httpd 2.0.40, jakarta-tomcat-5.5.9, axis 2.
> >
> >
> > Cheers,
> > Pete
> >
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> 
> --
> Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to