*
The moose likes JBoss/WildFly and the fly likes javax.naming.NameNotFoundException while connecting to Jboss 7 server from remote Java Client Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "javax.naming.NameNotFoundException while connecting to Jboss 7 server from remote Java Client" Watch "javax.naming.NameNotFoundException while connecting to Jboss 7 server from remote Java Client" New topic
Author

javax.naming.NameNotFoundException while connecting to Jboss 7 server from remote Java Client

sumeet jau
Greenhorn

Joined: Oct 02, 2013
Posts: 1
I have a client that needs to connect to a ejb which is deployed on a remote Jboss 7 server . When the server was localhost i never faced any issues . However now i constantly get an exception

Exception :



My client code that makes the call to the ejb is as follows :



On the server side when i deploy the EAR i get the following logged regarding the nature of the deployment



Looking at the server logs & reading https://docs.jboss.org/author/display/AS71/EJB+invocations+from+a+remote+client+using+JNDI I was hoping that the call would succeed but no success .

Anyone help point out my mistake ?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: javax.naming.NameNotFoundException while connecting to Jboss 7 server from remote Java Client
 
Similar Threads
hello world problem with local interface and stateless session bean.
Problem with EJB lookup on JBoss 7.1
JNDI lookup between GlassFish 3.1 and JBoss AS 7.1
java.lang.IllegalStateException: No EJB receiver available for handling - again
Lookup EJB on Different Application servers