It's all about the answers!

Ask a question

[closed] How do I resolve a CrossServerHttpClient$RestCommunicationException error when accessing Project Areas


Geoff Alexander (19623948) | asked Jul 10 '13, 2:52 p.m.
retagged Jul 22 '13, 4:48 p.m. by Ralph Earle (25739)
We recently converted one of our RTC 4.0.3 repositories from using Tomcat users to using LDAP users.  After making the change, we now get the following error when selecting Manage Selected Project Areas in the RTC Eclipse Client:
Project areas could not be fetched: <Remote exception was of type 'com.ibm.team.repository.service.compatibility.util.http.CrossServerHttpClient$RestCommunicationException'>null. See log for more details.
No project areas are shown.  I did find the following error in the ccm.log:

2013-07-10 14:42:57,999 [ccm: AsynchronousTaskRunner-1 @@ 14:42] ERROR ervice.compatibility.internal.mailer.MailerService  - CRJAZ2513E The email cannot be sent to the Jazz Team Server. com.ibm.team.repository.service.compatibility.util.http.CrossServerHttpClient$RestCommunicationException: Forbidden     at com.ibm.team.repository.service.compatibility.util.http.CrossServerHttpClient.createExceptionFromResponse(CrossServerHttpClient.java:551)     at com.ibm.team.repository.service.compatibility.util.http.CrossServerHttpClient.checkResponse(CrossServerHttpClient.java:474)     at com.ibm.team.repository.service.compatibility.util.http.CrossServerHttpClient.send(CrossServerHttpClient.java:448)     at com.ibm.team.repository.service.compatibility.util.http.CrossServerHttpClient.send(CrossServerHttpClient.java:336)     at com.ibm.team.repository.service.compatibility.util.http.CrossServerHttpClient.send(CrossServerHttpClient.java:460)     at com.ibm.team.repository.service.compatibility.util.http.CrossServerHttpClientService.send(CrossServerHttpClientService.java:68)     at sun.reflect.GeneratedMethodAccessor287.invoke(Unknown Source)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)     at java.lang.reflect.Method.invoke(Method.java:611)     at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:361)     at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347)     at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)     at com.sun.proxy.$Proxy721.send(Unknown Source)     at com.ibm.team.repository.service.compatibility.AbstractCompatibilityService.send(AbstractCompatibilityService.java:56)     at com.ibm.team.repository.service.compatibility.internal.mailer.MailerService.getMailServiceDescription(MailerService.java:151)     at com.ibm.team.repository.service.compatibility.internal.mailer.MailerService.isMailEnabled(MailerService.java:176)     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)     at java.lang.reflect.Method.invoke(Method.java:611)     at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:361)     at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347)     at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)     at com.sun.proxy.$Proxy734.isMailEnabled(Unknown Source)     at com.ibm.team.repository.service.jts.internal.mailer.JtsMailerService.isMailEnabled(JtsMailerService.java:48)     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)     at java.lang.reflect.Method.invoke(Method.java:611)     at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:361)     at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347)     at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)     at com.sun.proxy.$Proxy735.isMailEnabled(Unknown Source)     at com.ibm.team.workitem.service.internal.save.notify.ChangeEventMailNotifier.runTask(ChangeEventMailNotifier.java:114)     at com.ibm.team.repository.service.async.AbstractAutoScheduledTask.executeTask(AbstractAutoScheduledTask.java:88)     at sun.reflect.GeneratedMethodAccessor206.invoke(Unknown Source)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)     at java.lang.reflect.Method.invoke(Method.java:611)     at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:361)     at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347)     at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)     at com.sun.proxy.$Proxy1072.executeTask(Unknown Source)     at com.ibm.team.repository.service.internal.scheduler.AsynchronousTaskRunner.runTask(AsynchronousTaskRunner.java:158)     at com.ibm.team.repository.service.internal.scheduler.AsynchronousTaskRunner.run(AsynchronousTaskRunner.java:119)     at java.lang.Thread.run(Thread.java:738)
The strange thing is that email is enabled and configured correctly for the RTC server as verified by sending a test email message.  How do I resolve the com.ibm.team.repository.service.compatibility.util.http.CrossServerHttpClient$RestCommunicationException error so that we can use the RTC repository with LDAP users?





Comments
Geoff Alexander commented Jul 10 '13, 3:20 p.m.

BTW, I did try synching user information between the Change and Configuration Management application and the Jazz Team Server following the steps given in the IBM technote at http://www-01.ibm.com/support/docview.wss?uid=swg21496228, though I had to use repotools-ccm.sh rather than repotools-jazz.sh.  This didn't resolve the error.

The question has been closed for the following reason: "The question is answered, right answer was accepted" by gdlxn Jul 11 '13, 9:23 a.m.

One answer



permanent link
Geoff Alexander (19623948) | answered Jul 11 '13, 8:45 a.m.
edited Jul 11 '13, 8:46 a.m.
Our test team lead resolved the problem by following the steps in the Unable to view Work Items or Plans because of Forbidden Error technote.