1 Reply Latest reply on Jan 23, 2009 4:05 AM by Andrew Dinn

    problem building jbossjts with jbossts_4_3_GA and JBoss 5

    Pierangelo Repetti Newbie

      I am trying to compile JBossTS 4.3GA and its target jbossjts.

      The docs say I have to build against JDK1.5 and JBoss 5. So I downloaded a 5.0.0GA and set JBOSS_HOME to it.

      I am on WinXP SP3 and JDK 1.5.0_16.

      The build fails with the following errors:

      [java] com.arjuna.mwlabs.ts.jbossatx.service.compile:
      [java] [echo] Compiling Transaction JBoss service
      [java] [javac] Compiling 17 source files to D:\temp\LAIT\lavoriGen09\JBOSSTS_4_3_GA\atsintegration\build\classes
      [java] [javac] D:\temp\LAIT\lavoriGen09\JBOSSTS_4_3_GA\atsintegration\classes\com\arjuna\ats\jbossatx\jta\TransactionManagerService.java:35: cannot find symbol
      [java] [javac] symbol : class Server
      [java] [javac] location: package org.jboss.system.server
      [java] [javac] import org.jboss.system.server.Server;
      [java] [javac] ^
      [java] [javac] D:\temp\LAIT\lavoriGen09\JBOSSTS_4_3_GA\atsintegration\classes\com\arjuna\ats\jbossatx\jta\TransactionManagerService.java:78: cannot access org.jboss.kernel.spi.dependency.KernelControllerContextAware
      [java] [javac] file org\jboss\kernel\spi\dependencyKernelControllerContextAware.class not found
      [java] [javac] public class TransactionManagerService extends ServiceMBeanSupport implements TransactionManagerServiceMBean, NotificationListener
      [java] [javac] ^
      [java] [javac] D:\temp\LAIT\lavoriGen09\JBOSSTS_4_3_GA\atsintegration\classes\com\arjuna\ats\jbossatx\jts\TransactionManagerService.java:34: cannot find symbol
      [java] [javac] symbol : class Server
      [java] [javac] location: package org.jboss.system.server
      [java] [javac] import org.jboss.system.server.Server;
      [java] [javac] ^
      [java] [javac] D:\temp\LAIT\lavoriGen09\JBOSSTS_4_3_GA\atsintegration\classes\com\arjuna\ats\jbossatx\jts\TransactionManagerService.java:35: cannot find symbol
      [java] [javac] symbol : class CorbaORBService
      [java] [javac] location: package org.jboss.iiop
      [java] [javac] import org.jboss.iiop.CorbaORBService;
      [java] [javac] ^
      [java] [javac] D:\temp\LAIT\lavoriGen09\JBOSSTS_4_3_GA\atsintegration\classes\com\arjuna\ats\jbossatx\jta\TransactionManagerService.java:127: cannot find symbol
      [java] [javac] symbol : variable this
      [java] [javac] location: class com.arjuna.ats.jbossatx.jta.TransactionManagerService
      [java] [javac] this.getLog().info("JBossTS Transaction Service
      (JTA version) - JBoss Inc.");
      [java] [javac] ^
      [java] [javac] D:\temp\LAIT\lavoriGen09\JBOSSTS_4_3_GA\atsintegration\classes\com\arjuna\ats\jbossatx\jta\TransactionManagerService.java:129: cannot find symbol
      [java] [javac] symbol : variable this
      [java] [javac] location: class com.arjuna.ats.jbossatx.jta.TransactionManagerService
      [java] [javac] this.getLog().info("Setting up property manager
      MBean and JMX layer");
      [java] [javac] ^
      [java] [javac] D:\temp\LAIT\lavoriGen09\JBOSSTS_4_3_GA\atsintegration\classes\com\arjuna\ats\jbossatx\jta\TransactionManagerService.java:132: cannot find symbol
      [java] [javac] symbol : variable this
      [java] [javac] location: class com.arjuna.ats.jbossatx.jta.TransactionManagerService
      [java] [javac] LocalJBossAgentImpl.setLocalAgent(this.getServer
      ());
      [java] [javac] ^
      [java] [javac] D:\temp\LAIT\lavoriGen09\JBOSSTS_4_3_GA\atsintegration\classes\com\arjuna\ats\jbossatx\jta\TransactionManagerService.java:157: cannot find symbol
      [java] [javac] symbol : variable this
      [java] [javac] location: class com.arjuna.ats.jbossatx.jta.TransactionManagerService
      [java] [javac] this.getLog().fatal("Failed to create and re
      gister Propagation Context Manager", e);
      [java] [javac] ^
      [java] [javac] D:\temp\LAIT\lavoriGen09\JBOSSTS_4_3_GA\atsintegration\classes\com\arjuna\ats\jbossatx\jta\TransactionManagerService.java:167: cannot find symbol
      [java] [javac] symbol : variable this
      [java] [javac] location: class com.arjuna.ats.jbossatx.jta.TransactionManagerService
      [java] [javac] this.getLog().info("Starting recovery ma
      nager");
      [java] [javac] ^
      [java] [javac] D:\temp\LAIT\lavoriGen09\JBOSSTS_4_3_GA\atsintegration\classes\com\arjuna\ats\jbossatx\jta\TransactionManagerService.java:172: cannot find symbol
      [java] [javac] symbol : variable this
      [java] [javac] location: class com.arjuna.ats.jbossatx.jta.TransactionManagerService
      [java] [javac] this.getLog().info("Recovery manager sta
      rted");
      [java] [javac] ^
      [java] [javac] D:\temp\LAIT\lavoriGen09\JBOSSTS_4_3_GA\atsintegration\classes\com\arjuna\ats\jbossatx\jta\TransactionManagerService.java:178: cannot find symbol
      [java] [javac] symbol : variable this
      [java] [javac] location: class com.arjuna.ats.jbossatx.jta.TransactionManagerService
      [java] [javac] this.getLog().info("Using external r
      ecovery manager");
      [java] [javac] ^
      [java] [javac] D:\temp\LAIT\lavoriGen09\JBOSSTS_4_3_GA\atsintegration\classes\com\arjuna\ats\jbossatx\jta\TransactionManagerService.java:182: cannot find symbol
      [java] [javac] symbol : variable this
      [java] [javac] location: class com.arjuna.ats.jbossatx.jta.TransactionManagerService
      [java] [javac] this.getLog().fatal("Recovery manage
      r not found - please refer to the JBossTS documentation for details");
      [java] [javac] ^
      [java] [javac] D:\temp\LAIT\lavoriGen09\JBOSSTS_4_3_GA\atsintegration\classes\com\arjuna\ats\jbossatx\jta\TransactionManagerService.java:190: cannot find symbol
      [java] [javac] symbol : variable this
      [java] [javac] location: class com.arjuna.ats.jbossatx.jta.TransactionManagerService
      [java] [javac] this.getLog().fatal("Failed to start recover
      y manager", e);
      [java] [javac] ^
      [java] [javac] D:\temp\LAIT\lavoriGen09\JBOSSTS_4_3_GA\atsintegration\classes\com\arjuna\ats\jbossatx\jta\TransactionManagerService.java:195: cannot find symbol
      [java] [javac] symbol : variable this
      [java] [javac] location: class com.arjuna.ats.jbossatx.jta.TransactionManagerService
      [java] [javac] this.getLog().info("Binding TransactionManager J
      NDI Reference");
      [java] [javac] ^
      [java] [javac] D:\temp\LAIT\lavoriGen09\JBOSSTS_4_3_GA\atsintegration\classes\com\arjuna\ats\jbossatx\jta\TransactionManagerService.java:251: cannot find symbol
      [java] [javac] symbol : method getLog()
      [java] [javac] location: class com.arjuna.ats.jbossatx.jta.TransactionManagerService
      [java] [javac] getLog().info("Connecting to recovery ma
      nager on port "+port);
      [java] [javac] ^
      [java] [javac] D:\temp\LAIT\lavoriGen09\JBOSSTS_4_3_GA\atsintegration\classes\com\arjuna\ats\jbossatx\jta\TransactionManagerService.java:268: cannot find symbol
      [java] [javac] symbol : method getLog()
      [java] [javac] location: class com.arjuna.ats.jbossatx.jta.TransactionManagerService
      [java] [javac] getLog().error("Failed to connect to rec
      overy manager", ex);
      [java] [javac] ^
      [java] [javac] D:\temp\LAIT\lavoriGen09\JBOSSTS_4_3_GA\atsintegration\classes\com\arjuna\ats\jbossatx\jta\TransactionManagerService.java:300: cannot find symbol
      [java] [javac] symbol : variable this
      [java] [javac] location: class com.arjuna.ats.jbossatx.jta.TransactionManagerService
      [java] [javac] this.getLog().info("Stopping recovery manage
      r");
      [java] [javac] ^
      [java] [javac] D:\temp\LAIT\lavoriGen09\JBOSSTS_4_3_GA\atsintegration\classes\com\arjuna\ats\jbossatx\jta\TransactionManagerService.java:320: cannot find symbol
      [java] [javac] symbol : variable this
      [java] [javac] location: class com.arjuna.ats.jbossatx.jta.TransactionManagerService
      [java] [javac] if (this.timeout != timeout)
      [java] [javac] ^
      [java] [javac] D:\temp\LAIT\lavoriGen09\JBOSSTS_4_3_GA\atsintegration\classes\com\arjuna\ats\jbossatx\jta\TransactionManagerService.java:327: cannot find symbol
      [java] [javac] symbol : variable this
      [java] [javac] location: class com.arjuna.ats.jbossatx.jta.TransactionManagerService
      [java] [javac] this.timeout = timeout ;
      [java] [javac] ^
      [java] [javac] D:\temp\LAIT\lavoriGen09\JBOSSTS_4_3_GA\atsintegration\classes\com\arjuna\ats\jbossatx\jta\TransactionManagerService.java:422: cannot find symbol
      [java] [javac] symbol : variable this
      [java] [javac] location: class com.arjuna.ats.jbossatx.jta.TransactionManagerService
      [java] [javac] this.getLog().warn("XAExceptionFormatters are not supported by the JBossTS Transaction Service - this warning can safely be ignored");
      [java] [javac] ^
      [java] [javac] D:\temp\LAIT\lavoriGen09\JBOSSTS_4_3_GA\atsintegration\classes\com\arjuna\ats\jbossatx\jta\TransactionManagerService.java:476: cannot find symbol
      [java] [javac] symbol : variable this
      [java] [javac] location: class com.arjuna.ats.jbossatx.jta.TransactionManagerService
      [java] [javac] if (this._runRM != runRM)
      [java] [javac] ^
      [java] [javac] D:\temp\LAIT\lavoriGen09\JBOSSTS_4_3_GA\atsintegration\classes\com\arjuna\ats\jbossatx\jta\TransactionManagerService.java:543: cannot find symbol
      [java] [javac] symbol : variable Server
      [java] [javac] location: class com.arjuna.ats.jbossatx.jta.TransactionManagerService
      [java] [javac] notificationFilter.enableType(Server.START_NOTIFICATION_TYPE) ;
      [java] [javac] ^
      [java] [javac] D:\temp\LAIT\lavoriGen09\JBOSSTS_4_3_GA\atsintegration\classes\com\arjuna\ats\jbossatx\jta\TransactionManagerService.java:547: cannot find symbol
      [java] [javac] symbol : variable this
      [java] [javac] location: class com.arjuna.ats.jbossatx.jta.TransactionManagerService
      [java] [javac] getServer().addNotificationListener(serverName,
      this, notificationFilter, null) ;
      [java] [javac]
      ^
      [java] [javac] D:\temp\LAIT\lavoriGen09\JBOSSTS_4_3_GA\atsintegration\classes\com\arjuna\ats\jbossatx\jta\TransactionManagerService.java:547: cannot find symbol
      [java] [javac] symbol : method getServer()
      [java] [javac] location: class com.arjuna.ats.jbossatx.jta.TransactionManagerService
      [java] [javac] getServer().addNotificationListener(serverName,
      this, notificationFilter, null) ;
      [java] [javac] ^
      [java] [javac] D:\temp\LAIT\lavoriGen09\JBOSSTS_4_3_GA\atsintegration\classes\com\arjuna\ats\jbossatx\jts\TransactionManagerService.java:161: cannot find symbol
      [java] [javac] symbol : variable CorbaORBService
      [java] [javac] location: class com.arjuna.ats.jbossatx.jts.TransactionManagerService
      [java] [javac] org.omg.CORBA.ORB orbImpl = (org.omg.CORBA.ORB) ctx.lookup("java:/" + CorbaORBService.ORB_NAME);
      [java] [javac]
      ^
      [java] [javac] D:\temp\LAIT\lavoriGen09\JBOSSTS_4_3_GA\atsintegration\classes\com\arjuna\ats\jbossatx\jts\TransactionManagerService.java:162: cannot find symbol
      [java] [javac] symbol : variable CorbaORBService
      [java] [javac] location: class com.arjuna.ats.jbossatx.jts.TransactionManagerService
      [java] [javac] org.omg.PortableServer.POA rootPOA = (org.omg.PortableServer.POA) ctx.lookup("java:/" + CorbaORBService.POA_NAME);

      [java] BUILD FAILED

      Can anyone help ?
      Thanks