Bug 546073

Summary: The Tomcat plugin assumes a LocalHost Deployer MBean exists
Product: [Other] RHQ Project Reporter: Jay Shaughnessy <jshaughn>
Component: PluginsAssignee: Jay Shaughnessy <jshaughn>
Status: CLOSED CURRENTRELEASE QA Contact: Corey Welton <cwelton>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 1.3CC: cwelton
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: 2.4 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-08-12 16:54:15 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 557793    

Description Jay Shaughnessy 2009-12-09 22:26:20 UTC
Description of problem:

The Tomcat plugin assumes a LocalHost Deployer MBean exists.  If it does not exist then nothing can be deployed via the plugin.  Furthermore, if it does exist it will mistakenly be used for deployment requests to any VHost.  This is bad as each VHost has its own deployer.


Version-Release number of selected component (if applicable):


How reproducible:

Very

Steps to Reproduce:
1. Remove the default localhost VHost and try to deploy something to a remaining VHost.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Jay Shaughnessy 2009-12-11 15:18:52 UTC
Fixed: Do not assume Deployer MBean exists for localhost vhost. Moreover, don't use this deployer for non-localhost vhosts.

commit 36869799b55adbcc160cf8f5082c4cfc68498d76

Comment 2 Jay Shaughnessy 2009-12-15 15:49:03 UTC
Jopr_2_3_0_GA_CP r1280

Comment 3 Corey Welton 2010-01-26 13:25:01 UTC
qa -> gneelaka

Comment 4 Corey Welton 2010-02-03 18:38:23 UTC
qa -> cwelton

QA Verified - removed the localhost deployer, replacing it with a different one. was then able to successfully deploy test.war to the new deployer.

Comment 5 Corey Welton 2010-08-12 16:54:15 UTC
Mass-closure of verified bugs against JON.