Error when using java API to get log content of buildforge job from RTC, bad record MAC
Hi All,
I need your kindly help.
I used rtc java api to get the log content of a buildforge job, but it came out with error. The error information is as following:
javax.net.ssl.SSLException: bad record MAC
5467 13/10/09 15:24 FILT ������� [SSLException]��Deliver Snapshot��ƥ�� �� ����ʧ��״̬ [��ֵ �� 0/0]��
5468 13/10/09 15:24 ACTIVITY at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Unknown Source)
5469 13/10/09 15:24 ACTIVITY at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(Unknown Source)
5470 13/10/09 15:24 ACTIVITY at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(Unknown Source)
5471 13/10/09 15:24 ACTIVITY at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source)
5472 13/10/09 15:24 ACTIVITY at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(Unknown Source)
5473 13/10/09 15:24 ACTIVITY at com.sun.net.ssl.internal.ssl.AppInputStream.read(Unknown Source)
5474 13/10/09 15:24 ACTIVITY at java.io.BufferedInputStream.fill(Unknown Source)
5475 13/10/09 15:24 ACTIVITY at java.io.BufferedInputStream.read1(Unknown Source)
5476 13/10/09 15:24 ACTIVITY at java.io.BufferedInputStream.read(Unknown Source)
5477 13/10/09 15:24 ACTIVITY at org.apache.commons.httpclient.ContentLengthInputStream.read(ContentLengthInputStream.java:170)
5478 13/10/09 15:24 ACTIVITY at java.io.FilterInputStream.read(Unknown Source)
5479 13/10/09 15:24 ACTIVITY at org.apache.commons.httpclient.AutoCloseInputStream.read(AutoCloseInputStream.java:108)
5480 13/10/09 15:24 ACTIVITY at java.io.FilterInputStream.read(Unknown Source)
5481 13/10/09 15:24 ACTIVITY at com.ibm.team.repository.transport.client.ReleasingAndAbortingInputStream.read(ReleasingAndAbortingInputStream.java:43)
5482 13/10/09 15:24 ACTIVITY at com.ibm.team.repository.client.internal.util.MonitoredInputStream.read(MonitoredInputStream.java:108)
5483 13/10/09 15:24 ACTIVITY at com.ibm.rtc.build.BuildRequest.printBuildLog(BuildRequest.java:173)
5484 13/10/09 15:24 ACTIVITY at com.ibm.rtc.build.BuildRequest.queryBuildResult(BuildRequest.java:151)
5485 13/10/09 15:24 ACTIVITY at com.ibm.rtc.build.BuildRequest.main(BuildRequest.java:249)
5486 13/10/09 15:24 ACTIVITY at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
5487 13/10/09 15:24 ACTIVITY at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
5488 13/10/09 15:24 ACTIVITY at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
5489 13/10/09 15:24 ACTIVITY at java.lang.reflect.Method.invoke(Unknown Source)
5490 13/10/09 15:24 ACTIVITY at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58)
This is the api function that I used for fetching the log contents.
InputStream wi = teamRepository.contentManager()
.retrieveContentStream(
contributions[j].getExtendedContributionData(),
null);
My RTC version is 3.0.1
My buildforge version is 7.1.1.2
I am looking forward to hearing from you.
Thank you very much in advance.
Thanks & Best regards,
Richar CAI