2 Replies Latest reply on Dec 7, 2003 7:09 AM by egor

    Build errors

    egor Newbie

      Hi, I am new to JBoss and Nuke. When I try to install JBoss on Suse 8.1, JDK 1.4.2, using CVS daily snapshot, today's one and JBoss 3.2.3RC1 I get the following errors
      configure:

      configure-libraries:

      configure-modules:

      configure-defaults:

      configure-tools:

      _configure:xdoclet:tasks:

      _configure:xdoclet:ejbdoclet:

      configure-project:
      [echo] groups: default
      [echo] modules: common,nukes,adminmessages,bb,faq,jmx,journal,list,mp3player,news,polls,quotes,script,sections,template

      _default:init:

      init:

      _buildmagic:modules:most:

      ==============================================================
      ==
      == Executing 'most' in module 'common'...
      ==
      ==

      _buildmagic:init:

      _buildmagic:init:project-local-properties:

      configure:

      configure-libraries:

      configure-modules:

      configure-defaults:
      Overriding previous definition of reference to javac.classpath

      configure-tools:

      init:

      generate-parsers:

      _default:compile-classes:
      [depend] Deleted 0 out of date files in 0 seconds

      _default:compile-etc:

      _default:compile-resources:

      compile:

      output:

      _default:most:

      most:

      ==
      ==
      == Finished 'most' in module 'common'.
      ==
      ==============================================================


      ==============================================================
      ==
      == Executing 'most' in module 'nukes'...
      ==
      ==

      _buildmagic:init:

      _buildmagic:init:project-local-properties:

      configure:

      configure-libraries:

      configure-modules:

      configure-defaults:

      configure-tools:

      init:

      generate-classes:
      [mkdir] Created dir: /home/igor/nukes-snapshot/nukes/output/gen/classes
      [execmodules] [INFO] start - -Running
      [execmodules] Generating Local interface for 'org.jboss.nukes.core.ejb.UserEJB'.
      [execmodules] Generating Local interface for 'org.jboss.nukes.core.ejb.GroupEJB'.
      [execmodules] Generating Local interface for 'org.jboss.nukes.core.ejb.FileEJB'.
      [execmodules] Generating Local interface for 'org.jboss.nukes.core.ejb.AbstractUserEJB'.
      [execmodules] Generating Local interface for 'org.jboss.nukes.core.ejb.AbstractGroupEJB'.
      [execmodules] Generating Local interface for 'org.jboss.nukes.core.ejb.BaseEJB'.
      [execmodules] [INFO] start - -Running
      [execmodules] Generating Local Home interface for 'org.jboss.nukes.core.ejb.UserEJB'.
      [execmodules] Generating Local Home interface for 'org.jboss.nukes.core.ejb.GroupEJB'.
      [execmodules] Generating Local Home interface for 'org.jboss.nukes.core.ejb.FileEJB'.
      [execmodules] Generating Local Home interface for 'org.jboss.nukes.core.ejb.AbstractUserEJB'.
      [execmodules] Generating Local Home interface for 'org.jboss.nukes.core.ejb.AbstractGroupEJB'.
      [execmodules] Generating Local Home interface for 'org.jboss.nukes.core.ejb.BaseEJB'.
      [execmodules] [INFO] start - -Running
      [execmodules] Generating EJB deployment descriptor (ejb-jar.xml).
      [execmodules] [INFO] start - -Running
      [execmodules] Generating jboss.xml.
      [execmodules] Generating jbosscmp-jdbc.xml.

      _default:compile-classes:
      [mkdir] Created dir: /home/igor/nukes-snapshot/nukes/output/classes
      [depend] Deleted 0 out of date files in 0 seconds
      [javac] Compiling 135 source files to /home/igor/nukes-snapshot/nukes/output/classes
      [execmodules] /home/igor/nukes-snapshot/nukes/src/main/org/jboss/nukes/flash/io/AMFSerializer.java:23: cannot resolve symbol
      [execmodules] symbol : class XmlDocument
      [execmodules] location: package tree
      [execmodules] import org.apache.crimson.tree.XmlDocument;
      [execmodules] ^
      [execmodules] /home/igor/nukes-snapshot/nukes/src/main/org/jboss/nukes/flash/io/AMFSerializer.java:227: cannot resolve symbol
      [execmodules] symbol : class XmlDocument
      [execmodules] location: class org.jboss.nukes.flash.io.AMFSerializer
      [execmodules] private void writeXML(XmlDocument value) throws IOException
      [execmodules] ^
      [execmodules] /home/igor/nukes-snapshot/nukes/src/main/org/jboss/nukes/html/Page.java:64: warning: isRequestedSessionIdFromUrl() in javax.servlet.http.HttpServletRequest has been deprecated
      [execmodules] public class Page implements NukesRequest, NukesResponse
      [execmodules] ^
      [execmodules] /home/igor/nukes-snapshot/nukes/src/main/org/jboss/nukes/html/Page.java:64: warning: getRealPath(java.lang.String) in javax.servlet.ServletRequest has been deprecated
      [execmodules] public class Page implements NukesRequest, NukesResponse
      [execmodules] ^
      [execmodules] /home/igor/nukes-snapshot/nukes/src/main/org/jboss/nukes/html/Page.java:64: warning: setStatus(int,java.lang.String) in javax.servlet.http.HttpServletResponse has been deprecated
      [execmodules] public class Page implements NukesRequest, NukesResponse
      [execmodules] ^
      [execmodules] /home/igor/nukes-snapshot/nukes/src/main/org/jboss/nukes/html/Page.java:64: warning: encodeRedirectUrl(java.lang.String) in javax.servlet.http.HttpServletResponse has been deprecated
      [execmodules] public class Page implements NukesRequest, NukesResponse
      [execmodules] ^
      [execmodules] /home/igor/nukes-snapshot/nukes/src/main/org/jboss/nukes/html/Page.java:64: warning: encodeUrl(java.lang.String) in javax.servlet.http.HttpServletResponse has been deprecated
      [execmodules] public class Page implements NukesRequest, NukesResponse
      [execmodules] ^
      [execmodules] /home/igor/nukes-snapshot/nukes/src/main/org/jboss/nukes/core/modules/core/CoreModule.java:715: encode(java.lang.String) in java.net.URLEncoder cannot be applied to (java.lang.String,java.lang.String)
      [execmodules] value = URLEncoder.encode(key, charset);
      [execmodules] ^
      [execmodules] /home/igor/nukes-snapshot/nukes/src/main/org/jboss/nukes/core/modules/mail/MailModule.java:190: warning: Name(java.lang.String) in org.xbill.DNS.Name has been deprecated
      [execmodules] Name _name = new Name(name); // Name _name = Name.fromString(name); does not work, why ?
      [execmodules] ^
      [execmodules] /home/igor/nukes-snapshot/nukes/src/main/org/jboss/nukes/core/modules/block/BlockModule.java:483: valueOf(java.lang.String) in java.lang.Boolean cannot be applied to (boolean)
      [execmodules] collapsed = Boolean.valueOf(collapsed == null || !collapsed.booleanValue());
      [execmodules] ^
      [execmodules] /home/igor/nukes-snapshot/nukes/src/main/org/jboss/nukes/flash/io/AMFSerializer.java:133: cannot resolve symbol
      [execmodules] symbol : class XmlDocument
      [execmodules] location: class org.jboss.nukes.flash.io.AMFSerializer
      [execmodules] writeXML((XmlDocument) value);
      [execmodules] ^
      [execmodules] /home/igor/nukes-snapshot/nukes/src/main/org/jboss/nukes/flash/FlashHandler.java:92: cannot resolve symbol
      [execmodules] symbol : method getCause ()
      [execmodules] location: class org.jboss.nukes.flash.invoker.ServiceInvocationException
      [execmodules] e.getCause().printStackTrace();
      [execmodules] ^
      [execmodules] /home/igor/nukes-snapshot/nukes/src/main/org/jboss/nukes/flash/invoker/ServiceInvocationException.java:26: cannot resolve symbol
      [execmodules] symbol : constructor Exception (java.lang.Throwable)
      [execmodules] location: class java.lang.Exception
      [execmodules] super(cause);
      [execmodules] ^
      [execmodules] /home/igor/nukes-snapshot/nukes/src/main/org/jboss/nukes/flash/invoker/ServiceInvocationException.java:34: cannot resolve symbol
      [execmodules] symbol : constructor Exception (java.lang.Throwable)
      [execmodules] location: class java.lang.Exception
      [execmodules] super(cause);
      [execmodules] ^
      [execmodules] /home/igor/nukes-snapshot/nukes/src/main/org/jboss/nukes/flash/invoker/ServiceInvocationException.java:43: cannot resolve symbol
      [execmodules] symbol : class StackTraceElement
      [execmodules] location: class org.jboss.nukes.flash.invoker.ServiceInvocationException
      [execmodules] StackTraceElement[] stackTrace = cause.getStackTrace();
      [execmodules] ^
      [execmodules] /home/igor/nukes-snapshot/nukes/src/main/org/jboss/nukes/flash/invoker/ServiceInvocationException.java:43: cannot resolve symbol
      [execmodules] symbol : method getStackTrace ()
      [execmodules] location: class java.lang.Throwable
      [execmodules] StackTraceElement[] stackTrace = cause.getStackTrace();
      [execmodules] ^
      [execmodules] /home/igor/nukes-snapshot/nukes/src/main/org/jboss/nukes/flash/invoker/ServiceInvocationException.java:47: cannot resolve symbol
      [execmodules] symbol : class StackTraceElement
      [execmodules] location: class org.jboss.nukes.flash.invoker.ServiceInvocationException
      [execmodules] StackTraceElement element = stackTrace;
      [execmodules] ^
      [execmodules] /home/igor/nukes-snapshot/nukes/src/main/org/jboss/nukes/servlet/ServletContextImpl.java:27: warning: log(java.lang.Exception,java.lang.String) in javax.servlet.ServletContext has been deprecated
      [execmodules] public class ServletContextImpl implements ServletContext
      [execmodules] ^
      [execmodules] /home/igor/nukes-snapshot/nukes/src/main/org/jboss/nukes/servlet/ServletContextImpl.java:27: warning: getServletNames() in javax.servlet.ServletContext has been deprecated
      [execmodules] public class ServletContextImpl implements ServletContext
      [execmodules] ^
      [execmodules] /home/igor/nukes-snapshot/nukes/src/main/org/jboss/nukes/servlet/ServletContextImpl.java:27: warning: getServlets() in javax.servlet.ServletContext has been deprecated
      [execmodules] public class ServletContextImpl implements ServletContext
      [execmodules] ^
      [execmodules] /home/igor/nukes-snapshot/nukes/src/main/org/jboss/nukes/servlet/ServletContextImpl.java:27: warning: getServlet(java.lang.String) in javax.servlet.ServletContext has been deprecated
      [execmodules] public class ServletContextImpl implements ServletContext
      [execmodules] ^
      [execmodules] /home/igor/nukes-snapshot/nukes/src/main/org/jboss/nukes/servlet/ResourceServlet.java:76: warning: isRequestedSessionIdFromUrl() in javax.servlet.http.HttpServletRequest has been deprecated
      [execmodules] static class ResourceRequestImpl implements ResourceRequest
      [execmodules] ^
      [execmodules] /home/igor/nukes-snapshot/nukes/src/main/org/jboss/nukes/servlet/ResourceServlet.java:76: warning: getRealPath(java.lang.String) in javax.servlet.ServletRequest has been deprecated
      [execmodules] static class ResourceRequestImpl implements ResourceRequest
      [execmodules] ^
      [execmodules] /home/igor/nukes-snapshot/nukes/src/main/org/jboss/nukes/servlet/ResourceServlet.java:344: warning: setStatus(int,java.lang.String) in javax.servlet.http.HttpServletResponse has been deprecated
      [execmodules] static class ResourceResponseImpl implements ResourceResponse
      [execmodules] ^
      [execmodules] /home/igor/nukes-snapshot/nukes/src/main/org/jboss/nukes/servlet/ResourceServlet.java:344: warning: encodeRedirectUrl(java.lang.String) in javax.servlet.http.HttpServletResponse has been deprecated
      [execmodules] static class ResourceResponseImpl implements ResourceResponse
      [execmodules] ^
      [execmodules] /home/igor/nukes-snapshot/nukes/src/main/org/jboss/nukes/servlet/ResourceServlet.java:344: warning: encodeUrl(java.lang.String) in javax.servlet.http.HttpServletResponse has been deprecated
      [execmodules] static class ResourceResponseImpl implements ResourceResponse
      [execmodules] ^
      [execmodules] /home/igor/nukes-snapshot/nukes/src/main/org/jboss/nukes/security/Permission.java:148: initialize(int,int) is inherited from org.jboss.nukes.utils.AbstractPool and hides method in outer class org.jboss.nukes.security.Permission. An explicit 'this' qualifier must be used to select the desired instance.
      [execmodules] initialize(maxSize, initialSize);
      [execmodules] ^
      [execmodules] 12 errors
      [execmodules] 15 warnings

      BUILD FAILED

      file:/home/igor/nukes-snapshot/nukes/../tools/etc/buildfragments/targets.ent:59: Compile failed; see the compiler error output for details.
      at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:842)
      at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:682)
      at org.apache.tools.ant.Task.perform(Task.java:319)
      at org.apache.tools.ant.Target.execute(Target.java:309)
      at org.apache.tools.ant.Target.performTasks(Target.java:336)
      at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
      at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:371)
      at org.jboss.tools.buildmagic.task.module.ExecuteModules$1.run(ExecuteModules.java:311)
      at org.jboss.tools.buildmagic.task.module.ExecuteModules.executeModule(ExecuteModules.java:326)
      at org.jboss.tools.buildmagic.task.module.ExecuteModules.execute(ExecuteModules.java:215)
      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:166)
      at org.apache.tools.ant.Task.perform(Task.java:319)
      at org.apache.tools.ant.Target.execute(Target.java:309)
      at org.apache.tools.ant.Target.performTasks(Target.java:336)
      at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
      at org.apache.tools.ant.Project.executeTargets(Project.java:1250)
      at org.apache.tools.ant.Main.runBuild(Main.java:610)
      at org.apache.tools.ant.Main.start(Main.java:196)
      at org.apache.tools.ant.Main.main(Main.java:235)
      Could you please explain what's wrong and what shall I do.
      P.S I tried Nukes 1.0 alpha and it works.