Bug 1017765 - On GUI upload and scan plugins not showing WARN messages
Summary: On GUI upload and scan plugins not showing WARN messages
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: JBoss Operations Network
Classification: JBoss
Component: Plugin Container
Version: JON 3.2
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: JON 3.3.0
Assignee: RHQ Project Maintainer
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-10 13:19 UTC by Jeeva Kandasamy
Modified: 2014-08-27 21:00 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-08-27 21:00:35 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jeeva Kandasamy 2013-10-10 13:19:12 UTC
Description of problem:
I uploaded a file(non-plugin file) via GUI and clicked "Scan For Updates". On GUI it's showing INFO message "Finished scanning for updated plugins" on GUI. however on server.log it's showing, WARN message as like follows, 

17:56:39,677 WARN  [org.rhq.enterprise.server.core.plugin.PluginDeploymentScanner] (http-/0.0.0.0:7080-4) Does not look like [/opt/applications/jon/jon-server-3.2.0.ER3/plugins/rhq-enterprise-agent-4.9.0.JON320ER3.jar.fixme] is a plugin jar -(Cause: java.lang.NullPointerException:no xml descriptor found in jar). It will be ignored. Please fix that file or remove it.

User on GUI never notice this on GUI and he/she never delete this file. We might to give a WARN message on GUI also so that user comes to know it's failed and they have to fix it or delete it.


Version-Release number of selected component (if applicable):
Version: 3.2.0.ER3
Build Number: c0742ed:cbad264
GWT Version: 2.5.0
SmartGWT Version: 3.0

How reproducible:
100%

Steps to Reproduce:
1. Navigate to "Administration-->Server Plugins"
2. Click on "Choose File"(Upload plugin), select non-plugin file and upload it.
3. click on "Scan for updates"

Actual results:
On GUI showing INFO message "Finished scanning for updated plugins"
On server.log shows WARN message "Does not look like [/opt/applications/jon/jon-server-3.2.0.ER3/plugins/rhq-enterprise-agent-4.9.0.JON320ER3.jar.fixme] is a plugin jar -(Cause: java.lang.NullPointerException:no xml descriptor found in jar). It will be ignored. Please fix that file or remove it"

Expected results:
Should show WARN message on GUI also, so that user can fix it or delete it.

Comment 1 Simeon Pinder 2013-11-08 14:41:09 UTC
Moving to unspecified target milestone as only JON 3.2.0 'blockers'(https://url.corp.redhat.com/bz-jon32-blockers-list-notmodified-nodocs) will make it into subsequent builds after ER5.


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