May 25th, 2007, 01:18 PM
HttpInvokerServiceExporter and port 8080
Is there a way to expose a http remote service at a port other than port 8080 ??
I don't see that option anywhere. I basically want to exposer it at port xyz and let the LB handle the request and send it off to the correct port. On the local box we use NATting.
May 25th, 2007, 03:28 PM
Spring does not provide the HTTP connector itself, only the HttpRequestHandler component via HttpInvokerServiceExporter, which is intended to be deployed into an existing servlet container.
That servlet container would control the listening port; in the case of Tomcat, the connector settings in server.xml can be used to change the port.
May 25th, 2007, 06:53 PM
Re: http remoting
Everything starts up fine, execept for the fact that I don't see anything when I hit the /remoting/*Service path. No exceptions etc. just 404 not found.
And I did debug and make sure that spring loaded my application context and I did make all the relevant changes (added remoting bean/bean-mapping) to web.xml ?
Any ideas ?
May 25th, 2007, 07:31 PM
Well, its a good start that you get a 404 - at least the server is listening!
Could you provide the relevant section of your context file(s)? Please wrap them with [code ] and [/code ] (makes it much easier to read).
Is it possible that your application is deployed to another context, and the actual path should be /something/remoting/*Service?