1 Reply Latest reply on Oct 31, 2002 7:14 AM by stuart jameson

    Build fails for template project - help

    stuart jameson Newbie

      Hi

      Background:
      I've downloaded jboss-3.0.3_tomcat-4.1.12 and am trying to build the template project downloaded

      JBoss.3.0TemplateAndExamples.zip

      using the instructions

      JBoss.3.0QuickStart.Draft3.pdf

      PROBLEM

      1. There is /resources folder in the template although the documentation mentions this.

      I try to build anyway and
      2. I get the following build error

      xdoclet-generate:
      [ejbdoclet] log4j:ERROR No appenders could be found for category (xdoclet.util.T
      ranslator.getString).
      [ejbdoclet] log4j:ERROR Please initialize the log4j system properly.

      The total build output is shown below if this helps put the error message in context.

      Hope you can help

      Jambo






      Project>ant
      Buildfile: build.xml

      check-environment:

      check-jboss:

      wrong-jboss:

      check-xdoclet:

      wrong-xdoclet:

      init:
      [echo] build.compiler = ${build.compiler}
      [echo] user.home = C:\Documents and Settings\sjameson
      [echo] java.home = C:\jdk1.3.1\jre
      [echo] ant.home = C:\jakarta-ant-1.5.1
      [echo] jboss.home = C:\jboss-3.0.3_tomcat-4.1.12
      [echo] xdoclet.home = C:\xdoclet-1.1.2
      [echo] java.class.path = C:\jdk1.3.1\lib\tools.jar;C:\jakarta-ant-1.5.1\lib
      \xml-apis.jar;C:\jakarta-ant-1.5.1\lib\xercesImpl.jar;C:\jakarta-ant-1.5.1\lib\o
      ptional.jar;C:\jakarta-ant-1.5.1\lib\ant.jar;C:\In-Q-MyAppServer4.3.5\alone\addi
      tional-lib\jCO.jar;C:\StuExample;C:\JDBCJars\mssqlserver.jar;C:\JDBCJars\msbase.
      jar;C:\JDBCJars\msutil.jar;C:\Documents and Settings\sjameson\Desktop\Sjameson\P
      rojects\SAP Portals\HansExampleApp;C:\tomcat-4.0\common\lib\jdbc2_0-stdext.jar;C
      :\jakarta-ant-1.3\bin\ant.bat;C:\StuExample\axonglobal_source\src;C:\StuExample\
      axonglobal_source\web\WEB-INF\lib\struts.jar;%JAVAX%;C:\expresso\webapps\express
      o\WEB-INF\classes;C:\expresso\webapps\expresso\WEB-INF\lib\log4j-core.jar;C:\jav
      amail-1.3ea\mail.jar;C:\jaf-1.0.1\activation.jar;C:\tomcat4_admin\common\lib\ser
      vlet.jar;


      xdoclet-generate:
      [ejbdoclet] log4j:ERROR No appenders could be found for category (xdoclet.util.T
      ranslator.getString).
      [ejbdoclet] log4j:ERROR Please initialize the log4j system properly.
      [ejbdoclet] Generating Javadoc
      [ejbdoclet] Javadoc execution
      [ejbdoclet] javadoc: No package, class, or source file found named C:\Documents.

      [ejbdoclet] javadoc: No package, class, or source file found named and.
      [ejbdoclet] javadoc: No package, class, or source file found named Settings\sjam
      eson\Desktop\Sjameson\Development\JBoss\FirstJBossProject\src\main\ejb\test\enti
      ty\TestBMPEntityBean.java.
      [ejbdoclet] javadoc: No package, class, or source file found named C:\Documents.

      [ejbdoclet] javadoc: No package, class, or source file found named and.
      [ejbdoclet] javadoc: No package, class, or source file found named Settings\sjam
      eson\Desktop\Sjameson\Development\JBoss\FirstJBossProject\src\main\ejb\test\enti
      ty\TestEntityBean.java.
      [ejbdoclet] javadoc: No package, class, or source file found named C:\Documents.

      [ejbdoclet] javadoc: No package, class, or source file found named and.
      [ejbdoclet] javadoc: No package, class, or source file found named Settings\sjam
      eson\Desktop\Sjameson\Development\JBoss\FirstJBossProject\src\main\ejb\test\mess
      age\TestMessageDrivenBean.java.
      [ejbdoclet] javadoc: No package, class, or source file found named C:\Documents.

      [ejbdoclet] javadoc: No package, class, or source file found named and.
      [ejbdoclet] javadoc: No package, class, or source file found named Settings\sjam
      eson\Desktop\Sjameson\Development\JBoss\FirstJBossProject\src\main\ejb\test\sess
      ion\SequenceGeneratorBean.java.
      [ejbdoclet] javadoc: No package, class, or source file found named C:\Documents.

      [ejbdoclet] javadoc: No package, class, or source file found named and.
      [ejbdoclet] 15 errors
      [ejbdoclet] javadoc: No package, class, or source file found named Settings\sjam
      eson\Desktop\Sjameson\Development\JBoss\FirstJBossProject\src\main\ejb\test\sess
      ion\TestSessionBean.java.

      BUILD FAILED