2 Replies Latest reply on Aug 9, 2007 2:46 PM by geeky2

    need help with JBM example for HTTP - build fails

    geeky2

      hello,

      environment: suse 10.1, JBAS 4.2.1, JBM 1.4.0CR1

      i just installed JBM and am running the examples: i am not able to run the HTTP example:

      when i do a build i get the following:

      mark@gecko1:~/jbm/examples/http> ant
      Buildfile: build.xml
      
      identify:
       [echo] ############################################################################
       [echo] # Running the HTTP example #
       [echo] ############################################################################
       [echo] The queue: testQueue
       [echo] The client jar: ../..//jboss-messaging-client.jar
      
      sanity-check:
      
      init:
       [mkdir] Created dir: /home/mark/jboss-messaging-1.4.0.CR1/examples/http/output/classes
       [mkdir] Created dir: /home/mark/jboss-messaging-1.4.0.CR1/examples/common/output/classes
      
      compile:
       [javac] Compiling 5 source files to /home/mark/jboss-messaging-1.4.0.CR1/examples/common/output/classes
       [javac] Compiling 1 source file to /home/mark/jboss-messaging-1.4.0.CR1/examples/http/output/classes
      
      deploy:
      
      BUILD FAILED
      /home/mark/jboss-messaging-1.4.0.CR1/examples/http/build.xml:77: Warning: Could not find file /home/mark/src/etc/remoting/remoting-http-service.xml to copy.
      
      Total time: 20 seconds
      mark@gecko1:~/jbm/examples/http> echo $JBOSS_HOME
      /home/mark/jboss-4.2.1.GA
      


      i have looked at the build.xml file for the http example. line 77 shows this:

       <target name="deploy">
       <copy file="../../../src/etc/remoting/remoting-http-service.xml"
       todir="${jboss.home}/server/${jboss.configuration}/deploy"/>
       <copy file="./etc/messaging-http-service.xml"
       todir="${jboss.home}/server/${jboss.configuration}/deploy"/>
       <antcall target="sleep"><param name="sleep.interval" value="10"/></antcall>
       </target>
      


      i cannot find the
      remoting-http-service.xml
      


      file anywhere.

      can someone tell me where this file is at?

      i have checked the forums for possible related problems and or similar questions - but to no avail

      any help would be appreciated.

      thx
      mark