How to remove Protocol attribute from connector using JBoss CLI ?

Solution Verified - Updated -

Environment

  • Red Hat JBoss EAP 6.x

Issue

  • We have added the following values to Protocol attribute using JBoss CLI:
[standalone@itgsyddev280-vip1:10019 /] /subsystem=web/connector=https/ssl=configuration/:write-attribute(name=protocol,value="TLSv1,TLSv1.1,TLSv1.2") 
{ 
  "outcome" => "success",
  "response-headers" => {
      "operation-requires-reload" => true, 
      "process-state" => "reload-required" } 
   } 


[standalone@itgsyddev280-vip1:10019 /] /subsystem=web/connector=https/ssl=configuration/:read-attribute(name=protocol) 
{ 
    "outcome" => "success", 
    "result" => "TLSv1,TLSv1.1,TLSv1.2" 
}
  • Is there a command to remove protocol attribute using JBoss CLI?

Resolution

There is no such command to removed protocol attribute using JBoss CLI. You can not only remove protocol attribute Individually, instead you will remove whole connector.

Root Cause

  • According to schema define in ${JBOSS_HOME}/docs/schema/jboss-as-web_2_1.xsd ,this attribute is required.

Diagnostic Steps

Check schema define and find out if it is a required attribute in connector.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.