7 Replies Latest reply: Apr 27, 2012 7:01 AM by racem smaoui RSS

    JBoss and ServiceMix

    Max Surov Newbie

      Hi,

      I want to run ServiceMix under JBoss.
      Can you provide me some ready to run examples of JBI components to run under JBoss+ServiceMix?

      Can you give me some resources where I can get starting information related to JBoss+ServiceMix?

      Is there some strategy of how to run ServiceMix components under JBoss?

      Where should I place servicemix.xml?

      Thanks in advance,
      Maxim

        • 1. Re: JBoss and ServiceMix
          Philip Newbie
          • 2. Re: JBoss and ServiceMix
            Max Surov Newbie

            Hi,

            Sure, I have taken a look at it.
            But there is not enough information to be ready to develop ServiceMix components under JBoss.


            I cannot deploy component into JBoss by using ...-sm.xml approach.

            I get the following:


            --- Packages waiting for a deployer ---
            org.jboss.deployment.DeploymentInfo@80316e5 { url=file:/C:/Java/jboss-4.0.2/server/default/deploy/vfs-sm.xml }
            deployer: null
            status: null
            state: INIT_WAITING_DEPLOYER
            watch: file:/C:/Java/jboss-4.0.2/server/default/deploy/vfs-sm.xml
            altDD: null
            lastDeployed: 1129884574468
            lastModified: 1129884574453
            mbeans:

            --- Incompletely deployed packages ---
            org.jboss.deployment.DeploymentInfo@80316e5 { url=file:/C:/Java/jboss-4.0.2/server/default/deploy/vfs-sm.xml }
            deployer: null
            status: null
            state: INIT_WAITING_DEPLOYER
            watch: file:/C:/Java/jboss-4.0.2/server/default/deploy/vfs-sm.xml
            altDD: null
            lastDeployed: 1129884574468
            lastModified: 1129884574453
            mbeans:


            • 3. Re: JBoss and ServiceMix
              Darran Lofthouse Master

              Did you follow the web site mentioned and install the new deployer?

              The error you are getting simply means there are no deployers available for that file type.

              • 4. Re: JBoss and ServiceMix
                Max Surov Newbie

                Thank you.

                I've just updated JBoss deployer version and it seems start working.

                • 5. Re: JBoss and ServiceMix
                  Max Surov Newbie

                  Another question related to deployment.

                  Can ServiceMix component be deploy into JBoss deploy directory as a single module, e.g., .jar file?

                  Can I make a jar that contains all Java classes, servicemix.xml, etc,m and deploy it in JBoss?

                  Should I place in this .jar jbi.xml ?

                  Is it possible?

                  Thanks,
                  Maxim

                  • 6. Re: JBoss and ServiceMix
                    rajani vanahal;a Newbie

                     

                    "maxs" wrote:
                    Thank you.

                    I've just updated JBoss deployer version and it seems start working.


                    Could you please tell me what u did to make it work? iam getting exactlty the same error as yours
                    I downloaded jboss 4.0 and deployer,
                    Extracted the deployer and placed it in the server/default/deploy directory

                    But getting the same error as yours, Help me
                    Thanks,

                    • 7. Re: JBoss and ServiceMix
                      racem smaoui Newbie

                      Hi MS,

                       

                      can you please share the link of version that you uploaded, and how you deployed its under jboss