Hello there.  I am working with JBoss 3.0 and was hoping that
somebody
could answer a question for me regarding federated JNDI namespaces.
Essentially, I am looking at using JBoss as a services framework and, if a
J2EE application server is already in use (e.g., Weblogic or Websphere),
sharing the JNDI namespace of the application server with JBoss via the
ExternalContext MBean.  I am not sure that I am using the right approach and
was hoping that someone could help set me straight if I am mistaken, or
direct
me to where I can get answers on how to make this work. 
        I first went into the jboss-service.xml file and, after the JNDIView
MBean entry, added the following:

<!-- ===========================================================-->
  <!-- External Context                                         -->
  <!-- ======================================================== -->
  <mbean code="org.jboss.naming.ExternalContext"
        
name="DefaultDomain:service=ExternalContext,jndiName=external/beaWebLogic">
  <attribute name="JndiName">external/beaWebLogic</attribute>
  <attribute name="Properities">beaWebLogicProperties</attribute>
  <attribute name="InitialContext">javax.naming.InitialContext</attribute>
  <!--attribute name="RemoteAccess">true</attribute-->
  </mbean>

For the beaWebLogicProperties file, I provided the following two entries:

java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory
java.naming.provider.url=t3://localhost:7001

Does JBoss allow you to create federated namespaces with only ldap or the
file system, or does it allow you to share namespaces across application
servers? If the answer is yes, and the above is correct, should I be doing
something on the side of the application server itself that I am unaware of?
Any help would be greatly appreciated.  Thank you.

Craig M. Parsons-Kerins


                LEXIGN          

Craig M. Parsons-Kerins
Senior Software Engineer, Engineering Development
22 COTTON ROAD * NASHUA, NH * 03063
T 603.883.3800 x335  F 603.889.9259
mailto:[EMAIL PROTECTED]
http://www.lexign.com


_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to