Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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
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 ?
 
It is sorta covered in the JavaRanch Style Guide.
 
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
java.lang.IllegalStateException: No EJB receiver available for handling - again
JNDI lookup between GlassFish 3.1 and JBoss AS 7.1
Lookup EJB on Different Application servers