<span class="postbody">Hi,
<br>
<br>I&#39;ve configured ExternalConfig as follow:
<br>
<br></span>
<table width="90%" align="center" border="0" cellpadding="3" cellspacing="1">
<tbody><tr>
          <td><span class="genmed"><b>Code:</b></span></td>
        </tr>
        <tr>
          <td class="code"><pre>&lt;mbean code=&quot;org.jboss.naming.ExternalContext&quot; <br>       name=&quot;jboss.jndi:service=ExternalContext,jndiName=external/fs&quot;&gt;<br>    &lt;attribute name=&quot;JndiName&quot;&gt;external/fs&lt;/attribute&gt;<br>
    &lt;attribute name=&quot;Properties&quot;&gt;<br>        java.naming.factory.initial=com.sun.jndi.fscontext.RefFSContextFactory<br>        java.naming.provider.url=file:///D:/JBoss/<a href="http://jboss-5.1.0.GA">jboss-5.1.0.GA</a><br>
    &lt;/attribute&gt;<br>    &lt;attribute name=&quot;InitialContext&quot;&gt;javax.naming.directory.InitialDirContext&lt;/attribute&gt;<br>    &lt;attribute name=&quot;RemoteAccess&quot;&gt;false&lt;/attribute&gt;<br>&lt;/mbean&gt;        </pre>
</td></tr>
</tbody></table>
<span class="postbody">

<br>
<br>
<br>Now I&#39;m accesing my directory:
<br>
<br></span>
<table width="90%" align="center" border="0" cellpadding="3" cellspacing="1">
<tbody><tr>
          <td><span class="genmed"><b>Code:</b></span></td>
        </tr>
        <tr>
          <td class="code"><pre>InitialContext iniCtx = new InitialContext();<br>                Context c = (Context) iniCtx.lookup(&quot;external/fs&quot;);<br>                System.out.println(c);        </pre></td></tr>
</tbody></table>
<span class="postbody">

<br>
<br>But fetched contect is null :( 
<br>Am I missing sth?
<br>Please help :-)</span><br clear="all"><br>-- <br>Pozdrawiam <br>Maciej Madej<br>