1 Reply Latest reply on Feb 4, 2006 10:38 AM by Adrian Brock

    ClassNotFound: JBossMQProvider

    Clark Archer Newbie

      Hi, I'm trying to configure my JBoss 4.0.1SP3 server to access a remote message queue. The remote message queue is simply another instance of the same version of JBoss running on a different machine. I've added the following to my jms-ds.xml file:

      <mbean code="org.jboss.jms.jndi.JMSProviderLoader"
       name="jboss.mq:service=JMSProviderLoader,name=RemoteJBossMQProvider">
       <attribute name="ProviderName">RemoteJMSProvider</attribute>
       <attribute name="ProviderAdapterClass">
       org.jboss.jms.jndi.JBossMQProvider
       </attribute>
       <attribute name="FactoryRef">XAConnectionFactory</attribute>
       <attribute name="QueueFactoryRef">
       XAConnectionFactory
       </attribute>
       <attribute name="TopicFactoryRef">
       XAConnectionFactory
       </attribute>
       <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=jnp://swift:1099
       </attribute>
       </mbean>
      


      However, when JBoss is starting, it reports that the class org.jboss.jms.jndi.JBossMQProvider cannot be found. I cannot find this class in any of the JBoss JARs or even in the sources. Has it been removed, and if so, what is the replacement?

      Thanks!