Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Can not connect to RAM API

We have a RAM server which version is 7202 test fix 902a
Now when we try to connect its webservice API by provide RAM admin user and password, it always work. But today it always report the following exception:

00000105 RAMClient E com.ibm.cloud.ram.RAMClient init Unable to access server services: (503)Service Unavailable
com.ibm.ram.common.data.exception.RAMRuntimeException: Unable to access server services: (503)Service Unavailable
at com.ibm.ram.client.RAMSession.<init>(RAMSession.java:318)
at com.ibm.cloud.ram.RAMClient.init(RAMClient.java:113)
at com.ibm.cloud.ram.RAMClient.getInstance(RAMClient.java:102)
at

Caused by: com.ibm.ram.internal.client.RAMServiceException: Unable to access server services: (503)Service Unavailable
at com.ibm.ram.internal.client.RAMClient.primGetRAMWebService(RAMClient.java:490)
at com.ibm.ram.internal.client.RAMClient.getRAM1Webservice(RAMClient.java:425)
at com.ibm.ram.internal.client.RAMClient.getServerVersionString(RAMClient.java:529)
at com.ibm.ram.client.RAMSession.createClient(RAMSession.java:375)
at com.ibm.ram.client.RAMSession.<init>(RAMSession.java:316)
... 40 more


Could you tell me what is the meaning of status code 10002 and how to resolve this problem?

I have checked RAM setup page, all the config is no problem, also in RAM admin page, the config page works well. Then I through RAM setup last summary page to visit its URL for "Web Services", also can open directly with no problem.

Thanks.

0 votes



6 answers

Permanent link
Check the ramDebug.log on the server, what does it say?

0 votes


Permanent link
Hi Gili,

Because our RAM 7.2 server yesterday restarted, so exception is gone.
But today our RAM 7502 server also meet the same problem .

I only saw this log in our systemOut.log:
00000042 WebApp E -: com.ibm.ws.webcontainer.webapp.WebAppErrorReport: The server is not configured correctly and cannot process the request. Status kind=configurationNeeded
at com.ibm.ws.webcontainer.webapp.WebAppDispatcherContext.sendError(WebAppDispatcherContext.java:554)
at com.ibm.ws.webcontainer.srt.SRTServletResponse.sendError(SRTServletResponse.java:1005)
at com.ibm.ram.repository.web.RAMWSServletFilter.doFilter(RAMWSServletFilter.java:420)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:848)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:758)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:711)
at com.ibm.ws.wswebcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:115)
at com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.invokeFilters(DefaultExtensionProcessor.java:894)
at com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:587)
at com.ibm.ws.wswebcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:113)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3574)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:269)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:831)


In ramdebug.log only show successful in that time:
CRRAM0003I 14021893 INFO web com.ibm.ram.repository.configuration.ConfigurationManager - RTC successfully connected to https://usvram012ccxra.ccmp.ibm.lab:9444/jazz as user ramccadmin
CRRAM0002W 14034167 WARN ws com.ibm.ram.repository.web.ws.quartz.TimerServletBase - Configuration is now complete after 13992.956 seconds.


But our RAM setup page and configruation page shows no problem.

Also, after couple of minutes this error not show again, but we need to find out why this happen because it show frequently these days in different servers. So far our only solution is restart server


Thanks.

0 votes


Permanent link
There was a configuration problem on start up. I'm betting it was having trouble contacting your RTC because it cleared itself up after:

Configuration is now complete after 13992.956 seconds

I.E. It took about 230 minutes to come up.

You were trying it right before the configuration was completed. So basically RAM wasn't ready yet when you tried.

You tried at 5:57:02 but RAM wasn't completely ready until 5:58:06, a minute later.

A message of Status kind=configurationNeeded means something is not configured correctly.

In 7.5.1 we actually print what was actually wrong with the configuration, but from the look of it I'm pretty certain in your case was it couldn't contact RTC.

0 votes


Permanent link
Hi Rich,

Thank you for your reply. Since right now in our environment can not reproduce this problem, so I resolve it first. After this problem happen again, I will check RTC log in that time.

0 votes


Permanent link
Hi Rich,

