[JBoss JIRA] (WFLY-6958) Use more intuitive values for consistent-hash-strategy
by Jason Greene (JIRA)
[ https://issues.jboss.org/browse/WFLY-6958?page=com.atlassian.jira.plugin.... ]
Jason Greene updated WFLY-6958:
-------------------------------
Fix Version/s: 12.0.0.Final
(was: 12.0.0.CR1)
> Use more intuitive values for consistent-hash-strategy
> ------------------------------------------------------
>
> Key: WFLY-6958
> URL: https://issues.jboss.org/browse/WFLY-6958
> Project: WildFly
> Issue Type: Enhancement
> Components: Clustering
> Affects Versions: 10.0.0.Final
> Reporter: Paul Ferraro
> Assignee: Paul Ferraro
> Fix For: 12.0.0.Final
>
>
> Currently consistent-hash-strategy can have on of 2 values: INTRA_CACHE vs INTER_CACHE.
> This was initially meant to describe a consistent hash that would be consistent within a cache vs across multiple caches within a cache container. In retrospect, these value are not very descriptive.
> Better would be consistent-hash-strategy="AGE|ADDRESS" or "AGE|NAME", where the strategy uses the cache view sorted by either age, or name/address.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 10 months
[JBoss JIRA] (WFLY-8449) EJB contextData not sent back to client in response
by Jason Greene (JIRA)
[ https://issues.jboss.org/browse/WFLY-8449?page=com.atlassian.jira.plugin.... ]
Jason Greene updated WFLY-8449:
-------------------------------
Fix Version/s: 12.0.0.Final
(was: 12.0.0.CR1)
> EJB contextData not sent back to client in response
> ---------------------------------------------------
>
> Key: WFLY-8449
> URL: https://issues.jboss.org/browse/WFLY-8449
> Project: WildFly
> Issue Type: Bug
> Components: EJB
> Reporter: Fedor Gavrilov
> Assignee: Fedor Gavrilov
> Labels: downstream_dependency, ejb
> Fix For: 12.0.0.Final
>
>
> With former JBoss versions it was possible to pass context beside the method invocation from the client to the server and back. This was done via (AOP) interceptors.
> Since AS7 and WildFly the only possibility is to pass such context from the client to the server.
> It should also possible to pass serializeable objects from the server side to the client if the invocation returns and have a client side interceptor to read that informations.
> This was used to return i.e. tracking or additional usefull informations.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 10 months
[JBoss JIRA] (WFLY-7537) Review NamingContext.check() method
by Jason Greene (JIRA)
[ https://issues.jboss.org/browse/WFLY-7537?page=com.atlassian.jira.plugin.... ]
Jason Greene updated WFLY-7537:
-------------------------------
Fix Version/s: 12.0.0.Final
(was: 12.0.0.CR1)
> Review NamingContext.check() method
> -----------------------------------
>
> Key: WFLY-7537
> URL: https://issues.jboss.org/browse/WFLY-7537
> Project: WildFly
> Issue Type: Task
> Components: Naming
> Reporter: Darran Lofthouse
> Assignee: Farah Juma
> Fix For: 12.0.0.Final
>
>
> The new naming client is sending in a SimpleName where the lookup was performed using a String.
> When a SecurityManager is installed the check() method of NamingContext is called and results in the following error: -
> {noformat}
> javax.naming.InvalidNameException: Not a composite name: jms
> at javax.naming.CompositeName.addAll(CompositeName.java:472)
> at org.jboss.as.naming.NamingContext.check(NamingContext.java:592)
> at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:197)
> at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:184)
> at org.jboss.naming.remote.protocol.v1.Protocol$1.handleServerMessage(Protocol.java:127)
> at org.jboss.naming.remote.protocol.v1.RemoteNamingServerV1$MessageReciever$1.run(RemoteNamingServerV1.java:73)
> 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)
> {noformat}
> A fix has been applied to convert the incoming name to a CompositeName but as we deliberately have a SimpleName to avoid CompositeName I wonder if that is completely correct.
> Some other options I think of: -
> 1. Stick with current fix.
> 2 The client should convert to CompositeName before sending.
> 3. Manually iterate the segments if not a CompositeName
> 4. Check if the NamingStore really needs to use a CompositeName
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 10 months