0 Replies Latest reply on Feb 17, 2002 5:30 PM by Eric Hubert

    How to build JBoss 3.0 with JDK 1.4

    Eric Hubert Newbie

      Hi folks!

      Is there anybody out who knows how to build the current CVS with JDK 1.4 on Linux?

      Before I've tried to build the whole thing I made an
      "egrep -r 'JDK 1.4' *" and uncommented everything in the sources which was suggested.

      Nevertheless the build process failed with a few warnings about deprecated methods and classes and 1 error:

      /install/experimental/jdk1.4/jboss-all/server/output/beans/mejb/javax/management/j2ee/ManagementHome.java:38: javax.management.j2ee.ManagementHome is already defined in this compilation unit
      import javax.management.j2ee.ManagementHome;


      By the way using JDK 1.3.1_01 I can build and start the current CVS without any errors, but I can't run the testsuite without failures and errors.
      I'm new to JBoss so I don't know whether this is normal or not. Here are my test results:

      Designed for use with JUnit and Ant. Generated on February 18 2002.

      Summary
      Tests Failures Errors Success rate Time
      493 4 4 98.38% 515.476

      Note: failures are anticipated and checked for with assertions while
      errors are unanticipated.

      Packages

      Name Tests Errors Failures Time(s)
      org.jboss.test.bank.test 10 0 0 9.700
      org.jboss.test.bmp.test 2 0 0 6.964
      org.jboss.test.cmp2.ejbselect 2 0 0 3.866
      org.jboss.test.cmp2.readonly 6 0 0 2.205
      org.jboss.test.cmp2.relationship 21 0 0 15.152
      org.jboss.test.cts.test 25 0 0 20.468
      org.jboss.test.dbtest.test 2 0 0 2.019
      org.jboss.test.deadlock.test 2 0 0 11.172
      org.jboss.test.ejbconf.test 2 0 0 1.098
      org.jboss.test.entityexc.test 2 0 0 1.277
      org.jboss.test.hello.test 7 0 0 1.468
      org.jboss.test.idgen.test 2 0 0 1.308
      org.jboss.test.jbossmq.perf 5 0 0 67.999
      org.jboss.test.jbossmq.test 41 0 0 157.480
      org.jboss.test.jbossmx.compliance.modelmbean 5 0 0 0.556
      org.jboss.test.jbossmx.compliance.monitor 9 0 0 5.601
      org.jboss.test.jbossmx.compliance.notcompliant 6 0 0 0.534
      org.jboss.test.jbossmx.compliance.objectname 86 0 0 2.015
      org.jboss.test.jbossmx.compliance.registration 3 0 0 0.483
      org.jboss.test.jbossmx.compliance.relation 2 0 0 0.276
      org.jboss.test.jbossmx.compliance.server 20 0 0 1.181
      org.jboss.test.jbossmx.compliance.standard 65 0 0 2.020
      org.jboss.test.jbossmx.compliance.timer 4 0 0 1.098
      org.jboss.test.jbossmx.implementation.persistence 2 0 0 5.667
      org.jboss.test.jbossmx.implementation.util 6 0 0 1.023
      org.jboss.test.jbossmx.performance.dynamic 5 0 0 3.634
      org.jboss.test.jbossmx.performance.standard 5 0 0 39.755
      org.jboss.test.jmsra.test 12 0 0 12.944
      org.jboss.test.jmx.test 11 0 0 4.826
      org.jboss.test.jrmp.test 5 0 1 2.390
      org.jboss.test.lock.test 29 0 0 32.366
      org.jboss.test.management.test 6 1 0 1.719
      org.jboss.test.mdb.test 9 0 0 31.717
      org.jboss.test.naming.test 7 0 0 2.318
      org.jboss.test.perf.test 10 2 0 7.165
      org.jboss.test.readahead.test 4 0 0 13.899
      org.jboss.test.security.test 18 0 0 10.316
      org.jboss.test.testbean.test 10 0 0 8.020
      org.jboss.test.testbeancluster.test 10 1 2 8.582
      org.jboss.test.util.test 2 0 0 1.226
      org.jboss.test.web.test 13 0 1 11.969

      Java Version 1.3.1_01
      Java Vendor Sun Microsystems Inc.
      Java VM Name Java HotSpot(TM) Client VM
      Java VM Version 1.3.1_01
      Java VM Info mixed mode
      OS Name Linux
      OS Version 2.4.10
      OS Arch i386

      Any ideas about these results?

      Best regards,
      Eric