File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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 ?
 
 
subject: javax.naming.NameNotFoundException while connecting to Jboss 7 server from remote Java Client
 
Similar Threads
Lookup EJB on Different Application servers
java.lang.IllegalStateException: No EJB receiver available for handling - again
hello world problem with local interface and stateless session bean.
JNDI lookup between GlassFish 3.1 and JBoss AS 7.1
Problem with EJB lookup on JBoss 7.1