I've loaded a directory's contents into JNDI through a Filesystem 
ExternalContext.

It works fine when I try to get or put a File into jndi from an EJB. 
However, when i try the same operations from a standalone client, I only get a 
Reference object if i'm trying to get the context relative to the directory, or 
I get a javax.naming.NotContextException if i attempt to get a file.

My configuration is:



 
 external/fs

  
java.naming.factory.initial=com.sun.jndi.fscontext.RefFSContextFactory
java.naming.provider.url=file:///c:/usr/local 

javax.naming.InitialContext

 true

 


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

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


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to