4 Replies Latest reply on Sep 22, 2003 11:27 AM by swang

    what's the latest version of JBOSS that can work on Sun JDK

    swang

      what's the latest version of JBOSS that can work on Sun JDK 1.3.0?

        • 1. Re: what's the latest version of JBOSS that can work on Sun

          JBoss 3.2 series

          • 2. Re: what's the latest version of JBOSS that can work on Sun
            swang

            When I build jboss-3.2.1-src on Sun JDK 1.3 (I have to use 1.3 not 1.3.1+ for some reason), I get the
            following errors:
            %%%%%%%%%%%%%%%%%%%%%%
            compile-rmi:
            [rmic] RMI Compiling 1 class to /home/swang/JBOSS/jboss-3.2.1-src/iiop/output/classes
            [rmic] IIOP has been turned on.
            [rmic] error: Could not load class javax.ejb.EJBMetaData.
            [rmic] error: Class EJBHome contains an invalid return type.
            [rmic] error: Class EJBObject contains an invalid return type.
            [rmic] 3 errors
            %%%%%%%%%%%%%%%%%%%%%%%%

            I run "build.sh clean", comment module iiop, then build again, I get the following errors (I use Apache Ant version 1.5):
            %%%%%%%%%%%%%%%%%%%%%%%%
            [javac] Compiling 166 source files to /home/swang/JBOSS/jboss-3.2.1-src/management/output/classes
            /home/swang/JBOSS/jboss-3.2.1-src/management/src/main/org/jboss/management/j2ee/factory/RARModuleFactory.java:11: cannot resolve symbol
            symbol : class RARMetaData
            location: package resource
            import org.jboss.resource.RARMetaData;
            %%%%%%%%%%%%%%%%%%%%%%%%

            Thank you for your time and help.

            • 3. Re: what's the latest version of JBOSS that can work on Sun

              Hmm, that's strange, I would have thought 1.3.0 would be enough to compile. The reason for 1.3.1 requirement was a bug in the dynamic proxy implementation in reflection package. Perhaps there were other reasons I'm forgetting or don't know about...

              Does it compile with 1.3.1?

              -- Juha

              • 4. Re: what's the latest version of JBOSS that can work on Sun
                swang

                It works on jdk 1.3.1_09. But I have to use jdk 1.3.0

                Thanks.