1 2 Previous Next 22 Replies Latest reply on Jun 11, 2007 11:12 AM by ksatya

    JBossESB 4.2GA QuickStart Issues

    ksatya

      Hi, I am trying to evaluate the JBoss ESB product and upon installation am running into issues trying to following the "Getting Started" trail. I am unable to run the basis hello world module.

      When I attempt to follow the instructions (both for the standalone and the esb archive mode) I get the following error. Any help or guidance would be much appreciated.

      Thanks.

      --- ERROR DETAILS ---
      [C:/home/install/jboss/jbossesb-server-4.2MR2/samples/quickstarts/helloworld] ant undeploy-jms-dests
      Buildfile: build.xml

      BUILD FAILED
      C:\home\install\jboss\jbossesb-server-4.2MR2\samples\quickstarts\helloworld\build.xml:9: The following error occurred while executing t
      his line:
      C:\home\install\jboss\jbossesb-server-4.2MR2\samples\quickstarts\conf\base-build.xml:26: JBossESB must be built. Please run 'ant' in C:
      \home\install\jboss\jbossesb-server-4.2MR2

      Total time: 0 seconds

        • 1. Re: JBossESB 4.2GA QuickStart Issues

          I have same problem. Try change file /samples/quickstart/conf/base-build.xml

          <dirname property="quickstarts.dir" file="${pwd}/"/>
          <dirname property="product.dir" file="${quickstarts.dir}/.."/>


          to

          <dirname property="quickstarts.dir" file="${pwd}/.."/>
          <dirname property="product.dir" file="${quickstarts.dir}/../.."/>




          • 2. Re: JBossESB 4.2GA QuickStart Issues
            kconner

            I have just checked in a lot of changes to the quickstarts to make this easier. Are you in a position to try from source?

            • 3. Re: JBossESB 4.2GA QuickStart Issues
              ksatya

              Not to sound rude. I would like to but cannot for my current effort. I am on a tight time schedule to evaluate key SOA platforms for our company's migration to SOA. I have JBoss, Sun and Fiorano to evaluate on my plate.

              I am afraid going down the path of pulling from source, building etc can eat into my time available for evaluating if JBoss ESB and tools can plug well into our environment. I am enthusiastic that you have been quick to respond to my query but dejected that I may have to punt my evaluation even before I have had a chance to go too far. There were a lot of good things about the JBoss platform I was excited about.

              I will on my own time try to pull from the source or wait for the next release. Can you point me to a URL or any quick instructions docs to build from the source.

              Thanks so much for your time and help.

              • 4. Re: JBossESB 4.2GA QuickStart Issues
                kconner

                Building from source is straight forward

                - check it out from subversion (http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/)
                - change into product dir
                - build with 'ant dist'

                Within the product/build directory you will then find the jbossesb and jbossesb-server distributions.

                • 5. Re: JBossESB 4.2GA QuickStart Issues
                  kconner

                  I forgot to add that you will need ant and jdk1.5 to build.

                  • 6. Re: JBossESB 4.2GA QuickStart Issues
                    kurtstam

                    ksatya, if you download the source version of MR2 you will find that the tree is organized a little different, this will allow you to run all the QuickStarts, which adds all the right jars to the build paths.

                    http://labs.jboss.com/jbossesb/downloads/4.2MR2/src/jbossesb-4.2MR2-src.zip

                    Hopefully this will keep your evaluation going. In the next release the paths should be correct from all scenarios. Our apologies for this oversight.

                    Cheers,

                    --Kurt

                    • 7. Re: JBossESB 4.2GA QuickStart Issues
                      kconner

                      If you are going to build from source then please use the version from the subversion repository. If you then have any issues then we will be able to address them much quicker.

                      • 8. Re: JBossESB 4.2GA QuickStart Issues
                        kurtstam

                        My point is that if you have working jboss-esb server, you can simply run the QuickStarts from the source distro. So I think there is some middleground there, when you want to keep using MR2.

                        --Kurt

                        • 9. Re: JBossESB 4.2GA QuickStart Issues
                          kconner

                          I understand your point but any potential issues can be addressed in the current source base much easier (and quicker).

                          • 10. Re: JBossESB 4.2GA QuickStart Issues
                            ksatya

                            I will go ahead and build from the source. I will post back here should I encounter any issues. Thanks again for your prompt help and suggestions.

                            - Krishna

                            • 11. Re: JBossESB 4.2GA QuickStart Issues
                              kconner

                              Hiya Krishna.

                              Feel free to raise any issues you should find, we will help out as quickly as we can.

                              I have documented the current quickstarts and their supported combinations in the following forum posting http://www.jboss.com/index.html?module=bb&op=viewtopic&t=110237

                              I will be updating the webservice and spring ones shortly.

                              • 12. Re: JBossESB 4.2GA QuickStart Issues
                                burrsutter

                                ksatya,

                                Please provide me (here or via email) with your evaluation criteria. It is very likely that you could use something other than the 4.2MR2 release for testing out ESB functionality. Now, after your eval period and before your final selection of a solution it is very likely that you'll wish to revisit 4.2 as it continues to improve every week closing in on the 4.2 GA release coming soon.

                                We messed up on getting the quickstarts right in the binary distribution. It is unfortunate but that is the nature of milestone releases. They are somewhat pre-beta quality at times depending on when the bits are grabbed from SVN.

                                Burr

                                • 13. Re: JBossESB 4.2GA QuickStart Issues
                                  ksatya

                                  I went ahead and pulled the source and ran a build. It appeared to coast just fine till it error'ed running a junit test.

                                  Thoughts/suggestions ?

                                  Thanks.
                                  - Krishna

                                   [java] [java] [junit] </cus:item></cus:items>
                                   [java] [java] [junit] </cus:customerOrder>
                                   [java] [java] [junit] </soapenv:Body>
                                   [java] [java] [junit] </soapenv:Envelope>
                                   [java] [java] [junit] at org.jboss.soa.esb.services.soapui.SoapUIClientServiceMBeanUnitTest.test_has_collections(S
                                  UIClientServiceMBeanUnitTest.java:67)
                                   [java] [java] [junit]
                                   [java] [java]
                                   [java] [java] BUILD FAILED
                                   [java] [java] C:\home\repository\jboss\product\build.xml:186: The following error occurred while executing this line:
                                   [java] [java] C:\home\repository\jboss\product\services\build.xml:10: The following error occurred while executing this li
                                   [java] [java] C:\home\repository\jboss\product\services\soapui-client\build.xml:87: Test org.jboss.soa.esb.services.soapui
                                  apUIClientServiceMBeanUnitTest failed
                                   [java] [java]
                                   [java] [java] Total time: 32 seconds
                                   [java]
                                   [java] BUILD FAILED
                                   [java] C:\home\repository\jboss\product\build.xml:403: The following error occurred while executing this line:
                                   [java] C:\home\repository\jboss\product\build.xml:87: Java returned: 1
                                   [java]
                                   [java] Total time: 32 seconds
                                  



                                  • 14. Re: JBossESB 4.2GA QuickStart Issues
                                    tfennelly

                                    Can you post the contents of the report file for that test? It's in product/services/soapui-client/target/test-reports

                                    1 2 Previous Next