Here is the curl command which produces the same problem. ora-T430:~ $ curl -X GET -i http://localhost:8080/myapp/customers/101 HTTP/1.1 200 OK Content-Type: text/plain Date: Tue, 05 May 2015 21:41:43 GMT Content-Length: 118 ---Customer--- ID: 101 First: John Last: Adams EMail: jadams@example.com City: Braintree State: MA Birthday 1735-10-30