Bug 688415 - [JBPAPP-6123] JON 2.4.1 + EWS 1.0.2-CR1: Tomcat plugin doesn't notice that Tomcat instance has changed
Summary: [JBPAPP-6123] JON 2.4.1 + EWS 1.0.2-CR1: Tomcat plugin doesn't notice that T...
Keywords:
Status: NEW
Alias: None
Product: RHQ Project
Classification: Other
Component: Plugins
Version: 3.0.0
Hardware: sparc
OS: Other
medium
high
Target Milestone: ---
: ---
Assignee: Nobody
QA Contact:
URL: https://issues.jboss.org/browse/JBPAP...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-17 00:11 UTC by Ondřej Žižka
Modified: 2022-03-31 04:28 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Ondřej Žižka 2011-03-17 00:11:09 UTC
STR:

1) Start EWS's Tomcat 5, monitored by JON (Ensure JMX is ok, write privs etc.)
2) Deploy attached hellothere.war in Tomcat's localhost virt host's INVENTORY tab
3) The app is shown to be deployed, op result is Success,
but the app is not really deployed and is reported as DOWN.

No errors in RHQ Agent's log - attached.
No errors in tomcat.log or catalina.out.

See Jira for attachments.

Comment 1 Ondřej Žižka 2011-03-17 00:30:56 UTC
Was caused by JON not recognizing that the Tomcat instance has changed. I didn't uninventory Tomcat 6 and inventory Tomcat 5. Is this good behavior? ...

Comment 2 Ondřej Žižka 2011-03-17 00:33:50 UTC
New STR;:

1) Inventorize Tomcat 6
2) Stop Tomcat 6
3) Start Tomcat 5 with the same ports
4) discovery -f
5) See the Tomcat's traits - it considers it the same instance, with the same resource key, which is made from filesystem path, which has changed.

Comment 3 Charles Crouch 2011-10-19 13:15:37 UTC
Marking this as a feature request. We will need to do something similar to what 
we do for JBAS which is to keep a link between the Tomcat home dir and the jmx 
connection url, so when we connect to a given url we need to make sure its for 
the Tomcat instance we expect


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