[JBoss JIRA] (WFLY-276) TS: How to use -Djpda with clustered tests
by Jason Greene (JIRA)
[ https://issues.jboss.org/browse/WFLY-276?page=com.atlassian.jira.plugin.s... ]
Jason Greene updated WFLY-276:
------------------------------
Fix Version/s: 8.0.0.CR1
(was: 8.0.0.Beta1)
> TS: How to use -Djpda with clustered tests
> ------------------------------------------
>
> Key: WFLY-276
> URL: https://issues.jboss.org/browse/WFLY-276
> Project: WildFly
> Issue Type: Feature Request
> Components: Clustering, Documentation, Test Suite
> Reporter: Radoslav Husar
> Assignee: Ondrej Zizka
> Priority: Minor
> Fix For: 8.0.0.CR1
>
>
> The doc now says whats pasted below, but I am not sure if both servers are listening on 8787 because (that would fail the startup), if I have to connect to both or where do I configure that, etc.
> {code}
> Running JBoss AS instances with debugger
> Adding -Djpda (May be changed to -Ddebug in the future) will make JBoss AS run with JPDA JVM arguments for debugging.
> It will suspend and wait for the debugger to connect at port 8787.
> JBoss AS is started by Arquillian, when the first test which requires given instance is run. There's (currently) no challenge text in the console, it will look like the first test is stuck. This is being solved in http://jira.codehaus.org/browse/SUREFIRE-781.
> Depending on which test group(s) you run, multiple instances may be started. In that case, you need to attach the debugger multiple times.
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 3 months
[JBoss JIRA] (WFLY-285) Add clustered database based timers
by Jason Greene (JIRA)
[ https://issues.jboss.org/browse/WFLY-285?page=com.atlassian.jira.plugin.s... ]
Jason Greene updated WFLY-285:
------------------------------
Fix Version/s: 8.0.0.CR1
(was: 8.0.0.Beta1)
> Add clustered database based timers
> -----------------------------------
>
> Key: WFLY-285
> URL: https://issues.jboss.org/browse/WFLY-285
> Project: WildFly
> Issue Type: Feature Request
> Components: EJB
> Reporter: Stuart Douglas
> Assignee: Stuart Douglas
> Fix For: 8.0.0.CR1
>
>
> Clustering should be supported for database timers.
> The general ideal will be that a single database is shared by all nodes in the cluster. When a timer is created it will be inserted into the database. Periodically at a configured interval nodes will refresh their list of active timers from the database.
> When a timer expires a node will attempt to grab ownership of the timer in the database by updating the row. Due to the use of either optimisitic locking or traditional DB locks only 1 node will be successful, and that node will run the task.
> We will also support write only nodes, nodes that can create timer tasks, but do not attempt to run them, to allow timer tasks to be run by a subset of the nodes.
> So that you don't have hundreds of existing partition name feature will allow clustered timers to be grouped into smaller partitions, so you can limit the number of nodes that are contending for a timer.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 3 months