Hi,
I've configured ExternalConfig as follow:
*Code:*
<mbean code="org.jboss.naming.ExternalContext"
name="jboss.jndi:service=ExternalContext,jndiName=external/fs">
<attribute name="JndiName">external/fs</attribute>
<attribute name="Properties">
java.naming.factory.initial=com.sun.jndi.fscontext.RefFSContextFactory
java.naming.provider.url=file:///D:/JBoss/jboss-5.1.0.GA
</attribute>
<attribute
name="InitialContext">javax.naming.directory.InitialDirContext</attribute>
<attribute name="RemoteAccess">false</attribute>
</mbean>
Now I'm accesing my directory:
*Code:*
InitialContext iniCtx = new InitialContext();
Context c = (Context) iniCtx.lookup("external/fs");
System.out.println(c);
But fetched contect is null :(
Am I missing sth?
Please help :-)
--
Pozdrawiam
Maciej Madej