Bug 1115805 - Tomcat7 store-config destroys server.xml
Summary: Tomcat7 store-config destroys server.xml
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss Enterprise Web Server 2
Classification: JBoss
Component: tomcat7
Version: 2.1.0
Hardware: All
OS: Unspecified
urgent
urgent
Target Milestone: ER04
: 2.1.0
Assignee: Jean-frederic Clere
QA Contact: Libor Fuka
URL:
Whiteboard:
Depends On:
Blocks: 956509
TreeView+ depends on / blocked
 
Reported: 2014-07-03 07:29 UTC by Libor Fuka
Modified: 2019-06-13 08:08 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-06-13 08:08:57 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Libor Fuka 2014-07-03 07:29:13 UTC
Description of problem:
The tomcat7-storeconfig-0.0.1.Alpha3-redhat-4.jar in ER4 tomcat7/lib/extra directory completely destroys Tomcat7 server.xml.

It does not happed in ER3 where was a version tomcat7-storeconfig-0.0.1.Alpha3-redhat-3.jar
It also does not happend in ER4 Tomcat6 tomcat6-storeconfig-0.0.1.Alpha3-redhat-12.jar

Comment 2 Libor Fuka 2014-07-03 08:02:27 UTC
Affected bits: http://download.devel.redhat.com/devel/candidates/JBEWS/2.1.0.ER4/

Steps to reproduce:
1. Install and start JON server 3.2.0.GA
2. Install updated Tomcat plugin from BZ 1111666 to JON server 
3. INstall and start JON 3.2.0 agent 
4. Install EWS 2.1.0-ER4
5. Configure Tomcat7 - enable jmx and add storeconfig listener, copy storeconfig jar to tomcat7/lib
6. Start Tomcat7
7. Import it to JON
8. Change configuration of some deployed application (or any connector) and save

Comment 3 Jean-frederic Clere 2014-07-03 08:36:26 UTC
Quicker way to test.
1 - Start Tomcat7
2 - Use jconsole locally and connect to the tomcat process.
3 - Change something in any connector.
4 - Go to StorecCnfig and use storeConfig operation.

+++
[jfclere@jfcpc build]$ ls -lt conf/server.xml
-rw-rw-r--. 1 jfclere jfclere 0 Jul  3 10:31 conf/server.xml
+++

Comment 4 Libor Fuka 2014-07-18 15:02:55 UTC
VERIFIED with EWS 2.1.0-ER4

Comment 5 Mandar Joshi 2014-08-11 12:46:34 UTC
Removing this bz from EWS 2.1 release notes.

Setting the requires_doc_text flag to -


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