[JBoss JIRA] (JGRP-2344) Support UDP:PING on Quarkus
by Bela Ban (Jira)
[ https://issues.jboss.org/browse/JGRP-2344?page=com.atlassian.jira.plugin.... ]
Bela Ban edited comment on JGRP-2344 at 9/6/19 12:46 PM:
---------------------------------------------------------
The basic {{UDP:PING}} combo works now. However, the diagnostics handler doesn't work as it calls {{new MulticastSocket(int port)}}, and this fails (see [1]).
As a workaround, until \[1\] gets fixed, we could simple use the {{new MulticastSocket(SocketAddress s}} constructor. This requires a non-null {{diagnostics_addr}} in the transport...
\[1\] https://github.com/oracle/graal/issues/1662
was (Author: belaban):
The basic {{UDP:PING}} combo works now. However, the diagnostics handler doesn't work as it calls {{new MulticastSocket(int port)}}, and this fails (see [1]).
As a workaround, until \[1\] gets fixed, we could simple use the {{new MulticastSocket(SocketAddress s}} constructor. This requires a non-null {{diagnostics_bind_addr}} in the transport...
\[1\] https://github.com/oracle/graal/issues/1662
> Support UDP:PING on Quarkus
> ---------------------------
>
> Key: JGRP-2344
> URL: https://issues.jboss.org/browse/JGRP-2344
> Project: JGroups
> Issue Type: Task
> Reporter: Bela Ban
> Assignee: Bela Ban
> Priority: Major
> Fix For: 4.1.5
>
>
> Currently, {{TCP:TCPPING}} is supported. Add the {{UDP:PING}} combo.
--
This message was sent by Atlassian Jira
(v7.13.5#713005)
6 years, 8 months
[JBoss JIRA] (WFLY-12298) Allow to change RESTEasy settings via CLI
by James Perkins (Jira)
[ https://issues.jboss.org/browse/WFLY-12298?page=com.atlassian.jira.plugin... ]
James Perkins updated WFLY-12298:
---------------------------------
Fix Version/s: (was: 18.0.0.Final)
> Allow to change RESTEasy settings via CLI
> -----------------------------------------
>
> Key: WFLY-12298
> URL: https://issues.jboss.org/browse/WFLY-12298
> Project: WildFly
> Issue Type: Feature Request
> Reporter: Marek Kopecky
> Assignee: Ronald Sigal
> Priority: Major
> Labels: affects-model
>
> Many RESTEasy properties can be set in web.xml. CLI should be able to show values of these properties per each deployment by this command:
> {noformat}
> /deployment=${NAME_OF_DEPLOYMENT}/subsystem=jaxrs:read-resource
> {noformat}
> CLI should be able to set values of this properties per each deployment:
> {noformat}
> /deployment=${NAME_OF_DEPLOYMENT}/subsystem=jaxrs:write-attribute(name=resteasy.use.builtin.providers,value=false)
> {noformat}
> CLI should be able to specify values of this attributes globally for all deployments (global settings override deployment settings):
> {noformat}
> /subsystem=jaxrs:write-attribute(name=resteasy.media.type.mappings,value="html : text/html, txt : text/plain")
> {noformat}
> We should consider which properties should be available via CLI.
> ----
> Default providers, interceptors, etc. are set in many javax.ws.rs.ext.Providers files in RESTEasy sources:
> {noformat}
> ./providers/jackson2/src/main/resources/META-INF/services/javax.ws.rs.ext.Providers
> ./providers/yaml/src/main/resources/META-INF/services/javax.ws.rs.ext.Providers
> ./resteasy-jaxrs/src/main/resources/META-INF/services/javax.ws.rs.ext.Providers
> ...
> {noformat}
> CLI shoud allow to add other providers, interceptors, etc., or disable some in global level for all deployments. CLI should allow to add or disable it for specific deployment. Disabling should have higher priority then allowing. Global settings override deployment settings.
> Proposal for CLI attributes (list-add is standard CLI function) - examples:
> {noformat}
> /subsystem=jaxrs:list-add(name=disabled-providers,value=org.jboss.resteasy.plugins.providers.DataSourceProvider)
> /subsystem=jaxrs:list-add(name=allowed-providers,value=org.jboss.resteasy.plugins.interceptors.encoding.GZIPDecodingInterceptor)
> /deployment=${NAME_OF_DEPLOYMENT}/subsystem=jaxrs:list-add(name=disabled-providers,value=org.jboss.resteasy.plugins.providers.DataSourceProvider)
> /deployment=${NAME_OF_DEPLOYMENT}/subsystem=jaxrs:list-add(name=allowed-providers,value=org.jboss.resteasy.plugins.interceptors.encoding.GZIPDecodingInterceptor)
> {noformat}
> ----
> *Example without this RFE:*
> Let's say that server admin needs to disable DataSourceProvider for all deployments on server. Now, AFAIK, he needs to:
> * set "resteasy.use.builtin.providers" property in web.xml of all deployments to "false"
> ** It disable all default providers.
> * explicitly set providers used in each deployment by "resteasy.providers" property in web.xml of all deployments
> These steps are really uncomfortable, server admin needs to manually update all deployments in server
--
This message was sent by Atlassian Jira
(v7.13.5#713005)
6 years, 8 months