[JBoss-user] [Management, JMX/JBoss] - Filesystem External Context

2005-03-15 Thread blakbox
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=bbop=viewtopicp=3870149#3870149

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=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=6595alloc_id=14396op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Filesystem External Context

2005-03-15 Thread blakbox
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=bbop=viewtopicp=3870150#3870150

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3870150


---
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=6595alloc_id=14396op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Filesystem External Context

2005-03-15 Thread blakbox
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:
 
  | server
  | mbean code=org.jboss.naming.ExternalContext
  |  name=jboss:service=ExternalContext,jndiName=external/fs 
  |  
  |  attribute name=JndiNameexternal/fs/attribute
  | 
  |  attribute name=Properties 
  | java.naming.factory.initial=com.sun.jndi.fscontext.RefFSContextFactory
  | java.naming.provider.url=file:///c:/usr/local/attribute 
  | 
  | attribute name=InitialContextjavax.naming.InitialContext/attribute
  | 
  |  attribute name=RemoteAccesstrue/attribute
  | /mbean
  | /server 
  | 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3870151#3870151

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3870151


---
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=6595alloc_id=14396op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user