2 Replies Latest reply on May 31, 2005 3:04 AM by dinosaur_jr

    howto get BEA WEBLOGIC JNDI tree into JBOSS JNDI tree?

    dinosaur_jr

      Hi,

      the reason why I want to do this, is because I want to access several JMS queues which are located on a BEA Weblogic server.

      the JBoss 4.0.2 server guide says to "Use the ExternalContext MBean to federate the foreign JMS providers managed objects into the JBoss JNDI tree"

      Neither can I find more than that hint in the documentation nor have I found an usable answer within the articles of the forum.

      I tried that by adding the following mbean entry at the end of the /conf/jboss-service.xml file but the result were just plenty of errormessages.

      <classpath codebase="../" archives="wlclient.jar"/>
       <mbean code="org.jboss.naming.ExternalContext"
       name="jboss.jndi:service=ExternalContext,jndiName=external/Bea">
       <attribute name="JndiName">external/Bea</attribute>
       <attribute name="CacheContext">true</attribute>
       <attribute name="Properties">
       java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory
       java.naming.factory.host=t3://localhost
       java.naming.factory.port=7001
       </attribute>
       <attribute name="InitialContext">javax.naming.InitialContext</attribute>
       <attribute name="RemoteAccess">true</attribute>
       </mbean>


      any information pointing me in the right direction is welcomed,
      chris