7 Replies Latest reply on Nov 2, 2009 4:53 AM by subhrajyoti.bose

    ServiceMix4 and Websphere7

    ufuse12

      Hello,

       

      I would like to deploy SMX4 (Fuse4) as war file on the JEE container (Websphere7).  We cannot run SMX4 as a stanalone. Can it be done? Are there any procedures on how to build SMX4 as a war file?

       

      Thanks

       

      Youcef

        • 1. Re: ServiceMix4 and Websphere7
          gseben

          This has not been done yet. However, Websphere 7 does advertise OSGi support and in theory you should be able to deploy any of the bundles that come with SMX4 into Websphere without actually running the SMX4 server.

           

          -Gio

          • 2. Re: ServiceMix4 and Websphere7
            ufuse12

            I googled this link: http://maven.nanthrax.net/documentation/installation-guide.pdf

            The guide is still not completed.

            There is this chapter ?ServiceMix Into A JEE Application Server Installation Procedure?, that?s what I would like to achieve, having SMX4 bus running in Websphere7 as a WAR component alongside our war presentation layer within an EAR file.

            It seems SMX3 offers this option but not SMX4

            Thanks

            Youcef

            • 3. Re: ServiceMix4 and Websphere7
              gseben

              I definitely understood what you are trying to do and it was possible and supported with SMX 3.x. But I don't think it has been worked on or tested for SMX 4.

               

              As I mentioned though, since Websphere7 announces full OSGi support, you could try to take all the bundles from a SMX 4 install, and deploy them inside Websphere 7. In SMX 4 everything is an OSGi bundle from the NMR down to the service engines, which means that you should be able to deploy them to a different OSGi container (Websphere in your case) without loss of functionality.

               

              That's the best approach I can see to try to get SMX 4 to work with Websphere. Perhaps someone else might have a different suggestion.

               

              -Gio

              • 4. Re: ServiceMix4 and Websphere7
                ufuse12

                Thank you Gio for the insights.

                 

                Do you know if SMX/Fuse team has any plan on delivering a build that can be embedded into a JEE container (similar to SMX3) or deployed to an OSGi container (websphere7) as one big bundle. We are in the middle of ?BUS technologies test drive? and we need to make a decision soon.

                Youcef

                • 5. Re: ServiceMix4 and Websphere7
                  ufuse12

                  Hi,

                   

                  Can SMX4 be packaged as a JCA-compatible Resource Adapter for deployment into a J2EE application server?

                   

                  Thanks

                  • 6. Re: ServiceMix4 and Websphere7
                    davsclaus

                    You may consider using Camel as its capable of running inside WebSphere, for example in a plain .war file.

                     

                    I doubt its on the roadmap to provide JCA adapter for SMX 4. SMX 4 is meant to run in OSGi containers such as Apache Felix or Equinox.

                    • 7. Re: ServiceMix4 and Websphere7
                      subhrajyoti.bose

                      Hi

                       

                      I am looking into the possibility of deploying FUSE 4 into JBoss 5.1.0. Your experience could be valuable in this regard.

                       

                      How did you address the problem you were facing? Would appreciate if you share any details available.

                       

                      Thanks

                      Subhrajyoti