[IBMiSaveRollbackTask] - Unexpected exception while backing
Nga Fong Cheng (11●4●2)
| asked Dec 12 '11, 11:24 a.m.
retagged Jun 23 '12, 5:43 p.m. by Arne Bister (2.6k●1●28●32)
Hi
Our server is on RTC3.0.1.1 and iSeries Build Toolkit on 3.0. When we tried to deploy a full package from iSeries1 (V6R1) to iSeris2 (V5R4), we encountered the following error about not able to create the temp library CDEF on iSeries2 when CDEF already exists. The same happened for library ABCD which is the target deploy library. As our CRTLIB has been customized to enforce description input, the same exception prompted even if we have both ABCD nad CDEF reoved before deploy. Any clue on this is much appreciated. Thanks. * deploy: * Save command: SAVLIB LIB(ABCD) SAVF(CDEF/ABCD) DEV(*SAVF) * Cannot create library CDEF * - Unexpected exception while backing up libraries. * at com.ibm.teamp.deployment.toolkit.taskdefs.IBMiSaveRollbackTask.saveRollback(IBMiSaveRollbackTask.java:217) * at com.ibm.teamp.depl*oyment.toolkit.taskdefs.IBMiSaveRollbackTask.execute(IBMiSaveRollbackTask.java:166) * at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) * at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) * at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) * at java.lang.reflect.Method.invoke(Method.java:618) * at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) * at org.apache.tools.ant.Task.perform(Task.java:348) * at org.apache.tools.ant.Target.execute(Target.java:357) * at org.apache.tools.ant.Target.performTasks(Target.java:385) * at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337) * at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38) * at org.apache.tools.ant.Project.executeTargets(Project.java:1189) * at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416) * at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) * at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) * at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) * at java.lang.reflect.Method.invoke(Method.java:618) * at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) * at org.apache.tools.ant.Task.perform(Task.java:348) * at org.apache.tools.ant.Target.execute(Target.java:357) * at org.apache.tools.ant.Target.performTasks(Target.java:385) * at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337) * at org.apache.tools.ant.Project.executeTarget(Project.java:1306) * at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) * at org.apache.tools.ant.Project.executeTargets(Project.java:1189) * at org.apache.tools.ant.Main.runBuild(Main.java:758) * at org.apache.tools.ant.Main.startAnt(Main.java:217) * at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257) * at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104) * Caused by: Cannot create library CDEF * at com.ibm.teamp.deployment.toolkit.taskdefs.IBMiSaveRollbackTask.createLibrary(IBMiSaveRollbackTask.java:418) * at com.ibm.teamp.deployment.toolkit.taskdefs.IBMiSaveRollbackTask.saveRollback(IBMiSaveRollbackTask.java:189) * ... 29 more |
One answer
Interesting. Our deployment tasks don't specify the TEXT parameter on the CRTLIB. However, you should be able to circumvent this by creating the libraries before deployment - we will find the libraries already exist and use them (just validated this with Build Toolkit 3.0.1 before posting).
In the meantime, we've opened a defect for this: Defect 188295 Can you describe how you configured your system to force CRTLIB to require a TEXT attribute, so that we can test this in the same way? Thanks! ~Sean Babineau~ |
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.