[jboss-user] [IronJacamar] - JCA Resource Adapter Deploy fails on JBOSS AS 7

daedlus D do-not-reply at jboss.com
Sun Mar 31 06:03:06 EDT 2013


daedlus D [https://community.jboss.org/people/daedlus] created the discussion

"JCA Resource Adapter Deploy fails on JBOSS AS 7"

To view the discussion, visit: https://community.jboss.org/message/805736#805736

--------------------------------------------------------------
have a custom resource adapter to connect to a EIS. My requirement is only outbound connectivity to EIS. I have packaged the rar with iron-jacamr.xml in META-INF but when i deploy i get below error

15:12:47,866 ERROR  org.jboss.msc.service.fail org.jboss.msc.service.fail (MSC service thread 1-2) MSC00001: Failed to start service jboss.deployment.unit."testConnector.rar".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."testConnector.rar".INSTALL: Failed to process phase INSTALL of deployment "testConnector.rar"
    at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:119) #
    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) #
    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) #
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) #
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) #
    at java.lang.Thread.run(Thread.java:662) #
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: org.jboss.jca.common.api.validator.ValidateException: IJ010075: The resource adapter metadata must contain either an outbound or inbound configuration
    at org.jboss.as.connector.deployers.processors.ParsedRaDeploymentProcessor.deploy(ParsedRaDeploymentProcessor.java:229)
    at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) #
    ... 5 more
Caused by: org.jboss.jca.common.api.validator.ValidateException: IJ010075: The resource adapter metadata must contain either an outbound or inbound configuration
    at org.jboss.jca.common.metadata.ra.common.ResourceAdapter1516Impl.validate(ResourceAdapter1516Impl.java:333)
    at org.jboss.jca.common.metadata.ra.common.ConnectorAbstractmpl.validate(ConnectorAbstractmpl.java:305)
    at org.jboss.as.connector.deployers.processors.ParsedRaDeploymentProcessor.deploy(ParsedRaDeploymentProcessor.java:136)
    ... 6 more

15:12:48,162 INFO   org.jboss.as.server org.jboss.as.server (DeploymentScanner-threads - 2) JBAS015870: Deploy of deployment "testConnector.rar" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"testConnector.rar\".INSTALL" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"testConnector.rar\".INSTALL: Failed to process phase INSTALL of deployment \"testConnector.rar\""}}
15:12:48,225 INFO   org.jboss.as.server.deployment org.jboss.as.server.deployment (MSC service thread 1-4) JBAS015877: Stopped deployment testConnector.rar in 63ms
15:12:48,228 INFO   org.jboss.as.controller org.jboss.as.controller (DeploymentScanner-threads - 2) JBAS014774: Service status report
JBAS014777:   Services which failed to start:      service jboss.deployment.unit."testConnector.rar".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."testConnector.rar".INSTALL: Failed to process phase INSTALL of deployment "testConnector.rar"

15:12:48,234 ERROR  org.jboss.as.server.deployment.scanner org.jboss.as.server.deployment.scanner (DeploymentScanner-threads - 1) {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"testConnector.rar\".INSTALL" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"testConnector.rar\".INSTALL: Failed to process phase INSTALL of deployment \"testConnector.rar\""}}}}

My iron-jacamr.xml is as below:

<?xml version="1.0" encoding="UTF-8"?>
<ironjacamar>
  <connection-definitions>
    <connection-definition class-name="org.my.MyManagedConnectionFactory" jndi-name="java:/testConnector"></connection-definition>
  </connection-definitions>
</ironjacamar>


I am suspecting some missing configuration but unable to figure out. I have checked the below example and my ra impl is as per the example.

 http://docs.jboss.org/ironjacamar/userguide/1.0/en-US/html_single/#sample_helloworld http://docs.jboss.org/ironjacamar/userguide/1.0/en-US/html_single/#sample_helloworld
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/805736#805736]

Start a new discussion in IronJacamar at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2098]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130331/cc4d8f95/attachment-0001.html 


More information about the jboss-user mailing list