[
https://issues.jboss.org/browse/WFLY-4508?page=com.atlassian.jira.plugin....
]
Heiko Braun commented on WFLY-4508:
-----------------------------------
This works:
{code}
[standalone@localhost:9990 /] /subsystem=undertow:read-resource(recursive=true)
{
"outcome" => "success",
"result" => {
"default-server" => "default-server",
"default-servlet-container" => "default",
"default-virtual-host" => "default-host",
"instance-id" => expression "${jboss.node.name}",
"statistics-enabled" => true,
"buffer-cache" => {"default" => {
"buffer-size" => 1024,
"buffers-per-region" => 1024,
"max-regions" => 10
}},
"configuration" => {
"filter" => {
"basic-auth" => undefined,
"connection-limit" => undefined,
"custom-filter" => undefined,
"error-page" => undefined,
"gzip" => undefined,
"mod-cluster" => undefined,
"response-header" => {
"server-header" => {
"header-name" => "Server",
"header-value" => "WildFly/9"
},
"x-powered-by-header" => {
"header-name" => "X-Powered-By",
"header-value" => "Undertow/1"
}
}
},
"handler" => {
"file" => {"welcome-content" => {
"cache-buffer-size" => 1024,
"cache-buffers" => 1024,
"directory-listing" => false,
"path" => expression
"${jboss.home.dir}/welcome-content"
}},
"reverse-proxy" => undefined
}
},
"server" => {"default-server" => {
"default-host" => "default-host",
"servlet-container" => "default",
"ajp-listener" => {"ajp1" => {
"allow-encoded-slash" => false,
"allow-equals-in-cookie-value" => false,
"always-set-keep-alive" => true,
"buffer-pipelined-data" => true,
"buffer-pool" => "default",
"decode-url" => true,
"enabled" => true,
"max-buffered-request-size" => 16384,
"max-cookies" => 200,
"max-header-size" => 1048576,
"max-headers" => 200,
"max-parameters" => 1000,
"max-post-size" => 10485760L,
"no-request-timeout" => undefined,
"read-timeout" => undefined,
"receive-buffer" => undefined,
"record-request-start-time" => false,
"redirect-socket" => undefined,
"request-parse-timeout" => undefined,
"resolve-peer-address" => false,
"scheme" => undefined,
"send-buffer" => undefined,
"socket-binding" => "ajp",
"tcp-backlog" => undefined,
"tcp-keep-alive" => undefined,
"url-charset" => "UTF-8",
"worker" => "default",
"write-timeout" => undefined
}},
"host" => {"default-host" => {
"alias" => ["localhost"],
"default-web-module" => "ROOT.war",
"filter-ref" => {
"server-header" => {
"predicate" => undefined,
"priority" => 1
},
"x-powered-by-header" => {
"predicate" => undefined,
"priority" => 1
}
},
"location" => {"/" => {
"handler" => "welcome-content",
"filter-ref" => undefined
}},
"setting" => undefined
}},
"http-listener" => {"default" => {
"allow-encoded-slash" => false,
"allow-equals-in-cookie-value" => false,
"always-set-keep-alive" => true,
"buffer-pipelined-data" => true,
"buffer-pool" => "default",
"certificate-forwarding" => false,
"decode-url" => true,
"enable-http2" => false,
"enabled" => true,
"max-buffered-request-size" => 16384,
"max-cookies" => 200,
"max-header-size" => 1048576,
"max-headers" => 200,
"max-parameters" => 1000,
"max-post-size" => 10485760L,
"no-request-timeout" => undefined,
"proxy-address-forwarding" => false,
"read-timeout" => undefined,
"receive-buffer" => undefined,
"record-request-start-time" => false,
"redirect-socket" => undefined,
"request-parse-timeout" => undefined,
"resolve-peer-address" => false,
"send-buffer" => undefined,
"socket-binding" => "http",
"tcp-backlog" => undefined,
"tcp-keep-alive" => undefined,
"url-charset" => "UTF-8",
"worker" => "default",
"write-timeout" => undefined
}},
"https-listener" => {"https" => {
"allow-encoded-slash" => false,
"allow-equals-in-cookie-value" => false,
"always-set-keep-alive" => false,
"buffer-pipelined-data" => false,
"buffer-pool" => "default",
"decode-url" => false,
"enable-http2" => false,
"enable-spdy" => false,
"enabled" => false,
"enabled-cipher-suites" => undefined,
"enabled-protocols" => undefined,
"max-buffered-request-size" => 16384,
"max-cookies" => 200,
"max-header-size" => 1048576,
"max-headers" => 200,
"max-parameters" => 1000,
"max-post-size" => 10485760L,
"no-request-timeout" => undefined,
"read-timeout" => undefined,
"receive-buffer" => undefined,
"record-request-start-time" => false,
"request-parse-timeout" => undefined,
"resolve-peer-address" => false,
"security-realm" => "other",
"send-buffer" => undefined,
"socket-binding" => "https",
"tcp-backlog" => undefined,
"tcp-keep-alive" => false,
"url-charset" => "UTF-8",
"verify-client" => "NOT_REQUESTED",
"worker" => "default",
"write-timeout" => undefined
}}
}},
"servlet-container" => {"default" => {
"allow-non-standard-wrappers" => false,
"default-buffer-cache" => "default",
"default-encoding" => undefined,
"default-session-timeout" => 30,
"disable-caching-for-secured-pages" => true,
"eager-filter-initialization" => false,
"ignore-flush" => false,
"stack-trace-on-error" => "local-only",
"use-listener-encoding" => false,
"setting" => {
"jsp" => {
"check-interval" => 0,
"development" => false,
"disabled" => false,
"display-source-fragment" => true,
"dump-smap" => false,
"error-on-use-bean-invalid-class-attribute" => false,
"generate-strings-as-char-arrays" => false,
"java-encoding" => "UTF8",
"keep-generated" => true,
"mapped-file" => true,
"modification-test-interval" => 4,
"recompile-on-fail" => false,
"scratch-dir" => undefined,
"smap" => true,
"source-vm" => "1.7",
"tag-pooling" => true,
"target-vm" => "1.7",
"trim-spaces" => false,
"x-powered-by" => true
},
"websockets" => {
"buffer-pool" => "default",
"dispatch-to-worker" => true,
"worker" => "default"
}
}
}}
}
}
{code}
:read-resource(recursive,include-runtime) on undertow subsystem
fails
---------------------------------------------------------------------
Key: WFLY-4508
URL:
https://issues.jboss.org/browse/WFLY-4508
Project: WildFly
Issue Type: Feature Request
Reporter: Heiko Braun
Assignee: Jason Greene
{code}
08:28:21,470 ERROR [org.jboss.as] (Controller Boot Thread) WFLYSRV0026: WildFly Full
9.0.0.Alpha2-SNAPSHOT (WildFly Core 1.0.0.Beta1) started (with errors) in 3771ms - Started
201 of 381 services (1 services failed or missing dependencies, 210 services are lazy,
passive or on-demand)
08:28:50,778 ERROR [org.jboss.as.controller.management-operation]
(management-handler-thread - 4) WFLYCTL0013: Operation ("read-attribute") failed
- address: ([
("subsystem" => "undertow"),
("server" => "default-server"),
("https-listener" => "https")
]): java.lang.NullPointerException
at
org.wildfly.extension.undertow.ListenerResourceDefinition$ReadStatisticHandler.execute(ListenerResourceDefinition.java:224)
at
org.jboss.as.controller.operations.global.ReadAttributeHandler.doExecuteInternal(ReadAttributeHandler.java:212)
at
org.jboss.as.controller.operations.global.ReadAttributeHandler.doExecute(ReadAttributeHandler.java:141)
at
org.jboss.as.controller.operations.global.GlobalOperationHandlers$AbstractMultiTargetHandler.execute(GlobalOperationHandlers.java:220)
at
org.jboss.as.controller.operations.global.GlobalOperationHandlers$AvailableResponseWrapper.execute(GlobalOperationHandlers.java:487)
at
org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:795)
at
org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:601)
at
org.jboss.as.controller.AbstractOperationContext.completeStepInternal(AbstractOperationContext.java:354)
at
org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:330)
at
org.jboss.as.controller.OperationContextImpl.executeOperation(OperationContextImpl.java:1183)
at
org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:362)
at org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:218)
at
org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler.doExecute(ModelControllerClientOperationHandler.java:201)
at
org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler.access$300(ModelControllerClientOperationHandler.java:128)
at
org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1$1.run(ModelControllerClientOperationHandler.java:150)
at
org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1$1.run(ModelControllerClientOperationHandler.java:146)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:422)
at org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:92)
at
org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1.execute(ModelControllerClientOperationHandler.java:146)
at
org.jboss.as.protocol.mgmt.AbstractMessageHandler$2$1.doExecute(AbstractMessageHandler.java:298)
at
org.jboss.as.protocol.mgmt.AbstractMessageHandler$AsyncTaskRunner.run(AbstractMessageHandler.java:518)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
at org.jboss.threads.JBossThread.run(JBossThread.java:320)
{code}
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)