Back to bug 688358

Who When What Removed Added
Ondřej Žižka 2011-03-16 21:25:53 UTC Summary JON 2.4.1: User Database "Save" operation fails, but reports Success [JBPAPP-6104] JON 2.4.1: User Database "Save" operation fails, but reports Success
Corey Welton 2011-05-24 00:56:54 UTC QA Contact cwelton mfoley
Charles Crouch 2011-10-19 13:17:15 UTC Priority unspecified high
Blocks 683054
Charles Crouch 2012-10-11 19:05:14 UTC Priority high medium
Charles Crouch 2012-10-11 19:14:52 UTC Component Plugins Plugin -- Tomcat 6
Version 3.0.0 JON 2.4.0
Product RHQ Project JBoss Operations Network
Charles Crouch 2012-10-11 19:15:34 UTC Version JON 2.4.0 JON 2.4.1
mark yarborough 2012-11-12 20:25:33 UTC Target Release --- JON 3.1.2
Assignee rhq-maint myarboro
mark yarborough 2012-11-19 20:34:35 UTC Assignee myarboro jclere
mark yarborough 2012-12-14 15:52:49 UTC CC myarboro
Severity unspecified medium
Rémy Maucherat 2012-12-14 16:39:03 UTC CC mhasko
mark yarborough 2012-12-18 15:23:47 UTC Target Release JON 3.1.2 JON 3.2.0
mark yarborough 2013-04-10 19:20:59 UTC Target Release JON 3.2.0 ---
CC ccrouch, jdoyle, mfoley
Component Plugin -- Tomcat 6 JON Plugin
Version JON 2.4.1 unspecified
Product JBoss Operations Network JBoss Enterprise Web Server 2
Libor Fuka 2013-04-16 14:18:37 UTC CC lfuka
Jean-frederic Clere 2013-04-17 08:45:32 UTC Status NEW MODIFIED
Weinan Li 2013-05-03 12:55:27 UTC Blocks 956990
Weinan Li 2013-05-03 12:56:59 UTC Blocks 956987
Misha H. Ali 2013-05-06 01:39:47 UTC CC mhusnain
Libor Fuka 2013-05-10 13:26:41 UTC Status MODIFIED VERIFIED
Mandar Joshi 2013-05-14 06:28:44 UTC CC majoshi
Doc Text Cause: Removing a tomcat role in JBoss Enterprise Web Server causes the JBoss Operations Network (JON) interface to fail. Restarting tomcat displays the removed role in the tomcat-users.xml file but not in the JBoss Operations Network web interface.

Consequence: Tomcat 6 and Tomcat 7 does not invoke the save operation. Thus, when a tomcat role is removed using the JON web interface, the tomcat-users.xml file does not get updated. When tomcat,restarts the role is present in the tomcat-users.xml file but not in the JBoss Operations Network web interface.

Fix: ?

Result: When JBoss Operations Network is used to remove a tomcat role the tomcat-users.xml file updates and the role is removed as expected.
Mandar Joshi 2013-05-14 06:29:12 UTC Flags needinfo?(weli)
Mandar Joshi 2013-05-14 06:45:58 UTC Flags needinfo?(jclere)
Jean-frederic Clere 2013-05-14 09:02:23 UTC Flags needinfo?(weli) needinfo?(jclere)
Mandar Joshi 2013-05-15 07:09:18 UTC Doc Text Cause: Removing a tomcat role in JBoss Enterprise Web Server causes the JBoss Operations Network (JON) interface to fail. Restarting tomcat displays the removed role in the tomcat-users.xml file but not in the JBoss Operations Network web interface.

Consequence: Tomcat 6 and Tomcat 7 does not invoke the save operation. Thus, when a tomcat role is removed using the JON web interface, the tomcat-users.xml file does not get updated. When tomcat,restarts the role is present in the tomcat-users.xml file but not in the JBoss Operations Network web interface.

Fix: ?

