Bug 759156 - Upload of plugin fails with "zip error" when deleted one exists
Summary: Upload of plugin fails with "zip error" when deleted one exists
Keywords:
Status: NEW
Alias: None
Product: RHQ Project
Classification: Other
Component: Core UI
Version: 4.2
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: ---
: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-01 14:42 UTC by Heiko W. Rupp
Modified: 2022-04-23 08:28 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Heiko W. Rupp 2011-12-01 14:42:08 UTC
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.