4 Replies Latest reply on Mar 14, 2002 8:45 AM by alantreadway

    Verifier broken in JBoss 3.0 Beta?

    alantreadway

      Hi all

      I've just recently downloaded JBoss 3.0 Beta and I'm having a few problems :(

      When attempting to run the Verifier (and other admin tools for that matter!) using the .BAT files in the bin/ directory of the ZIP binary distribution, I get a ClassNotFoundException for org.jboss.admin.verifier.Main

      Noticing that the BAT files appear to add ../classes to the classpath (and that the classes directory was missing), I downloaded the source distribution & built the classes directory - I then proceeded to copy this into the binary distribution directory...

      I then get a ClassNotFoundException for a different class. The other JAR files referenced in the BAT file aren't actually in the location specified (i.e. lib), and I can't even find jta-spec1_0_1.jar within the distribution :(

      After modifying the BAT to reference the right locations for the JAR's, I'm now getting the message "Could not find the language package!"

      So:
      1) Am I missing something vital from my JBoss 3.0 beta installation?
      2) Is the binary distribution complete?
      3) What should I do in order to enable the verifier (and other admin tools) to work correctly?

      Thanks in advance,
      Alan Treadway
      Emorphia Limited

        • 1. Re: Verifier broken in JBoss 3.0 Beta?

          This link contains an ant script that works
          look for verify.jar

          http://main.jboss.org/thread.jsp?forum=52&thread=10201

          Regards,
          Adrian

          • 2. Re: Verifier broken in JBoss 3.0 Beta?
            alantreadway

            Hi Adrian,

            Thanks for the script, but this just results in a NoClassDefFoundError for org.jboss.admin.verifier.Main

            I've had the verifier up and running with JBoss 2.4.4 no problems - it appears to me that the JBoss 3.0 alpha/beta *binary* distributions are broken since I can't actually find a JAR with this class in it (certainly not in the lib/ directory as your script suggests)

            My *real* problem is an InstantiationExecption when creating/finding a CMP2.0 entity bean, but until I can verify the bean & deployment descriptors are correct I can't even begin to solve that problem :(

            Thanks in advance,
            Alan

            • 3. Re: Verifier broken in JBoss 3.0 Beta?

              Ah,

              This script is actually for beta2. I think you'll
              need to change it to lib/ext. You want to remove the
              "admin" part of the class name.

              But,
              Since you are using CMP2.0 this is irrelevant. I spotted
              last week that the verfier hasn't been done yet for
              EJB2.0 and made it issue a warning about unverified
              deployment.
              I have seen somebody volunteer to write it on the
              dev-list today.

              Regards,
              Adrian

              • 4. Re: Verifier broken in JBoss 3.0 Beta?
                alantreadway

                Hi

                Thanks again :) I managed to get the verifier working in Ant using:

                <!-- J2EE classpath -->








                <!-- JBoss verifier classpath -->





                and:








                Thanks for your help :)

                Cheers,
                Alan