0 Replies Latest reply on Mar 18, 2003 5:15 AM by mdramit

    JBoss tutorial exception

    mdramit

      Hi,

      I am newbie in both J2EE and JBoss and would really need some help on the following problem: I download and install JBoss 3.06 bundled with Tomcat. I start the server and I attempt to run the "interest" example of the tutorial.

      I have set all environmental variables fine, I verify that everything is in place and the example seems to be working until the final step. (I have built and deployed the antro-interest-jar, the deployment descriptors are in the place they should be and the client compiles fine).

      The problem is that when I give the command ant intro-interest-client though the compilation is a sucess, I get the following exception:

      interest-client:
      [java] java.lang.NoClassDefFoundError: org/jboss/logging/Logger
      [java] at org.jnp.interfaces.NamingContext.(NamingContext.java:95)
      [java] at org.jnp.interfaces.NamingContextFactory.getInitialContext(NamingContextFactory.ja
      va:42)
      [java] at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
      [java] at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
      [java] at javax.naming.InitialContext.init(InitialContext.java:219)
      [java] at javax.naming.InitialContext.(InitialContext.java:175)
      [java] at org.jboss.docs.interest.InterestClient.main(InterestClient.java:28)
      [java] Exception in thread "main"
      [java] Java Result: 1
      Meaning the InitialContext call to the Naming service seems to fail. Has anyone encountered a similar problem? How do I solve this?

      Thanks in advance!

      Manos