[JBoss JIRA] (WFCORE-543) Revisit how the model validation happens
by Kabir Khan (JIRA)
[ https://issues.jboss.org/browse/WFCORE-543?page=com.atlassian.jira.plugin... ]
Kabir Khan resolved WFCORE-543.
-------------------------------
Resolution: Done
> Revisit how the model validation happens
> ----------------------------------------
>
> Key: WFCORE-543
> URL: https://issues.jboss.org/browse/WFCORE-543
> Project: WildFly Core
> Issue Type: Feature Request
> Components: Domain Management
> Reporter: Kabir Khan
> Assignee: Kabir Khan
> Fix For: 1.0.0.Beta1
>
>
> Currently the ValidateModelStepHandler is triggered by AbstractAddStepHandler. Not all add handlers extend AbstractAddStepHandler. Also, it does not seem to be triggered for writes.
> Also if used in a composite along the lines of
> {code}
> [standalone@localhost:9990 /] batch
> [standalone@localhost:9990 / #] /system-property=xxx:add(value=test)
> [standalone@localhost:9990 / #] /system-property=xxx:remove
> [standalone@localhost:9990 / #] run-batch
> {code}
> the handler will get triggered at the end for the add. It will fail for the add since there is no such resource. While that is easy to work around by checking for a NoSuchResourceException around the OC.readResource() it seems that what triggers the use of the ValidateModelStepHandler should be more an intrinsic part of the controller which knows what has and has not been added/removed/written to.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 1 month
[JBoss JIRA] (WFLY-4338) JConsole script builds wrong path
by Kabir Khan (JIRA)
[ https://issues.jboss.org/browse/WFLY-4338?page=com.atlassian.jira.plugin.... ]
Kabir Khan commented on WFLY-4338:
----------------------------------
[~avlemos] Can you open a pull request at https://github.com/wildfly/wildfly? I believe the files are in https://github.com/wildfly/wildfly/tree/master/feature-pack/src/main/reso...
> JConsole script builds wrong path
> ---------------------------------
>
> Key: WFLY-4338
> URL: https://issues.jboss.org/browse/WFLY-4338
> Project: WildFly
> Issue Type: Bug
> Components: JMX
> Affects Versions: 8.2.0.Final
> Environment: Linux (Ubuntu 14.10) and Mac OS X Yosemite (10.10.2)
> Reporter: André Lemos
> Assignee: Kabir Khan
> Priority: Trivial
> Labels: bash, jconsole, wildfly
> Attachments: jconsole.patch
>
>
> The path built by the jconsole.sh script is incorrect, and as a result, when calling {{service:jmx:http-remoting-jmx://{insert server ip here}:9990}} is probably never recognized and the connection is never done.
> The path, under mac is:
> {{/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home/bin/jconsole -J-Djava.class.path=/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home/lib/jconsole.jar:/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home/lib/tools.jar:"/Users/user/Documents/playground/wild/wildfly-8.2.0.Final"/bin/client/jboss-cli-client.jar}}
> So, there are " on the path for the jboss-cli-client.jar. which breaks things. This problem happens with both Linux and Mac.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 1 month
[JBoss JIRA] (JGRP-1922) FD_SOCK/FD: members are not unsuspected
by Bela Ban (JIRA)
Bela Ban created JGRP-1922:
------------------------------
Summary: FD_SOCK/FD: members are not unsuspected
Key: JGRP-1922
URL: https://issues.jboss.org/browse/JGRP-1922
Project: JGroups
Issue Type: Bug
Reporter: Bela Ban
Assignee: Bela Ban
Fix For: 3.6.4
When we have members \{A,B,C,D,E\} and E suspects B, then it broadcasts a SUSPECT(B) event and adds B to its suspects list. E then continues braodascting the SUSPECT(B) event until a new view has been installed.
Everybody adds B to its suspects list, except B which sends an I_AM_ALIVE message.
When VERIFY_SUSPECT on A detects that B is *not* dead, it sends an UNSUSPECT(B) event up and down the stack, removing B from its suspects list.
However, this event is *not broadcast*; E will continue sending its SUSPECT(B) message.
SOLUTION: broadcast an UNSUSPECT event for som protocols. This is needed for FD_SOCK and FD, and not needed by FD_ALL and FD_ALL2.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 1 month
[JBoss JIRA] (WFCORE-617) Invalid 'started in' values for embedded CLI server
by Petr Kremensky (JIRA)
Petr Kremensky created WFCORE-617:
-------------------------------------
Summary: Invalid 'started in' values for embedded CLI server
Key: WFCORE-617
URL: https://issues.jboss.org/browse/WFCORE-617
Project: WildFly Core
Issue Type: Bug
Reporter: Petr Kremensky
Priority: Minor
Embedded CLI server use {{StartTimeHolder.START_TIME;}} as startTime property - used for server 'started in' time calculation.
{noformat}
$ ./jboss-cli.sh
# wait for 5-10s
[disconnected /] embed-server --std-out=echo
... started in 12241ms ...
[standalone@embedded /] stop-embedded-server
# wait for 5-10s
[disconnected /] embed-server --std-out=echo
... started in 26388ms ...
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 1 month
[JBoss JIRA] (WFLY-4470) Duplicate message deliveries when start an MDB twice via CLI
by Chao Wang (JIRA)
Chao Wang created WFLY-4470:
-------------------------------
Summary: Duplicate message deliveries when start an MDB twice via CLI
Key: WFLY-4470
URL: https://issues.jboss.org/browse/WFLY-4470
Project: WildFly
Issue Type: Bug
Components: EJB, JMS
Affects Versions: 9.0.0.Beta2
Reporter: Chao Wang
Assignee: Chao Wang
Description of problem:
A singleton MDB delivers duplicate messages when start-delivery() is invoked twice while the message being delivered
Steps to Reproduce:
1. Create a producer, which keeps sending messages for every second
2. Deploy a singleton consumer MDB
3. Invoke start-delivery() method on the MDB while the messages being delivered
Actual results:
MDB delivers duplicate messages
Expected results:
MDB needs to ignore start-delivery() call if the MDB has already been started.
Additional info:
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 1 month
[JBoss JIRA] (WFLY-3386) Nullpointer exception on AbstractSessionBeanStore.getLockStore from within Activiti CDI
by Martin Kouba (JIRA)
[ https://issues.jboss.org/browse/WFLY-3386?page=com.atlassian.jira.plugin.... ]
Martin Kouba commented on WFLY-3386:
------------------------------------
bq. ...which seems to be ignored somewhere in the event call chain, and hence getSession(true) effectively returns null.
[~marembo2008] Do you have a reproducer for this? I've briefly looked at undertow sources and I don't think that unchecked exceptions are swallowed.
> Nullpointer exception on AbstractSessionBeanStore.getLockStore from within Activiti CDI
> ---------------------------------------------------------------------------------------
>
> Key: WFLY-3386
> URL: https://issues.jboss.org/browse/WFLY-3386
> Project: WildFly
> Issue Type: Bug
> Components: CDI / Weld
> Affects Versions: 8.0.0.Final
> Environment: CentOS, Mac (Mountain Lion).
> Reporter: Andries Ehlers
> Assignee: Martin Kouba
>
> Background:
> The actual exception seems to be very close the one in issue: WFLY-3001 but we are not using JSF at all, but Activiti CDI.
> Not sure if this is a Wildfly or Activiti issue - it could very well be that there is a bug in Activiti with how it manages the CDI scopes. Unfortunately we're at a loss and seeing that the nullpointer is thrown from within a weld AbstractSessionBeanStore, I decided to post it here. Please advise.
> Error:
> We use Activiti CDI within Wildfly 8.0.0.Final. We randomly encounter an issue (sometimes immediately after a redeploy, other times after a few hours of inactivity on the server) the following issue. When Activiti attempts to retrieve the ContextBeanInstance from its ConversationScopedAssociationProxy, a NullPointer exception is thrown while attempting to retrieve the lock store within Weld (see below).
> -----------------------------
> 2014-05-21 10:05:34,430 INFO [stdout] (default task-12) java.lang.NullPointerException: null
> 2014-05-21 10:05:34,430 INFO [stdout] (default task-12) at org.jboss.weld.context.beanstore.http.AbstractSessionBeanStore.getLockStore(AbstractSessionBeanStore.java:113) ~[weld-core-impl-2.1.2.Final.jar!/:2014-01-09 09:23]
> 2014-05-21 10:05:34,430 INFO [stdout] (default task-12) at org.jboss.weld.context.beanstore.AttributeBeanStore.lock(AttributeBeanStore.java:210) ~[weld-core-impl-2.1.2.Final.jar!/:2014-01-09 09:23]
> 2014-05-21 10:05:34,430 INFO [stdout] (default task-12) at org.jboss.weld.context.AbstractContext.get(AbstractContext.java:90) ~[weld-core-impl-2.1.2.Final.jar!/:2014-01-09 09:23]
> 2014-05-21 10:05:34,431 INFO [stdout] (default task-12) at org.jboss.weld.context.PassivatingContextWrapper$AbstractPassivatingContextWrapper.get(PassivatingContextWrapper.java:76) ~[weld-core-impl-2.1.2.Final.jar!/:2014-01-09 09:23]
> 2014-05-21 10:05:34,431 INFO [stdout] (default task-12) at org.jboss.weld.bean.proxy.ContextBeanInstance.getInstance(ContextBeanInstance.java:98) ~[weld-core-impl-2.1.2.Final.jar!/:2014-01-09 09:23]
> 2014-05-21 10:05:34,431 INFO [stdout] (default task-12) at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:78) ~[weld-core-impl-2.1.2.Final.jar!/:2014-01-09 09:23]
> 2014-05-21 10:05:34,431 INFO [stdout] (default task-12) at org.activiti.cdi.impl.context.DefaultContextAssociationManager$ConversationScopedAssociation$Proxy$_$$_WeldClientProxy.getTask(Unknown Source) ~[activiti-cdi-5.15.jar:na]
> 2014-05-21 10:05:34,431 INFO [stdout] (default task-12) at org.activiti.cdi.impl.context.DefaultContextAssociationManager.getTask(DefaultContextAssociationManager.java:237) ~[activiti-cdi-5.15.jar:na]
> 2014-05-21 10:05:34,432 INFO [stdout] (default task-12) at org.activiti.cdi.BusinessProcess.startTask(BusinessProcess.java:332) ~[activiti-cdi-5.15.jar:na]
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 1 month