<!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;">
    No EJB receiver available for handling [appName:,modulename:MyMavenWebpp,distinctname:] combination
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="https://community.jboss.org/people/ous2k">ous2k</a> in <i>EJB3</i> - <a href="https://community.jboss.org/message/728449#728449">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 i' m new in EJB3</p><p>i'm trying a simple hello example but get this error</p><p>i'm using</p><p>Jboss 7.1 eclipse 3.7 maven3</p><p>i' confused if this is a library problem or properties file problem?</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Depandancies used</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><table><tbody><tr><td style=";"><br/></td><td style=";"><br/></td><td style=";">&lt;!-- EJB3 libraries --&gt;</td><td style=";"><br/></td></tr><tr><td style=";"><br/></td><td style=";"><br/></td><td style=";">&lt;dependency&gt;</td><td style=";"><br/></td></tr><tr><td style=";"><br/></td><td style=";"><br/></td><td style=";"><br/></td><td style=";">&lt;groupId&gt;org.jboss.xnio&lt;/groupId&gt;</td></tr><tr><td style=";"><br/></td><td style=";"><br/></td><td style=";"><br/></td><td style=";">&lt;artifactId&gt;xnio-api&lt;/artifactId&gt;</td></tr><tr><td style=";"><br/></td><td style=";"><br/></td><td style=";"><br/></td><td style=";">&lt;version&gt;3.0.3.GA&lt;/version&gt;</td></tr><tr><td style=";"><br/></td><td style=";"><br/></td><td style=";">&lt;/dependency&gt;</td><td style=";"><br/></td></tr><tr><td style=";"><br/></td><td style=";"><br/></td><td style=";">&lt;dependency&gt;</td><td style=";"><br/></td></tr><tr><td style=";"><br/></td><td style=";"><br/></td><td style=";"><br/></td><td style=";">&lt;groupId&gt;org.jboss.xnio&lt;/groupId&gt;</td></tr><tr><td style=";"><br/></td><td style=";"><br/></td><td style=";"><br/></td><td style=";">&lt;artifactId&gt;xnio-nio&lt;/artifactId&gt;</td></tr><tr><td style=";"><br/></td><td style=";"><br/></td><td style=";"><br/></td><td style=";">&lt;version&gt;3.0.3.GA&lt;/version&gt;</td></tr><tr><td style=";"><br/></td><td style=";"><br/></td><td style=";">&lt;/dependency&gt;</td><td style=";"><br/></td></tr><tr><td style=";"><br/></td><td style=";"><br/></td><td style=";">&lt;dependency&gt;</td><td style=";"><br/></td></tr><tr><td style=";"><br/></td><td style=";"><br/></td><td style=";"><br/></td><td style=";">&lt;groupId&gt;org.jboss.sasl&lt;/groupId&gt;</td></tr><tr><td style=";"><br/></td><td style=";"><br/></td><td style=";"><br/></td><td style=";">&lt;artifactId&gt;jboss-sasl&lt;/artifactId&gt;</td></tr><tr><td style=";"><br/></td><td style=";"><br/></td><td style=";"><br/></td><td style=";">&lt;version&gt;1.0.0.Beta9&lt;/version&gt;</td></tr><tr><td style=";"><br/></td><td style=";"><br/></td><td style=";">&lt;/dependency&gt;</td><td style=";"><br/></td></tr><tr><td style=";"><br/></td><td style=";"><br/></td><td style=";">&lt;dependency&gt;</td><td style=";"><br/></td></tr><tr><td style=";"><br/></td><td style=";"><br/></td><td style=";"><br/></td><td style=";">&lt;groupId&gt;org.jboss.remoting3&lt;/groupId&gt;</td></tr><tr><td style=";"><br/></td><td style=";"><br/></td><td style=";"><br/></td><td style=";">&lt;artifactId&gt;jboss-remoting&lt;/artifactId&gt;</td></tr><tr><td style=";"><br/></td><td style=";"><br/></td><td style=";"><br/></td><td style=";">&lt;version&gt;3.2.0.CR8&lt;/version&gt;</td></tr><tr><td style=";"><br/></td><td style=";"><br/></td><td style=";">&lt;/dependency&gt;</td><td style=";"><br/></td></tr><tr><td style=";"><br/></td><td style=";"><br/></td><td style=";">&lt;dependency&gt;</td><td style=";"><br/></td></tr><tr><td style=";"><br/></td><td style=";"><br/></td><td style=";"><br/></td><td style=";">&lt;groupId&gt;org.jboss.marshalling&lt;/groupId&gt;</td></tr><tr><td style=";"><br/></td><td style=";"><br/></td><td style=";"><br/></td><td style=";">&lt;artifactId&gt;jboss-marshalling&lt;/artifactId&gt;</td></tr><tr><td style=";"><br/></td><td style=";"><br/></td><td style=";"><br/></td><td style=";">&lt;version&gt;1.3.4.GA&lt;/version&gt;</td></tr><tr><td style=";"><br/></td><td style=";"><br/></td><td style=";">&lt;/dependency&gt;</td><td style=";"><br/></td></tr><tr><td style=";"><br/></td><td style=";"><br/></td><td style=";">&lt;dependency&gt;</td><td style=";"><br/></td></tr><tr><td style=";"><br/></td><td style=";"><br/></td><td style=";"><br/></td><td style=";">&lt;groupId&gt;org.jboss.marshalling&lt;/groupId&gt;</td></tr><tr><td style=";"><br/></td><td style=";"><br/></td><td style=";"><br/></td><td style=";">&lt;artifactId&gt;jboss-marshalling-river&lt;/artifactId&gt;</td></tr><tr><td style=";"><br/></td><td style=";"><br/></td><td style=";"><br/></td><td style=";">&lt;version&gt;1.3.4.GA&lt;/version&gt;</td></tr><tr><td style=";"><br/></td><td style=";"><br/></td><td style=";">&lt;/dependency&gt;</td><td style=";"><br/></td></tr><tr><td style=";"><br/></td><td style=";"><br/></td><td style=";">&lt;dependency&gt;</td><td style=";"><br/></td></tr><tr><td style=";"><br/></td><td style=";"><br/></td><td style=";"><br/></td><td style=";">&lt;groupId&gt;org.jboss&lt;/groupId&gt;</td></tr><tr><td style=";"><br/></td><td style=";"><br/></td><td style=";"><br/></td><td style=";">&lt;artifactId&gt;jboss-ejb-client&lt;/artifactId&gt;</td></tr><tr><td style=";"><br/></td><td style=";"><br/></td><td style=";"><br/></td><td style=";">&lt;version&gt;1.0.0.Beta11&lt;/version&gt;</td></tr><tr><td style=";"><br/></td><td style=";"><br/></td><td style=";">&lt;/dependency&gt;</td><td style=";"><br/></td></tr><tr><td style=";"><br/></td><td style=";"><br/></td><td style=";">&lt;dependency&gt;</td><td style=";"><br/></td></tr><tr><td style=";"><br/></td><td style=";"><br/></td><td style=";"><br/></td><td style=";">&lt;groupId&gt;org.jboss.as&lt;/groupId&gt;</td></tr><tr><td style=";"><br/></td><td style=";"><br/></td><td style=";"><br/></td><td style=";">&lt;artifactId&gt;jboss-as-controller-client&lt;/artifactId&gt;</td></tr><tr><td style=";"><br/></td><td style=";"><br/></td><td style=";"><br/></td><td style=";">&lt;version&gt;7.0.2.Final&lt;/version&gt;</td></tr><tr><td style=";"><br/></td><td style=";"><br/></td><td style=";">&lt;/dependency&gt;</td><td style=";"><br/></td></tr></tbody></table><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>the file jboss-ejb-client.properties&#160; is under since it is a web project :</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>remote.connectionprovider.create.options.org.xnio.Options.SSL_ENABLED=false</p><p>remote.connections=default</p><p>remote.connection.default.host=localhost</p><p>remote.connection.default.port = 4447</p><p>remote.connection.default.connect.options.org.xnio.Options.SASL_POLICY_NOANONYMOUS=false</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>/***********************************************/</p><p>ejb:/MyMavenWebpp//HelloWorldBean!com.ibytecode.business.HelloWorld</p><p>avr. 05, 2012 10:02:13 AM org.jboss.ejb.client.EJBClient &lt;clinit&gt;</p><p>INFO: JBoss EJB Client version 1.0.0.Beta11</p><p>Exception in thread "main" java.lang.IllegalStateException: No EJB receiver available for handling [appName:,modulename:MyMavenWebpp,distinctname:] combination</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.java:344)</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:92)</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:83)</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at $Proxy0.sayHello(Unknown Source)</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at com.ibytecode.client.EJBApplicationClient.main(EJBApplicationClient.java:14)</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/728449#728449">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in EJB3 at <a href="https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2029">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


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

</div>

</body>
</html>