Result: When JBoss Operations Network is used to remove a tomcat role the tomcat-users.xml file updates and the role is removed as expected.
The tomcat-users.xml file does not get updated for add, modify, and remove operation in tomcat 6 and 7 and hence the JBoss Operations Network (JON) interface fails. To fix this issue the storeconfig module (delivered as catalina-storeconfig.jar) has been added back to tomcat6 and tomcat7. Activating the corresponding listener in server.xml, updates the tomcat-users.xml file and the add, modify and remove operations work as expected.
<Listener className="org.apache.catalina.storeconfig.StoreConfigLifecycleListener"/>
Mandar Joshi 2013-05-15 09:07:57 UTC Doc Text The tomcat-users.xml file does not get updated for add, modify, and remove operation in tomcat 6 and 7 and hence the JBoss Operations Network (JON) interface fails. To fix this issue the storeconfig module (delivered as catalina-storeconfig.jar) has been added back to tomcat6 and tomcat7. Activating the corresponding listener in server.xml, updates the tomcat-users.xml file and the add, modify and remove operations work as expected.
<Listener className="org.apache.catalina.storeconfig.StoreConfigLifecycleListener"/>
The tomcat-users.xml file does not get updated for add, modify, and remove operation in tomcat 6 and 7 and hence the JBoss Operations Network (JON) interface fails. To fix this issue the storeconfig module (delivered as catalina-storeconfig.jar) has been added back to tomcat6 and tomcat7. Activating the following listener in server.xml, updates the tomcat-users.xml file and the add, modify and remove operations work as expected.
<Listener className="org.apache.catalina.storeconfig.StoreConfigLifecycleListener"/>
Misha H. Ali 2013-05-30 04:20:59 UTC Doc Text The tomcat-users.xml file does not get updated for add, modify, and remove operation in tomcat 6 and 7 and hence the JBoss Operations Network (JON) interface fails. To fix this issue, the storeconfig module (delivered as catalina-storeconfig.jar) has been added back to tomcat6 and tomcat7. Activating the following listener in server.xml, updates the tomcat-users.xml file and the add, modify, and remove operations work as expected.
<Listener className="org.apache.catalina.storeconfig.StoreConfigLifecycleListener"/>
The tomcat-users.xml file does not get updated for add, modify, and remove operation in tomcat 6 and 7 and hence the JBoss Operations Network (JON) interface fails. To fix this issue, the storeconfig module (delivered as catalina-storeconfig.jar) has been added back to tomcat6 and tomcat7. Activating the following listener in server.xml, updates the tomcat-users.xml file and the add, modify, and remove operations work as expected.
Misha H. Ali 2013-05-30 04:26:53 UTC Doc Text The tomcat-users.xml file does not get updated for add, modify, and remove operation in tomcat 6 and 7 and hence the JBoss Operations Network (JON) interface fails. To fix this issue, the storeconfig module (delivered as catalina-storeconfig.jar) has been added back to tomcat6 and tomcat7. Activating the following listener in server.xml, updates the tomcat-users.xml file and the add, modify, and remove operations work as expected. The tomcat-users.xml file does not get updated for add, modify, and remove operation in tomcat 6 and 7 and hence the JBoss Operations Network (JON) interface fails. To fix this issue, the storeconfig module (delivered as catalina-storeconfig.jar) has been added back to tomcat6 and tomcat7. Activating the following listener in server.xml, updates the tomcat-users.xml file and the add, modify, and remove operations work as expected:

<programlisting language="XML"><![CDATA[<Listener className="org.apache.catalina.storeconfig.StoreConfigLifecycleListener"/>]]></programlisting>
Jean-frederic Clere 2013-05-30 06:25:04 UTC Depends On 956509
Jean-frederic Clere 2013-05-30 08:06:20 UTC Depends On 956509
Misha H. Ali 2013-05-30 10:33:18 UTC Doc Text The tomcat-users.xml file does not get updated for add, modify, and remove operation in tomcat 6 and 7 and hence the JBoss Operations Network (JON) interface fails. To fix this issue, the storeconfig module (delivered as catalina-storeconfig.jar) has been added back to tomcat6 and tomcat7. Activating the following listener in server.xml, updates the tomcat-users.xml file and the add, modify, and remove operations work as expected:

<programlisting language="XML"><![CDATA[<Listener className="org.apache.catalina.storeconfig.StoreConfigLifecycleListener"/>]]></programlisting>
The add, modify and remove operations in tomcat 6 and 7 do not update the <filename>tomcat-users.xml</filename> file. As a result, the JBoss Operations Network interface fails. The <classname>storeconfig</classname> module (delivered as <filename>catalina-storeconfig.jar</filename> is now included in tomcat 6 and 7. Activate the following listener in the <filename>server.xml</filename> file to update the <filename>tomcat-users.xml</filename> as expected after add, modify and remove operations:

<programlisting language="XML"><![CDATA[<Listener className="org.apache.catalina.storeconfig.StoreConfigLifecycleListener"/>]]></programlisting>
Misha H. Ali 2013-05-30 11:27:03 UTC Doc Text The add, modify and remove operations in tomcat 6 and 7 do not update the <filename>tomcat-users.xml</filename> file. As a result, the JBoss Operations Network interface fails. The <classname>storeconfig</classname> module (delivered as <filename>catalina-storeconfig.jar</filename> is now included in tomcat 6 and 7. Activate the following listener in the <filename>server.xml</filename> file to update the <filename>tomcat-users.xml</filename> as expected after add, modify and remove operations:

<programlisting language="XML"><![CDATA[<Listener className="org.apache.catalina.storeconfig.StoreConfigLifecycleListener"/>]]></programlisting>
The add, modify and remove operations in tomcat 6 and 7 do not update the <filename>tomcat-users.xml</filename> file. As a result, the JBoss Operations Network interface fails. The plug in logic is now fixed. To ensure JBoss Operations Network works as expected, set <literal>readonly="false"</literal> in the <parameter>UserDatabase</parameter> resource in the <filename>server.xml</filename> file.
Misha H. Ali 2013-06-12 11:38:59 UTC Doc Text The add, modify and remove operations in tomcat 6 and 7 do not update the <filename>tomcat-users.xml</filename> file. As a result, the JBoss Operations Network interface fails. The plug in logic is now fixed. To ensure JBoss Operations Network works as expected, set <literal>readonly="false"</literal> in the <parameter>UserDatabase</parameter> resource in the <filename>server.xml</filename> file. The add, modify and remove operations in tomcat 6 and 7 do not manipulate the user database as expected. As a result, the JBoss Operations Network interface fails. The plugin logic is now fixed. To ensure JBoss Operations Network works as expected, set <literal>readonly="false"</literal> in the <parameter>UserDatabase</parameter> resource in the <filename>server.xml</filename> file.
Flags needinfo?(mhasko)
Michal Haško 2013-06-12 12:33:08 UTC Flags needinfo?(mhasko)
mark yarborough 2014-01-03 12:58:23 UTC Status VERIFIED CLOSED
Target Release --- 2.0.1
Resolution --- CURRENTRELEASE
Last Closed 2014-01-03 07:58:23 UTC

Back to bug 688358