It's all about the answers!

Ask a question

Failed to update LPA sample templates after upgrade ( 5.0.1 to 6.0.2)


Arun K Sriramaiah (3.2k13277) | asked Jun 01 '16, 10:39 a.m.
Failed to update LPA sample templates after upgrade ( 5.0.1 to 6.0.2)

Failed to update LPA sample templates. This can
happen if LPA is not configured correctly. You can ignore upgrading the
LPA application by rerunning the "jts_upgrade" script with the "ignoreLPA" parameter if you do not want to upgrade LPA.

Accepted answer


permanent link
Arun K Sriramaiah (3.2k13277) | answered Jun 01 '16, 10:44 a.m.
edited Jun 01 '16, 10:55 a.m.
Woarkaround:

1) Go to Lifecycle Project Administration - Templates
2) Export the templates ( which is causing issue) and take backup.
3) Delete those templates after they are exported
4) Deploy Predefined Templates
5) When finished go to menu SAMPL to see that the SAMPL
templates are available

If you are upgrading to 6.0.2, Apply latest iFix002 and above it will help.
Ralph Schoon selected this answer as the correct answer

5 other answers



permanent link
Dave Evans (14812846) | answered Jun 24 '16, 10:20 a.m.
I am hitting this issue coming from 5.0.2 to 6.0.2. I am downloading iFix 002 right now. Are you saying I need to redeploy the predefined templates while still in 5.0.2? I can't see how I would ignore the upgrade script error because it says it will not upgrade LPA.

permanent link
Roberto Sanchez Herrera (2862) | answered Jun 24 '16, 11:49 a.m.
David,
if you already migrated to 6.0.2, you can install iFix002 (make sure you run reportools-jts -clean) and try the upgrade script again, and resume it from the "updateLPASampleTemplates" step (I think is step 4, but I'm not sure)

permanent link
Dave Evans (14812846) | answered Jun 24 '16, 11:55 a.m.

Ok. I was just doing a test upgrade and the jts upgrade script failed so I stopped there. I copied iFix002 into the patch folder, ran repotools-jts -clean, then ran the script again beginning at step 4 and it worked! Excellent. I'm glad it wasn't more complicated.


permanent link
SEC Servizi (97123660) | answered Apr 17 '19, 11:53 a.m.
I copied iFix002 into the patch folder, ran repotools-jts -clean, then ran the script again beginning at step 4 and it worked! 

We ran into the same issue migrating from v5.0.2 to v6.0.2. We already deployed last available patch for v6.0.2 (i.e., iFix020 which should include iFix002 itself) before start the migration scripts.

Do we have simply to run repotools-jts -clean to fix that?
Thanks in advance.
Cheers.


permanent link
SEC Servizi (97123660) | answered Apr 18 '19, 10:21 a.m.
edited Apr 18 '19, 10:24 a.m.
According to https://www-01.ibm.com/support/docview.wss?uid=swg1PI62336, there is a woarkaround to follow:
Work around:
1) Go to Lifecycle Project Administration - Templates
2) Export the following templates
[...]
3) Delete those templates after they are exported
4) Deploy Predefined Templates
5) When finished go to menu SAMPL to see that the SAMPL templates are available
Skipping 2-3) as we do not have any template.
Executing 4) we get new exception:
2019-04-18 16:14:21,730 [http-bio-443-exec-48 @@ 16:14 USER <jts.lpa.templates/Deploy Predefined Templates@4eeb9d19-359f-4991-8a1c-450231baebfc> /jts/lifecycle-project/templates] ERROR com.ibm.team.lpa.templates                          - 
com.ibm.team.jfs.sdk.common.StorageAreaNotFoundException: com.ibm.team.jfs.sdk.common.StorageAreaNotFoundException
at com.ibm.team.jfs.sdk.storage.internal.StorageService.checkStorageAreaAvailability(StorageService.java:666)
at com.ibm.team.jfs.sdk.storage.internal.StorageService.saveCreate(StorageService.java:1848)
at com.ibm.team.jfs.sdk.storage.internal.StorageService.saveWithStateCheck(StorageService.java:2203)
at com.ibm.team.jfs.sdk.storage.internal.StorageService.save(StorageService.java:1786)
at com.ibm.team.jfs.sdk.storage.internal.StorageService.save(StorageService.java:1732)
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.$Proxy698.save(Unknown Source)
at com.ibm.team.lpa.common.jfs.clients.AbstractStorageClient.createResource(AbstractStorageClient.java:133)
at com.ibm.team.lpa.app.templates.internal.TemplateClient.createTemplate(TemplateClient.java:72)
at com.ibm.team.lpa.app.services.TemplateService.deployPredefinedTemplates(TemplateService.java:257)
at com.ibm.team.lpa.app.services.TemplateService.post(TemplateService.java:182)
at com.ibm.team.lpa.common.services.AbstractLpaResource.perform_POST(AbstractLpaResource.java:78)
at com.ibm.team.lpa.common.services.AbstractLpaRestService.perform_POST(AbstractLpaRestService.java:39)
at com.ibm.team.repository.service.TeamRawService.service(TeamRawService.java:92)
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.$Proxy701.service(Unknown Source)
at com.ibm.team.repository.servlet.AbstractTeamServerServlet.doRestService(AbstractTeamServerServlet.java:975)
at com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleRequest2(AbstractTeamServerServlet.java:2467)
at com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleRequest(AbstractTeamServerServlet.java:2256)
at com.ibm.team.repository.servlet.AbstractTeamServerServlet.service(AbstractTeamServerServlet.java:1773)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:126)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:76)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.eclipse.equinox.servletbridge.BridgeServlet.service(BridgeServlet.java:120)
at com.ibm.team.repository.server.servletbridge.JazzServlet.service(JazzServlet.java:74)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.ibm.team.repository.server.servletbridge.BridgeFilter.processDelegate(BridgeFilter.java:165)
at com.ibm.team.repository.server.servletbridge.BridgeFilter.doFilter(BridgeFilter.java:198)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:610)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:339)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:761)

Your answer


Register or 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.