3 Replies Latest reply on May 2, 2005 3:22 PM by mikezzz

    Build Fails...

      Running on Linux - some RedHat distro running the 2.4 kernel. PIII 500 MHz machine (yes, it does still run...).

      Java 1.4.2_08

      Just downloaded M2 of JBossMail services and tried to run the build...

      I do have JAVA_HOME and JBOSS_HOME set. I do *not* have ANT_HOME set.

      I get the following build error.

      rjsjr

      [root@www jbossmail]# ./install.sh --help
      Launching ant from ./ant/apache-ant-1.6.1/bin
      Buildfile: build.xml

      graphical-install:
      [hostname] java.lang.ArrayIndexOutOfBoundsException: 1
      [hostname] at org.jboss.cheese.HostNameTask.execute(HostNameTask.java:42)
      [hostname] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269)
      [hostname] at org.apache.tools.ant.Task.perform(Task.java:364)
      [hostname] at org.apache.tools.ant.Target.execute(Target.java:301)
      [hostname] at org.apache.tools.ant.Target.performTasks(Target.java:328)
      [hostname] at org.apache.tools.ant.Project.executeTarget(Project.java:1215)
      [hostname] at org.apache.tools.ant.Project.executeTargets(Project.java:1063)
      [hostname] at org.apache.tools.ant.Main.runBuild(Main.java:632)
      [hostname] at org.apache.tools.ant.Main.startAnt(Main.java:183)
      [hostname] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:197)
      [hostname] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:56)
      [Cheese] execute for cheese
      [Cheese] ue.taskname at cheese Splash

      BUILD FAILED
      java.lang.UnsatisfiedLinkError: /usr/java/j2sdk1.4.2_08/jre/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory

      Total time: 3 seconds

        • 1. Re: Build Fails...

          Ahhhhh...

          The problem appears to be that this is a headless workstation running only in CLI mode. I don't have X11 installed at all.

          Is there another easy install or am I going to have to do the basic install and then manual configuration? What about the build instructions at http://wiki.jboss.org/wiki/Wiki.jsp?page=MailServicesBuilding? Will those work for me or is there more that I will have to do beyond setting up user accounts?

          Thanks!

          rjsjr

          • 2. Re: Build Fails...

            Okay...

            I wanted to go and use the build instructions that basically say "Run Ant". So I configure my ANT_HOME and my PATH variables and type in "ant" and watch the screen sit for a while until I am told that there is no "main" target in the build.xml file. That's mighty annoying...

            So I re-read the instructions and it appears that I need to get the latest stuff from CVS in order to run the build that way so I follow the link and...

            THIS PROJECT HAS CVS TURNED OFF!

            Joy...

            I'm just going to copy the .ear file over and see what I get...

            rjsjr

            • 3. Re: Build Fails...

              The CVS server for JBoss has moved from sourceforge. The instructions for anonymous access are here:

              http://wiki.jboss.org/wiki/Wiki.jsp?page=CVSRepository

              Checkout the jboss-mail module.