1 2 3 Previous Next 32 Replies Latest reply on May 31, 2007 10:37 AM by kconner

    aggregator sample deploy in AS

    system.out

      How Can I deploy aggregator sample in AS?
      ######################################################################
      This quickstart can only run in standalone mode.
      Please run 'ant help' for information about how to run this quickstart
      ######################################################################

      My main question is how to deploy multiple esb jars in AS, in order to avoid conflicts in auto-generated files, i.e:
      config/jbossesb-gateway.xml
      config/jbossesb-listener.xml
      config/jbossesb-properties.xml ? (not sure about this one)

      Is there any way to define multiple jbossesb.xml files in jbossesb.sar/META-INF/jboss-service.xml?

      Also is there any document explaining the deployment process for esb deployer?

        • 1. Re: aggregator sample deploy in AS
          kurtstam

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

          I'm still working on this page but think there is enough there to get you going.

          --Kurt

          • 2. Re: aggregator sample deploy in AS
            system.out

            Thanks Kurt. I followed the link your provided and here are some questions I have:

            - Can I embed the .esb within an .ear?
            - Shouldn't be jbossesb.xml and not jboss-esb.xml within .esb ?

            deploy\jbossesb.sar\META-INF\jboss-service.xml :
             <attribute name="ConfigurationFile">jbossesb.xml</attribute>
            

            - Is Wiki Page instructions working for JBOSS-ESB-4.0 GA?

            By the way, I built an .ear with embedded .esb and .esb was completely ignored by deployer (I am working with jbossesb-4.0-GA bundle).

            • 3. Re: aggregator sample deploy in AS
              marklittle

              Can you move to the 4.2GA? Back porting of features is being done on a per case basis.

              • 4. Re: aggregator sample deploy in AS
                marklittle

                Sorry, meant ... 4.2MR2

                • 5. Re: aggregator sample deploy in AS
                  system.out

                  I really tried from first day!! Even I got the source from svn to build it myself. But so far it has been a bumpy road for me at least.

                  On the other side, when I downloded the 4.0-GA-bundle, , it was just a matter of click and go and made me happy!!

                  I have seen many posting regarding this matter recently about 4.2-MR2, it may be a minor thing in settting up some system properties.
                  Even I tried to post the exceptions and was directed to use the source, not binary at this point.

                  Is there any way to have a 4.2MR2-bundle, similar to 4.0-bundle ?

                  • 6. Re: aggregator sample deploy in AS
                    marklittle

                    Maybe I missed your postings, but are you saying that the released binary distribution of 4.2 MR2 isn't sufficient for you? If that's the case and you've already covered the problems you have encountered, please email those references to me and I'll follow up.

                    • 7. Re: aggregator sample deploy in AS
                      system.out

                      I couldn't run quickstarts samples with 4.2MR2, neither from Binary, nor from source!
                      That is whay I am working on 4.0-GA release.

                      • 8. Re: aggregator sample deploy in AS
                        system.out

                        Can somebody confirm the followings:

                        Thanks Kurt. I followed the link your provided and here are some questions I have:

                        - Can I embed the .esb within an .ear?
                        - Shouldn't be jbossesb.xml and not jboss-esb.xml within .esb ?
                        Code:
                        deploy\jbossesb.sar\META-INF\jboss-service.xml :
                        <attribute name="ConfigurationFile">jbossesb.xml</attribute>

                        - Is Wiki Page instructions working for JBOSS-ESB-4.0 GA?

                        By the way, I built an .ear with embedded .esb and .esb was completely ignored by deployer (I am working with jbossesb-4.0-GA bundle).


                        • 9. Re: aggregator sample deploy in AS
                          kurtstam

                          1. The .esb archives are picked up by the deployer in the jbossesb.sar. This works as off 4.2MR1. I'm actually not sure if it works inside an ear, but I think it should.

                          2. It's the same file, just got renamed when the deployer was added to follow the deployer conventions.

                          3. No it does not work this way in 4.0.GA.

                          If I where you I would check out 4.2MR2 tag from SVN, and build from source. Just run the 'ant dist' task in the product directory. The source tree is setup correctly to run all the samples.

                          --Kurt

                          • 10. Re: aggregator sample deploy in AS
                            system.out

                            Just to make sure: the .esb should be deployed in /deploy directory and not in deploy/jbossesb.sar/
                            Please confirm!
                            Thanks,
                            Mike

                            • 11. Re: aggregator sample deploy in AS
                              kurtstam

                              Hi Mike,

                              I think both work. But I'd deploy it to the deploy directory. Seems like a more logical place to me.

                              Good luck!

                              --Kurt

                              • 12. Re: aggregator sample deploy in AS
                                marklittle

                                 

                                "kurt.stam@jboss.com" wrote:
                                If I where you I would check out 4.2MR2 tag from SVN, and build from source. Just run the 'ant dist' task in the product directory. The source tree is setup correctly to run all the samples.


                                People shouldn't need to check out the source from svn to build a release. We always put the exact source used to generate the binary release on the same download page as the binary. So for people who don't want to set up svn, http://labs.jboss.com/jbossesb/downloads is the place to go.

                                • 13. Re: aggregator sample deploy in AS
                                  kconner

                                   

                                  "system.out" wrote:
                                  Is there any way to have a 4.2MR2-bundle, similar to 4.0-bundle ?

                                  I am going through these now with the intent of making it easier to execute the quickstarts (especially in the jbossesb-server).

                                  This is a slow process with all the combinations being tested but should be finished soon.

                                  Please bear with me.

                                  • 14. Re: aggregator sample deploy in AS
                                    kconner

                                     

                                    "kurt.stam@jboss.com" wrote:
                                    I'm actually not sure if it works inside an ear, but I think it should.

                                    Ears do not automatically process nested deployments. The only nested artifacts deployed by an ear are those mentioned in the application.xml or jboss-app.xml metadata files.

                                    1 2 3 Previous Next