Spring Framework

BurlapServiceExporter logs a HttpRequestMethodNotSupportedException when a Burlap proxy is being created

Details

  • Type: Improvement Improvement
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 2.5.1, 2.5.2
  • Fix Version/s: 2.5.3
  • Component/s: SpringREMOTING
  • Description:
    Hide

    This stack trace shows in the server log file when a Burlap request is made through Spring Remoting (client-side proxy and server-side exporter):

    org.springframework.web.HttpRequestMethodNotSupportedException: BurlapServiceExporter only supports POST requests
    at org.springframework.remoting.caucho.BurlapServiceExporter.handleRequest(BurlapServiceExporter.java:104)
    ...

    With Eclipse's TCP/IP Monitor I confirmed there is an HTTP GET occurring when a Burlap proxy is first created (context creation time). Each subsequent call through the created proxy result in an HTTP POST, which is what the exporter always expects.

    The initial GET request looks like this and has no other data:

    GET /remoting-1-solution/rewards/burlap/rewardNetwork HTTP/1.1
    Connection: close
    User-Agent: Java/1.5.0_11
    Host: localhost:8080
    Accept: text/html, image/gif, image/jpeg, ; q=.2, */; q=.2

    Show
    This stack trace shows in the server log file when a Burlap request is made through Spring Remoting (client-side proxy and server-side exporter): org.springframework.web.HttpRequestMethodNotSupportedException: BurlapServiceExporter only supports POST requests at org.springframework.remoting.caucho.BurlapServiceExporter.handleRequest(BurlapServiceExporter.java:104) ... With Eclipse's TCP/IP Monitor I confirmed there is an HTTP GET occurring when a Burlap proxy is first created (context creation time). Each subsequent call through the created proxy result in an HTTP POST, which is what the exporter always expects. The initial GET request looks like this and has no other data: GET /remoting-1-solution/rewards/burlap/rewardNetwork HTTP/1.1 Connection: close User-Agent: Java/1.5.0_11 Host: localhost:8080 Accept: text/html, image/gif, image/jpeg, ; q=.2, */; q=.2

Activity

Juergen Hoeller made changes - 05/Mar/08 2:38 PM
Field Original Value New Value
Fix Version/s 2.5.3 [ 10722 ]
Affects Version/s 2.5.1 [ 10680 ]
Affects Version/s 2.5.2 [ 10681 ]
Assignee Juergen Hoeller [ juergen.hoeller ]
Juergen Hoeller made changes - 05/Mar/08 2:39 PM
Resolution Fixed [ 1 ]
Status Open [ 1 ] Resolved [ 5 ]

People

Dates

  • Created:
    05/Mar/08 10:39 AM
    Updated:
    30/Apr/08 4:59 AM
    Resolved:
    05/Mar/08 2:39 PM