Results 1 to 4 of 4

Thread: HttpInvokerServiceExporter and port 8080

  1. #1
    Join Date
    Feb 2007
    Location
    San Francisco, CA
    Posts
    8

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

    cheers!
    Sumit.

  2. #2
    Join Date
    Apr 2006
    Location
    Canada
    Posts
    164

    Default

    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.
    Chris Lee (blog)
    Principal Consultant
    Digital Ascent Inc.

  3. #3
    Join Date
    Feb 2007
    Location
    San Francisco, CA
    Posts
    8

    Default 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. #4
    Join Date
    Apr 2006
    Location
    Canada
    Posts
    164

    Default

    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?
    Chris Lee (blog)
    Principal Consultant
    Digital Ascent Inc.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •