[jboss-jira] [JBoss JIRA] (WFCORE-993) Reload command on embed-host-controller fails
Petr Kremensky (JIRA)
issues at jboss.org
Tue Sep 22 01:43:00 EDT 2015
[ https://issues.jboss.org/browse/WFCORE-993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13111083#comment-13111083 ]
Petr Kremensky commented on WFCORE-993:
---------------------------------------
This is obviously not related to embed-host-controller only. Reloading embed-server with admin-only=true is broken as well (notice that I've waited ~5s before every reload operation)
{noformat}
[disconnected /] embed-server --std-out=echo
07:37:59,172 INFO [org.jboss.modules] (AeshProcess: 1) JBoss Modules version 1.4.4.Final
07:37:59,215 INFO [org.jboss.msc] (AeshProcess: 1) JBoss MSC version 1.2.6.Final
07:37:59,269 INFO [org.jboss.as] (MSC service thread 1-6) WFLYSRV0049: WildFly Full 10.0.0.CR1 (WildFly Core 2.0.0.CR1) starting
07:37:59,982 INFO [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'enabled' in the resource at address '/subsystem=datasources/data-source=ExampleDS' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
07:38:00,166 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Full 10.0.0.CR1 (WildFly Core 2.0.0.CR1) started in 988ms - Started 35 of 48 services (19 services are lazy, passive or on-demand)
[standalone at embedded /] reload --admin-only=true
07:38:05,390 INFO [org.jboss.as] (MSC service thread 1-3) WFLYSRV0050: WildFly Full 10.0.0.CR1 (WildFly Core 2.0.0.CR1) stopped in 24ms
07:38:05,394 INFO [org.jboss.as] (MSC service thread 1-7) WFLYSRV0049: WildFly Full 10.0.0.CR1 (WildFly Core 2.0.0.CR1) starting
07:38:05,461 INFO [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'enabled' in the resource at address '/subsystem=datasources/data-source=ExampleDS' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
07:38:05,529 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Full 10.0.0.CR1 (WildFly Core 2.0.0.CR1) started in 131ms - Started 35 of 48 services (19 services are lazy, passive or on-demand)
[standalone at embedded /] reload --admin-only=true
07:38:09,311 INFO [org.jboss.as] (MSC service thread 1-8) WFLYSRV0050: WildFly Full 10.0.0.CR1 (WildFly Core 2.0.0.CR1) stopped in 3ms
07:38:09,313 INFO [org.jboss.as] (MSC service thread 1-5) WFLYSRV0049: WildFly Full 10.0.0.CR1 (WildFly Core 2.0.0.CR1) starting
07:38:09,358 INFO [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'enabled' in the resource at address '/subsystem=datasources/data-source=ExampleDS' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
07:38:09,361 ERROR [org.jboss.as.controller] (AeshProcess: 3) WFLYCTL0369: Required capabilities are not available:
org.wildfly.network.socket-binding.management-http; Possible registration points for this capability:
/core-service=management/management-interface=http-interface
07:38:09,417 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Full 10.0.0.CR1 (WildFly Core 2.0.0.CR1) started in 103ms - Started 35 of 48 services (19 services are lazy, passive or on-demand)
[standalone at embedded /] embed-server --std-out=echo
The command is not available in the current context (e.g. required subsystems or connection to the controller might be unavailable).
{noformat}
> Reload command on embed-host-controller fails
> ---------------------------------------------
>
> Key: WFCORE-993
> URL: https://issues.jboss.org/browse/WFCORE-993
> Project: WildFly Core
> Issue Type: Bug
> Components: CLI
> Affects Versions: 2.0.0.CR1
> Reporter: Petr Kremensky
> Assignee: Ken Wills
> Priority: Critical
>
> Reload operation on embed-host-controller gives me an error.
> {noformat}
> [disconnected /] embed-host-controller
> [domain at embedded /] reload --host=master
> 13:25:30,019 INFO [org.jboss.as] (MSC service thread 1-1) WFLYSRV0050: EAP 7.0.0.Alpha1 (WildFly Core 2.0.0.CR1) stopped in 6ms
> 13:25:30,020 INFO [org.jboss.as] (MSC service thread 1-4) WFLYSRV0049: EAP 7.0.0.Alpha1 (WildFly Core 2.0.0.CR1) starting
> 13:25:30,115 ERROR [org.jboss.as.controller] (AeshProcess: 2) WFLYCTL0369: Required capabilities are not available:
> org.wildfly.domain.server-group.main-server-group in context 'server-config'; There are no known registration points which can provide this capability.
> org.wildfly.domain.server-group.main-server-group in context 'server-config'; There are no known registration points which can provide this capability.
> org.wildfly.domain.server-group.other-server-group in context 'server-config'; There are no known registration points which can provide this capability.
> 13:25:30,138 INFO [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'enabled' in the resource at address '/profile=default/subsystem=datasources/data-source=ExampleDS' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
> 13:25:30,150 INFO [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'enabled' in the resource at address '/profile=ha/subsystem=datasources/data-source=ExampleDS' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
> 13:25:30,166 INFO [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'enabled' in the resource at address '/profile=full/subsystem=datasources/data-source=ExampleDS' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
> 13:25:30,167 ERROR [org.jboss.as.controller] (AeshProcess: 2) WFLYCTL0369: Required capabilities are not available:
> org.wildfly.domain.server-group.main-server-group in context 'server-config'; There are no known registration points which can provide this capability.
> org.wildfly.domain.server-group.main-server-group in context 'server-config'; There are no known registration points which can provide this capability.
> org.wildfly.network.socket-binding.jgroups-mping in context 'profile=ha'; There are no known registration points which can provide this capability.
> org.wildfly.network.socket-binding.jgroups-udp-fd in context 'profile=ha'; There are no known registration points which can provide this capability.
> org.wildfly.network.socket-binding.http in context 'profile=ha'; There are no known registration points which can provide this capability.
> org.wildfly.network.socket-binding.jgroups-tcp in context 'profile=ha'; There are no known registration points which can provide this capability.
> org.wildfly.network.socket-binding.jgroups-tcp-fd in context 'profile=ha'; There are no known registration points which can provide this capability.
> org.wildfly.network.socket-binding.http in context 'profile=default'; There are no known registration points which can provide this capability.
> org.wildfly.network.socket-binding.ajp in context 'profile=ha'; There are no known registration points which can provide this capability.
> org.wildfly.network.socket-binding.jgroups-udp in context 'profile=ha'; There are no known registration points which can provide this capability.
> org.wildfly.domain.server-group.other-server-group in context 'server-config'; There are no known registration points which can provide this capability.
> 13:25:30,178 INFO [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'enabled' in the resource at address '/profile=full-ha/subsystem=datasources/data-source=ExampleDS' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
> 13:25:30,196 ERROR [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0362: Capabilities required by resource '/server-group=main-server-group' are not available:
> org.wildfly.domain.profile.full in context 'server-groups'; There are no known registration points which can provide this capability.
> 13:25:30,198 FATAL [org.jboss.as.host.controller] (Controller Boot Thread) WFLYHC0034: Host Controller boot has failed in an unrecoverable manner; exiting. See previous messages for details.
> 13:25:30,204 ERROR [org.jboss.as.protocol] (Thread-2) WFLYPRT0003: Failed to close resource org.jboss.as.cli.embedded.ThreadContextsModelControllerClient at 713124ae: java.lang.IllegalStateException: WFLYEMB0023: The embedded server is stopping and invocations on the ModelControllerClient are not available
> at org.wildfly.core.embedded.EmbeddedHostControllerFactory$HostControllerImpl.getActiveModelControllerClient(EmbeddedHostControllerFactory.java:331)
> at org.wildfly.core.embedded.EmbeddedHostControllerFactory$HostControllerImpl.access$200(EmbeddedHostControllerFactory.java:225)
> at org.wildfly.core.embedded.EmbeddedHostControllerFactory$HostControllerImpl$3.getDelegate(EmbeddedHostControllerFactory.java:309)
> at org.jboss.as.controller.client.helpers.DelegatingModelControllerClient.close(DelegatingModelControllerClient.java:103)
> at org.jboss.as.cli.embedded.ThreadContextsModelControllerClient.close(ThreadContextsModelControllerClient.java:139)
> at org.jboss.as.protocol.StreamUtils.safeClose(StreamUtils.java:66)
> at org.jboss.as.cli.impl.CommandContextImpl.disconnectController(CommandContextImpl.java:1181)
> at org.jboss.as.cli.impl.CommandContextImpl.terminateSession(CommandContextImpl.java:812)
> at org.jboss.as.cli.impl.CommandContextImpl$1.shutdown(CommandContextImpl.java:370)
> at org.jboss.as.cli.impl.CliShutdownHook$1.run(CliShutdownHook.java:50)
> at java.lang.Thread.run(Thread.java:745)
> 13:25:30,215 INFO [org.jboss.as] (MSC service thread 1-1) WFLYSRV0050: EAP 7.0.0.Alpha1 (WildFly Core 2.0.0.CR1) stopped in 11ms
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list