1 Reply Latest reply on Jan 20, 2004 5:27 PM by rolfpf

    Problem with package org.jgroups using Jetty 4.2.15 for JBos

    rolfpf Newbie

       

      "rolfpf" wrote:
      I have successfully installed and run Jetty 4.2.15 as stand alone web container. However when I attempt to Build the JBoss-Jetty SAR with the command "ant extra", I get the message shown below. It apprears to be missing org.jgroups.

      Can anyone help in solving this problem it would be greatly appreciated.


      ENVIRONMENT
      ============

      System
      -------
      Windows 2000 Advanced Server with SP4
      Jetty 4.2.15 (using Jetty-4.2.15-all.zip)
      Jboss 3.2.2 (with embedded Jetty 4.2.11 which we are attempting to replace)
      Ant 1.5.4
      XDoclet 1.2.0-beta2 (binary)
      JDK 1.4.1


      CLASSPATH
      C:\ANT\lib;C:\j2sdk1.4.1_03\lib;C:\jboss\lib;C:\jbpm\lib;C:\Jetty-4.2.15\lib;C:\Jetty-4.2.15\extra\lib;C:\xdoclet-1.2\lib

      ANT_HOME
      C:\ANT

      JAVA_HOME
      C:\j2sdk1.4.1_03

      JBOSS_HOME
      C:\jboss

      JBPM_HOME
      C:\jbpm

      JETTY_HOME
      C:\Jetty-4.2.15

      XDOCLET_HOME
      C:\xdoclet-1.2

      Path
      %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\Microsoft SQL Server\80\Tools\BINN;C:\ANT\bin;C:\j2sdk1.4.1_03\bin;C:\jboss\bin;C:\jbpm\bin;C:\Jetty-4.2.15\bin;C:\xdoclet-1.2



      MY PROBLEM
      ========
      Extract from a DOS session when the command "ant extra" is executed.
      ---------------------------------------------------------------------

      tra\ext\xapool.jar;C:\Jetty-4.2.15\ext\ant.jar;C:\Jetty-4.2.15\ext\jasper-compil
      er.jar;C:\Jetty-4.2.15\ext\jasper-runtime.jar;C:\Jetty-4.2.15\ext\jboss-jmx.jar;
      C:\Jetty-4.2.15\ext\jcert.jar;C:\Jetty-4.2.15\ext\jmxri.jar;C:\Jetty-4.2.15\ext\
      jmxtools.jar;C:\Jetty-4.2.15\ext\jnet.jar;C:\Jetty-4.2.15\ext\jsse.jar;C:\Jetty-
      4.2.15\ext\xercesImpl.jar;C:\Jetty-4.2.15\ext\xml-apis.jar

      prepare:

      classes:

      build.package.jar:

      jars:

      do.ftp:

      is.jdk1.4.available:
      [echo] JDK1.4 available=true

      classpath:
      [echo] classpath=C:\Jetty-4.2.15\lib\org.mortbay.jetty.jar;C:\Jetty-4.2.15\
      lib\javax.servlet.jar;C:\Jetty-4.2.15\extra\ext\activation.jar;C:\Jetty-4.2.15\e
      xtra\ext\carol.jar;C:\Jetty-4.2.15\extra\ext\commons-cli.jar;C:\Jetty-4.2.15\ext
      ra\ext\commons-logging.jar;C:\Jetty-4.2.15\extra\ext\hsqldb.jar;C:\Jetty-4.2.15\
      extra\ext\jasper-compiler.jar;C:\Jetty-4.2.15\extra\ext\jasper-runtime.jar;C:\Je
      tty-4.2.15\extra\ext\jboss-jmx.jar;C:\Jetty-4.2.15\extra\ext\jonas_timer.jar;C:\
      Jetty-4.2.15\extra\ext\jotm.jar;C:\Jetty-4.2.15\extra\ext\jotm_iiop_stubs.jar;C:
      \Jetty-4.2.15\extra\ext\jotm_jrmp_stubs.jar;C:\Jetty-4.2.15\extra\ext\jta-spec1_
      0_1.jar;C:\Jetty-4.2.15\extra\ext\jts1_0.jar;C:\Jetty-4.2.15\extra\ext\log4j.jar
      ;C:\Jetty-4.2.15\extra\ext\mail.jar;C:\Jetty-4.2.15\extra\ext\objectweb-datasour
      ce.jar;C:\Jetty-4.2.15\extra\ext\ow_util_log_file.jar;C:\Jetty-4.2.15\extra\ext\
      ow_util_log_wrp_log4j.jar;C:\Jetty-4.2.15\extra\ext\p6spy.jar;C:\Jetty-4.2.15\ex
      tra\ext\xapool.jar;C:\Jetty-4.2.15\ext\ant.jar;C:\Jetty-4.2.15\ext\jasper-compil
      er.jar;C:\Jetty-4.2.15\ext\jasper-runtime.jar;C:\Jetty-4.2.15\ext\jboss-jmx.jar;
      C:\Jetty-4.2.15\ext\jcert.jar;C:\Jetty-4.2.15\ext\jmxri.jar;C:\Jetty-4.2.15\ext\
      jmxtools.jar;C:\Jetty-4.2.15\ext\jnet.jar;C:\Jetty-4.2.15\ext\jsse.jar;C:\Jetty-
      4.2.15\ext\xercesImpl.jar;C:\Jetty-4.2.15\ext\xml-apis.jar

      prepare:

      classes:

      build.package.jar:

      jars:

      do.jdk1.2:

      classpath:
      [echo] classpath=C:\Jetty-4.2.15\lib\javax.servlet.jar;C:\Jetty-4.2.15\extr
      a\ext\activation.jar;C:\Jetty-4.2.15\extra\ext\carol.jar;C:\Jetty-4.2.15\extra\e
      xt\commons-cli.jar;C:\Jetty-4.2.15\extra\ext\commons-logging.jar;C:\Jetty-4.2.15
      \extra\ext\hsqldb.jar;C:\Jetty-4.2.15\extra\ext\jasper-compiler.jar;C:\Jetty-4.2
      .15\extra\ext\jasper-runtime.jar;C:\Jetty-4.2.15\extra\ext\jboss-jmx.jar;C:\Jett
      y-4.2.15\extra\ext\jonas_timer.jar;C:\Jetty-4.2.15\extra\ext\jotm.jar;C:\Jetty-4
      .2.15\extra\ext\jotm_iiop_stubs.jar;C:\Jetty-4.2.15\extra\ext\jotm_jrmp_stubs.ja
      r;C:\Jetty-4.2.15\extra\ext\jta-spec1_0_1.jar;C:\Jetty-4.2.15\extra\ext\jts1_0.j
      ar;C:\Jetty-4.2.15\extra\ext\log4j.jar;C:\Jetty-4.2.15\extra\ext\mail.jar;C:\Jet
      ty-4.2.15\extra\ext\objectweb-datasource.jar;C:\Jetty-4.2.15\extra\ext\ow_util_l
      og_file.jar;C:\Jetty-4.2.15\extra\ext\ow_util_log_wrp_log4j.jar;C:\Jetty-4.2.15\
      extra\ext\p6spy.jar;C:\Jetty-4.2.15\extra\ext\xapool.jar;C:\Jetty-4.2.15\ext\ant
      .jar;C:\Jetty-4.2.15\ext\jasper-compiler.jar;C:\Jetty-4.2.15\ext\jasper-runtime.
      jar;C:\Jetty-4.2.15\ext\jboss-jmx.jar;C:\Jetty-4.2.15\ext\jcert.jar;C:\Jetty-4.2
      .15\ext\jmxri.jar;C:\Jetty-4.2.15\ext\jmxtools.jar;C:\Jetty-4.2.15\ext\jnet.jar;
      C:\Jetty-4.2.15\ext\jsse.jar;C:\Jetty-4.2.15\ext\xercesImpl.jar;C:\Jetty-4.2.15\
      ext\xml-apis.jar
      [echo] JMX available=true

      prepare:

      classes:

      build.package.jar:

      build.jmx.jar:

      jars:

      do.j2ee:

      prepare:

      classes:
      [jmxdoclet] (XDocletMain.start 47 ) Running <mbeaninterface/>

      [jmxdoclet] INFO: Some classes refer to other classes that were not found amo
      ng the sources or on the classpath.
      [jmxdoclet] (Perhaps the referred class doesn't exist? Hasn't been gene
      rated yet?)
      [jmxdoclet] The referring classes do not import any fully qualified cla
      sses matching these classes.
      [jmxdoclet] However, since no packages are imported, xjavadoc has assum
      ed that the referred classes
      [jmxdoclet] belong to the same package as the referring class. The clas
      ses are:
      [jmxdoclet] C:\Jetty-4.2.15\extra\j2ee\src\org\jboss\jetty\JettyService.java -->
      JettyServiceMBean qualified to org.jboss.jetty.JettyServiceMBean
      [javac] Compiling 44 source files to C:\Jetty-4.2.15\extra\j2ee\classes
      [javac] C:\Jetty-4.2.15\extra\j2ee\src\org\mortbay\j2ee\session\AbstractRepl
      icatedStore.java:17: package org.jgroups does not exist
      [javac] import org.jgroups.Message;
      [javac] ^
      [javac] C:\Jetty-4.2.15\extra\j2ee\src\org\mortbay\j2ee\session\AbstractRepl
      icatedStore.java:18: package org.jgroups.blocks does not exist
      [javac] import org.jgroups.blocks.MessageDispatcher;
      [javac] ^
      [javac] C:\Jetty-4.2.15\extra\j2ee\src\org\mortbay\j2ee\session\AbstractRepl
      icatedStore.java:19: package org.jgroups.util does not exist
      [javac] import org.jgroups.util.Util;
      [javac] ^
      [javac] C:\Jetty-4.2.15\extra\j2ee\src\org\mortbay\j2ee\session\JGStore.java
      :22: package org.jgroups does not exist
      [javac] import org.jgroups.Address;
      [javac] ^
      [javac] C:\Jetty-4.2.15\extra\j2ee\src\org\mortbay\j2ee\session\JGStore.java
      :23: package org.jgroups does not exist
      [javac] import org.jgroups.Channel;
      [javac] ^
      [javac] C:\Jetty-4.2.15\extra\j2ee\src\org\mortbay\j2ee\session\JGStore.java
      :24: package org.jgroups does not exist
      [javac] import org.jgroups.JChannel;
      [javac] ^
      [javac] C:\Jetty-4.2.15\extra\j2ee\src\org\mortbay\j2ee\session\JGStore.java
      :25: package org.jgroups does not exist
      [javac] import org.jgroups.MembershipListener; // we are notified of changes
      to membership list
      [javac] ^
      [javac] C:\Jetty-4.2.15\extra\j2ee\src\org\mortbay\j2ee\session\JGStore.java
      :26: package org.jgroups does not exist
      [javac] import org.jgroups.MergeView;
      [javac] ^
      [javac] C:\Jetty-4.2.15\extra\j2ee\src\org\mortbay\j2ee\session\JGStore.java
      :27: package org.jgroups does not exist
      [javac] import org.jgroups.Message;
      [javac] ^
      [javac] C:\Jetty-4.2.15\extra\j2ee\src\org\mortbay\j2ee\session\JGStore.java
      :28: package org.jgroups does not exist
      [javac] import org.jgroups.MessageListener; // we are notified of changes to
      other state
      [javac] ^
      [javac] C:\Jetty-4.2.15\extra\j2ee\src\org\mortbay\j2ee\session\JGStore.java
      :29: package org.jgroups does not exist
      [javac] import org.jgroups.View;
      [javac] ^
      [javac] C:\Jetty-4.2.15\extra\j2ee\src\org\mortbay\j2ee\session\JGStore.java
      :30: package org.jgroups.blocks does not exist
      [javac] import org.jgroups.blocks.GroupRequest;
      [javac] ^
      [javac] C:\Jetty-4.2.15\extra\j2ee\src\org\mortbay\j2ee\session\JGStore.java
      :31: package org.jgroups.blocks does not exist
      [javac] import org.jgroups.blocks.MessageDispatcher;
      [javac] ^
      [javac] C:\Jetty-4.2.15\extra\j2ee\src\org\mortbay\j2ee\session\JGStore.java
      :32: package org.jgroups.blocks does not exist
      [javac] import org.jgroups.blocks.MethodCall;
      [javac] ^
      [javac] C:\Jetty-4.2.15\extra\j2ee\src\org\mortbay\j2ee\session\JGStore.java
      :33: package org.jgroups.blocks does not exist
      [javac] import org.jgroups.blocks.RpcDispatcher;
      [javac] ^
      [javac] C:\Jetty-4.2.15\extra\j2ee\src\org\mortbay\j2ee\session\JGStore.java
      :34: package org.jgroups.util does not exist
      [javac] import org.jgroups.util.Util;
      [javac] ^
      [javac] C:\Jetty-4.2.15\extra\j2ee\src\org\mortbay\j2ee\session\JGStore.java
      :68: cannot resolve symbol
      [javac] symbol : class MessageListener
      [javac] location: class org.mortbay.j2ee.session.JGStore
      [javac] implements MessageListener, MembershipListener
      [javac] ^
      [javac] C:\Jetty-4.2.15\extra\j2ee\src\org\mortbay\j2ee\session\JGStore.java
      :68: cannot resolve symbol
      [javac] symbol : class MembershipListener
      [javac] location: class org.mortbay.j2ee.session.JGStore
      [javac] implements MessageListener, MembershipListener
      [javac] ^
      [javac] C:\Jetty-4.2.15\extra\j2ee\src\org\mortbay\j2ee\session\JGStore.java
      :143: cannot resolve symbol
      [javac] symbol : class Channel
      [javac] location: class org.mortbay.j2ee.session.JGStore
      [javac] protected Channel _channel;
      [javac] ^
      [javac] C:\Jetty-4.2.15\extra\j2ee\src\org\mortbay\j2ee\session\JGStore.java
      :144: cannot resolve symbol
      [javac] symbol : class RpcDispatcher
      [javac] location: class org.mortbay.j2ee.session.JGStore
      [javac] protected RpcDispatcher _dispatcher;
      [javac] ^
      [javac] C:\Jetty-4.2.15\extra\j2ee\src\org\mortbay\j2ee\session\JGStore.java
      :430: cannot resolve symbol
      [javac] symbol : class Message
      [javac] location: class org.mortbay.j2ee.session.JGStore
      [javac] receive(Message msg)
      [javac] ^
      [javac] C:\Jetty-4.2.15\extra\j2ee\src\org\mortbay\j2ee\session\JGStore.java
      :539: cannot resolve symbol
      [javac] symbol : class Address
      [javac] location: class org.mortbay.j2ee.session.JGStore
      [javac] suspect(Address suspected_mbr)
      [javac] ^
      [javac] C:\Jetty-4.2.15\extra\j2ee\src\org\mortbay\j2ee\session\JGStore.java
      :548: cannot resolve symbol
      [javac] symbol : class View
      [javac] location: class org.mortbay.j2ee.session.JGStore
      [javac] viewAccepted(View newView)
      [javac] ^
      [javac] C:\Jetty-4.2.15\extra\j2ee\src\org\mortbay\j2ee\session\JGStore.java
      :98: cannot resolve symbol
      [javac] symbol : variable GroupRequest
      [javac] location: class org.mortbay.j2ee.session.JGStore
      [javac] protected int _distributionModeInternal=GroupRequest.GET_ALL; // s
      ynchronous/non-sticky
      [javac] ^
      [javac] C:\Jetty-4.2.15\extra\j2ee\src\org\mortbay\j2ee\session\JGStore.java
      :105: cannot resolve symbol
      [javac] symbol : class GroupRequest
      [javac] location: class org.mortbay.j2ee.session.JGStore
      [javac] _distributionModeInternal=GroupRequest.class.getDeclaredField(di
      stributionMode).getInt(GroupRequest.class);
      [javac]
      ^
      [javac] C:\Jetty-4.2.15\extra\j2ee\src\org\mortbay\j2ee\session\JGStore.java
      :105: cannot resolve symbol
      [javac] symbol : class GroupRequest
      [javac] location: class org.mortbay.j2ee.session.JGStore
      [javac] _distributionModeInternal=GroupRequest.class.getDeclaredField(di
      stributionMode).getInt(GroupRequest.class);
      [javac] ^
      [javac] C:\Jetty-4.2.15\extra\j2ee\src\org\mortbay\j2ee\session\JGStore.java
      :159: cannot resolve symbol
      [javac] symbol : class JChannel
      [javac] location: class org.mortbay.j2ee.session.JGStore
      [javac] _channel=new JChannel(getProtocolStack()); // channel should be
      JBoss or new Jetty channel
      [javac] ^
      [javac] C:\Jetty-4.2.15\extra\j2ee\src\org\mortbay\j2ee\session\JGStore.java
      :161: cannot resolve symbol
      [javac] symbol : class MessageListener
      [javac] location: class org.mortbay.j2ee.session.JGStore
      [javac] MessageListener messageListener=this;
      [javac] ^
      [javac] C:\Jetty-4.2.15\extra\j2ee\src\org\mortbay\j2ee\session\JGStore.java
      :162: cannot resolve symbol
      [javac] symbol : class MembershipListener
      [javac] location: class org.mortbay.j2ee.session.JGStore
      [javac] MembershipListener membershipListener=this;
      [javac] ^
      [javac] C:\Jetty-4.2.15\extra\j2ee\src\org\mortbay\j2ee\session\JGStore.java
      :164: cannot resolve symbol
      [javac] symbol : class RpcDispatcher
      [javac] location: class org.mortbay.j2ee.session.JGStore
      [javac] _dispatcher=new RpcDispatcher(_channel, messageListener, members
      hipListener, serverObject);
      [javac] ^
      [javac] C:\Jetty-4.2.15\extra\j2ee\src\org\mortbay\j2ee\session\JGStore.java
      :165: package RpcDispatcher does not exist
      [javac] _dispatcher.setMarshaller(new RpcDispatcher.Marshaller() {
      [javac] ^
      [javac] C:\Jetty-4.2.15\extra\j2ee\src\org\mortbay\j2ee\session\JGStore.java
      :202: cannot resolve symbol
      [javac] symbol : variable Channel
      [javac] location: class org.mortbay.j2ee.session.JGStore
      [javac] _channel.setOpt(Channel.GET_STATE_EVENTS, Boolean.TRUE);
      [javac] ^
      [javac] C:\Jetty-4.2.15\extra\j2ee\src\org\mortbay\j2ee\session\JGStore.java
      :205: cannot resolve symbol
      [javac] symbol : class View
      [javac] location: class org.mortbay.j2ee.session.JGStore
      [javac] View view=_channel.getView();
      [javac] ^
      [javac] C:\Jetty-4.2.15\extra\j2ee\src\org\mortbay\j2ee\session\JGStore.java
      :362: cannot resolve symbol
      [javac] symbol : class MethodCall
      [javac] location: class org.mortbay.j2ee.session.JGStore
      [javac] MethodCall mc = new MethodCall(getClass().getMethod("dispatch",t
      mp));
      [javac] ^
      [javac] C:\Jetty-4.2.15\extra\j2ee\src\org\mortbay\j2ee\session\JGStore.java
      :362: cannot resolve symbol
      [javac] symbol : class MethodCall
      [javac] location: class org.mortbay.j2ee.session.JGStore
      [javac] MethodCall mc = new MethodCall(getClass().getMethod("dispatch",t
      mp));
      [javac] ^
      [javac] C:\Jetty-4.2.15\extra\j2ee\src\org\mortbay\j2ee\session\JGStore.java
      :555: cannot resolve symbol
      [javac] symbol : class MergeView
      [javac] location: class org.mortbay.j2ee.session.JGStore
      [javac] if(newView instanceof MergeView)
      [javac] ^
      [javac] Note: Some input files use or override a deprecated API.
      [javac] Note: Recompile with -deprecation for details.
      [javac] 36 errors

      BUILD FAILED
      file:C:/Jetty-4.2.15/extra/j2ee/build.xml:130: Compile failed; see the compiler
      error output for details.

      Total time: 26 seconds
      C:\Jetty-4.2.15>