Hi,
while connect HP-QC using JAVA rest api some time getting error below error, any one help me on this ??
getting Response from Sever ...
<html><head><title>Server on 'CASNDG1QCNTRA22' has entered an unstable state, please contact your site administrator.</title></head><body><h1>Server on 'CASNDG1QCNTRA22' has entered an unstable state, please contact your site administrator.</h1/><BR><body>status=MUTED, label=QC server is muted due to unrecoverable error, reason=Java heap space,<br>StackTrace=<br>java.lang.OutOfMemoryError: Java heap space<br> at java.util.Arrays.copyOf(Arrays.java:2882)<br> at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:100)<br> at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:390)<br> at java.lang.StringBuffer.append(StringBuffer.java:224)<br> at com.mercury.optane.core.frec.CFrecRecord.appendCFrecRecordToStringBuffer(CFrecRecord.java:682)<br> at com.mercury.optane.core.frec.CFileRec.toString(CFileRec.java:563)<br> at com.mercury.optane.core.frec.CFileRec.toString(CFileRec.java:553)<br> at com.mercury.td.tdserver.api.logics.CRunQueryLogic.runQuery(CRunQueryLogic.java:206)<br> at com.mercury.td.tdserver.requests.RunQuery.execute(RunQuery.java:27)<br> at com.mercury.optane.core.web.RequestsDispatcher.execute(RequestsDispatcher.java:90)<br> at com.mercury.td.web.CAbsServlet.executeFunction(CAbsServlet.java:483)<br> at com.mercury.td.web.CAbsServlet.processRequest(CAbsServlet.java:475)<br> at com.mercury.td.web.CTdServlet.processRequest(CTdServlet.java:165)<br> at com.mercury.td.web.CAbsServlet.doPost(CAbsServlet.java:349)<br> at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)<br> at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)<br> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)<br> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)<br> at com.hp.qc.core.utils.gzipfilter.GZIPFilter.doFilter(GZIPFilter.java:30)<br> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)<br> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)<br> at com.mercury.optane.core.state.ServerStatusFilter.doFilter(ServerStatusFilter.java:33)<br> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)<br> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)<br> at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)<br> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)<br> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)<br> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)<br> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)<br> at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)<br> at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)<br> at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)<br></body></html>
most of the time getting java.net.ConnectException: Connection timed out: connect while connect to HP-QC server using java rest API