[JBoss JIRA] (WFLY-12050) WildFly management console fails to load deployments if war fails to deploy
by Philippe Julien (Jira)
[ https://issues.jboss.org/browse/WFLY-12050?page=com.atlassian.jira.plugin... ]
Philippe Julien updated WFLY-12050:
-----------------------------------
Attachment: Screen Shot 2019-05-06 at 10.37.03 AM.png
> WildFly management console fails to load deployments if war fails to deploy
> ---------------------------------------------------------------------------
>
> Key: WFLY-12050
> URL: https://issues.jboss.org/browse/WFLY-12050
> Project: WildFly
> Issue Type: Bug
> Components: Web Console
> Affects Versions: 16.0.0.Final
> Reporter: Philippe Julien
> Assignee: Harald Pehl
> Priority: Major
> Attachments: Screen Shot 2019-05-06 at 10.37.03 AM.png
>
>
> When a .war that has servlets declared using @WebServlet fails to deploy, the console cannot list any deployments.
> Here is the exception that is logged by WildFly:
> {noformat}
> 09:52:08.629 [org.jboss.as.controller.management-operation] WFLYCTL0013: Operation ("read-attribute") failed - address: ([
> ("deployment" => "test-war.war"),
> ("subsystem" => "undertow"),
> ("servlet" => "com.test.TestServlet")
> ]): java.lang.IllegalStateException
> at org.jboss.msc.value.InjectedValue.getValue(InjectedValue.java:50)
> at org.wildfly.extension.undertow.DeploymentServletDefinition$AbstractMetricsHandler$1.execute(DeploymentServletDefinition.java:175)
> at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:999)
> at org.jboss.as.controller.AbstractOperationContext.processStages(AbstractOperationContext.java:743)
> at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:467)
> at org.jboss.as.controller.OperationContextImpl.executeOperation(OperationContextImpl.java:1412)
> at org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:423)
> at org.jboss.as.controller.ModelControllerImpl.lambda$execute$1(ModelControllerImpl.java:243)
> at org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:289)
> at org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:255)
> at org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:243)
> at org.jboss.as.domain.http.server.DomainApiHandler.handleRequest(DomainApiHandler.java:212)
> at io.undertow.server.handlers.encoding.EncodingHandler.handleRequest(EncodingHandler.java:72)
> at org.jboss.as.domain.http.server.DomainApiCheckHandler.handleRequest(DomainApiCheckHandler.java:93)
> at org.jboss.as.domain.http.server.security.ElytronIdentityHandler.lambda$handleRequest$0(ElytronIdentityHandler.java:62)
> at org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:313)
> at org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:270)
> at org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:254)
> at org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:225)
> at org.jboss.as.domain.http.server.security.ElytronIdentityHandler.handleRequest(ElytronIdentityHandler.java:61)
> at io.undertow.server.handlers.BlockingHandler.handleRequest(BlockingHandler.java:56)
> at io.undertow.server.Connectors.executeRootHandler(Connectors.java:364)
> at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:830)
> at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
> at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1982)
> at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
> at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
> at java.lang.Thread.run(Thread.java:748)
> at org.jboss.threads.JBossThread.run(JBossThread.java:485)
> {noformat}
> I have pushed a small reproducer .war application here: https://github.com/philippejulien/test-war
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 2 months
[JBoss JIRA] (WFLY-12050) WildFly management console fails to load deployments if war fails to deploy
by Philippe Julien (Jira)
Philippe Julien created WFLY-12050:
--------------------------------------
Summary: WildFly management console fails to load deployments if war fails to deploy
Key: WFLY-12050
URL: https://issues.jboss.org/browse/WFLY-12050
Project: WildFly
Issue Type: Bug
Components: Web Console
Affects Versions: 16.0.0.Final
Reporter: Philippe Julien
Assignee: Harald Pehl
When a .war that has servlets declared using @WebServlet fails to deploy, the console cannot list any deployments.
Here is the exception that is logged by WildFly:
{noformat}
09:52:08.629 [org.jboss.as.controller.management-operation] WFLYCTL0013: Operation ("read-attribute") failed - address: ([
("deployment" => "test-war.war"),
("subsystem" => "undertow"),
("servlet" => "com.test.TestServlet")
]): java.lang.IllegalStateException
at org.jboss.msc.value.InjectedValue.getValue(InjectedValue.java:50)
at org.wildfly.extension.undertow.DeploymentServletDefinition$AbstractMetricsHandler$1.execute(DeploymentServletDefinition.java:175)
at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:999)
at org.jboss.as.controller.AbstractOperationContext.processStages(AbstractOperationContext.java:743)
at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:467)
at org.jboss.as.controller.OperationContextImpl.executeOperation(OperationContextImpl.java:1412)
at org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:423)
at org.jboss.as.controller.ModelControllerImpl.lambda$execute$1(ModelControllerImpl.java:243)
at org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:289)
at org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:255)
at org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:243)
at org.jboss.as.domain.http.server.DomainApiHandler.handleRequest(DomainApiHandler.java:212)
at io.undertow.server.handlers.encoding.EncodingHandler.handleRequest(EncodingHandler.java:72)
at org.jboss.as.domain.http.server.DomainApiCheckHandler.handleRequest(DomainApiCheckHandler.java:93)
at org.jboss.as.domain.http.server.security.ElytronIdentityHandler.lambda$handleRequest$0(ElytronIdentityHandler.java:62)
at org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:313)
at org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:270)
at org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:254)
at org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:225)
at org.jboss.as.domain.http.server.security.ElytronIdentityHandler.handleRequest(ElytronIdentityHandler.java:61)
at io.undertow.server.handlers.BlockingHandler.handleRequest(BlockingHandler.java:56)
at io.undertow.server.Connectors.executeRootHandler(Connectors.java:364)
at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:830)
at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1982)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
at java.lang.Thread.run(Thread.java:748)
at org.jboss.threads.JBossThread.run(JBossThread.java:485)
{noformat}
I have pushed a small reproducer .war application here: https://github.com/philippejulien/test-war
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 2 months
[JBoss JIRA] (WFLY-12048) outbound-socket-binding element should allow grouping to be referenced by JGroups socket-discovery-protocol
by Wolf-Dieter Fink (Jira)
[ https://issues.jboss.org/browse/WFLY-12048?page=com.atlassian.jira.plugin... ]
Wolf-Dieter Fink commented on WFLY-12048:
-----------------------------------------
The same can be used for other socket-bindings as there are a number of places in the configuration where this could be benefitial.
> outbound-socket-binding element should allow grouping to be referenced by JGroups socket-discovery-protocol
> -----------------------------------------------------------------------------------------------------------
>
> Key: WFLY-12048
> URL: https://issues.jboss.org/browse/WFLY-12048
> Project: WildFly
> Issue Type: Enhancement
> Components: Clustering
> Affects Versions: 16.0.0.Final
> Reporter: Wolf-Dieter Fink
> Assignee: Paul Ferraro
> Priority: Major
>
> JGroups configuration can use two different ways to configure cluster detection
> ------ older configuration is via protocol properties --
> <protocol type="TCPPING">
> <property name="initial_hosts">host[7600]</property>
> ------ new configuration via socket reference
> <socket-discovery-protocol type="TCPPING" socket-bindings="ref-a ref-b"/>
> ...
> <outbound-socket-binding name="ref-a">
> <remote-destination host="127.0.0.1" port="7600"/>
> </outbound-socket-binding>
> -----------
> with the old option it is possible to use an expression to set all hosts in a cluster.
> The new one need to have all outbound connections listed which is harder to maintain.
> As an administrator I want to have the possibility to group the connections and only have one reference and the number of connections can be vary without changing multiple point in the configuration.
> So a configuration like this would enhance that
> <outbound-socket-binding-group>
> <outbound-socket-binding name="ref-a">
> <remote-destination host="host1" port="7600"/>
> </outbound-socket-binding>
> <outbound-socket-binding name="ref-b">
> <remote-destination host="host2" port="7600"/>
> </outbound-socket-binding>
> </outbound-socket-binding-group>
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 2 months
[JBoss JIRA] (WFLY-12049) outbound-socket-binding element should allow grouping to be referenced by JGroups socket-discovery-protocol
by Wolf-Dieter Fink (Jira)
Wolf-Dieter Fink created WFLY-12049:
---------------------------------------
Summary: outbound-socket-binding element should allow grouping to be referenced by JGroups socket-discovery-protocol
Key: WFLY-12049
URL: https://issues.jboss.org/browse/WFLY-12049
Project: WildFly
Issue Type: Enhancement
Components: Clustering
Affects Versions: 16.0.0.Final
Reporter: Wolf-Dieter Fink
Assignee: Paul Ferraro
JGroups configuration can use two different ways to configure cluster detection
------ older configuration is via protocol properties --
<protocol type="TCPPING">
<property name="initial_hosts">host[7600]</property>
------ new configuration via socket reference
<socket-discovery-protocol type="TCPPING" socket-bindings="ref-a ref-b"/>
...
<outbound-socket-binding name="ref-a">
<remote-destination host="127.0.0.1" port="7600"/>
</outbound-socket-binding>
-----------
with the old option it is possible to use an expression to set all hosts in a cluster.
The new one need to have all outbound connections listed which is harder to maintain.
As an administrator I want to have the possibility to group the connections and only have one reference and the number of connections can be vary without changing multiple point in the configuration.
So a configuration like this would enhance that
<outbound-socket-binding-group>
<outbound-socket-binding name="ref-a">
<remote-destination host="host1" port="7600"/>
</outbound-socket-binding>
<outbound-socket-binding name="ref-b">
<remote-destination host="host2" port="7600"/>
</outbound-socket-binding>
</outbound-socket-binding-group>
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 2 months
[JBoss JIRA] (WFLY-12048) outbound-socket-binding element should allow grouping to be referenced by JGroups socket-discovery-protocol
by Wolf-Dieter Fink (Jira)
Wolf-Dieter Fink created WFLY-12048:
---------------------------------------
Summary: outbound-socket-binding element should allow grouping to be referenced by JGroups socket-discovery-protocol
Key: WFLY-12048
URL: https://issues.jboss.org/browse/WFLY-12048
Project: WildFly
Issue Type: Enhancement
Components: Clustering
Affects Versions: 16.0.0.Final
Reporter: Wolf-Dieter Fink
Assignee: Paul Ferraro
JGroups configuration can use two different ways to configure cluster detection
------ older configuration is via protocol properties --
<protocol type="TCPPING">
<property name="initial_hosts">host[7600]</property>
------ new configuration via socket reference
<socket-discovery-protocol type="TCPPING" socket-bindings="ref-a ref-b"/>
...
<outbound-socket-binding name="ref-a">
<remote-destination host="127.0.0.1" port="7600"/>
</outbound-socket-binding>
-----------
with the old option it is possible to use an expression to set all hosts in a cluster.
The new one need to have all outbound connections listed which is harder to maintain.
As an administrator I want to have the possibility to group the connections and only have one reference and the number of connections can be vary without changing multiple point in the configuration.
So a configuration like this would enhance that
<outbound-socket-binding-group>
<outbound-socket-binding name="ref-a">
<remote-destination host="host1" port="7600"/>
</outbound-socket-binding>
<outbound-socket-binding name="ref-b">
<remote-destination host="host2" port="7600"/>
</outbound-socket-binding>
</outbound-socket-binding-group>
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 2 months