3 Replies Latest reply on Apr 6, 2007 8:37 AM by kurtstam

    Hello World quickstart - jbossesb-4.2MR1 - how to start the

    ldimaggio

      According to the README, running ant (with no arguments) should start the listener, but it executes the runtest target. How can I start the listener? Thanks!

      ant
      Buildfile: build.xml

      clean:
      [delete] Deleting directory /opt/jbossesb-4.2/product/samples/quickstarts/helloworld/build

      compile:
      [mkdir] Created dir: /opt/jbossesb-4.2/product/samples/quickstarts/helloworld/build/classes
      [javac] Compiling 3 source files to /opt/jbossesb-4.2/product/samples/quickstarts/helloworld/build/classes

      runtest:
      [echo] Runs Test JMS Sender
      [java] Connection Started
      [java] arg = Hello World

      BUILD SUCCESSFUL
      Total time: 4 seconds



      cat build.xml


      <!-- Import the base Ant build script... -->



      Runs Test JMS Sender







      Runs Test ESB Message Sender

      <!-- service category -->
      <!-- service name -->
      <!-- Message text -->






        • 1. Re: Hello World quickstart - jbossesb-4.2MR1 - how to start
          kurtstam

          Now that we have the jbossesb-server, there is no more need to use the 'standalone bootstrapper', and we've started to remove it from the examples. However not all docs may have been touched. Just run the 'deploy' target and run the jbossesb-server.

          If you still want to use the bootstrapper you can look in the for instance the aggregator quickstart.

          --K

          • 2. Re: Hello World quickstart - jbossesb-4.2MR1 - how to start
            ldimaggio

            Thanks Kurt - that's too easy. ;-)

            Just wondering - are most users these days running the ESB server? Or running ESB thru an existing AS install?

            • 3. Re: Hello World quickstart - jbossesb-4.2MR1 - how to start
              kurtstam

              I really have no insite in what people use, but since the esb-server is new since the last release (4.2MR1), you would think most people use the AppServer. However since the jbossesb-server is preconfigured with JBossMessaging it is probably a lot easier to get started. So my guess is that people will shift to use the jbossesb-server. Also since the esb is distributed technolgy some may actually use both, i.e. if some services need ejb3 or something.

              The good thing is that the deployment of the .esb archives is identical so it is easy to switch between the too.

              --Kurt