[jboss-jira] [JBoss JIRA] (AS7-3446) If you remove a thread factory when the factory is assigned to a pool, you get strange errors.
Brian Stansberry (JIRA)
jira-events at lists.jboss.org
Thu Apr 26 15:03:18 EDT 2012
[ https://issues.jboss.org/browse/AS7-3446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12688133#comment-12688133 ]
Brian Stansberry commented on AS7-3446:
---------------------------------------
Thanks. More simply (avoiding the reload) this shows it:
[standalone at localhost:9999 /] /subsystem=threads/thread-factory=myfactory:add
{"outcome" => "success"}
[standalone at localhost:9999 /] /subsystem=threads/queueless-thread-pool=myqueless:add(max-threads=1,thread-factory=myfactory)
{"outcome" => "success"}
[standalone at localhost:9999 /] /subsystem=threads/thread-factory=myfactory:remove
{
"outcome" => "failed",
"failure-description" => "JBAS014762: Removing services has lead to unsatisfied dependencies:
Service jboss.thread.factory.myfactory was depended upon by service jboss.thread.executor.myqueless",
"rolled-back" => true
}
The problem is an NPE during the execution of the rollback.
> If you remove a thread factory when the factory is assigned to a pool, you get strange errors.
> ----------------------------------------------------------------------------------------------
>
> Key: AS7-3446
> URL: https://issues.jboss.org/browse/AS7-3446
> Project: Application Server 7
> Issue Type: Bug
> Components: Console
> Affects Versions: 7.1.0.CR1b
> Reporter: Stan Silvert
> Assignee: Brian Stansberry
> Fix For: 7.1.2.Final-redhat1
>
>
> Delete a thread factory that is still assigned to a thread pool. You get a message that just says, "undefined".
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list