[jboss-user] [EJB3] - No EJB receiver available for handling [appName:, modulename:MyMavenWebpp, distinctname:] combination

ous2k do-not-reply at jboss.com
Thu Apr 5 04:19:20 EDT 2012


ous2k [https://community.jboss.org/people/ous2k] created the discussion

"No EJB receiver available for handling [appName:,modulename:MyMavenWebpp,distinctname:] combination"

To view the discussion, visit: https://community.jboss.org/message/728449#728449

--------------------------------------------------------------
Hi i' m new in EJB3
i'm trying a simple hello example but get this error
i'm using
Jboss 7.1 eclipse 3.7 maven3
i' confused if this is a library problem or properties file problem?

Depandancies used


| 
 | 
 | <!-- EJB3 libraries --> | 
 |
| 
 | 
 | <dependency> | 
 |
| 
 | 
 | 
 | <groupId>org.jboss.xnio</groupId> |
| 
 | 
 | 
 | <artifactId>xnio-api</artifactId> |
| 
 | 
 | 
 | <version>3.0.3.GA</version> |
| 
 | 
 | </dependency> | 
 |
| 
 | 
 | <dependency> | 
 |
| 
 | 
 | 
 | <groupId>org.jboss.xnio</groupId> |
| 
 | 
 | 
 | <artifactId>xnio-nio</artifactId> |
| 
 | 
 | 
 | <version>3.0.3.GA</version> |
| 
 | 
 | </dependency> | 
 |
| 
 | 
 | <dependency> | 
 |
| 
 | 
 | 
 | <groupId>org.jboss.sasl</groupId> |
| 
 | 
 | 
 | <artifactId>jboss-sasl</artifactId> |
| 
 | 
 | 
 | <version>1.0.0.Beta9</version> |
| 
 | 
 | </dependency> | 
 |
| 
 | 
 | <dependency> | 
 |
| 
 | 
 | 
 | <groupId>org.jboss.remoting3</groupId> |
| 
 | 
 | 
 | <artifactId>jboss-remoting</artifactId> |
| 
 | 
 | 
 | <version>3.2.0.CR8</version> |
| 
 | 
 | </dependency> | 
 |
| 
 | 
 | <dependency> | 
 |
| 
 | 
 | 
 | <groupId>org.jboss.marshalling</groupId> |
| 
 | 
 | 
 | <artifactId>jboss-marshalling</artifactId> |
| 
 | 
 | 
 | <version>1.3.4.GA</version> |
| 
 | 
 | </dependency> | 
 |
| 
 | 
 | <dependency> | 
 |
| 
 | 
 | 
 | <groupId>org.jboss.marshalling</groupId> |
| 
 | 
 | 
 | <artifactId>jboss-marshalling-river</artifactId> |
| 
 | 
 | 
 | <version>1.3.4.GA</version> |
| 
 | 
 | </dependency> | 
 |
| 
 | 
 | <dependency> | 
 |
| 
 | 
 | 
 | <groupId>org.jboss</groupId> |
| 
 | 
 | 
 | <artifactId>jboss-ejb-client</artifactId> |
| 
 | 
 | 
 | <version>1.0.0.Beta11</version> |
| 
 | 
 | </dependency> | 
 |
| 
 | 
 | <dependency> | 
 |
| 
 | 
 | 
 | <groupId>org.jboss.as</groupId> |
| 
 | 
 | 
 | <artifactId>jboss-as-controller-client</artifactId> |
| 
 | 
 | 
 | <version>7.0.2.Final</version> |
| 
 | 
 | </dependency> | 
 |



the file jboss-ejb-client.properties  is under since it is a web project :

remote.connectionprovider.create.options.org.xnio.Options.SSL_ENABLED=false
remote.connections=default
remote.connection.default.host=localhost
remote.connection.default.port = 4447
remote.connection.default.connect.options.org.xnio.Options.SASL_POLICY_NOANONYMOUS=false




/***********************************************/
ejb:/MyMavenWebpp//HelloWorldBean!com.ibytecode.business.HelloWorld
avr. 05, 2012 10:02:13 AM org.jboss.ejb.client.EJBClient <clinit>
INFO: JBoss EJB Client version 1.0.0.Beta11
Exception in thread "main" java.lang.IllegalStateException: No EJB receiver available for handling [appName:,modulename:MyMavenWebpp,distinctname:] combination
          at org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.java:344)
          at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:92)
          at org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:83)
          at $Proxy0.sayHello(Unknown Source)
          at com.ibytecode.client.EJBApplicationClient.main(EJBApplicationClient.java:14)
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/728449#728449]

Start a new discussion in EJB3 at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2029]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120405/3bc544d2/attachment.html 


More information about the jboss-user mailing list