1 2 Previous Next 20 Replies Latest reply on May 13, 2006 6:02 PM by bloomfm Go to original post
      • 15. Re: Dike's Bank example - build failed
        bob22

        i wasted a lot of time on this problem. apparently sun releases 3 versions of the tutorial(update 2, update 4, and update 6) - only update 2 worked for me

        • 16. Re: Dike's Bank example - build failed
          garyma

           

          "philipp.kanne" wrote:
          @hmkarw: you have to download the j2ee-1.4 tutorial from sun first. See at
          http://java.sun.com/j2ee/1.4/download.html#tutorial


          I followed the JBoss doco and used tutorial v1.3 (v1.4 has incorrect dir structure). After setting jboss.home I also experienced the error when building. I fixed it by modifying /j2eetutorial/bank/jboss-build.xml from ...

          <project name="jboss-dukes-bank" default="all" basedir=".">
           <property file="../../jboss-build.properties"/>


          ... to ...

          <project name="jboss-dukes-bank" default="all" basedir=".">
           <property file="../jboss-build.properties"/>


          • 17. Re: Dike's Bank example - build failed
            userantgar

            I try to response at the problem:
            "BUILD FAILED
            C:\Transfer\j2eetutorial14\examples\bank\jboss-build.xml:49: C:\Transfer\j2eetutorial14\examples\bank${jboss.home}\client not found." in the beggining of this topic.
            I don't now what is de origing of the problem, maybe we need to configure something else in Ant, howrever, I make a workarround

            You need to edit the "jboss-build.xml" file, and replace "${jboss.home}" by the real path of the jboss home directory and also make this with the jboss.server directory (you have to put the real jboss.home directory and add the string "/server/default" in this case)

            This work for me, I hope this can help you

            • 18. Re: Dike's Bank example - build failed
              userantgar

              I try to response at the problem:
              "BUILD FAILED
              C:\Transfer\j2eetutorial14\examples\bank\jboss-build.xml:49: C:\Transfer\j2eetutorial14\examples\bank${jboss.home}\client not found." in the beggining of this topic.
              I don't now what is de origing of the problem, maybe we need to configure something else in Ant, howrever, I make a workarround

              You need to edit the "jboss-build.xml" file, and replace "${jboss.home}" by the real path of the jboss home directory and also make this with the jboss.server directory (you have to put the real jboss.home directory and add the string "/server/default" in this case)

              This work for me, I hope this can help you

              • 19. Re: Dike's Bank example - build failed

                I found the files at

                http://java.sun.com/j2ee/1.3/download.html#tutorial

                in j2ee-1_3-doc-tutorial-draft5.zip

                thanks go to victor.declerk for pointing me in the right direction

                • 20. Re: Dike's Bank example - build failed

                  In a correction to my last posting though you should download

                  j2ee-1_4-doc-tutorial_2.zip other versions will not compile correctly.

                  Once I had downloaded this version I got the tutorial up and running very quickly with just having to change the settings in jboss-build.properties file.

                  I was using JBoss_4_0_3_SP1
                  JVM 1.5.0_06

                  1 2 Previous Next