The community will be in read-only from Monday 11:59pm (PT) to Wednesday 7:30am (PT)
The community will be in read-only from Monday 11:59pm (PT) to Wednesday 7:30am (PT)
Project and Portfolio Management Practitioners Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

REST API java exception

Highlighted
mmtky
Occasional Advisor

REST API java exception

Hi,

Our HP PPM version is 9.22 and we would like to use REST API. We tried to get request types by using url "http://<instance_address>:<port>/itg/rest/dm/requestTypes?username=admin&password=admin". But, we get following exception: "

Apache Tomcat/5.5.35 - Error reportdescription The server encountered an internal error () that prevented it from fulfilling this request.

 Apache Tomcat/5.5.35 - Error report

java.lang.IllegalStateException: getOutputStream() has already been called for this response

"

First of all we checked the security conf file and "/rest=com.kintana.core.web.servlet.AllAccessURLSecurity" line is existing. Webservices are enabled.

Do you have any idea for this exception or could you share the sample usage of the REST API?

Thanks

Regards.

 

//Add this to "OnDomLoad" event