[jboss-user] [JBoss Messaging] - JMSProviderLoader NOTYETINSTALLED When using Bridge?

samdoyle do-not-reply at jboss.com
Wed Sep 10 15:04:34 EDT 2008


Hello,

I keep running into this issue on startup when trying to make use of the messaging bridge.

--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
  | ObjectName: jboss.messaging:service=JMSProviderLoader,name=DefaultJMSProvider
  |   State: NOTYETINSTALLED
  |   Depends On Me:
  |     jboss.messaging:service=Bridge,name=HibernateSearchBridge

Here is the bridge configuration.

  | <mbean code="org.jboss.jms.server.bridge.BridgeService"
  |           name="jboss.messaging:service=Bridge,name=HibernateSearchBridge"
  |           xmbean-dd="xmdesc/Bridge-xmbean.xml">
  | 
  |       <!-- The JMS provider loader that is used to lookup the source destination -->
  |       <depends optional-attribute-name="SourceProviderLoader">
  |          jboss.messaging:service=JMSProviderLoader,name=DefaultJMSProvider
  |       </depends>
  | 
  |       <!-- The JMS provider loader that is used to lookup the target destination -->
  |       <depends optional-attribute-name="TargetProviderLoader">
  |          jboss.messaging:service=JMSProviderLoader,name=DefaultJMSProvider
  |       </depends>
  | 
  |       <!-- The JNDI lookup for the source destination -->
  |       <attribute name="SourceDestinationLookup">/queue/hibernatesearch</attribute>
  | 
  |       <!-- The JNDI lookup for the target destination -->
  |       <attribute name="TargetDestinationLookup">queue/hibernatesearchMaster</attribute>
  | 
  |       <!-- Optional: The Quality Of Service mode to use, one of:
  |       QOS_AT_MOST_ONCE = 0;
  |       QOS_DUPLICATES_OK = 1;
  |       QOS_ONCE_AND_ONLY_ONCE = 2; -->
  |       <attribute name="QualityOfServiceMode">0</attribute>
  | 
  | 
  |       <!-- The maximum number of messages to consume from the source before sending to the target -->
  |       <attribute name="MaxBatchSize">5</attribute>
  | 
  |       <!-- The maximum time to wait (in ms) before sending a batch to the target even if MaxBatchSize is not exceeded.
  |         -1 means wait forever -->
  |       <attribute name="MaxBatchTime">-1</attribute>
  | 
  |       <!-- The number of ms to wait between connection retrues in the event connections to source or target fail -->
  |       <attribute name="FailureRetryInterval">5000</attribute>
  | 
  |       <!-- The maximum number of connection retries to make in case of failure, before giving up
  |    -1 means try forever-->
  |       <attribute name="MaxRetries">-1</attribute>
  | 
  |       <!-- If true then the message id of the message before bridging will be added as a header to the message so it is available
  |            to the receiver. Can then be sent as correlation id to correlate in a distributed request-response -->
  |       <attribute name="AddMessageIDInHeader">false</attribute>
  | 
  |    </mbean>

Here is the JMS section from hajndi-jms-ds.xml

<!-- The JMS provider loader -->
  | <mbean code="org.jboss.jms.jndi.JMSProviderLoader"
  |        name="jboss.mq:service=JMSProviderLoader,name=HAJNDIJMSProvider">
  |   <attribute name="ProviderName">DefaultJMSProvider</attribute>
  |   <attribute name="ProviderAdapterClass">
  |     org.jboss.jms.jndi.JNDIProviderAdapter
  |   </attribute>
  |   <!-- The combined connection factory -->
  |   <attribute name="FactoryRef">XAConnectionFactory</attribute>
  |   <!-- The queue connection factory -->
  |   <attribute name="QueueFactoryRef">XAConnectionFactory</attribute>
  |   <!-- The topic factory -->
  |   <attribute name="TopicFactoryRef">XAConnectionFactory</attribute>
  |   <!-- Access JMS via HAJNDI -->
  |   <attribute name="Properties">
  |      java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
  |      java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
  |      java.naming.provider.url=${jboss.bind.address:localhost}:1100
  |      jnp.disableDiscovery=false
  |      jnp.partitionName=${jboss.partition.name:DefaultPartition}
  |      jnp.discoveryGroup=${jboss.partition.udpGroup:230.0.0.4}
  |      jnp.discoveryPort=1102
  |      jnp.discoveryTTL=16
  |      jnp.discoveryTimeout=5000
  |      jnp.maxRetries=1
  |   </attribute>
  | </mbean>

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175673#4175673

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175673



More information about the jboss-user mailing list