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

Cannot create a project

I have followed the instructions in You Tube Video "Configuring Common Project Administration (2010 Beta 1). I got all the way to the end of the video and was able to successfully deploy the predefined templates. I got the message "Predefined templates deployed successfully"; and I see the list of templates. When I click Create to try to create the test project, I am sent to the Projects page, I see the All Projects heading but nothing else??
I get the error message "Error Retrieving Contexts".

cpa.log shows:

2010-08-04 11:31:02,328 ERROR bm.team.cpa.common.services.AbstractCpaRestHandler - An uncaught Exception has been thrown
com.ibm.team.jfs.app.http.HttpInternalServerErrorException: Error retrieving contexts.
at com.ibm.team.cpa.services.ContextService.getContextModel(ContextService.java:143)
at com.ibm.team.cpa.services.ProjectService.getProjectModel(ProjectService.java:133)
at com.ibm.team.cpa.services.ProjectService.doGet(ProjectService.java:59)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at com.ibm.team.cpa.common.services.AbstractCpaRestHandler.dispatch(AbstractCpaRestHandler.java:238)
at com.ibm.team.cpa.common.services.AbstractCpaRestHandler.handle(AbstractCpaRestHandler.java:264)
at com.ibm.team.jfs.app.servlet.AppContainerServlet.service(AppContainerServlet.java:275)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
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:729)
at org.eclipse.equinox.servletbridge.BridgeServlet.service(BridgeServlet.java:120)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:873)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:811)
Caused by:
java.net.UnknownHostException: clmdb
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:234)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:389)
at java.net.Socket.connect(Socket.java:551)
at com.ibm.jsse2.jc.connect(jc.java:175)
at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:333)
at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:123)
at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:147)
at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:101)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:381)
at com.ibm.team.cpa.common.http.CommonRequestDirector.execute(CommonRequestDirector.java:106)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:641)
at com.ibm.team.jfs.app.http.client.JazzHttpClient.execute(JazzHttpClient.java:272)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:708)
at com.ibm.team.cpa.clients.ProjectAreaClient.getProjectAreas(ProjectAreaClient.java:95)
at com.ibm.team.cpa.services.ContextService.getContextModel(ContextService.java:137)
... 31 more

0 votes



4 answers

Permanent link
Problem solved. A configuration error... hostname mistakenly typo'd in teamserver.properties for RTC.

I have followed the instructions in You Tube Video "Configuring Common Project Administration (2010 Beta 1). I got all the way to the end of the video and was able to successfully deploy the predefined templates. I got the message "Predefined templates deployed successfully"; and I see the list of templates. When I click Create to try to create the test project, I am sent to the Projects page, I see the All Projects heading but nothing else??
I get the error message "Error Retrieving Contexts".

cpa.log shows:

2010-08-04 11:31:02,328 ERROR bm.team.cpa.common.services.AbstractCpaRestHandler - An uncaught Exception has been thrown
com.ibm.team.jfs.app.http.HttpInternalServerErrorException: Error retrieving contexts.
at com.ibm.team.cpa.services.ContextService.getContextModel(ContextService.java:143)
at com.ibm.team.cpa.services.ProjectService.getProjectModel(ProjectService.java:133)
at com.ibm.team.cpa.services.ProjectService.doGet(ProjectService.java:59)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at com.ibm.team.cpa.common.services.AbstractCpaRestHandler.dispatch(AbstractCpaRestHandler.java:238)
at com.ibm.team.cpa.common.services.AbstractCpaRestHandler.handle(AbstractCpaRestHandler.java:264)
at com.ibm.team.jfs.app.servlet.AppContainerServlet.service(AppContainerServlet.java:275)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
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:729)
at org.eclipse.equinox.servletbridge.BridgeServlet.service(BridgeServlet.java:120)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:873)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:811)
Caused by:
java.net.UnknownHostException: clmdb
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:234)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:389)
at java.net.Socket.connect(Socket.java:551)
at com.ibm.jsse2.jc.connect(jc.java:175)
at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:333)
at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:123)
at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:147)
at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:101)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:381)
at com.ibm.team.cpa.common.http.CommonRequestDirector.execute(CommonRequestDirector.java:106)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:641)
at com.ibm.team.jfs.app.http.client.JazzHttpClient.execute(JazzHttpClient.java:272)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:708)
at com.ibm.team.cpa.clients.ProjectAreaClient.getProjectAreas(ProjectAreaClient.java:95)
at com.ibm.team.cpa.services.ContextService.getContextModel(ContextService.java:137)
... 31 more

0 votes


Permanent link
I'm running into the exact same problem; however, I didn't need to change the hostname because I used the default clmwb hostname. Any guesses why this problem still exists?

I have followed the instructions in You Tube Video "Configuring Common Project Administration (2010 Beta 1). I got all the way to the end of the video and was able to successfully deploy the predefined templates. I got the message "Predefined templates deployed successfully"; and I see the list of templates. When I click Create to try to create the test project, I am sent to the Projects page, I see the All Projects heading but nothing else??
I get the error message "Error Retrieving Contexts".

