<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META http-equiv=Content-Type content="text/html; charset=ISO-8859-1"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.E-MailFormatvorlage17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=DE>Hi,<o:p></o:p></span></p><p class=MsoNormal><span lang=DE><o:p> </o:p></span></p><p class=MsoNormal>I am quite new to JBoss 7 and its architecture. I was using JBoss 4.0.5 and 5.1 for the last couple of years.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Now I want to switch to JBoss 7 and tried to deploy an ear file containing a resource adapter. <o:p></o:p></p><p class=MsoNormal>There is no application.xml in the ear file.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Unfortunately the server does not pay any attention to the rar during deployment and I did not know how to define the connection factories other than writing an ironjacamar.xml and placing it in the rar.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>On JBoss 4/5 this worked without any problems by defining the connector-module inside the application.xml and placing a –ra.xml file in the deploy/ folder. But I do not want to write down this unnecessary stuff and try to live without an application.xml at all.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Is there anything I have missed in the documentation?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I debugged the code and was able to get the resource adapter deployed by modifying the EarStructureProcessor on the current master. (Just pulled this morning.)<o:p></o:p></p><p class=MsoNormal>It simply adds “.rar” to the list of well know subdeployment file extensions and creates a subdeployment for a resource adapter in case no ear meta data is present.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I attached the necessary patches. (I am not really firm with git yet, so please excuse any nonsense.)<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>What is your opinion on this?<o:p></o:p></p><p class=MsoNormal>Any comments are welcome!<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Kind regards,<o:p></o:p></p><p class=MsoNormal>Robert<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p></div><blockquote><b>WINCOR NIXDORF International GmbH</b><br />Sitz der Gesellschaft: Paderborn<br />Registergericht Paderborn HRB 3507<br />Geschäftsführer: Eckard Heidloff (Vorsitzender), Stefan Auerbach, Dr. Jürgen Wunram<br />Vorsitzender des Aufsichtsrats: Karl-Heinz Stiller<br />Steuernummer: 339/5884/0020 - Ust-ID Nr.: DE812927716 - WEEE-Reg.-Nr. DE44477193<br /><br />Diese E-Mail enthält vertrauliche Informationen.<br />Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben,<br />informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail.<br />Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser E-Mail ist nicht gestattet.<br /><br />This e-mail may contain confidential information.<br />If you are not the intended recipient (or have received this e-mail in error)<br />please notify the sender immediately and destroy this e-mail.<br />Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.</blockquote>
</body></html>