[jboss-dev-forums] [JBoss AS 7 Development] - No Client folder in Jboss AS 7.0.2.Final?

Marco Janc do-not-reply at jboss.com
Sat Dec 3 12:31:02 EST 2011


Marco Janc [http://community.jboss.org/people/djmj] created the discussion

"No Client folder in Jboss AS 7.0.2.Final?"

To view the discussion, visit: http://community.jboss.org/message/639662#639662

--------------------------------------------------------------
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
[http://community.jboss.org/message/639662#639662]

Start a new discussion in JBoss AS 7 Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20111203/c6733707/attachment.html 


More information about the jboss-dev-forums mailing list