[JBoss JIRA] (WFLY-6121) Distributed SFSB cache entries may rehash to different nodes following topology change
by Paul Ferraro (JIRA)
Paul Ferraro created WFLY-6121:
----------------------------------
Summary: Distributed SFSB cache entries may rehash to different nodes following topology change
Key: WFLY-6121
URL: https://issues.jboss.org/browse/WFLY-6121
Project: WildFly
Issue Type: Bug
Components: Clustering
Affects Versions: 10.0.0.CR5
Reporter: Paul Ferraro
Assignee: Paul Ferraro
A distributed SFSB is stored in 2 cache entries, one mapping the bean ID to a serialization group ID, and another mapping the group ID to a map of bean instances.
We ensure that both cache entries will hash to the local node, but following a topology change, these entries could get re-mapped to different nodes.
If we made the group ID = the bean Id of the first bean in the group, this solves the problem for 90% of use cases.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 2 months
[JBoss JIRA] (WFLY-5904) A deadlock can result if an EJB is being passivated at the same time an invocation made
by Paul Ferraro (JIRA)
[ https://issues.jboss.org/browse/WFLY-5904?page=com.atlassian.jira.plugin.... ]
Paul Ferraro updated WFLY-5904:
-------------------------------
Affects Version/s: 10.0.0.Final
> A deadlock can result if an EJB is being passivated at the same time an invocation made
> ---------------------------------------------------------------------------------------
>
> Key: WFLY-5904
> URL: https://issues.jboss.org/browse/WFLY-5904
> Project: WildFly
> Issue Type: Bug
> Components: Clustering, EJB
> Affects Versions: 10.0.0.Final
> Reporter: Stuart Douglas
> Assignee: Paul Ferraro
> Attachments: passivationTestFailureDump.txt
>
>
> As seen in EJBClientDescriptorTestCase.testClientInvocationTimeout
> This can be reproduced locally by adding a loop around the final invocations in the test:
> {code}
> for (int i = 0; i < 1000; ++i) {
> Assert.assertEquals("bar", remote1.getManagedBeanMessage());
> Assert.assertEquals("bar", remote2.getManagedBeanMessage());
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 2 months
[JBoss JIRA] (WFLY-5366) Startup success detection mechanism fails if JBOSS_HOME and jboss.server.base.dir are set differently.
by Eduardo Silva (JIRA)
[ https://issues.jboss.org/browse/WFLY-5366?page=com.atlassian.jira.plugin.... ]
Eduardo Silva commented on WFLY-5366:
-------------------------------------
The JBOSS_MARKERFILE variable can be defined, on your shell script. for instance:
JBOSS_MARKERFILE=$JBOSS_HOME/standalone/tmp/startup-marker
Take a look at:
wildfly-VERSION/docs/contrib/scripts/init.d/wildfly-init-redhat.sh
> Startup success detection mechanism fails if JBOSS_HOME and jboss.server.base.dir are set differently.
> ------------------------------------------------------------------------------------------------------
>
> Key: WFLY-5366
> URL: https://issues.jboss.org/browse/WFLY-5366
> Project: WildFly
> Issue Type: Bug
> Components: Scripts
> Affects Versions: 10.0.0.CR1
> Environment: Linux/Debian
> Reporter: Thorsten Moeller
> Fix For: Awaiting Volunteers
>
>
> If the property `jboss.server.base.dir` and the environment variable `JBOSS_HOME` point to different directories (which we do, for instance, to start multiple JBoss/Wildfly instances, each with its own standalone directory) then the startup success detection mechanism implemented by the script <WILDFLY_HOME>/bin/init.d/wildfly-init-debian.sh wrongly reports startup as failed even if it actually succeeded.
> Tracing it down, I found that since Wildly 10 the startup script searches for the file `<JBOSS_HOME>/standalone/tmp/startup-marker`. However, that file is actually written to `jboss.server.base.dir/tmp/startup-marker`; hence, it is not found if the directories are not the same.
> I don't see a way how to fix this. As far as I can seen, it's not possible to access the jboss.server.base.dir property within the startup script. But the use case of having separate directories should be supported and it should work.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 2 months
[JBoss JIRA] (WFLY-5149) Accept properties file in scripts for starting as a service
by Eduardo Silva (JIRA)
[ https://issues.jboss.org/browse/WFLY-5149?page=com.atlassian.jira.plugin.... ]
Eduardo Silva commented on WFLY-5149:
-------------------------------------
Seems that this feature is already done since Wildfly 8:
https://docs.jboss.org/author/display/WFLY8/Command+line+parameters
...
Instead of passing the parameters directly, you can put them into a properties file, and pass the properties file to the script, as in the two examples below.
$JBOSS_HOME/bin/domain.sh --properties=/some/location/jboss.properties
$JBOSS_HOME/bin/domain.sh -P=/some/location/jboss.properties
...
> Accept properties file in scripts for starting as a service
> -----------------------------------------------------------
>
> Key: WFLY-5149
> URL: https://issues.jboss.org/browse/WFLY-5149
> Project: WildFly
> Issue Type: Feature Request
> Components: Scripts
> Affects Versions: 10.0.0.Beta1
> Environment: Microsoft Windows
> Reporter: Roman Syroeshko
> Fix For: Awaiting Volunteers
>
>
> Currently $JBOSS_HOME\bin\service\service.bat does not allow passing properties file. We run WildFly in domain mode using the followed command.
> {code}
> domain.bat --properties=jboss.properties
> {code}
> Now, it's impossible to install WildFly as a service like that without hacking out-of-the-box files.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 2 months