I\'m trying to create a InitialContext
so I could ask the JNDI for some enterprise java beans.
The JBoss is running fine, but when I run the java code I get an
The InitialContext properties are not right for the JBoss version that you are using. With JBoss 7, things have changed considerably when you call a ejb from a remote client. This link can help you to instantiate correctly the InitialContex object and to determine the JNDI entry name. Also will tell you what are the necessary dependencies that need to be added to the client classpath.