1 Reply Latest reply on May 13, 2015 10:39 AM by mnovak

    Websphere JNDI to JBOSS EAP JNDI

    jbosstcsbala

      Dear all,

       

           I'm working on WAS to EAP 6+ migration project. Can any have a idea about the JNDI general configuration on EAP side.

        • 1. Re: Websphere JNDI to JBOSS EAP JNDI
          mnovak

          To subsystem <subsystem xmlns="urn:jboss:domain:naming:1.4"> add something like :

          <bindings>
            <external-context name="java:global/remoteJMS/"
            module="module.with.webspheremq.jars.for.jndi.lookup" 
            class="javax.naming.InitialContext">
            <environment>
            <property name="java.naming.factory.initial" value="${PROVIDER_FACTORY_INITIAL}"/>
            <property name="java.naming.provider.url" value="${PROVIDER_URL}"/>
            <property name="java.naming.factory.url.pkgs" value="${PROVIDER_URL_PKGS}"/>
            </environment>
            </external-context>
          </bindings>
          

           

          and in $JBOSS_HOME/modules create new module necessary jars.

           

          This documentation is for generic RA for Tibco but can give you basic idea how to configure external context:

          Administration and Configuration Guide