[jboss-jira] [JBoss JIRA] (AS7-3068) Incorrect behavior of resource-adapters subsystem configuration

Vladimir Rastseluev (Created) (JIRA) jira-events at lists.jboss.org
Fri Dec 16 07:23:10 EST 2011


Incorrect behavior of resource-adapters subsystem configuration 
----------------------------------------------------------------

                 Key: AS7-3068
                 URL: https://issues.jboss.org/browse/AS7-3068
             Project: Application Server 7
          Issue Type: Bug
            Reporter: Vladimir Rastseluev
            Assignee: Stefano Maestri
             Fix For: 7.1.0.Final


There are problems:
1) to remove resource-adapter resource from configuration you need to execute "remove" operation twice:
[standalone at localhost:9999 /] /subsystem=resource-adapters/resource-adapter=some:add
{"outcome" => "success"}
[standalone at localhost:9999 /] /subsystem=resource-adapters/resource-adapter=some:read-resource(recursive=true)
{
    "outcome" => "success",
    "result" => {
        "admin-objects" => undefined,
        "config-properties" => undefined,
        "connection-definitions" => undefined
    }
}
[standalone at localhost:9999 /] /subsystem=resource-adapters/resource-adapter=some:remove                       
{
    "outcome" => "failed",
    "failure-description" => "JBAS014762: Removing services has lead to unsatisfied dependencies:
Service jboss.resourceadapters was depended upon by service jboss.resourceadapters.ra.some",
    "rolled-back" => true
}
[standalone at localhost:9999 /] /subsystem=resource-adapters/resource-adapter=some:remove
{"outcome" => "success"}
[standalone at localhost:9999 /] 

2)it isn't able to parse <admin-object> in resource-adapter configuration, if there isn't <config-property> element, so this configuration doesn't work
<admin-objects>
                        <admin-object
                                class-name="Class3"
                                jndi-name="java:jboss/Name3"
				pool-name="Pool2"
				use-java-context="false"
				enabled="true">
                           
                        </admin-object>
                    </admin-objects>

--
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