Dear all, 
I know there is a bug for this issue but is it possible to have a working
workaround? I explain my situation:
I`m using servicemix 4.5.2 with JAVA 1.7 on a 32bit Linux machine. If I
start servicemix from a clean version everything works well, the
activemq-broker is correctly instantiated and through the web-console I can
reach it. After installing the hibernate feature, the activemq broker fails
the later reboots remainig with this message: 

/Bundle activemq-broker.xml is waiting for namespace handlers
[http://activemq.apache.org/schema/core] /

Reading the jira bugs it seems a race condition. Is there a way to avoid
this situation ? Thanks

This is my hibernate feature:

/<features>
<feature name="hibernate">
       
<bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.dom4j/1.6.1_5</bundle>
        <bundle
dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-dbcp/1.4_3</bundle>
        <bundle
start-level="50">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.javassist/3.9.0.GA_2</bundle>
        <bundle
dependency="true">mvn:net.sourceforge.cglib/com.springsource.net.sf.cglib/2.2.0</bundle>
        <bundle>mvn:org.antlr/com.springsource.antlr/2.7.7</bundle>
        <bundle>mvn:org.jgroups/com.springsource.org.jgroups/2.5.1</bundle>
       
<bundle>mvn:org.jboss.javassist/com.springsource.javassist/3.3.0.ga</bundle>
       
<bundle>mvn:org.hibernate/com.springsource.org.hibernate/3.3.1.GA</bundle>

<bundle>mvn:org.hibernate/com.springsource.org.hibernate.annotations/3.4.0.GA</bundle>

<bundle>mvn:org.hibernate/com.springsource.org.hibernate.annotations.common/3.3.0.ga</bundle>

<bundle>mvn:org.springframework/org.springframework.beans/3.2.2.RELEASE</bundle>
  
<bundle>mvn:org.springframework/org.springframework.core/3.2.2.RELEASE</bundle>

<bundle>mvn:org.springframework/org.springframework.aop/3.2.2.RELEASE</bundle>
 
<bundle>mvn:org.springframework/org.springframework.transaction/3.2.2.RELEASE</bundle>
        <bundle>wrap:mvn:postgresql/postgresql/9.1-901.jdbc4</bundle>
</feature>
</features> /

This is my osgi:list output

[  61] [Active     ] [GracePeriod ] [       ] [   80] activemq-broker.xml
(0.0.0)
[  62] [Active     ] [            ] [       ] [   50] activemq-console
(5.7.0)
[  63] [Active     ] [            ] [       ] [   50] activemq-ra (5.7.0)
[  64] [Active     ] [Created     ] [       ] [   50] activemq-core (5.7.0)
                                       Fragments: 69
[  65] [Active     ] [Created     ] [       ] [   50] activemq-karaf (5.7.0)
[  66] [Active     ] [Created     ] [       ] [   50] Apache XBean :: OSGI
Blueprint Namespace Handler (3.11.1)
[  67] [Active     ] [            ] [       ] [   50] Commons JEXL (2.0.1)
[  68] [Active     ] [            ] [       ] [   50] Apache ServiceMix ::
Specs :: Scripting API 1.0 (1.9.0)
[  69] [Resolved   ] [            ] [       ] [   50] activemq-blueprint
(5.7.0)
                                       Hosts: 64
[  83] [Active     ] [            ] [       ] [   50] Joda-Time (1.6.2)
[  84] [Active     ] [            ] [       ] [   50] Apache XBean :: Spring
(3.11.1)


Best regards
Max




--
View this message in context: 
http://servicemix.396122.n5.nabble.com/activemq-broker-xml-stays-in-GracePeriod-forever-tp5717513.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to