Previously, when using JBoss Enterprise Web Server with JBoss Operations Network, deploying the web application without the <filename>context.xml</filename> file, the <guilabel>Config File</guilabel> field in the JBoss Operations Network user interface's web application configuration remained empty. This field was mandatory.
This problem is now fixed in JBoss Enterprise Web Server 2.1 and the <guilabel>Config File</guilabel> field in the JBoss Operations Network user interface is removed.
Created attachment 918081 [details]
JON UI screen
Description of problem:
I have just tested updated T6 store-config with Remy's patch (BZ 956509) for context.xml file creation but i found one problem.
When you deploy web application without context.xml in JON, config file field in webapp configuration is empty (see attachment) and this field is mandatory. The same behaviour is for T7 now with JON 3.2.0-updated02 and Tomcat plugin update-01.
The question is if we want to enable save configuration of webapps without context.xml we should also have some default value for field Config file.
It is fixed in master https://github.com/rhq-project/rhq/commit/147d50666a591fd97767e70eb49d0ac1d782ea17
It is also fixed in the branc https://github.com/rhq-project/rhq/commit/147d50666a591fd97767e70eb49d0ac1d782ea17h (Jun 26, 2014).
Which plugins pack are you using?
We are using jon-plugin-pack-ews-3.2.0.GA-update-01.zip
Ok in fact the problem occurs because you old invalid values in the database...
no it is worse in fact it seems a readOnly="true" field is required by default or should have a default value.
By having required="false" the behaviour of the GUI is bit weird.
verified with last build of Tomcat plugin BZ 1111666 (ews plugin pack in attachment of this BZ) + EWS 2.1.0 CR2 Tomcat6/7 + JON 3.2.0.GA update 02
This fix, change, or update was tested and released in Web Server Plugin Pack Update-01 for JBoss ON 3.2 -- https://access.redhat.com/jbossnetwork/restricted/softwareDetail.html?softwareId=32543