Announcement Announcement Module
No announcement yet.
HttpInvokerServiceExporter and port 8080 Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • HttpInvokerServiceExporter and port 8080

    hi all,

    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.


  • #2
    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.


    • #3
      Re: http remoting

      Thanks Chris.

      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 ?


      • #4
        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?