Bug 759156 - Upload of plugin fails with "zip error" when deleted one exists
Upload of plugin fails with "zip error" when deleted one exists
Status: NEW
Product: RHQ Project
Classification: Other
Component: Core UI (Show other bugs)
4.2
Unspecified Unspecified
medium Severity unspecified (vote)
: ---
: ---
Assigned To: RHQ Project Maintainer
Mike Foley
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2011-12-01 09:42 EST by Heiko W. Rupp
Modified: 2011-12-15 10:26 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Heiko W. Rupp 2011-12-01 09:42:08 EST
Deploy a plugin into the server.
delete it
ui is showing it as gone.


upload that plugin again and see the following pop up in the UI (and server log)

Failed to scan for updated plugins. [1322750254929] java.lang.Exception:File [/im/testing/jon-server-3.0.0.CR4/jbossas/server/default/deploy/rhq.ear/rhq-downloads/rhq-plugins/jopr-jboss-cache-plugin-4.2.0.JON300.CR4.jar] is not a valid jarfile - it is either corrupted or file has not been fully written yet.

In fact the uploaded plugin is perfect and a valid jar file, but what happens is that the UI is by default not
showing deleted plugin. The old version is still lingering around and thus preventing the deployment of the new one.

Workaround is to click on "show deleted", then purge the old one and then re-try the upload.

Note You need to log in before you can comment on or make changes to this bug.