[jboss-jira] [JBoss JIRA] (AS7-3007) Incorrect parsing of complex resource-adapters subsystem configuration

Vladimir Rastseluev (Commented) (JIRA) jira-events at lists.jboss.org
Tue Jan 3 14:18:09 EST 2012


    [ https://issues.jboss.org/browse/AS7-3007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12653615#comment-12653615 ] 

Vladimir Rastseluev commented on AS7-3007:
------------------------------------------

There are errrors,that I found after resolving:
1) use-try-lock stays in model;
2) when I try to start server with standalone-ra.mxl configuration file (attached), I receive an error:
20:10:37,932 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 48) Operation ("add") failed - address: ([
    ("subsystem" => "resource-adapters"),
    ("resource-adapter" => "some.rar"),
    ("connection-definitions" => "Pool1")
])
but the model is loaded correctly, I can access resources both by admin console and by management command.

                
> Incorrect parsing of complex resource-adapters subsystem configuration
> ----------------------------------------------------------------------
>
>                 Key: AS7-3007
>                 URL: https://issues.jboss.org/browse/AS7-3007
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: JCA
>         Environment: 682434f9ca6c9dfbc1de5fb8f8f3b8e594ac975d
>            Reporter: Vladimir Rastseluev
>            Assignee: Stefano Maestri
>             Fix For: 7.1.0.CR1
>
>         Attachments: standalone-ra.xml
>
>
> There are many errors in parsing complex XML configuration of resource-adapters subsystem:
> 1)elements <bean-validation-groups> and <recovery> not proceeded at all (with all the sub-elements) - IllegalArgumentException is thrown
> 2)elements <prefill>,<is-same-rm-override>,<no-tx-separate-pools>,<interleaving>,<pad-xid>,<wrap-xa-resource>,<bootstrap-context>,<application> don't pass to the model - error in description
> 3)after parsing there is an <use-try-lock> element in model, which is not in XSD schema.
> Properties are tested here:
> https://github.com/vratsel/jboss-as/commit/17f8344a6966b9a49dd327e7118f23e6c795df33
> To reproduce this issue, try to uncomment any line in ra.xml file or in ComplexResourceAdaptersSubsystemTestCase.java

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