Inconsistent results in JBoss CLI web subsystem
Issue
After adding a log pattern
/profile=ha/subsystem=web/virtual-server=default-host/access-log=configuration:add(pattern="%T %h %l %u %t %r %s %b %{COOKIE}i %{SET-COOKIE}o")
I get the following output for read-resource
"outcome" => "success",
"result" => {
"alias" => [
"localhost",
"example.com"
],
"default-web-module" => "ROOT.war",
"enable-welcome-root" => true,
"name" => "default-host",
"access-log" => {"configuration" => undefined},
"configuration" => {"access-log" => undefined},
"rewrite" => undefined,
"sso" => {"configuration" => undefined}
When trying to get into a configuration node (configuration directory for sso or access-log) using the JBoss CLI, I get the following error even though the node exists
It would appear the access-log configuration is affecting the sso parameter when it shouldn't
JBAS014808: Child resource '"...." => "configuration"' not found
Without access-log configuration, the output from /profile=ha/subsystem=web/virtual-server=default-host:read-resource is
"outcome" => "success",
"result" => {
"alias" => [
"localhost",
"example.com"
],
"default-web-module" => "ROOT.war",
"enable-welcome-root" => true,
"name" => "default-host",
"access-log" => undefined,
"configuration" => undefined,
"rewrite" => undefined,
"sso" => undefined
}
Environment
Red Hat JBoss Enterprise Application Platform (EAP) 6.2.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.