-
1. Re: UNDEPLOY_PACKAGE_ERROR
Gregory KiyoiFeb 9, 2018 3:18 PM (in response to Keyuri Pophale)
Keyuri,
Can you provide the steps you are using to "uninstall" the application from innovation studio? Also when you say you tried undeploying by command, you mean command line, correct?
Laurent Matheo have you seen similar error?
--GMK
-
2. Re: UNDEPLOY_PACKAGE_ERROR
Keyuri Pophale Feb 12, 2018 12:51 AM (in response to Gregory Kiyoi)Hi,
For uninstalling application from innovation studio, i clicked on the 'actions' tab in the workspace then clicked on 'uninstall application'.
And yes, I also used command line to undeploy the application. the command that i used is:
mvn com.bmc.arsys:rx-sdk-maven-plugin:undeploy -N
Right now, the error that i am facing is:
UNDEPLOY_PACKAGE_ERROR: ERROR (2): Server:null
Thanks,
Keyuri
-
3. Re: UNDEPLOY_PACKAGE_ERROR
Gregory KiyoiFeb 12, 2018 9:29 AM (in response to Keyuri Pophale)
Thanks for the update. This application was created in innovation studio as a "codeless" app, correct?
-
4. Re: UNDEPLOY_PACKAGE_ERROR
Keyuri Pophale Feb 13, 2018 12:26 AM (in response to Gregory Kiyoi)This application contains custom java and angularJS code.
-
5. Re: UNDEPLOY_PACKAGE_ERROR
Laurent MatheoFeb 13, 2018 10:03 AM (in response to Keyuri Pophale)
Hi
Did you update the SDK with latest version? If yes can you please post the full logs when you use the maven command to undeploy your application?
-
6. Re: UNDEPLOY_PACKAGE_ERROR
Keyuri Pophale Feb 14, 2018 12:52 AM (in response to Laurent Matheo)Hi,
Yes i have updated the SDK with latest version. The logs that are generated are:
Command: mvn com.bmc.arsys:rx-sdk-maven-plugin:undeploy -N -e
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building resource-management-all 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- rx-sdk-maven-plugin:17.11.0-SNAPSHOT:undeploy (default-cli) @ resource-management-all ---
[INFO] Executing undeploy mojo...
[INFO] undeploying package... com.persistent.resource-management
[INFO] Authenticating User developer ...
[INFO] User [developer] is authenticated
[INFO] Deploy Tool Utility Run Start time: Wed Feb 14 12:12:52 IST 2018
[INFO] UnDeploying the package com.persistent.resource-management
[INFO] response status:201
[INFO] The package is successfully staged (*not undeployed) and scheduled for undeployment.
[INFO]
******************************************************
You may use the below status URI to check undeployment status under a valid logged in session.STATUS URI: https://developer6150.innovate.bmc.com/api/rx/application/bundle/deploymentstatus/IDGADG1AANVNMAPD8TBIPCM0HL18IQ
******************************************************
[INFO] **** Checking completion status of the scheduled undeployment at server. ****
[INFO] UnDeployment in progress...
[INFO] Complete undeployment status response:
DeploymentStatus [packageDeployStatus=Error, packageName=com.persistent.resource-management, packageVersion=1.0-SNAPSHOT, currentServersInSync=true, newlyAddedServers=[], jarToServerDeployStatusMap={remedy95aws=Deployed}, ErrorMessages=UNDEPLOY_PACKAGE_ERROR:
ERROR (2): Server:null]
[INFO] UnDeployment completed. UnDeployment Status as below :
DeploymentStatus [packageDeployStatus=Error, packageName=com.persistent.resource-management, packageVersion=1.0-SNAPSHOT, currentServersInSync=true, newlyAddedServers=[], jarToServerDeployStatusMap={remedy95aws=Deployed}]
[INFO]
Total time taken in completing the Deploy Tool run: 7 sec
****************************************
Final Status:Error
****************************************
Deploy Tool Run End time: Wed Feb 14 12:12:59 IST 2018
[INFO] UNDEPLOYMENT FAILED. Check the detailed status with below url
[ERROR] ***Operation Error*** Please ensure supplied arguments
UnDeployment Failed with status:Error
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 14.576 s
[INFO] Finished at: 2018-02-14T12:12:59+05:30
[INFO] Final Memory: 12M/245M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.bmc.arsys:rx-sdk-maven-plugin:17.11.0-SNAPSHOT:undeploy (default-cli) on project resource-management-all: error Running undeployment maven Tool: UnDeployment Failed with status:Error -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.bmc.arsys:rx-sdk-maven-plugin:17.11.0-SNAPSHOT:undeploy (default-cli) on project resource-management-all: error Running undeployment maven Tool
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoFailureException: error Running undeployment maven Tool
at com.bmc.arsys.rx.sdk.UnDeployPackageMojo.execute(UnDeployPackageMojo.java:53)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
... 20 more
Caused by: java.lang.Exception: UnDeployment Failed with status:Error
at com.bmc.arsys.rx.deployment.bundle.BundleUndeployHandler.undeployPackage(BundleUndeployHandler.java:137)
at com.bmc.arsys.rx.sdk.UnDeployPackageMojo.execute(UnDeployPackageMojo.java:51)
... 22 more
[ERROR]
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
Thanks,
Keyuri
-
7. Re: UNDEPLOY_PACKAGE_ERROR
Gregory KiyoiFeb 14, 2018 5:20 PM (in response to Keyuri Pophale)
From the logging it appears you are on 17.11 SDK, but the Sandbox has been upgraded to 17.11 Update 1. Can you download the latest SDK (17.11 Update 1) and retry the command line - see Setting up your IDE and installing Innovation Suite SDK - Documentation for Innovation Suite - BMC Documentation for download link.
Thank you Laurent Matheo
-
8. Re: UNDEPLOY_PACKAGE_ERROR
Keyuri Pophale Feb 16, 2018 4:47 AM (in response to Keyuri Pophale)
Hi,Thanks for your input.
I updated my sandbox to 17.11 Update 1 as mentioned in the document.
Then executed the command to undeploy:
mvn com.bmc.arsys:rx-sdk-maven-plugin:undeploy -N
I am still facing the error:
{"packageDeployStatus":"Error","packageName":"com.persistent.resource-management","packageVersion":"1.0-SNAPSHOT","errorMessage":"UNDEPLOY_PACKAGE_ERROR:\nERROR (2): Server:null","currentServersInSync":true,"newlyAddedServers":[],"serverDeploymentStatus":{"remedy95aws":"Deployed"}}
If i try undeploying through innovation studio:
application->workspace->actions->uninstall application
the error still persists:
UNDEPLOY_PACKAGE_ERROR: ERROR (2): Server:null
If i restart my innovation studio, would it remove all my applications?
Thanks,
Keyuri
-
9. Re: UNDEPLOY_PACKAGE_ERROR
Gregory KiyoiFeb 20, 2018 9:00 PM (in response to Keyuri Pophale)
Restarting the sandbox will not remove any applications.
-
10. Re: UNDEPLOY_PACKAGE_ERROR
Laurent MatheoFeb 21, 2018 11:57 AM (in response to Keyuri Pophale)
Let's ask Kulbhushan Verma...
-
11. Re: UNDEPLOY_PACKAGE_ERROR
Kulbhushan VermaFeb 21, 2018 2:35 PM (in response to Keyuri Pophale)
Hi
Could you please try restart of innovation studio and then attempt undeploy.
Thanks
Kulbhushan
-
12. Re: UNDEPLOY_PACKAGE_ERROR
Neeti Rai Mar 6, 2018 9:21 AM (in response to Keyuri Pophale)We tried the same but it didn't work.
Is it possible for you to please remove this application 'Resource Management' from the sandbox https://developer6150.innovate.bmc.com through back end.
If once it is removed i can try back from scratch as I did for my earlier sandbox.
-
13. Re: UNDEPLOY_PACKAGE_ERROR
Kulbhushan VermaMar 7, 2018 1:06 AM (in response to Neeti Rai)
It looks there is an issue with roles data.
Can you try deleting the objects of this app from innovation studio.
Thereafter please use command line undeploy.
if this does not help, then we can proceed with backend app deletion.
-
14. Re: UNDEPLOY_PACKAGE_ERROR
Keyuri Pophale Mar 12, 2018 5:05 AM (in response to Kulbhushan Verma)Hello,
Thanks for your suggestion.
I deleted the role objects of this app from Innovation studio.
However, It did not work. I got the same error.
Could you please delete this application 'Resource Management' from the sandbox https://developer6150.innovate.bmc.com through back end?
Also, do I need to update my sdk to any newer release before starting the application development.
Currently my SDK version is 17.11.01
It would be helpful if you could remove my application by today so that i can continue on it at the earliest.
Thank You.