RRC Custom Project Templates (V3.0.1.1)
![](http://jazz.net/_images/myphoto/d23bd789d4eff6025987033ec7a231b3.jpg)
Hi All,
I have created a new project template using an RRC Project area that i created. But when i refer this URL:
https://localhost:9443/rm/projectTemplates?accept=*&private=true
, the new template details are not available.
Related errors in rm.log file:
WebContainer : 8] WARN .services.projecttemplates.ProjectTemplatesService - While reporting error to client, the request had invalid header "Accept: none", will use text/html output
2013-01-25 14:24:50,840 [ WebContainer : 11] ERROR r.services.projecttemplates.ProjectTemplateService - Server Error: Entry [24f9f01787f9c628]
com.ibm.rdm.fronting.server.exception.UnexpectedResponseException: HTTP/1.1 404
at com.ibm.rdm.fronting.server.core.internal.InternalDomainServiceBase.doHeadInternal(InternalDomainServiceBase.java:173)
at com.ibm.rdm.fronting.server.services.projecttemplates.internal.ProjectTemplateServiceInternal.doHeadInternal(ProjectTemplateServiceInternal.java:64)
at com.ibm.rdm.fronting.server.core.internal.RRSRestServiceBase.runInternalMethod(RRSRestServiceBase.java:336)
at com.ibm.rdm.fronting.server.core.internal.RRSRestServiceBase.handleMethod(RRSRestServiceBase.java:275)
at com.ibm.rdm.fronting.server.core.internal.RRSRestServiceBase.doHead(RRSRestServiceBase.java:86)
at com.ibm.rdm.fronting.server.core.internal.RRSRestServiceBase.service(RRSRestServiceBase.java:146)
at com.ibm.team.jfs.app.servlet.AppContainerServlet.dispatchRequest(AppContainerServlet.java:152)
at com.ibm.team.jfs.app.servlet.AppContainerServlet.service(AppContainerServlet.java:295)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
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:831)
at org.eclipse.equinox.servletbridge.BridgeServlet.service(BridgeServlet.java:120)
at com.ibm.team.repository.server.servletbridge.JazzServlet.service(JazzServlet.java:76)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1657)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:939)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:502)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:181)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:91)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:864)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1592)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:186)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:452)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:511)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:305)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83)
at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1784)
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:138)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1613)
Request
HEAD https://mbbrtcappdev.maybank.com.my:9443/jts/storage/com.ibm.rdm.projectTemplates/Test%20project?dojo.preventCache=1359095162241 HTTP/1.1
DoorsRP-Request-Type: private
Authorization: OAuth oauth_token_secret="7apdJSMzO7dYqm43cq%2FEkDRCMOHhgyXiWNQO5nmRMbA%3D", oauth_nonce="-7259176470891106590", oauth_token="b79c5ffc386f47188ea88c8f88620f7c", oauth_consumer_key="ac4d0051327b49de9db38fa4a5d4eaab", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1359095090", oauth_version="1.0", oauth_signature="29yL9yp6itX9QOI%2FX7eSzY%2Buduk%3D"
Response:
HTTP/1.1 404
Content-Length: 0
---Start entity---
I have created a new project template using an RRC Project area that i created. But when i refer this URL:
https://localhost:9443/rm/projectTemplates?accept=*&private=true
, the new template details are not available.
Related errors in rm.log file:
WebContainer : 8] WARN .services.projecttemplates.ProjectTemplatesService - While reporting error to client, the request had invalid header "Accept: none", will use text/html output
2013-01-25 14:24:50,840 [ WebContainer : 11] ERROR r.services.projecttemplates.ProjectTemplateService - Server Error: Entry [24f9f01787f9c628]
com.ibm.rdm.fronting.server.exception.UnexpectedResponseException: HTTP/1.1 404
at com.ibm.rdm.fronting.server.core.internal.InternalDomainServiceBase.doHeadInternal(InternalDomainServiceBase.java:173)
at com.ibm.rdm.fronting.server.services.projecttemplates.internal.ProjectTemplateServiceInternal.doHeadInternal(ProjectTemplateServiceInternal.java:64)
at com.ibm.rdm.fronting.server.core.internal.RRSRestServiceBase.runInternalMethod(RRSRestServiceBase.java:336)
at com.ibm.rdm.fronting.server.core.internal.RRSRestServiceBase.handleMethod(RRSRestServiceBase.java:275)
at com.ibm.rdm.fronting.server.core.internal.RRSRestServiceBase.doHead(RRSRestServiceBase.java:86)
at com.ibm.rdm.fronting.server.core.internal.RRSRestServiceBase.service(RRSRestServiceBase.java:146)
at com.ibm.team.jfs.app.servlet.AppContainerServlet.dispatchRequest(AppContainerServlet.java:152)
at com.ibm.team.jfs.app.servlet.AppContainerServlet.service(AppContainerServlet.java:295)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
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:831)
at org.eclipse.equinox.servletbridge.BridgeServlet.service(BridgeServlet.java:120)
at com.ibm.team.repository.server.servletbridge.JazzServlet.service(JazzServlet.java:76)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1657)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:939)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:502)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:181)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:91)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:864)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1592)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:186)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:452)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:511)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:305)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83)
at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1784)
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:138)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1613)
Request
HEAD https://mbbrtcappdev.maybank.com.my:9443/jts/storage/com.ibm.rdm.projectTemplates/Test%20project?dojo.preventCache=1359095162241 HTTP/1.1
DoorsRP-Request-Type: private
Authorization: OAuth oauth_token_secret="7apdJSMzO7dYqm43cq%2FEkDRCMOHhgyXiWNQO5nmRMbA%3D", oauth_nonce="-7259176470891106590", oauth_token="b79c5ffc386f47188ea88c8f88620f7c", oauth_consumer_key="ac4d0051327b49de9db38fa4a5d4eaab", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1359095090", oauth_version="1.0", oauth_signature="29yL9yp6itX9QOI%2FX7eSzY%2Buduk%3D"
Response:
HTTP/1.1 404
Content-Length: 0
---Start entity---
2 answers
![](http://jazz.net/_images/myphoto/d23bd789d4eff6025987033ec7a231b3.jpg)
Hello Valli,
The project template feature in version 3.0.1.x is not a supported feature. It has not been fully tested. The feature was released in version 4.0, so I would recommend upgrading to 4.x or later to use the feature.
RRC 4.0 "New & Noteworthy"
Project Templates:
https://jazz.net/downloads/rational-requirements-composer/releases/4.0?p=news#proj
In regards to the error you reported, I have two suggestions.
-Make sure that you have logged into RM to authenticate user credentials and then paste the URL in the same browser window.
-I noticed that "localhost" was mentioned in the URL you tried. I'm not sure if this was just a copy and paste from the instructions or the actual URL you used. But if you did use localhost, try again with the actual server and port for the RM server.
I hope this helps.
The project template feature in version 3.0.1.x is not a supported feature. It has not been fully tested. The feature was released in version 4.0, so I would recommend upgrading to 4.x or later to use the feature.
RRC 4.0 "New & Noteworthy"
Project Templates:
https://jazz.net/downloads/rational-requirements-composer/releases/4.0?p=news#proj
In regards to the error you reported, I have two suggestions.
-Make sure that you have logged into RM to authenticate user credentials and then paste the URL in the same browser window.
-I noticed that "localhost" was mentioned in the URL you tried. I'm not sure if this was just a copy and paste from the instructions or the actual URL you used. But if you did use localhost, try again with the actual server and port for the RM server.
I hope this helps.
Comments
Jason Warner
JAZZ DEVELOPER Mar 28 '13, 4:22 p.m.Can you elaborate further on the error your seeing? Is this error occurring when trying to view the project templates tab in the project properties, or are you trying to hit the projectTemplates service directly? It looks like you're trying to hit it directly, but I'm not sure why.