[jboss-user] [Messaging, JMS & JBossMQ] - Re: JMS ProviderFailure:java.lang.NoSuchFieldError

avernon do-not-reply at jboss.com
Mon Aug 14 20:09:06 EDT 2006


One line of code change was required in the client to allow for the fact that no "ConnectionFactory" object was registered in JNDI.


        Properties p = new Properties();
        p.setProperty("java.naming.factory.initial","com.tibco.tibjms.naming.TibjmsInitialContextFactory");
        p.setProperty("java.naming.provider.url","localhost");

        InitialContext iniCtx = new InitialContext(p);

        Object tmp = iniCtx.lookup("XAQueueConnectionFactory");



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

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



More information about the jboss-user mailing list