5 Replies Latest reply on Nov 6, 2004 10:54 PM by Michael Liu

    Dukes Bank jboss-build.xml not correct for JBoss 3.2.5 insta

    Grand Apeiron Newbie

      Hi all,

      i just installed JBoss today and wanted to setup the Dukes Bank application as described in the Getting Started guide.
      Everything is fine and working well now. But i got some sniffy compilation errors after executing "ant -f jboss-build.xml".

      I found out that the errors occur because the jboss-build.xml didnt include all necessary jars (to be specific: jsp-api.jar,servlet-api.jar) in the build-classpath or referenced to the wrong path ($JBOSS_HOME/lib instead of $JBOSS_HOME/server/default/deploy/jbossweb-tomcat50.sar).

      After fixing these problems i was able to build/compile fine.

      I dont know that for sure (maybe its a problem with my installation only, or i did something else wrong) but maybe one should modify the named jboss files or everyone trying to work through the Getting Started guide may run into the same trouble.

      Here again what i did to make it work:
      I commented out all "servlet" lines in j2eetutorial/built.properties

      and changed/added the following parts of jboss-build.xml
      (you must replace the regarding sections with the ones below)

      <!-- -->

      | The build classpath

      Bye All!, i need some sleep now.
      Greetings from Germany,
      Grand Apeiron