Hi Jacob-

Thanks for posting your experience with ExternalContext and JBoss 3.2.3.  I'm trying 
to follow your recipe using 3.2.5 and its not working out.   When I use JNDIView to 
display the directory tree I can see the ExternalContext but its lowest level stops at 
the end of the path I defined in the JNDI path attribute (external/fs) and after that 
only displays $Proxy18.

In the examples on this site, they show all the contents of the external context 
displayed (even in cases where a file system  is  bound into the directory).  The 
JNDIView looks like this:


  |   +- external (class: org.jnp.interfaces.NamingContext)
  |   |   +- fs (class: org.jnp.interfaces.NamingContext)
  |   |   |   +- data (class: org.jnp.interfaces.NamingContext)
  |   |   |   |   +- mqfile (proxy: $Proxy18 implements interface javax.naming.Context)
  | 

And my jboss-services.xml looks like this:


  | <server>
  | 
  |   <!-- Specify required library jars as needed.-->
  |   <classpath codebase="." archives="providerutil.jar,fscontext.jar"/>
  |   
  |   
  |     
  | <!-- Added to enable external context federation -->
  |     <mbean code="org.jboss.naming.ExternalContext" 
name="jboss.jndi:service=ExternalContext,jndiName=external/fs/data/mqfile" >
  |         <attribute name="JndiName">external/fs/data/mqfile</attribute>
  |         <attribute 
name="Properties">java.naming.factory.initial=com.sun.jndi.fscontext.RefFSContextFactory
  | java.naming.provider.url=file:///c:/data/mqfile</attribute>
  |         <attribute name="InitialContext">javax.naming.InitialContext</attribute>
  |         <attribute name="RemoteAccess">false</attribute>
  |     </mbean>
  | 
  | <!-- END: Added to enable external context federation -->
  | 
  |    
  | </server>
  | 
  | 

My sar is configured identically to yours but still no luck.  Any suggestions (Jacob 
or anyone else)?


Thanks,

Jim

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

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


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to