cpa.log shows:

2010-08-04 11:31:02,328 ERROR bm.team.cpa.common.services.AbstractCpaRestHandler - An uncaught Exception has been thrown
com.ibm.team.jfs.app.http.HttpInternalServerErrorException: Error retrieving contexts.
at com.ibm.team.cpa.services.ContextService.getContextModel(ContextService.java:143)
at com.ibm.team.cpa.services.ProjectService.getProjectModel(ProjectService.java:133)
at com.ibm.team.cpa.services.ProjectService.doGet(ProjectService.java:59)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at com.ibm.team.cpa.common.services.AbstractCpaRestHandler.dispatch(AbstractCpaRestHandler.java:238)
at com.ibm.team.cpa.common.services.AbstractCpaRestHandler.handle(AbstractCpaRestHandler.java:264)
at com.ibm.team.jfs.app.servlet.AppContainerServlet.service(AppContainerServlet.java:275)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
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:729)
at org.eclipse.equinox.servletbridge.BridgeServlet.service(BridgeServlet.java:120)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:873)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:811)
Caused by:
java.net.UnknownHostException: clmdb
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:234)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:389)
at java.net.Socket.connect(Socket.java:551)
at com.ibm.jsse2.jc.connect(jc.java:175)
at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:333)
at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:123)
at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:147)
at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:101)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:381)
at com.ibm.team.cpa.common.http.CommonRequestDirector.execute(CommonRequestDirector.java:106)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:641)
at com.ibm.team.jfs.app.http.client.JazzHttpClient.execute(JazzHttpClient.java:272)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:708)
at com.ibm.team.cpa.clients.ProjectAreaClient.getProjectAreas(ProjectAreaClient.java:95)
at com.ibm.team.cpa.services.ContextService.getContextModel(ContextService.java:137)
... 31 more

0 votes


Permanent link
My problem is similar, when in the web UI, I don't get an error retrieving contexts. I get a message saying there are no predefined templates...

Will templates work from an older version of Jazz?
Can I import them from another, older version?
Is there another, better solution?

Log in to the web UI, click Process Templage Management->
(using the following URL)
https://localhost:9443/jazz/admin#action=jazz.viewPage&id=com.ibm.team.process.ProcessTemplateManagement

If I click to Deploy processes the informational message at the top of the web page says "There are no predefined tamplates in the repository, To import a template, click the Import Template button." After clicking once the "Deploy Predefined Templates is grayed out.

For the following URL:
https://localhost:9443/jazz/admin#action=com.ibm.team.process.editProjectArea&itemId=new

When in Project Area Management -> Create Project Area -> Deploy predefined process templates -> the message reads "The predefined process templates have been deployed successfully. " I can't save any changes to a project because I can't start from an non-existent template.



I'm using the Beta: 3.0 M7 Beta.

I'm guessing this is the wrong forum. I'll see if I can find another that fits better.

0 votes


Permanent link
OK, Now I found the doc that has the answer. The correct URI is https://localhost:9443/rtc/admin to administer RTC.

I'm only configuring RTC. The doc for 3.0 M7 Beta 1 says if you're only configuring RTC to use http://<myserver>/rtc/setup, where myserver is, in my case, localhost. That link does not work, of course.

I tried what worked for the last release, https://localhost:9443/jazz/admin, which no longer is what you use to administer RTC, I believe, and does not let you administer RTC process templates. Because I could do some things I was fooled.

I found the answer in the instructions for Common Project Administration Setup at https://jazz.net/wiki/bin/view/Main/CommonProjectAdminSetup

From https://localhost:9443/rtc/admin
I'm able to deploy templates and I suspect everything else I need to do.

As usual, a little knowledge was dangerous.

My problem is similar, when in the web UI, I don't get an error retrieving contexts. I get a message saying there are no predefined templates...

Will templates work from an older version of Jazz?
Can I import them from another, older version?
Is there another, better solution?

Log in to the web UI, click Process Templage Management->
(using the following URL)
https://localhost:9443/jazz/admin#action=jazz.viewPage&id=com.ibm.team.process.ProcessTemplateManagement

If I click to Deploy processes the informational message at the top of the web page says "There are no predefined tamplates in the repository, To import a template, click the Import Template button." After clicking once the "Deploy Predefined Templates is grayed out.

For the following URL:
https://localhost:9443/jazz/admin#action=com.ibm.team.process.editProjectArea&itemId=new

When in Project Area Management -> Create Project Area -> Deploy predefined process templates -> the message reads "The predefined process templates have been deployed successfully. " I can't save any changes to a project because I can't start from an non-existent template.



I'm using the Beta: 3.0 M7 Beta.

I'm guessing this is the wrong forum. I'll see if I can find another that fits better.

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
× 7,501

Question asked: Aug 04 '10, 12:36 p.m.

Question was seen: 7,538 times

Last updated: Aug 04 '10, 12:36 p.m.

Confirmation Cancel Confirm