11 Replies Latest reply on May 14, 2009 2:41 PM by muellerc

    Fuse ESB 4.0.0.4. Failed to start bundle: activemq-broker

    m_fawaz

      Hello,

      I just installed a fuse esb. I noticed a lot of trace messages on the console. I execute the 'OSGI list' command, i found only 31 Active bundels and an installed bundel. A total of 32 bundels.

       

      Searching throw the log, i found the following:

       

      23:59:33,078 | WARN  | pool-1-thread-1  | FileMonitor                      | x.kernel.filemonitor.FileMonitor  547 | Failed to start bundle: activemq-broker.xml . Reason: org.osgi.framework.BundleException: Unresolved constraint in bundle 32: package; (&(package=org.apache.activemq.pool)(version>=0.0.0))

      org.osgi.framework.BundleException: Unresolved constraint in bundle 32: package; (&(package=org.apache.activemq.pool)(version>=0.0.0))

           at org.apache.felix.framework.Felix._resolveBundle(Felix.java:1725)

       

      followed by a series of messages of the same type:

      Unsupported deployment: C:\iona\fuse-esb-4.0.0.4\etc\license_agreement.txt

      Unsupported deployment: C:\iona\fuse-esb-4.0.0.4\etc\notices.txt

       

      Do you have an idea of the possible solution?

       

      Best Regards,

        • 1. Re: Fuse ESB 4.0.0.4. Failed to start bundle: activemq-broker
          joe.luo

          looks like you had dependency issue.

           

          Just a couple of questions:

          how did you deploy the activemq? Did you have activemq configuration file such as localhost-broker.xml in your C:\iona\fuse-esb-4.0.0.4\deploy directory?

          • 2. Re: Fuse ESB 4.0.0.4. Failed to start bundle: activemq-broker
            m_fawaz

            Good Morning,

             

            Thank you for your reply.

            In fact, i installed a brand new version. So, everything is in default state.

            ActiveMQ file is named activemq-broker.xml qnd exists in the deploy directory.

             

            Regards,

            M_fawaz

            • 3. Re: Fuse ESB 4.0.0.4. Failed to start bundle: activemq-broker
              joe.luo

              hm, I will give a test by installing a new Fuse 4.0.0.4 and let you know then.

              • 4. Re: Fuse ESB 4.0.0.4. Failed to start bundle: activemq-broker
                joe.luo

                I just installed a brand new Fuse ESB 4.0.0.4 and I can start the container without any problem. And the preconfigured broker instance was up. There were 132 bundles by default in the Fuse ESB distribution.

                 

                So did you delete your data directory and restart the Fuse ESB container? And could you please let me know exactly how did you start the ESB container after installation?

                 

                BTW, you should be able to get rid of the error by uninstalling and reinstalling the "activemq" feature.

                • 5. Re: Fuse ESB 4.0.0.4. Failed to start bundle: activemq-broker
                  abdeslam

                  Hi,

                  in my configuration i have also theses messages

                   

                  +Unsupported deployment: C:\iona\fuse-esb-4.0.0.4\etc\license_agreement.txt

                  Unsupported deployment: C:\iona\fuse-esb-4.0.0.4\etc\notices.txt+

                   

                   

                  I think the problem for activemq is about version not resolved...

                  see url features ....

                  • 6. Re: Fuse ESB 4.0.0.4. Failed to start bundle: activemq-broker
                    m_fawaz

                    I tried installing the same Fuse ESB version on a different machine. I got everything loaded without any problem.

                     

                    I tried to deleted the data directory. i didn't change anything.

                    I am starting the esb by the .\bin\servicemix.bat

                     

                    But i didn't try uninstalling/installing the acticemq feature. I will try and let you know. thank you for the idea.

                     

                    Regards,

                    m_fawaz

                    • 7. Re: Fuse ESB 4.0.0.4. Failed to start bundle: activemq-broker
                      m_fawaz

                      Hello,

                       

                      I tried to install the activemq feature. i got the following.

                      activemq-broker.xml (0.0.0)

                      servicemix> features list

                        State          Version       Name

                      ERROR IllegalArgumentException: URI is not absolute

                      servicemix> features install camel

                      ERROR Exception: No feature named 'camel' available

                      servicemix> features install activemq

                      ERROR Exception: No feature named 'activemq' available

                      servicemix>

                       

                       

                      Any ideas?

                      • 8. Re: Fuse ESB 4.0.0.4. Failed to start bundle: activemq-broker
                        joe.luo

                        Seems something wrong with your feature URLs. You might want to have a look at your fuse-esb-4.0.0.4\etc\org.apache.servicemix.features.cfg to see what's wrong and correct it if necessary. You won't be able to see any "features list" unless you have correct URLs listed up there. Just for your reference, I am attaching my org.apache.servicemix.features.cfg file (it is a preconfigured file from fues esb 4.0.0.4 distribution) here.

                        • 9. Re: Fuse ESB 4.0.0.4. Failed to start bundle: activemq-broker
                          m_fawaz

                          Hello,

                           

                          I reset maven repository to its default setting.

                          I mean <<User Profile>>\.m2\repository.

                          I restarted Fuse "Of course" after deleting the data direcory. And i got everything loaded again.

                           

                          I am so curious about this subject.

                          Changing the maven default repository caused starting problem to Fuse ESB.

                           

                          The question is : what do i have to change in order to use user defined repository?

                           

                          I tried to change the "org.ops4j.pax.url.mvn.cfg" file without any success.

                           

                          Thanks,

                          Regards

                          • 10. Re: Fuse ESB 4.0.0.4. Failed to start bundle: activemq-broker
                            muellerc

                            Hi all,

                             

                            I think I had the same problems, if I started a brand new version of fuse esb 4.1.0.0 without internet access...

                            I don't know why.

                             

                            Cheers,

                            Christian

                            • 11. Re: Fuse ESB 4.0.0.4. Failed to start bundle: activemq-broker
                              simonepringle

                              I installed Fuse ESB 4.1.0.0 on Fedora 10 with JDK 1.6 update 14

                               

                              I get the following error when trying to start ServiceMix:

                              org.osgi.framework.BundleException: Unresolved constraint in bundle 43: package; (package=org.apache.activemq)

                                      at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3059)

                                      at org.apache.felix.framework.Felix.startBundle(Felix.java:1439)

                                      at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:770)

                                      at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:751)

                                      at org.apache.servicemix.kernel.filemonitor.FileMonitor.refreshPackagesAndStartOrUpdateBundles(FileMonitor.java:549)

                                      at org.apache.servicemix.kernel.filemonitor.FileMonitor.onFilesChanged(FileMonitor.java:299)

                                      at org.apache.servicemix.kernel.filemonitor.FileMonitor$3$1.run(FileMonitor.java:318)

                                      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

                                      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

                                      at java.lang.Thread.run(Thread.java:619)

                               

                              I have followed many of the instructions in the forum:

                              - removed data directory

                              - features uninstall/install activemq

                              - I start service mix with ./bin/servicemix

                               

                              I believe this may be the reason I cannot invoke the Order Service (using SoapUI) on http://localhost:8192/order-service (though I can retrieve the WSDL from http://localhost:8192/order-service?wsdl).

                               

                              Any help would be greatly appreciated.

                              Simone