4 Replies Latest reply on Apr 17, 2003 11:38 AM by juhalindfors

    j2ee.jar

    beaglebuddy

      jboss 3.04 blows up as soon as I add sun's standard j2ee.jar file to the classpath. When I remove it, jboss starts up, but then I can't deploy any applications because (duh) all of the j2ee classes and interfaces aren't there.

      Anyone have any ideas?

        • 1. Re: j2ee.jar

          They are all there in server/default/lib/jboss-j2ee.jar

          DO NOT MODIFY THE CLASSPATH

          Regards,
          Adrian

          • 2. Re: j2ee.jar
            beaglebuddy

            what do you mean do not modify the classpath?

            how am I supposed to provide access to all of my classes that are not packaged in ejbs?

            • 3. Re: j2ee.jar
              beaglebuddy

              server/default/lib/jboss-j2ee.jar is 69k.
              sun's j2ee.jar is 8467k.

              obviously, jboss's j2ee.jar file is missing a huge number of classes.

              when you start the jboss server using the run.bat command, the classpath only includes the jdk 's tools.jar and jboss's run.jar. None of the jar files in the server/default/lib directory are included on the classpath.

              • 4. Re: j2ee.jar

                No, jboss-j2ee.jar is not missing huge number of classes. It contains all the interfaces you need to compile J2EE apps.

                HTH