1 Reply Latest reply on Feb 5, 2003 7:03 PM by jtolles

    running example cmp2

    jtolles

      I hope this is the correct forum. Is there a better one for posting questions about the examples and templates?

      I'm trying to run the cmp2 example under
      jboss-3.0.4_tomcat-4.1.12 and win2k

      Jboss seems to be running Ok, accessing http://localhost:8080/jmx-console shows the console.

      Rnning the build.xml file under cmp2 compiles and deploys ok. After deploy the jboss dosbox shows:
      Deployed package: file:/C:/java/jboss/jboss-3.0.4_tomcat-4.1.12/server/default/deploy/gangster-cmp2.jar

      So, all looks good.

      However, running the 'setup' target in the cmp2 build.xml results in error message:

      [junit] Class not found "org.jboss.docs.cmp2.crimeportal.CrimePortalSetUp"

      Would anyone know whats wrong? Is it a classpath problem? Looks like this class should be deployed under jboss as a part of the ganster-cmp2.jar, so junit should get access to this class thru jboss? Or something?

      Thanks in advance.

        • 1. Re: running example cmp2
          jtolles

          Oops...very stupid... had an extra junit.jar in the classpath so the build was finding the wrong junit.jar, which then got the classpath, set in build.xml, incorrectly.