File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JBoss/WildFly and the fly likes Getting Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Getting "No EJB receiver available for handling [appName:,modulename:EJB3TimerService,distinctname:]" Watch "Getting "No EJB receiver available for handling [appName:,modulename:EJB3TimerService,distinctname:]" New topic

Getting "No EJB receiver available for handling [appName:,modulename:EJB3TimerService,distinctname:]

Kumar Raja
Ranch Hand

Joined: Mar 18, 2010
Posts: 547

Hello All,

I'm trying to run a sample example from the webpage. After an initial struggle in setting up my environment, I finally got my JBoss 7.1.0 Final running. I created my class files as listed in the tutorial and my project is setup as below screen shot (See attachment). I got my jar deployed and started the server and I also see that

I added jboss-client-7.1.0.Final.jar to my client's classpath.

I also added and this file is co-located with under EJB3TimerService/ejbModule/edu/learning/ejb3/client, as shown in screen.

The contents of this property file are

When I ran the client, I see the below exception stack

Is my client code wrong? or the properties or the location of the properties file.

Please advise.

[Thumbnail for Screenshot.gif]


Kumar Raja
Ranch Hand

Joined: Mar 18, 2010
Posts: 547

Any suggestion on my question ?
Kumar Raja
Ranch Hand

Joined: Mar 18, 2010
Posts: 547

May be my post is too big, to draw any attention. This time, I'll try to put keep the post shorter with precise information.

I tried the same example listed here

My project structure looks like below

Server : JBoss 7.1.0 Final

I deployed my EJB as jar, and I see the below status in logs

Deployment successful

I tried to connect to these EJB from a servlet client deployed along with this EJB as one enterprise app, on same JBoss and I'm able to lookup the proxy using the JNDI string

and able to run the method calculator.add(5,4) resulting 9
However I tried to call the ejb from a standalone client and my client code is an exact copy of the URL mentioned above. In short, my client code trying to do JNDI lookup using the string

and I believe I got the proxy, however upon invoking the method I get

I added jboss-client-7.1.0.Final.jar to the client's classpath and also copied to the source directory, such that this file is exactly in the same path as the class file.
remote.connection.default.port = 4447

But yet, I'm still getting the error. Are there any settings wrong in my client code ?
Jaikiran Pai

Joined: Jul 20, 2005
Posts: 10441

Enable the TRACE level logs for org.jboss.ejb.client package on your client standalone application side and post the logs here.

[My Blog] [JavaRanch Journal]
Kumar Raja
Ranch Hand

Joined: Mar 18, 2010
Posts: 547

I realized the issue in my client code. the jboss-ejb properties file is not correctly in the classpath That is the reason for the failure.
Francisco Marin

Joined: Apr 24, 2015
Posts: 2
Hi Kumar Raja, please could you specify what were the changes you made in file
I agree. Here's the link:
subject: Getting "No EJB receiver available for handling [appName:,modulename:EJB3TimerService,distinctname:]
It's not a secret anymore!