-_-||| HTTP error 413-FULL HEAD
hi, I encountered an error while passing a very long String (about 2000 chars) to jetty server through REST service:
com.ibm.team.repository.common.transport.TeamServiceException: CRJAZ0098I The "com.newteam.common.ISmarterService{/jazz/service/com.newteam.common.ISmarterService}" service failed. The server returned the HTTP error 413 with error text "FULL head". at com.ibm.team.repository.transport.client.ClientHttpUtil.throwHttpClientError(ClientHttpUtil.java:1191) at com.ibm.team.repository.transport.client.ClientHttpUtil.executeHttpMethod(ClientHttpUtil.java:420) at com.ibm.team.repository.transport.client.ClientHttpUtil.executeHttpMethod(ClientHttpUtil.java:269) at com.ibm.team.repository.transport.client.ClientHttpUtil.executeHttpMethod(ClientHttpUtil.java:183) at com.ibm.team.repository.transport.client.RemoteTeamService.executeCancelableHttpMethod(RemoteTeamService.java:566) at com.ibm.team.repository.transport.client.RemoteTeamService.invokeModelledRestService(RemoteTeamService.java:251) at com.ibm.team.repository.transport.client.RemoteTeamService.invoke(RemoteTeamService.java:190) at com.ibm.team.repository.transport.client.ServiceInvocationHandler.invoke(ServiceInvocationHandler.java:43) I'd like to know if there is a way to pass long Strings to server through REST service............ thX in advance~~~ :) |
One answer
It sounds like you hit the size limit imposed by the server. I know that most servers like Tomcat impose such restrictions but they're usually configurable. You'd need to find the setting and increase the limit.
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.