Add jboss-common-client.jar on your path -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of hae loong chan Sent: Wednesday, March 05, 2003 8:36 PM To: [EMAIL PROTECTED] Subject: [JBoss-dev] Re: Error ..
hi all, After deployed firstejb.jar successfully into /opt/jboss/server/default/deploy, i complied and ran the FirstClient.class (please view attached FirstClient.java) and got the error message below. am i missing any .jar in my jboss deployment? command to run the FirstClient.class=> java -classpath .:/opt/jboss/client/jboss-j2ee.jar:/opt/jboss/client/jnp-client.jar client.FirstClient result after running the above command => Exception in thread "main" java.lang.NoClassDefFoundError: org/jboss/logging/Logger at org.jnp.interfaces.NamingContext.<clinit>(NamingContext.java:95) at org.jnp.interfaces.NamingContextFactory.getInitialContext(NamingContextF actory.java:42) at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662) at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243) at javax.naming.InitialContext.init(InitialContext.java:219) at javax.naming.InitialContext.<init>(InitialContext.java:195) at client.FirstClient.main(FirstClient.java:22) ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development