<!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;">
Esb service and EJB3 Action or JBESB-2134 continuation...
</h3>
<span style="margin-bottom: 10px;">
created by <a href="https://community.jboss.org/people/maksrma">Maksym RMA</a> in <i>JBoss ESB Development</i> - <a href="https://community.jboss.org/message/750444#750444">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">
<div class="jive-rendered-content"><p>Hi all</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>I have big project on ESB, that started sinse ESB 4.2</p><p>Now I migrate project to use ESB 4.10</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>So, my environment is:</p><p>JBoss 6.1 and ESB 4.10</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>All works file, but not EJBProcessor EJB3 actions.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>My service file structure:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>myservice.esb</p><p>-- META-INF</p><p>     -- jboss-esb.xml</p><p>     -- deployment.xml -- I am trying with dependency <depends>jboss.j2ee:module=upbsservice.jar,name=UpbsServiceBean,service=EJB3</depends> and without it (result same...)</p><p>-- ejb3-files.jar --- contains EJB3 Stateless Bean for action</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>I found JIRA </p><ul><li><a class="jive-link-external-small" href="https://issues.jboss.org/browse/JBESB-2134">JBESB-2134</a></li></ul><p>With last comment in 2008: <span style="background-color: #f0f0f0; text-indent: 0px; color: #000000;">Mea culpa. I was not aware of the possibility of such a dependency specification.  And task was closed. (I think it's wonderfull reaction on highest bug, as for me <span> :^0 </span> )</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><span style="background-color: #f0f0f0; text-indent: 0px; color: #000000;">My  jboss-esb.xml has action:</span></p><p><span style="background-color: #f0f0f0; text-indent: 0px; color: #000000;">....</span></p><p><span style="color: #3f7f7f; font-size: 10pt;"><p><action name<span style="font-size: 10pt;">="</span><span style="color: #7f007f; font-size: 10pt;">ejb-action</span><span style="font-size: 10pt;">" c</span><span style="color: #7f007f; font-size: 10pt;">lass</span><span style="font-size: 10pt;">=</span><em style="color: #2a00ff; font-size: 10pt;"><em style="color: #2a00ff; font-size: 10pt;">"org.jboss.soa.esb.actions.EJBProcessor"></em></em></p><p><em><span style="color: #2a00ff; font-size: 10pt;"></span><span style="color: #2a00ff;">.... ejb3 = true, method, jndi-name.... same as in documentation.</span></em></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>And exception with dependency:</p></span></p><p><span style="color: #3f7f7f; font-size: 10pt;">DEPLOYMENTS IN ERROR:<br/>  Deployment "<UNKNOWN jboss.esb.vfs:///D:/jboss-6.1.0.Final/server/my-conf<br/>/deploy/myproject/myservice.esb>" is in error due to the following reason(s): ** UNRESOL<br/>VED Demands 'jboss.j2ee:module=ejb3-files.jar,name=MyEJBBean,service=EJB3<br/>' **</span></p><p><p><span style="color: #3f7f7f; font-size: 10pt;">And exception without dependency in deployment.xml:</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><span style="color: #3f7f7f; font-size: 10pt;">...</span></p></p><p>Caused by: org.jboss.soa.esb.actions.ActionLifecycleException: Could not lookup MyEJBBean/remote...</p><p><span style="color: #3f7f7f; font-size: 10pt;"></span></p><p><span style="color: #3f7f7f; font-size: 10pt;">After jndi tree after server start I can see my been. It was initialized after EJBProcessor asking for it.</span></p><p><span style="color: #3f7f7f; font-size: 10pt;"></span></p><p><span style="color: #3f7f7f; font-size: 10pt;"></span>Have anybody ideas how to possible use .esb service with EJB3 action inside esb file?</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/750444#750444">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in JBoss ESB Development at <a href="https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2032">Community</a></p>
</div></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>