<!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;">
    Re: Third party libraries are not loaded
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="https://community.jboss.org/people/dimonv">Dmitri Voronov</a> in <i>IronJacamar</i> - <a href="https://community.jboss.org/message/715863#715863">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>Please believe what I did is not only putting RAR to deployments directory and said "it doesn't work"</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Let me see what I've already done:</p><blockquote class="jive-quote"><ul><li style="text-align: start;">Try the latest nightly snapshot</li></ul></blockquote><p>I didn't</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><blockquote class="jive-quote"><ul><li style="text-align: start;">Verify that your deployment is correctly setup</li></ul></blockquote><p><span>I did: by means of <span>ironjacamar</span>-1.1.0.Alpha5\doc\as&gt;<span>rar</span>-info.bat and <span>validator</span>.bat:</span></p><pre><span><span>C</span>:\OS\<span>ironjacamar</span>-1.1.0.Alpha5\doc\<span>validator</span>&gt;<span>validator</span>.bat <span>jp</span>-infra-<span>corba</span>-<span>resourceadapter</span>.rar

C:\OS\<span>ironjacamar</span>-1.1.0.Alpha5\doc\<span>validator</span>&gt;java -<span>classpath</span> ..\..\lib\<span>ironjacamar</span>-<span>validator</span>-<span>cli</span>.jar;..\..\lib\<span>ironjacamar</span>-common-<span>spi</span>.jar;..\..\lib\jb
oss-logging.jar;..\..\lib\jboss-common-core.jar;..\..\lib\<span>ironjacamar</span>-spec-<span>api</span>.jar;..\..\lib\<span>papaki</span>-core.jar;..\..\lib\<span>javassist</span>.jar;..\..\lib\ironjac
amar-common-<span>impl</span>.jar;..\..\lib\<span>ironjacamar</span>-common-<span>impl</span>-<span>papaki</span>.jar;..\..\lib\<span>ironjacamar</span>-common-<span>api</span>.jar;..\..\lib\<span>ironjacamar</span>-<span>validator</span>.jar org.jboss.j
ca.<span>validator</span>.<span>cli</span>.Main <span>jp</span>-infra-<span>corba</span>-<span>resourceadapter</span>.rar
Validation sucessful
</span></pre><p>looks good.</p><blockquote class="jive-quote"><ul><li style="text-align: start;"><span>That your archive <span>comforms</span> to the <span>JCA</span> standard</span></li></ul></blockquote><p><span><span>It is, at least to the documentation </span><a class="jive-link-external-small" href="http://docs.jboss.org/" target="_blank">http://docs.jboss.org/</a><span>ironjacamar</span>/<span>userguide</span>/1.0/en-US/html_single/#<span>packagingrequirements</span>. Moreover it was <span>runing</span> well on JBoss 4.2.3</span></p><blockquote class="jive-quote"><ul><li style="text-align: start;"><span>Look for differences against successful deployments; why not start with deploying <span>ActiveMQ</span> ?</span></li></ul></blockquote><p>I'm appreciate every deployable RA sample. Unfortunately I've never heard about that. Please write where can I find it?</p><blockquote class="jive-quote"><ul><li style="text-align: start;">Deploy on IronJacamar/Standalone</li></ul></blockquote><p>Tried:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><pre>15:39:52,069 WARNUNG [Fungal] Deployment file:/C:/OS/ironjacamar-1.1.0.Alpha5/deploy/jp-infra-corba-resourceadapter.rar failed: com.github.fungal.spi.
deployers.DeployException: Deployment file:/C:/OS/ironjacamar-1.1.0.Alpha5/deploy/jp-infra-corba-resourceadapter.rar failed
&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.jboss.jca.deployers.fungal.RAActivator.deploy(RAActivator.java:560)
&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.jboss.jca.deployers.fungal.RAActivator.postDeploy(RAActivator.java:180)
&#160;&#160;&#160;&#160;&#160;&#160;&#160; at com.github.fungal.impl.KernelImpl.postDeploy(KernelImpl.java:1554)
&#160;&#160;&#160;&#160;&#160;&#160;&#160; at com.github.fungal.impl.KernelImpl.startup(KernelImpl.java:594)
&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.jboss.jca.sjc.Main.boot(Main.java:112)
&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.jboss.jca.sjc.Main.main(Main.java:289)
Caused by: java.io.IOException: Could not delete C:\OS\ironjacamar-1.1.0.Alpha5\tmp\jp-infra-corba-resourceadapter.rar\art-1.3.jar
&#160;&#160;&#160;&#160;&#160;&#160;&#160; at com.github.fungal.api.util.FileUtil.delete(FileUtil.java:378)
&#160;&#160;&#160;&#160;&#160;&#160;&#160; at com.github.fungal.api.util.FileUtil.extract(FileUtil.java:179)
&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.jboss.jca.deployers.fungal.RAActivator.deploy(RAActivator.java:495)
&#160;&#160;&#160;&#160;&#160;&#160;&#160; ... 5 more

15:39:52,089 INFO&#160; [Main] Server started in 10406ms
</pre><p>?</p><blockquote class="jive-quote"><ul><li style="text-align: start;">Read the documentation about resource adapters in AS7</li><li style="text-align: start;">Read the documentation about classloading in AS7</li></ul></blockquote><p>If you means these then yes:</p><ul><li style="text-align: start;"><a class="jive-link-external-small" href="https://docs.jboss.org/author/display/AS71/Resource+adapters" target="_blank">https://docs.jboss.org/author/display/AS71/Resource+adapters</a></li><li style="text-align: start;"><a class="jive-link-external-small" href="https://docs.jboss.org/author/display/AS71/Class+Loading+in+AS7" target="_blank">https://docs.jboss.org/author/display/AS71/Class+Loading+in+AS7</a></li></ul><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><blockquote class="jive-quote"><ul><li style="text-align: start;">Check *ALL* classloading done within the resource adapter</li></ul></blockquote><p style="text-align: start;">I would realy like to know how. I spent hours on debugging, but didn't notice that modules CL "org.jboss.as.connector" has any hints to load classes from RAR except those of (managed) connection factory.</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/715863#715863">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>