JBoss Community

No Client folder in Jboss AS 7.0.2.Final?

created by Marco Janc in JBoss AS 7 Development - View the full discussion

I am new to jboss and I tried to access a EJB from my application server in my apache tomcat webserver with JDNI.

 

I got the following error:

 

 javax.naming.NoInitialContextException: Cannot instantiate class: org.jnp.interfaces.NamingContextFactory [Root exception is java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFactory]
    at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
    at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)

 

searching the web everyone says i should include the jbossall-client.jar from JBOSS_HOME/client/ directory.

 

But my downloaded JBoss Version: jboss-as-7.0.2.Final did not had this folder?

 

I downloaded now jboss-as-distribution-6.1.0.Final and there the folder is with all the client jar's.

 

Was it left out intentionally?

Reply to this message by going to Community

Start a new discussion in JBoss AS 7 Development at Community