[jboss-jira] [JBoss JIRA] Commented: (AS7-1346) Adding RA fails

Heiko Braun (JIRA) jira-events at lists.jboss.org
Wed Jul 20 05:19:23 EDT 2011


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

Heiko Braun commented on AS7-1346:
----------------------------------


{noformat}

After tis error the adapter is registred as "xmpp":


[standalone at localhost:9999 /] /subsystem=resource-adapters:read-children-names(child-type=resource-adapter)
{
    "outcome" => "success",
    "result" => ["xmpp"]
}


However when I restart the server it's listed as "xmpp-ra.rar",
which is the archive name. This probably explains the error above.


[standalone at localhost:9999 /] /subsystem=resource-adapters:read-children-names(child-type=resource-adapter)
{
    "outcome" => "success",
    "result" => ["xmpp-ra.rar"]
}
{noformat}





> Adding RA fails
> ---------------
>
>                 Key: AS7-1346
>                 URL: https://issues.jboss.org/browse/AS7-1346
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: JCA
>            Reporter: Heiko Braun
>            Assignee: Jesper Pedersen
>             Fix For: 7.1.0.Alpha1
>
>
> Adding a new RA fails:
> {noformat}
> Request:
> [INFO] {
> [INFO]     "operation" => "add",
> [INFO]     "address" => [
> [INFO]         ("subsystem" => "resource-adapters"),
> [INFO]         ("resource-adapter" => "xmpp")
> [INFO]     ],
> [INFO]     "archive" => "xmpp-ra.rar",
> [INFO]     "transaction-support" => "NoTransaction",
> [INFO]     "connection-definitions" => [{
> [INFO]         "class-name" => "com.ramphastos.xmpp.XmppConnectionFactory",
> [INFO]         "jndi-name" => "eis/xmpp2",
> [INFO]         "pool-name" => "xmpp_Pool"
> [INFO]     }]
> [INFO] }
> Server Log:
> 11:11:43,826 ERROR [org.jboss.as.controller] (pool-2-thread-2) Operation ("remove") failed - address: ([
>     ("subsystem" => "resource-adapters"),
>     ("resource-adapter" => "xmpp")
> ]): java.util.NoSuchElementException: "resource-adapter" => "xmpp"
> 	at org.jboss.as.controller.registry.BasicResource.requireChild(BasicResource.java:95)
> 	at org.jboss.as.controller.OperationContextImpl.readModel(OperationContextImpl.java:697)
> 	at org.jboss.as.connector.subsystems.resourceadapters.RaRemove.execute(RaRemove.java:51)
> 	at org.jboss.as.controller.OperationContextImpl.executeStep(OperationContextImpl.java:351)
> 	at org.jboss.as.controller.OperationContextImpl.doCompleteStep(OperationContextImpl.java:298)
> 	at org.jboss.as.controller.OperationContextImpl.completeStep(OperationContextImpl.java:223)
> {noformat}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list