3 Replies Latest reply on Dec 22, 2003 9:01 PM by cts5678

    3.2.x build failure since September/October 2003

    cts5678 Newbie

      Is anyone having build failures on the 3.2.x source such as follows:

      C:\My Documents\jboss-3.2.3-src\varia\src\main\org\jboss\jdo\castor\CastorJDOImpl.java --> CastorJDOImplMBean qualified to org.jboss.jdo.castor.CastorJDOImplMBean

      compile-xsds:
      [java] -- Disabling generation of Class descriptors
      [java] unable to open XML schema file
      [java] -- Disabling generation of Class descriptors
      [java] unable to open XML schema file
      [java] -- Disabling generation of Class descriptors
      [java] unable to open XML schema file

      compile-classes:
      [javac] Compiling 125 source files to C:\My Documents\jboss-3.2.3-src\varia\output\classes
      C:\My Documents\jboss-3.2.3-src\varia\src\main\org\jboss\jmx\adaptor\snmp\agent\SubscriptionMgr.java:33: package org.jboss.jmx.adaptor.snmp.config.subscription does not exist
      import org.jboss.jmx.adaptor.snmp.config.subscription.MonitoredObj;
      ^
      C:\My Documents\jboss-3.2.3-src\varia\src\main\org\jboss\jmx\adaptor\snmp\agent\SubscriptionMgr.java:34: package org.jboss.jmx.adaptor.snmp.config.subscription does not exist
      import org.jboss.jmx.adaptor.snmp.config.subscription.MonitoredObjList;
      ^
      C:\My Documents\jboss-3.2.3-src\varia\src\main\org\jboss\jmx\adaptor\snmp\agent\TrapEmitter.java:44: package org.jboss.jmx.adaptor.snmp.config.manager does not exist
      import org.jboss.jmx.adaptor.snmp.config.manager.Manager;
      ^
      C:\My Documents\jboss-3.2.3-src\varia\src\main\org\jboss\jmx\adaptor\snmp\agent\TrapEmitter.java:45: package org.jboss.jmx.adaptor.snmp.config.manager does not exist
      import org.jboss.jmx.adaptor.snmp.config.manager.ManagerList;
      ^
      C:\My Documents\jboss-3.2.3-src\varia\src\main\org\jboss\jmx\adaptor\snmp\agent\TrapFactorySupport.java:40: package org.jboss.jmx.adaptor.snmp.config.notification does not exist
      import org.jboss.jmx.adaptor.snmp.config.notification.Mapping;
      ^
      C:\My Documents\jboss-3.2.3-src\varia\src\main\org\jboss\jmx\adaptor\snmp\agent\TrapFactorySupport.java:41: package org.jboss.jmx.adaptor.snmp.config.notification does not exist
      import org.jboss.jmx.adaptor.snmp.config.notification.NotificationMapList;
      ^
      C:\My Documents\jboss-3.2.3-src\varia\src\main\org\jboss\jmx\adaptor\snmp\agent\TrapFactorySupport.java:42: package org.jboss.jmx.adaptor.snmp.config.notification does not exist
      import org.jboss.jmx.adaptor.snmp.config.notification.VarBind;
      ^
      C:\My Documents\jboss-3.2.3-src\varia\src\main\org\jboss\jmx\adaptor\snmp\agent\TrapFactorySupport.java:43: package org.jboss.jmx.adaptor.snmp.config.notification does not exist
      import org.jboss.jmx.adaptor.snmp.config.notification.VarBindList;
      ^
      C:\My Documents\jboss-3.2.3-src\varia\src\main\org\jboss\jmx\adaptor\snmp\agent\TrapFactorySupport.java:103: cannot resolve symbol
      symbol : class NotificationMapList
      location: class org.jboss.jmx.adaptor.snmp.agent.TrapFactorySupport
      private NotificationMapList notificationMapList = null;
      ^
      C:\My Documents\jboss-3.2.3-src\varia\src\main\org\jboss\jmx\adaptor\snmp\agent\SubscriptionMgr.java:103: cannot resolve symbol
      symbol : class MonitoredObjList
      location: class org.jboss.jmx.adaptor.snmp.agent.SubscriptionMgr
      MonitoredObjList monitoredObjList = null;
      ^
      C:\My Documents\jboss-3.2.3-src\varia\src\main\org\jboss\jmx\adaptor\snmp\agent\SubscriptionMgr.java:106: cannot resolve symbol
      symbol : variable MonitoredObjList
      location: class org.jboss.jmx.adaptor.snmp.agent.SubscriptionMgr
      monitoredObjList = MonitoredObjList.unmarshal(in);
      ^
      C:\My Documents\jboss-3.2.3-src\varia\src\main\org\jboss\jmx\adaptor\snmp\agent\SubscriptionMgr.java:128: cannot resolve symbol
      symbol : class MonitoredObj
      location: class org.jboss.jmx.adaptor.snmp.agent.SubscriptionMgr
      MonitoredObj s = monitoredObjList.getMonitoredObj(i);
      ^
      C:\My Documents\jboss-3.2.3-src\varia\src\main\org\jboss\jmx\adaptor\snmp\agent\TrapEmitter.java:237: cannot resolve symbol
      symbol : class ManagerList
      location: class org.jboss.jmx.adaptor.snmp.agent.TrapEmitter
      ManagerList managerList = null;
      ^
      C:\My Documents\jboss-3.2.3-src\varia\src\main\org\jboss\jmx\adaptor\snmp\agent\TrapEmitter.java:240: cannot resolve symbol
      symbol : variable ManagerList
      location: class org.jboss.jmx.adaptor.snmp.agent.TrapEmitter
      managerList = ManagerList.unmarshal(in);
      ^
      C:\My Documents\jboss-3.2.3-src\varia\src\main\org\jboss\jmx\adaptor\snmp\agent\TrapEmitter.java:256: cannot resolve symbol
      symbol : class Manager
      location: class org.jboss.jmx.adaptor.snmp.agent.TrapEmitter
      Manager m = managerList.getManager(i);
      ^
      C:\My Documents\jboss-3.2.3-src\varia\src\main\org\jboss\jmx\adaptor\snmp\agent\TrapFactorySupport.java:164: cannot resolve symbol
      symbol : variable NotificationMapList
      location: class org.jboss.jmx.adaptor.snmp.agent.TrapFactorySupport
      this.notificationMapList = NotificationMapList.unmarshal(in);
      ^
      C:\My Documents\jboss-3.2.3-src\varia\src\main\org\jboss\jmx\adaptor\snmp\agent\TrapFactorySupport.java:281: cannot resolve symbol
      symbol : class Mapping
      location: class org.jboss.jmx.adaptor.snmp.agent.TrapFactorySupport
      Mapping m = this.notificationMapList.getMapping(index);
      ^
      C:\My Documents\jboss-3.2.3-src\varia\src\main\org\jboss\jmx\adaptor\snmp\agent\TrapFactorySupport.java:310: cannot resolve symbol
      symbol : class VarBindList
      location: class org.jboss.jmx.adaptor.snmp.agent.TrapFactorySupport
      VarBindList vbList = m.getVarBindList();
      ^
      C:\My Documents\jboss-3.2.3-src\varia\src\main\org\jboss\jmx\adaptor\snmp\agent\TrapFactorySupport.java:313: cannot resolve symbol
      symbol : class VarBind
      location: class org.jboss.jmx.adaptor.snmp.agent.TrapFactorySupport
      VarBind vb = vbList.getVarBind(i);
      ^
      C:\My Documents\jboss-3.2.3-src\varia\src\main\org\jboss\jmx\adaptor\snmp\agent\TrapFactorySupport.java:355: cannot resolve symbol
      symbol : class Mapping
      location: class org.jboss.jmx.adaptor.snmp.agent.TrapFactorySupport
      Mapping m = this.notificationMapList.getMapping(index);
      ^
      C:\My Documents\jboss-3.2.3-src\varia\src\main\org\jboss\jmx\adaptor\snmp\agent\TrapFactorySupport.java:372: cannot resolve symbol
      symbol : class VarBindList
      location: class org.jboss.jmx.adaptor.snmp.agent.TrapFactorySupport
      VarBindList vbList = m.getVarBindList();
      ^
      C:\My Documents\jboss-3.2.3-src\varia\src\main\org\jboss\jmx\adaptor\snmp\agent\TrapFactorySupport.java:374: cannot resolve symbol
      symbol : class VarBind
      location: class org.jboss.jmx.adaptor.snmp.agent.TrapFactorySupport
      VarBind vb=vbList.getVarBind(i);
      ^
      22 errors

      BUILD FAILED

      Ant cannot find the packages under org.jboss.jmx.adaptor.snmp.config.subscription, org.jboss.jmx.adaptor.snmp.config.manager or
      org.jboss.jmx.adaptor.snmp.config.notification .

      I have tried searching all the source text in the build directory tree for the missing class definitions of VarBind, VarBindList, Mapping and Manager as well as the missing symbols NotificationMapList and ManagerList but the only references I find are in the source files that failed to compile.

      Any ideas, suggestions, etc. would be appreciated.

        • 1. Re: 3.2.x build failure since September/October 2003
          cts5678 Newbie

          By the way, in poking around a little, I found in jboss-3.2.3-src\varia\src\resources\services\snmp\config\ three .xsd files named Subscription.xsd, Notification.xsd and Manager.xsd which contain some XML-looking stuff that (coincidentally?) contains strings Manager, ManagerList, VarBind, VarBindList, etc. so I'm guessing that for some reason it was looking for these files in, say, varia\src\main\org\jboss\jmx\adaptor\snmp\agent\config and that is the reason for the initial messages saying

          compile-xsds:
          [java] -- Disabling generation of Class descriptors
          [java] unable to open XML schema file
          [java] -- Disabling generation of Class descriptors
          [java] unable to open XML schema file
          [java] -- Disabling generation of Class descriptors
          [java] unable to open XML schema file

          • 2. Re: 3.2.x build failure since September/October 2003
            Juha Lindfors Master

            What is the cvs co command line you use?

            • 3. Re: 3.2.x build failure since September/October 2003
              cts5678 Newbie

              On Windows 98, castor was having trouble with the c:\My Documents\ directory, taking c:\My as a parameter and Documents\ as another parameter, so it wasn't compiling the .xsd files so the build was failing. When I moved the jboss=3.2.3-src directory to c:\, it built correctly. My bad.