aspose 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
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 ?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: javax.naming.NameNotFoundException while connecting to Jboss 7 server from remote Java Client