Dear all,
please do let me know the steps to be followed to configure initialcontextfactory in wildfly 8.2 and MQ queues. I have added 3 properties in standalone.xml under system properties tag.
<property name="java.naming.factory.initial" value="org.jboss.naming.remote.client.InitialContextFactory"/>
<property name="java.naming.factory.url.pkgs" value="org.jboss.ejb.client.naming"/>
<property name="java.naming.provider.url" value="http-remoting://11.11.1.3:1599"/>
and added a jar file com.ibm.mqjms-6.0.2.6.jar in my application's war file classpath. Now deploying the war in wildfly 8.2 I am getting below exception :.
Caused by: javax.naming.NamingException: JBAS011843: Failed instantiate InitialContextFactory org.jboss.remote.client.InitialContextFactory from classloader ModuleClassLoader for Module "deployment.MyApp.Service.war:main" from Service Module Loader [Root exception is java.lang.ClassNotFoundException: org.jboss.remote.client.InitialContextFactory from [Module "deployment.MyApp.Service.war:main" from Service Module Loader]]
I am not getting the right way to configure it. Please provide a correct reference configuration.
Thanks