7 Replies Latest reply on Jul 1, 2008 12:13 PM by Peter Johnson

    JBossAS 5.0.0CR1 compile error building from source

    Thomas Wiesner Newbie

      Hello,

      i've just downloaded the jboss5 CR1 source package and tried to build it with default target. The build failed with compile errors in the j2se module (see output below).
      Should i take another target to build the CR1 from source or what i#m doing wrong ?

      My environment:

      Maven version: 2.0.9
      Java version: 1.6.0
      OS name: "linux" version: "2.6.25.5-1.1-pae" arch: "i386" Family: "unix"


      and the build output:
      _buildmagic:init:
      Trying to override old definition of task property
      
      _buildmagic:init:local-properties:
      
      _buildmagic:init:buildlog:
      
      configure:
       [echo] groups: default
       [echo] modules: main,bootstrap,j2se,mbeans,jmx,system,system-jmx,security,server,deployment,jbossas/remoting,jmx-remoting,jbossas/jmx-remoting,messaging,jbossmq,cluster,varia,iiop,aspects,profileservice,connector,management,ejb3,tomcat,webservices,hibernate-int,console,spring-int
      
      init:
      
      check.inhibit.downloads:
      
      check.proxy:
      
      set.proxy.withoutauth:
      
      set.proxy.auth:
      
      set.proxy:
      
      createthirdparty:
       [echo] Calling mvn command located in /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/build/../tools/maven
       [java] [INFO] Scanning for projects...
       [java] WAGON_VERSION: 1.0-beta-2
       [java] [INFO] ------------------------------------------------------------------------
       [java] [INFO] Building JBoss Application Server Thirdparty Build
       [java] [INFO] task-segment: [package]
       [java] [INFO] ------------------------------------------------------------------------
       [java] Downloading: http://repository.jboss.org/maven2/com/sun/xml/bind/jaxb-impl/2.1.6/jaxb-impl-2.1.6.pom
       [java] Downloading: http://repo1.maven.org/maven2/com/sun/xml/bind/jaxb-impl/2.1.6/jaxb-impl-2.1.6.pom
       [java] Downloading: http://repository.jboss.org/maven2/com/sun/xml/bind/jaxb-xjc/2.1.6/jaxb-xjc-2.1.6.pom
       [java] Downloading: http://repo1.maven.org/maven2/com/sun/xml/bind/jaxb-xjc/2.1.6/jaxb-xjc-2.1.6.pom
       [java] Downloading: http://repository.jboss.org/maven2/com/sun/xml/fastinfoset/FastInfoset/1.2.2/FastInfoset-1.2.2.pom
       [java] Downloading: http://repo1.maven.org/maven2/com/sun/xml/fastinfoset/FastInfoset/1.2.2/FastInfoset-1.2.2.pom
       [java] Downloading: http://repository.jboss.org/maven2/com/sun/xml/ws/jaxws-tools/2.1.3/jaxws-tools-2.1.3.pom
       [java] Downloading: http://repo1.maven.org/maven2/com/sun/xml/ws/jaxws-tools/2.1.3/jaxws-tools-2.1.3.pom
       [java] Downloading: http://repository.jboss.org/maven2/woodstox/wstx-lgpl/3.1.1/wstx-lgpl-3.1.1.pom
       [java] Downloading: http://repo1.maven.org/maven2/woodstox/wstx-lgpl/3.1.1/wstx-lgpl-3.1.1.pom
       [java] Downloading: http://repository.jboss.org/maven2/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
       [java] Downloading: http://repo1.maven.org/maven2/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
       [java] [INFO] [enforcer:enforce {execution: enforce-versions}]
       [java] [INFO] [buildmagic-thirdparty:build-thirdparty {execution: build-thirdparty}]
       [java] [INFO] Copying dependencies to thirdparty directories...
       [java] [INFO] Generating component info files...
       [java] [INFO] Creating libraries.ent...
       [java] [INFO] [buildmagic-thirdparty:build-thirdparty {execution: build-thirparty-testsuite}]
       [java] [INFO] Copying dependencies to thirdparty directories...
       [java] [INFO] Generating component info files...
       [java] [INFO] Creating testsuite-libraries.ent...
       [java] [INFO] [site:attach-descriptor]
       [java] [INFO] Preparing source:jar
       [java] [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
       [java] [INFO] [enforcer:enforce {execution: enforce-versions}]
       [java] [INFO] [source:jar {execution: attach-sources}]
       [java] [INFO] ------------------------------------------------------------------------
       [java] [INFO] BUILD SUCCESSFUL
       [java] [INFO] ------------------------------------------------------------------------
       [java] [INFO] Total time: 18 seconds
       [java] [INFO] Finished at: Tue Jul 01 11:37:51 CEST 2008
       [java] [INFO] Final Memory: 28M/86M
       [java] [INFO] ------------------------------------------------------------------------
      
      _buildmagic:modules:most:
      
       ======================================================================
       == Executing 'most' in module 'main'...
       ==
      
      _buildmagic:init:
      
      configure:
       [echo] Classpath = /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/thirdparty/gnu-getopt/lib/getopt.jar
      
      _default:task-init:
      
      init:
      
      _buildmagic:build-bypass-checker:
      
      _buildmagic:build-bypass-notice:
      
      _buildmagic:build-bypass-check:
      
      jars:
      
      _buildmagic:init:
      
      init:
      
      _default:compile-classes:
      
      _default:compile-resources:
      
      _default:compile-etc:
      
      _default:compile-bin:
      
      _buildmagic:init:
      
      init:
      
      _default:fix-bin:
      
      compile:
      
      module-jars:
      
      most:
      
       ==
       == Finished with 'most' in module 'main'.
       ======================================================================
      
      
      _module-main-most:
      
      _module-main-most:
      
       ======================================================================
       == Executing 'most' in module 'bootstrap'...
       ==
      
      _buildmagic:init:
      
      configure:
      Overriding previous definition of reference to jboss.test.classpath
      
      _default:task-init:
      
      init:
      
      _buildmagic:build-bypass-checker:
      
      _buildmagic:build-bypass-notice:
      
      _buildmagic:build-bypass-check:
      
      jars:
      
      _buildmagic:init:
      
      init:
      
      _default:compile-classes:
      
      _default:compile-resources:
      
      _default:compile-etc:
      
      compile:
      
      module-jars:
      
      most:
      
       ==
       == Finished with 'most' in module 'bootstrap'.
       ======================================================================
      
      
      _module-bootstrap-most:
      
      _module-bootstrap-most:
      
       ======================================================================
       == Executing 'most' in module 'j2se'...
       ==
      
      _buildmagic:init:
      
      configure:
      Overriding previous definition of reference to jboss.test.classpath
      
      _default:task-init:
      
      init:
      
      _buildmagic:build-bypass-checker:
      
      _buildmagic:build-bypass-notice:
      
      _buildmagic:build-bypass-check:
      
      jars:
      
      _buildmagic:init:
      
      init:
      
      compile-classes:
       [javac] Compiling 168 source files to /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/output/classes
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/loading/support/AnotherTrivial.java:27: cannot find symbol
      symbol: class AnotherTrivialMBean
      public class AnotherTrivial implements AnotherTrivialMBean
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/monitor/support/CounterSupport.java:26: cannot find symbol
      symbol: class CounterSupportMBean
       implements CounterSupportMBean
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/monitor/support/GaugeSupport.java:26: cannot find symbol
      symbol: class GaugeSupportMBean
       implements GaugeSupportMBean
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/monitor/support/StringSupport.java:26: cannot find symbol
      symbol: class StringSupportMBean
       implements StringSupportMBean
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/notcompliant/NCMBeanTEST.java:30: package org.jboss.test.jmx.compliance.notcompliant.support does not exist
      import org.jboss.test.jmx.compliance.notcompliant.support.DynamicAndStandard;
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/notcompliant/NCMBeanTEST.java:31: package org.jboss.test.jmx.compliance.notcompliant.support does not exist
      import org.jboss.test.jmx.compliance.notcompliant.support.InterfaceProblems;
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/notcompliant/NCMBeanTEST.java:32: package org.jboss.test.jmx.compliance.notcompliant.support does not exist
      import org.jboss.test.jmx.compliance.notcompliant.support.NullDynamic;
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/notcompliant/NCMBeanTEST.java:33: package org.jboss.test.jmx.compliance.notcompliant.support does not exist
      import org.jboss.test.jmx.compliance.notcompliant.support.OverloadedAttribute1;
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/notcompliant/NCMBeanTEST.java:34: package org.jboss.test.jmx.compliance.notcompliant.support does not exist
      import org.jboss.test.jmx.compliance.notcompliant.support.OverloadedAttribute2;
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/notcompliant/NCMBeanTEST.java:35: package org.jboss.test.jmx.compliance.notcompliant.support does not exist
      import org.jboss.test.jmx.compliance.notcompliant.support.OverloadedAttribute3;
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/notcompliant/NCMBeanTEST.java:36: package org.jboss.test.jmx.compliance.notcompliant.support does not exist
      import org.jboss.test.jmx.compliance.notcompliant.support.OverloadedAttribute4;
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/notcompliant/NCMBeanTEST.java:37: package org.jboss.test.jmx.compliance.notcompliant.support does not exist
      import org.jboss.test.jmx.compliance.notcompliant.support.OverloadedAttribute5;
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/notcompliant/NoConstructor.java:25: cannot find symbol
      symbol: class NoConstructorMBean
       implements NoConstructorMBean
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/registration/RegistrationTEST.java:31: package org.jboss.test.jmx.compliance.registration.support does not exist
      import org.jboss.test.jmx.compliance.registration.support.RegistrationAware;
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/server/MBeanServerTEST.java:57: cannot find symbol
      symbol : class ExceptionOnTheRun
      location: package org.jboss.test.jmx.compliance.server.support
      import org.jboss.test.jmx.compliance.server.support.ExceptionOnTheRun;
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/server/MBeanServerTEST.java:62: cannot find symbol
      symbol : class MyScreamingException
      location: package org.jboss.test.jmx.compliance.server.support
      import org.jboss.test.jmx.compliance.server.support.MyScreamingException;
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/server/support/Broadcaster.java:36: cannot find symbol
      symbol: class BroadcasterMBean
       implements BroadcasterMBean
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/server/support/BuilderTest.java:36: cannot find symbol
      symbol: class BuilderTestMBean
       implements MBeanRegistration, BuilderTestMBean
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/server/support/ConstructorTest.java:34: cannot find symbol
      symbol : class MyScreamingException
      location: class org.jboss.test.jmx.compliance.server.support.ConstructorTest
       public ConstructorTest() throws MyScreamingException
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/server/support/LockedTest2.java:37: cannot find symbol
      symbol: class LockedTest2MBean
       implements LockedTest2MBean, MBeanRegistration
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/server/support/LockedTest3.java:38: cannot find symbol
      symbol: class LockedTest3MBean
       implements LockedTest3MBean, MBeanRegistration
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/server/support/MBeanListener.java:35: cannot find symbol
      symbol: class MBeanListenerMBean
       implements NotificationListener, MBeanListenerMBean
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/server/support/Test.java:37: cannot find symbol
      symbol : class MyScreamingException
      location: class org.jboss.test.jmx.compliance.server.support.Test
       public String getThisWillScream() throws MyScreamingException
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/server/support/Test.java:42: cannot find symbol
      symbol : class MyScreamingException
      location: class org.jboss.test.jmx.compliance.server.support.Test
       public void setThisWillScream(String str) throws MyScreamingException
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/server/support/Test.java:72: cannot find symbol
      symbol : class MyScreamingException
      location: class org.jboss.test.jmx.compliance.server.support.Test
       public void operationWithException() throws MyScreamingException
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/server/support/TestMBean.java:35: cannot find symbol
      symbol : class MyScreamingException
      location: interface org.jboss.test.jmx.compliance.server.support.TestMBean
       public String getThisWillScream() throws MyScreamingException;
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/server/support/TestMBean.java:36: cannot find symbol
      symbol : class MyScreamingException
      location: interface org.jboss.test.jmx.compliance.server.support.TestMBean
       public void setThisWillScream(String str) throws MyScreamingException;
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/server/support/TestMBean.java:46: cannot find symbol
      symbol : class MyScreamingException
      location: interface org.jboss.test.jmx.compliance.server.support.TestMBean
       public void operationWithException() throws MyScreamingException;
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/standard/InheritanceSUITE.java:30: cannot find symbol
      symbol : class DynamicDerived1
      location: package org.jboss.test.jmx.compliance.standard.support
      import org.jboss.test.jmx.compliance.standard.support.DynamicDerived1;
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/standard/InheritanceSUITE.java:31: cannot find symbol
      symbol : class StandardDerived1
      location: package org.jboss.test.jmx.compliance.standard.support
      import org.jboss.test.jmx.compliance.standard.support.StandardDerived1;
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/standard/InheritanceSUITE.java:32: cannot find symbol
      symbol : class StandardDerived2
      location: package org.jboss.test.jmx.compliance.standard.support
      import org.jboss.test.jmx.compliance.standard.support.StandardDerived2;
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/standard/InheritanceSUITE.java:33: cannot find symbol
      symbol : class StandardDerived3
      location: package org.jboss.test.jmx.compliance.standard.support
      import org.jboss.test.jmx.compliance.standard.support.StandardDerived3;
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/standard/StandardMBeanTEST.java:37: cannot find symbol
      symbol : class ArbitraryInterface
      location: package org.jboss.test.jmx.compliance.standard.support
      import org.jboss.test.jmx.compliance.standard.support.ArbitraryInterface;
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/standard/StandardMBeanTEST.java:40: cannot find symbol
      symbol : class MyStandardMBean
      location: package org.jboss.test.jmx.compliance.standard.support
      import org.jboss.test.jmx.compliance.standard.support.MyStandardMBean;
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/standard/StandardMBeanTEST.java:41: cannot find symbol
      symbol : class NoConstructorsStandardMBean
      location: package org.jboss.test.jmx.compliance.standard.support
      import org.jboss.test.jmx.compliance.standard.support.NoConstructorsStandardMBean;
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/metadata/MetaDataSUITE.java:47: cannot find symbol
      symbol : class MBeanParameterInfoTEST
      location: class org.jboss.test.jmx.compliance.metadata.MetaDataSUITE
       suite.addTest(new TestSuite(MBeanParameterInfoTEST.class));
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/metadata/MetaDataSUITE.java:48: cannot find symbol
      symbol : class MBeanOperationInfoTEST
      location: class org.jboss.test.jmx.compliance.metadata.MetaDataSUITE
       suite.addTest(new TestSuite(MBeanOperationInfoTEST.class));
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/metadata/MetaDataSUITE.java:49: cannot find symbol
      symbol : class MBeanAttributeInfoTEST
      location: class org.jboss.test.jmx.compliance.metadata.MetaDataSUITE
       suite.addTest(new TestSuite(MBeanAttributeInfoTEST.class));
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/metadata/MetaDataSUITE.java:50: cannot find symbol
      symbol : class MBeanNotificationInfoTEST
      location: class org.jboss.test.jmx.compliance.metadata.MetaDataSUITE
       suite.addTest(new TestSuite(MBeanNotificationInfoTEST.class));
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/metadata/MetaDataSUITE.java:51: cannot find symbol
      symbol : class MBeanConstructorInfoTEST
      location: class org.jboss.test.jmx.compliance.metadata.MetaDataSUITE
       suite.addTest(new TestSuite(MBeanConstructorInfoTEST.class));
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/modelmbean/DescriptorTEST.java:378: warning: non-varargs call of varargs method with inexact argument type for last parameter;
      cast to java.lang.String for a varargs call
      cast to java.lang.String[] for a non-varargs call and to suppress this warning
       Object[] result = descriptor.getFieldValues(null);
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/modelmbean/ModelMBeanSUITE.java:40: cannot find symbol
      symbol : class ModelMBeanInfoSupportTEST
      location: class org.jboss.test.jmx.compliance.modelmbean.ModelMBeanSUITE
       suite.addTest(new TestSuite(ModelMBeanInfoSupportTEST.class));
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/monitor/MonitorTestCase.java:603: warning: [deprecation] getThreshold() in javax.management.monitor.CounterMonitor has been deprecated
       if (((CounterMonitor)monitor).getThreshold().equals(new Integer(30)))
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/monitor/MonitorTestCase.java:645: warning: [deprecation] getThreshold() in javax.management.monitor.CounterMonitor has been deprecated
       if (((CounterMonitor)monitor).getThreshold().equals(new Integer(30)))
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/monitor/MonitorTestCase.java:1821: warning: [deprecation] setThreshold(java.lang.Number) in javax.management.monitor.CounterMonitor has been deprecated
       counterMonitor.setThreshold(threshold);
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/monitor/MonitorTestCase.java:1898: warning: [deprecation] setObservedObject(javax.management.ObjectName) in javax.management.monitor.Monitor has been deprecated
       monitor.setObservedObject(monitoredName);
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/monitor/MonitorTestCase.java:2057: warning: [deprecation] setObservedObject(javax.management.ObjectName) in javax.management.monitor.Monitor has been deprecated
       monitor.setObservedObject(monitoredName);
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/monitor/MonitorTestCase.java:2285: warning: [deprecation] getDerivedGauge() in javax.management.monitor.StringMonitor has been deprecated
       assertEquals(gauge, ((StringMonitor)monitor).getDerivedGauge());
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/monitor/MonitorTestCase.java:2287: warning: [deprecation] getDerivedGauge() in javax.management.monitor.CounterMonitor has been deprecated
       assertEquals(gauge, ((CounterMonitor)monitor).getDerivedGauge());
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/monitor/MonitorTestCase.java:2289: warning: [deprecation] getDerivedGauge() in javax.management.monitor.GaugeMonitor has been deprecated
       assertEquals(gauge, ((GaugeMonitor)monitor).getDerivedGauge());
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/notcompliant/NCMBeanTEST.java:50: cannot find symbol
      symbol : class OverloadedAttribute1
      location: class org.jboss.test.jmx.compliance.notcompliant.NCMBeanTEST
       registerAndTest(new OverloadedAttribute1());
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/notcompliant/NCMBeanTEST.java:55: cannot find symbol
      symbol : class OverloadedAttribute2
      location: class org.jboss.test.jmx.compliance.notcompliant.NCMBeanTEST
       registerAndTest(new OverloadedAttribute2());
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/notcompliant/NCMBeanTEST.java:60: cannot find symbol
      symbol : class OverloadedAttribute3
      location: class org.jboss.test.jmx.compliance.notcompliant.NCMBeanTEST
       registerAndTest(new OverloadedAttribute3());
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/notcompliant/NCMBeanTEST.java:65: cannot find symbol
      symbol : class OverloadedAttribute4
      location: class org.jboss.test.jmx.compliance.notcompliant.NCMBeanTEST
       registerAndTest(new OverloadedAttribute4());
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/notcompliant/NCMBeanTEST.java:70: cannot find symbol
      symbol : class OverloadedAttribute5
      location: class org.jboss.test.jmx.compliance.notcompliant.NCMBeanTEST
       registerAndTest(new OverloadedAttribute5());
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/notcompliant/NCMBeanTEST.java:78: cannot find symbol
      symbol : class DynamicAndStandard
      location: class org.jboss.test.jmx.compliance.notcompliant.NCMBeanTEST
       server.registerMBean(new DynamicAndStandard(), new ObjectName("test:foo=bar"));
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/notcompliant/NCMBeanTEST.java:81: cannot find symbol
      symbol : variable DynamicAndStandard
      location: class org.jboss.test.jmx.compliance.notcompliant.NCMBeanTEST
       info.getDescription().equals(DynamicAndStandard.DESCRIPTION));
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/notcompliant/NCMBeanTEST.java:89: cannot find symbol
      symbol : class DynamicAndStandard
      location: class org.jboss.test.jmx.compliance.notcompliant.NCMBeanTEST
       fail("unexpected exception when registering " + DynamicAndStandard.class.getName() + ": " + e.getMessage());
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/notcompliant/NCMBeanTEST.java:113: cannot find symbol
      symbol : class InterfaceProblems
      location: class org.jboss.test.jmx.compliance.notcompliant.NCMBeanTEST
       registerAndDontTest(new InterfaceProblems());
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/notcompliant/NCMBeanTEST.java:129: cannot find symbol
      symbol : class NullDynamic
      location: class org.jboss.test.jmx.compliance.notcompliant.NCMBeanTEST
       server.registerMBean(new NullDynamic(), name);
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/notification/NotificationSUITE.java:54: cannot find symbol
      symbol : class AttributeChangeNotificationFilterTestCase
      location: class org.jboss.test.jmx.compliance.notification.NotificationSUITE
       suite.addTest(new TestSuite(AttributeChangeNotificationFilterTestCase.class));
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/notification/NotificationSUITE.java:55: cannot find symbol
      symbol : class NotificationBroadcasterSupportTestCase
      location: class org.jboss.test.jmx.compliance.notification.NotificationSUITE
       suite.addTest(new TestSuite(NotificationBroadcasterSupportTestCase.class));
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/notification/NotificationSUITE.java:56: cannot find symbol
      symbol : class NotificationFilterSupportTestCase
      location: class org.jboss.test.jmx.compliance.notification.NotificationSUITE
       suite.addTest(new TestSuite(NotificationFilterSupportTestCase.class));
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/openmbean/OpenMBeanSUITE.java:56: cannot find symbol
      symbol : class CompositeTypeTestCase
      location: class org.jboss.test.jmx.compliance.openmbean.OpenMBeanSUITE
       suite.addTest(new TestSuite(CompositeTypeTestCase.class));
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/openmbean/OpenMBeanSUITE.java:59: cannot find symbol
      symbol : class CompositeDataSupportTestCase
      location: class org.jboss.test.jmx.compliance.openmbean.OpenMBeanSUITE
       suite.addTest(new TestSuite(CompositeDataSupportTestCase.class));
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/openmbean/OpenMBeanSUITE.java:60: cannot find symbol
      symbol : class TabularDataSupportTestCase
      location: class org.jboss.test.jmx.compliance.openmbean.OpenMBeanSUITE
       suite.addTest(new TestSuite(TabularDataSupportTestCase.class));
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/openmbean/OpenMBeanSUITE.java:61: cannot find symbol
      symbol : class OpenMBeanParameterInfoSupportTestCase
      location: class org.jboss.test.jmx.compliance.openmbean.OpenMBeanSUITE
       suite.addTest(new TestSuite(OpenMBeanParameterInfoSupportTestCase.class));
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/openmbean/OpenMBeanSUITE.java:62: cannot find symbol
      symbol : class OpenMBeanAttributeInfoSupportTestCase
      location: class org.jboss.test.jmx.compliance.openmbean.OpenMBeanSUITE
       suite.addTest(new TestSuite(OpenMBeanAttributeInfoSupportTestCase.class));
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/openmbean/OpenMBeanSUITE.java:63: cannot find symbol
      symbol : class OpenMBeanConstructorInfoSupportTestCase
      location: class org.jboss.test.jmx.compliance.openmbean.OpenMBeanSUITE
       suite.addTest(new TestSuite(OpenMBeanConstructorInfoSupportTestCase.class));
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/openmbean/OpenMBeanSUITE.java:64: cannot find symbol
      symbol : class OpenMBeanOperationInfoSupportTestCase
      location: class org.jboss.test.jmx.compliance.openmbean.OpenMBeanSUITE
       suite.addTest(new TestSuite(OpenMBeanOperationInfoSupportTestCase.class));
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/openmbean/OpenMBeanSUITE.java:65: cannot find symbol
      symbol : class OpenMBeanInfoSupportTestCase
      location: class org.jboss.test.jmx.compliance.openmbean.OpenMBeanSUITE
       suite.addTest(new TestSuite(OpenMBeanInfoSupportTestCase.class));
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/openmbean/OpenTypeTestCase.java:64: warning: [deprecation] ALLOWED_CLASSNAMES in javax.management.openmbean.OpenType has been deprecated
       String[] allowedClassNames = OpenType.ALLOWED_CLASSNAMES;
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/query/QuerySUITE.java:54: cannot find symbol
      symbol : class QueryMBeansObjectNameOnlyTestCase
      location: class org.jboss.test.jmx.compliance.query.QuerySUITE
       suite.addTest(new TestSuite(QueryMBeansObjectNameOnlyTestCase.class));
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/registration/RegistrationTEST.java:47: cannot find symbol
      symbol : class RegistrationAware
      location: class org.jboss.test.jmx.compliance.registration.RegistrationTEST
       RegistrationAware ra = new RegistrationAware();
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/registration/RegistrationTEST.java:47: cannot find symbol
      symbol : class RegistrationAware
      location: class org.jboss.test.jmx.compliance.registration.RegistrationTEST
       RegistrationAware ra = new RegistrationAware();
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/registration/RegistrationTEST.java:84: cannot find symbol
      symbol : class RegistrationAware
      location: class org.jboss.test.jmx.compliance.registration.RegistrationTEST
       RegistrationAware original = new RegistrationAware();
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/registration/RegistrationTEST.java:84: cannot find symbol
      symbol : class RegistrationAware
      location: class org.jboss.test.jmx.compliance.registration.RegistrationTEST
       RegistrationAware original = new RegistrationAware();
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/registration/RegistrationTEST.java:85: cannot find symbol
      symbol : class RegistrationAware
      location: class org.jboss.test.jmx.compliance.registration.RegistrationTEST
       RegistrationAware ra = new RegistrationAware();
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/registration/RegistrationTEST.java:85: cannot find symbol
      symbol : class RegistrationAware
      location: class org.jboss.test.jmx.compliance.registration.RegistrationTEST
       RegistrationAware ra = new RegistrationAware();
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/relation/RelationSUITE.java:54: cannot find symbol
      symbol : class MBeanServerNotificationFilterTestCase
      location: class org.jboss.test.jmx.compliance.relation.RelationSUITE
       suite.addTest(new TestSuite(MBeanServerNotificationFilterTestCase.class));
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/relation/RelationSUITE.java:59: cannot find symbol
      symbol : class RoleUnresolvedTestCase
      location: class org.jboss.test.jmx.compliance.relation.RelationSUITE
       suite.addTest(new TestSuite(RoleUnresolvedTestCase.class));
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/relation/RelationSUITE.java:60: cannot find symbol
      symbol : class RoleUnresolvedListTestCase
      location: class org.jboss.test.jmx.compliance.relation.RelationSUITE
       suite.addTest(new TestSuite(RoleUnresolvedListTestCase.class));
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/relation/RelationSUITE.java:61: cannot find symbol
      symbol : class RelationNotificationTestCase
      location: class org.jboss.test.jmx.compliance.relation.RelationSUITE
       suite.addTest(new TestSuite(RelationNotificationTestCase.class));
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/relation/RelationSUITE.java:62: cannot find symbol
      symbol : class RelationTypeSupportTestCase
      location: class org.jboss.test.jmx.compliance.relation.RelationSUITE
       suite.addTest(new TestSuite(RelationTypeSupportTestCase.class));
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/relation/RelationSUITE.java:63: cannot find symbol
      symbol : class RelationServiceTestCase
      location: class org.jboss.test.jmx.compliance.relation.RelationSUITE
       suite.addTest(new TestSuite(RelationServiceTestCase.class));
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/relation/RelationSUITE.java:64: cannot find symbol
      symbol : class RelationSupportTestCase
      location: class org.jboss.test.jmx.compliance.relation.RelationSUITE
       suite.addTest(new TestSuite(RelationSupportTestCase.class));
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/server/MBeanServerTEST.java:253: cannot find symbol
      symbol : class MyScreamingException
      location: class org.jboss.test.jmx.compliance.server.MBeanServerTEST
       assertTrue(e.getTargetException() instanceof MyScreamingException);
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/server/MBeanServerTEST.java:292: cannot find symbol
      symbol : class MyScreamingException
      location: class org.jboss.test.jmx.compliance.server.MBeanServerTEST
       assertTrue(e.getTargetException() instanceof MyScreamingException);
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/server/MBeanServerTEST.java:330: cannot find symbol
      symbol : class ExceptionOnTheRun
      location: class org.jboss.test.jmx.compliance.server.MBeanServerTEST
       assertTrue(e.getTargetException() instanceof ExceptionOnTheRun);
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/server/MBeanServerTEST.java:389: cannot find symbol
      symbol : class MyScreamingException
      location: class org.jboss.test.jmx.compliance.server.MBeanServerTEST
       assertTrue(e.getTargetException() instanceof MyScreamingException);
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/server/MBeanServerTEST.java:427: cannot find symbol
      symbol : class ExceptionOnTheRun
      location: class org.jboss.test.jmx.compliance.server.MBeanServerTEST
       assertTrue(e.getTargetException() instanceof ExceptionOnTheRun);
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/server/MBeanServerTEST.java:1053: cannot find symbol
      symbol : class MyScreamingException
      location: class org.jboss.test.jmx.compliance.server.MBeanServerTEST
       assertTrue(e.getTargetException() instanceof MyScreamingException);
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/server/MBeanServerTEST.java:1077: cannot find symbol
      symbol : class MyScreamingException
      location: class org.jboss.test.jmx.compliance.server.MBeanServerTEST
       assertTrue(e.getTargetException() instanceof MyScreamingException);
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/server/MBeanServerTEST.java:1219: cannot find symbol
      symbol : class MyScreamingException
      location: class org.jboss.test.jmx.compliance.server.MBeanServerTEST
       assertTrue(e.getTargetException() instanceof MyScreamingException);
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/server/MBeanServerTEST.java:1246: cannot find symbol
      symbol : class MyScreamingException
      location: class org.jboss.test.jmx.compliance.server.MBeanServerTEST
       assertTrue(e.getTargetException() instanceof MyScreamingException);
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/server/ServerSUITE.java:42: cannot find symbol
      symbol : class MBeanServerBuilderTestCase
      location: class org.jboss.test.jmx.compliance.server.ServerSUITE
       suite.addTest(new TestSuite(MBeanServerBuilderTestCase.class));
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/server/ServerSUITE.java:43: cannot find symbol
      symbol : class MBeanServerInvocationHandlerTestCase
      location: class org.jboss.test.jmx.compliance.server.ServerSUITE
       suite.addTest(new TestSuite(MBeanServerInvocationHandlerTestCase.class));
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/server/support/ConstructorTest.java:36: cannot find symbol
      symbol : class MyScreamingException
      location: class org.jboss.test.jmx.compliance.server.support.ConstructorTest
       throw new MyScreamingException();
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/server/support/LockedTest2.java:52: cannot find symbol
      symbol : class MyScreamingException
      location: class org.jboss.test.jmx.compliance.server.support.LockedTest2
       throw new MyScreamingException();
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/server/support/LockedTest3.java:53: cannot find symbol
      symbol : class MyScreamingException
      location: class org.jboss.test.jmx.compliance.server.support.LockedTest3
       throw new MBeanRegistrationException(new MyScreamingException(), "you can't unregister me!");
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/server/support/Test.java:39: cannot find symbol
      symbol : class MyScreamingException
      location: class org.jboss.test.jmx.compliance.server.support.Test
       throw new MyScreamingException();
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/server/support/Test.java:44: cannot find symbol
      symbol : class MyScreamingException
      location: class org.jboss.test.jmx.compliance.server.support.Test
       throw new MyScreamingException();
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/server/support/Test.java:49: cannot find symbol
      symbol : class ExceptionOnTheRun
      location: class org.jboss.test.jmx.compliance.server.support.Test
       throw new ExceptionOnTheRun();
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/server/support/Test.java:54: cannot find symbol
      symbol : class ExceptionOnTheRun
      location: class org.jboss.test.jmx.compliance.server.support.Test
       throw new ExceptionOnTheRun();
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/server/support/Test.java:74: cannot find symbol
      symbol : class MyScreamingException
      location: class org.jboss.test.jmx.compliance.server.support.Test
       throw new MyScreamingException();
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/server/support/Test3.java:38: cannot find symbol
      symbol : class MyScreamingException
      location: class org.jboss.test.jmx.compliance.server.support.Test3
       throw new MyScreamingException();
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/server/support/Test4.java:39: cannot find symbol
      symbol : class MyScreamingException
      location: class org.jboss.test.jmx.compliance.server.support.Test4
       throw new MBeanRegistrationException(new MyScreamingException());
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/standard/InheritanceSUITE.java:55: cannot find symbol
      symbol : class StandardDerived1
      location: class org.jboss.test.jmx.compliance.standard.InheritanceSUITE
       Object mbean = new StandardDerived1();
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/standard/InheritanceSUITE.java:58: cannot find symbol
      symbol : class StandardDerived1
      location: class org.jboss.test.jmx.compliance.standard.InheritanceSUITE
       addConstructorTest(testSuite, info, StandardDerived1.class.getName(), new String[0]);
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/compliance/standard/InheritanceSUITE.java:67: cannot find symbol
      symbol : class StandardDerived2
      location: class org.jboss.test.jmx.compliance.standard.InheritanceSUITE
       mbean = new StandardDerived2();
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/serialization/SerializationSUITE.java:56: warning: [deprecation] toURL() in java.io.File has been deprecated
       jmxri = new URLClassLoader(new URL[] {riLocation.toURL()},
       ^
      /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/src/tests/org/jboss/test/jmx/serialization/SerializationSUITE.java:59: warning: [deprecation] toURL() in java.io.File has been deprecated
       jbossmx = new URLClassLoader(new URL[] {jbossmxLocation.toURL()},
       ^
      Note: Some input files use unchecked or unsafe operations.
      Note: Recompile with -Xlint:unchecked for details.
      100 errors
      12 warnings
      
      BUILD FAILED


        • 1. Re: JBossAS 5.0.0CR1 compile error building from source
          jaikiran pai Master

           

          Java version: 1.6.0


          Try building with Java 1.5

          • 2. Re: JBossAS 5.0.0CR1 compile error building from source
            Thomas Wiesner Newbie

            It doesn't matter which Java version i try.

            With

            Maven version: 2.0.9
            Java version: 1.5.0_15
            OS name: "linux" version: "2.6.25.5-1.1-pae" arch: "i386" Family: "unix"


            i got the same 100 compile errors in module j2se.

            Before trying the new build with java 1.5, i executed
            build.sh clobber

            to wipe out the old output.

            • 3. Re: JBossAS 5.0.0CR1 compile error building from source
              jaikiran pai Master

              I haven't yet tried building for CR1 source, so not sure what's the problem.

              • 4. Re: JBossAS 5.0.0CR1 compile error building from source
                Thomas Wiesner Newbie

                Ok, problem is solved. Whatever the untar/unzip were making corrupt java files, so some files doesn't end with .java ! Carzy !

                • 5. Re: JBossAS 5.0.0CR1 compile error building from source
                  Peter Johnson Master

                  I pulled the source from subversion yesterday just after they tagged CR1, and except for a minor maven glitch (had to run "mvn -U -up" to update various stuff, oh and make sure you have maven 2.0.9), it compiled just fine. Hold on while I compile the 'official' source. OK, it built for me. I used WinXP SP2, JDK 1.5.0_15.

                  I compared my build.log with yours. Right before the errors, your build log shows:

                  compile-classes:
                   [javac] Compiling 168 source files to /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/ou
                  tput/classes



                  but mine shows:

                  ======================================================================
                   == Executing 'most' in module 'j2se'...
                   ==
                  
                  _buildmagic:init:
                  
                  configure:
                  Overriding previous definition of reference to jboss.test.classpath
                  
                  _default:task-init:
                  
                  init:
                  
                  _buildmagic:build-bypass-checker:
                  
                  _buildmagic:build-bypass-notice:
                  
                  _buildmagic:build-bypass-check:
                  
                  jars:
                  
                  _buildmagic:init:
                  
                  init:
                  
                  compile-classes:
                   [mkdir] Created dir: F:\opt\jboss\download\jboss-5.0.0.CR1-src\j2se\output\classes
                   [mkdir] Created dir: F:\opt\jboss\download\jboss-5.0.0.CR1-src\j2se\output\gen-src
                   [javac] Compiling 260 source files to F:\opt\jboss\download\jboss-5.0.0.CR1-src\j2se\output\classes


                  Why is mine compiling 260 classes while yours is compiling only 168 classes? It would appear that the untargzing of the file did not work correctly.

                  • 6. Re: JBossAS 5.0.0CR1 compile error building from source
                    Thomas Wiesner Newbie

                    Hi PeterJ,

                    "PeterJ" wrote:

                    Why is mine compiling 260 classes while yours is compiling only 168 classes? It would appear that the untargzing of the file did not work correctly.


                    Yes, i wrote in my last post, that the untargzing went wrong. After a new try untaring it with another tool the build was fine:

                    ======================================================================
                     == Executing 'most' in module 'j2se'...
                     ==
                    
                    _buildmagic:init:
                    
                    configure:
                    Overriding previous definition of reference to jboss.test.classpath
                    
                    _default:task-init:
                    
                    init:
                    
                    _buildmagic:build-bypass-checker:
                    
                    _buildmagic:build-bypass-notice:
                    
                    _buildmagic:build-bypass-check:
                    
                    jars:
                    
                    _buildmagic:init:
                    
                    init:
                    
                    compile-classes:
                     [mkdir] Created dir: /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/output/classes
                     [mkdir] Created dir: /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/output/gen-src
                     [javac] Compiling 260 source files to /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/output/classes
                    


                    Now i'm still working at a build error with the embedded module (see embedded jboss forum)

                    • 7. Re: JBossAS 5.0.0CR1 compile error building from source
                      Peter Johnson Master

                      Arakisi69, just now noticed that you found the problem while I was busy compiling (when I posted my reply the last entry was from Jaikiran).

                      And for the curious, the source also builds correctly using JDK 1.6.0_06. And it builds faster (4 minutes for JDK6, vs 4min 46 sec for JDK5)