Bug 818553

Summary: [eap6] Invalid configuration retrieved on ajp web connector resource
Product: [Other] RHQ Project Reporter: Libor Zoubek <lzoubek>
Component: AgentAssignee: Heiko W. Rupp <hrupp>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: unspecified Docs Contact:
Priority: urgent    
Version: 4.4CC: hrupp, theute
Target Milestone: ---   
Target Release: RHQ 4.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-31 05:56:28 EDT Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 707223    

Description Libor Zoubek 2012-05-03 06:47:23 EDT
Description of problem:There are errors when I open  "EAP Domain Controller -> full-ha -> web -> ajp" configuration in UI


Version-Release number of selected component (if applicable):
4.4.0-SNAPSHOT (2484565)
EAP6 ER6

How reproducible:always

Actual results:

 The following configuration properties have invalid values: [Protocol]. The values must be corrected before the configuration can be saved


Expected results:

Correct configuration is retrieved
Comment 1 Heiko W. Rupp 2012-05-03 08:50:17 EDT
AS7 actually returns 

protocol" => "AJP/1.3", 

now and not "AJP

Config parser did not find AJP/1.3 in 

       <c:simple-property name="protocol" required="true" type="string" readOnly="false" default="HTTP/1.1" defaultValue="HTTP/1.1"
                           description="The web connector protocol. (e.g. 'HTTP/1.1' or 'AJP/1.3' or a name of a class implementing ProtocolHandler and MBeanRegistration )">
          <c:property-options >
            <c:option value="HTTP/1.1"/>
            <c:option value="AJP"/>
          </c:property-options>
        </c:simple-property>

Fix is to use 

<c:option value="AJP/1.3"/>
Comment 2 Heiko W. Rupp 2012-05-03 08:52:46 EDT
master 69ec5cd