<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="https://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    JCA Resource Adapter Deploy fails on JBOSS AS 7
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="https://community.jboss.org/people/daedlus">daedlus D</a> in <i>IronJacamar</i> - <a href="https://community.jboss.org/message/805736#805736">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p> 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</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>15:12:47,866 ERROR <a class="jive-link-external-small" href="org.jboss.msc.service.fail" rel="nofollow">org.jboss.msc.service.fail</a> (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"</p><p>&#160;&#160;&#160; at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:119) <a class="jive-link-anchor-small" rel="nofollow">#</a></p><p>&#160;&#160;&#160; at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) <a class="jive-link-anchor-small" rel="nofollow">#</a></p><p>&#160;&#160;&#160; at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) <a class="jive-link-anchor-small" rel="nofollow">#</a></p><p>&#160;&#160;&#160; at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) <a class="jive-link-anchor-small" rel="nofollow">#</a></p><p>&#160;&#160;&#160; at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) <a class="jive-link-anchor-small" rel="nofollow">#</a></p><p>&#160;&#160;&#160; at java.lang.Thread.run(Thread.java:662) <a class="jive-link-anchor-small" rel="nofollow">#</a></p><p>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</p><p>&#160;&#160;&#160; at org.jboss.as.connector.deployers.processors.ParsedRaDeploymentProcessor.deploy(ParsedRaDeploymentProcessor.java:229)</p><p>&#160;&#160;&#160; at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) <a class="jive-link-anchor-small" rel="nofollow">#</a></p><p>&#160;&#160;&#160; ... 5 more</p><p>Caused by: org.jboss.jca.common.api.validator.ValidateException: IJ010075: The resource adapter metadata must contain either an outbound or inbound configuration</p><p>&#160;&#160;&#160; at org.jboss.jca.common.metadata.ra.common.ResourceAdapter1516Impl.validate(ResourceAdapter1516Impl.java:333)</p><p>&#160;&#160;&#160; at org.jboss.jca.common.metadata.ra.common.ConnectorAbstractmpl.validate(ConnectorAbstractmpl.java:305)</p><p>&#160;&#160;&#160; at org.jboss.as.connector.deployers.processors.ParsedRaDeploymentProcessor.deploy(ParsedRaDeploymentProcessor.java:136)</p><p>&#160;&#160;&#160; ... 6 more</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>15:12:48,162 INFO&#160; <a class="jive-link-external-small" href="org.jboss.as.server" rel="nofollow">org.jboss.as.server</a> (DeploymentScanner-threads - 2) JBAS015870: Deploy of deployment "testConnector.rar" was rolled back with failure message {"JBAS014671: Failed services" =&gt; {"jboss.deployment.unit.\"testConnector.rar\".INSTALL" =&gt; "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"testConnector.rar\".INSTALL: Failed to process phase INSTALL of deployment \"testConnector.rar\""}}</p><p>15:12:48,225 INFO&#160; <a class="jive-link-external-small" href="org.jboss.as.server.deployment" rel="nofollow">org.jboss.as.server.deployment</a> (MSC service thread 1-4) JBAS015877: Stopped deployment testConnector.rar in 63ms</p><p>15:12:48,228 INFO&#160; <a class="jive-link-external-small" href="org.jboss.as.controller" rel="nofollow">org.jboss.as.controller</a> (DeploymentScanner-threads - 2) JBAS014774: Service status report</p><p>JBAS014777:&#160;&#160; Services which failed to start:&#160;&#160;&#160;&#160;&#160; 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"</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>15:12:48,234 ERROR <a class="jive-link-external-small" href="org.jboss.as.server.deployment.scanner" rel="nofollow">org.jboss.as.server.deployment.scanner</a> (DeploymentScanner-threads - 1) {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" =&gt; {"Operation step-2" =&gt; {"JBAS014671: Failed services" =&gt; {"jboss.deployment.unit.\"testConnector.rar\".INSTALL" =&gt; "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"testConnector.rar\".INSTALL: Failed to process phase INSTALL of deployment \"testConnector.rar\""}}}}</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>My iron-jacamr.xml is as below:</p><pre class="jive-pre"><code class="jive-code jive-xml">
<span class="jive-xml-tag">&lt;?xml version="1.0" encoding="UTF-8"?&gt;</span>
<span class="jive-xml-tag">&lt;ironjacamar&gt;</span>
&#160; <span class="jive-xml-tag">&lt;connection-definitions&gt;</span>
&#160;&#160;&#160; <span class="jive-xml-tag">&lt;connection-definition class-name="org.my.MyManagedConnectionFactory" jndi-name="java:/testConnector"&gt;</span><span class="jive-xml-tag">&lt;/connection-definition&gt;</span>
&#160; <span class="jive-xml-tag">&lt;/connection-definitions&gt;</span>
<span class="jive-xml-tag">&lt;/ironjacamar&gt;</span>
</code></pre><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>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.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><a class="jive-link-external-small" href="http://docs.jboss.org/ironjacamar/userguide/1.0/en-US/html_single/#sample_helloworld" target="_blank">http://docs.jboss.org/ironjacamar/userguide/1.0/en-US/html_single/#sample_helloworld</a></p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="https://community.jboss.org/message/805736#805736">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in IronJacamar at <a href="https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2098">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>