Bug 820614

Summary: JBossAS 5 plugin: When deploying a new package (i.e. my.jar) this package is deployed as my.jar.jar
Product: [Other] RHQ Project Reporter: Filip Brychta <fbrychta>
Component: Agent, Content, PluginsAssignee: RHQ Project Maintainer <rhq-maint>
Status: NEW --- QA Contact: Mike Foley <mfoley>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.4CC: hrupp
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Attachments:
Description Flags
newPackageScreenshot
none
historyScreenshot none

Description Filip Brychta 2012-05-10 09:35:39 EDT
Description of problem:
Extra '.jar' is attached to file name when deploying a new jar archive.   

Version-Release number of selected component (if applicable):
Version: 3.1.0.GA
Build Number: 07775cb:4ccefd7

How reproducible:
always

Steps to Reproduce:
1.go to Inventory > your EAP5 server > content tab > new tab
2.upload new package (see newPackageScreenshot.png)
  
Actual results:
Actual file name of deployed file (located in jboss-eap-5.1/jboss-as/server/default/lib) is JavaLibrary1.jar.jar
This name is shown in audit trail too (see historyScreenshot.png)

Expected results:
Name of deployed file is JavaLibrary1.jar
Comment 1 Filip Brychta 2012-05-10 09:36:21 EDT
Created attachment 583561 [details]
newPackageScreenshot
Comment 2 Filip Brychta 2012-05-10 09:36:56 EDT
Created attachment 583562 [details]
historyScreenshot