Workspace Streaming

 View Only
  • 1.  How do you manually cleanup a provisioned app from SWS?

    Posted Jun 22, 2011 11:59 AM

    Hey Everyone,

    While trying to delete some of the older and unused applications off of our streaming server we encountered a slight issue.  While the typical unloading of an app and then deletion works for the majority of applications, two applications causes problems and gave the following error messages:

    Error while trying to delete package - java.lang.NullPointerException

    If I expand the application above and click Version 1 in the Package Provisioning screen I get the following message:

    The package version you selected does not exist. Another administrator may have deleted it. Please logout and try again.

     

    My question is, how can you manually delete a provisioned app using a command line interface in a similar fashion to running appmgrcmd -ra or svs * DEL?  As always, thanks for your help Bala, Nirmal, and everyone else in this forum.

     

     



  • 2.  RE: How do you manually cleanup a provisioned app from SWS?
    Best Answer

    Posted Jun 23, 2011 04:00 AM

    Hi Palvaran,

    if you have already unloaded but, have issue deleting it then you can potentially delete it from the database directly. If you have access to the database server, look for the misbehaving package in as_package table in the appstream database. Make sure you compare it by both package name as well as package guid. Select the row and delete it or wirte a simple query to do the same.

    I would not recommend this if the package has not been unloaded and / or still partially streamed at the endpoint. To ensure you are not deleting a package that might still reside on the endpoint, run application install / uninstall report and application usage report. If the package does not show up the application usage report and has been uninstalled then unload it and follow the procedure outlined above.

    BTW, is this an XPF package or one of the legacy packages? If it's XPF, make sure you also delete them from the package store and front end package repository.

    Hope this helps.



  • 3.  RE: How do you manually cleanup a provisioned app from SWS?

    Posted Jun 30, 2011 03:32 PM

    Thanks Nirmal!  We went into the as_package table and deleted the bad rows as described then restarted the STE on our Appstream server and everything is back up minus the offending package.  Thanks again!