Bug 546073 - The Tomcat plugin assumes a LocalHost Deployer MBean exists
Summary: The Tomcat plugin assumes a LocalHost Deployer MBean exists
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Plugins
Version: 1.3
Hardware: All
OS: All
urgent
urgent
Target Milestone: ---
: ---
Assignee: Jay Shaughnessy
QA Contact: Corey Welton
URL:
Whiteboard:
Depends On:
Blocks: JON231
TreeView+ depends on / blocked
 
Reported: 2009-12-09 22:26 UTC by Jay Shaughnessy
Modified: 2018-10-27 16:15 UTC (History)
1 user (show)

Fixed In Version: 2.4
Clone Of:
Environment:
Last Closed: 2010-08-12 16:54:15 UTC
Embargoed:


Attachments (Terms of Use)

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.


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