NameNotFoundException is a problem with JNDI name.
Try JNDI name
When you deploy your ear-file, you should see JNDI info for LoginBean in your log.
As I see on your screenshot it might be also:
Unfortunately this Is my JNDI name. I'm pretty confused here.
<subsystem xmlns="urn:jboss:domain:ee:1.0" > <ear-subdeployments-isolated>false</ear-subdeployments-isolated> </subsystem>
Add this to your standalone.xml (if not done yet).
This should make your ear visible for the war file.
Stil getting same error?
I was missing this config in my standalone.xml but I still get the same error.
Please post the JNDI info from log about LoginBean.
And post fully quilified name (package+class) of your classes which belong to LoginBean.
Btw if you are connecting as remote (not deployed on the same server), your JNDI name would be something like:
When I change the jndi name to ejb:/foo ... I get an "EJB Receiver Not Found" Exception.
You marked my reply as correct answer, did you solve the problem?
My lookup name was incorrect.
The correct lookup name was "ejb:foo_business_ear-ear/foo_business_ear-ejb//ClassName!InterfacePath".
This is not exactly your suggested path but it led me to the correct answer.
I didn't test whether the configuration in the standalone.xml had any influence, yet.
Do you know how I can provide mutliple access to the JBoss Server?
When I try to access the bean for the second time, I receive the EJB Receiver not found Exception, until I reboot the client server.
No idea. I would start searching on the web and documentation.
Maybe you could check whether you are using a singleton bean.
The "ejb:" prefix is related to the used approach (ejb-client or remote-naming) for the InitialContext.
The Exception might be a solved issue, mybe you check it with a AS7.2 (EAP6.1.0.Alpha) server.
How your environment look like? From what I understand the EJB-client is a web-app deployed on tomcat.
Also could you post the relevant source-code and configuration for the ejb invocation?