Today the problem occur again. I searched in the jazz.log, found this error:
2012-02-29 01:40:43,446 WARN .team.repository.servlet.AbstractTeamServerServlet - CRJAZ1165I Marshalling exception processing request for service "com.ibm.team.workitem.common.internal.IWorkItemRepositoryService". CRJAZ1170I The request was made by user "ramccadmin" from "usvram012ccxra.ccmp.ibm.lab". CRJAZ1166I The stack trace hash is 2B7B361FDE998A62F3704B6EFD400DF8D2E3811D.
com.ibm.team.repository.common.internal.marshal.MarshallingException: org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Class 'MultiSaveParameterDTO' not found. (, 16, 61)
at com.ibm.team.repository.common.internal.marshal.impl.EObjectMarshaller.demarshalInputStreamToObject(EObjectMarshaller.java:504)
at com.ibm.team.repository.common.internal.marshal.impl.WebServicesMarshaller.demarshalInputStreamToServiceRequest(WebServicesMarshaller.java:102)
at com.ibm.team.repository.servlet.AbstractTeamServerServlet.doPost(AbstractTeamServerServlet.java:682)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleRequest2(AbstractTeamServerServlet.java:1754)
at com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleRequest(AbstractTeamServerServlet.java:1623)
at com.ibm.team.repository.servlet.AbstractTeamServerServlet.service(AbstractTeamServerServlet.java:1536)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:75)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at org.eclipse.equinox.servletbridge.BridgeServlet.service(BridgeServlet.java:121)
at com.ibm.team.repository.server.servletbridge.JazzServlet.service(JazzServlet.java:54)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1146)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:592)
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:526)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:764)
at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1478)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:133)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:450)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:508)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:296)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1818)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:196)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:751)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1551)
Caused by:
org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Class 'MultiSaveParameterDTO' not found. (, 16, 61)
at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.handleErrors(XMLLoadImpl.java:83)
at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl.java:191)
at com.ibm.team.repository.common.internal.marshal.util.WebServicesXMLLoadImpl.load(WebServicesXMLLoadImpl.java:76)
at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doLoad(XMLResourceImpl.java:180)
at com.ibm.team.repository.common.internal.marshal.impl.EObjectMarshaller.demarshalInputStreamToObject(EObjectMarshaller.java:501)
... 35 more
Caused by:
org.eclipse.emf.ecore.xmi.ClassNotFoundException: Class 'MultiSaveParameterDTO' not found. (, 16, 61)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.validateCreateObjectFromFactory(XMLHandler.java:2229)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.validateCreateObjectFromFactory(XMLHandler.java:2353)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObjectFromTypeName(XMLHandler.java:2084)
at com.ibm.team.repository.common.internal.marshal.util.WebServicesSAXXMLHandler.createObjectFromTypeName(WebServicesSAXXMLHandler.java:81)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObject(XMLHandler.java:2016)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.handleFeature(XMLHandler.java:1825)
at com.ibm.team.repository.common.internal.marshal.util.WebServicesSAXXMLHandler.handleFeature(WebServicesSAXXMLHandler.java:61)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.processElement(XMLHandler.java:1023)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHandler.java:1001)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHandler.java:712)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl.java:181)


Then, while we are not able to connect to RTC, there is no any useful log in jazz.log:
2012-03-07 01:49:27,241 WARN com.ibm.team.repository.service.internal.scheduler - CRJAZ0867I Attempted to remove the job "LogChangeEventAppenderTask" but the job is not scheduled.
2012-03-07 05:57:42,742 INFO uration.OverridablePropertyFileServerConfiguration - CRJAZ1363I Loading configuration from "file:/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/config/cells/usaxram012ccxraCell01/RTC/ramTeamConcertServer/v2002/jazz/server/conf/jazz/teamserver.properties".
2012-03-07 05:57:48,163 INFO m.team.fulltext.service.internal.index.IndexConfig - CRJAZ8192I: Fulltext Index Location: /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/workitemindex/fulltext_index
2012-03-07 05:57:48,169 INFO m.team.fulltext.service.internal.index.IndexConfig - CRJAZ8190E: The fulltext index location property (indexLocation) should point to an absolute directory but is currently set to 'workitemindex'
2012-03-07 06:07:52,423 WARN com.ibm.team.workitem - CRRTC0240W: E-mail notification is disabled, see the Server Setup Guide for details on enabling it.
2012-03-09 00:02:54,025 WARN com.ibm.team.repository.service.internal.scheduler - CRJAZ0867I Attempted to remove the job "LogChangeEventAppenderTask" but the job is not scheduled.
2012-03-09 07:29:24,591 INFO uration.OverridablePropertyFileServerConfiguration - CRJAZ1363I Loading configuration from "file:/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/config/cells/usaxram012ccxraCell01/RTC/ramTeamConcertServer/v2002/jazz/server/conf/jazz/teamserver.properties".
2012-03-09 07:29:29,445 INFO m.team.fulltext.service.internal.index.IndexConfig - CRJAZ8192I: Fulltext Index Location: /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/workitemindex/fulltext_index
2012-03-09 07:29:29,450 INFO m.team.fulltext.service.internal.index.IndexConfig - CRJAZ8190E: The fulltext index location property (indexLocation) should point to an absolute directory but is currently set to 'workitemindex'
2012-03-09 07:39:33,599 WARN com.ibm.team.workitem - CRRTC0240W: E-mail notification is disabled, see the Server Setup Guide for details on enabling it.

0 votes


Permanent link
I'm sorry but I have no answer. RTC is a black box to me. I don't know what makes it work or fail.

0 votes

Your answer

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Mar 06 '12, 1:50 a.m.

Question was seen: 5,409 times

Last updated: Mar 06 '12, 1:50 a.m.

Confirmation Cancel Confirm