javax.naming.NoPermissionException; remaining name '"...
Hi!
I use fscontext-1_2-beta3 to be my file system service provider. It worked fine on windows system, but failed after migrate to AIX. The following error message is what I got:
javax.naming.NoPermissionException; remaining name '"/usr/...../jndi/jdbc"'
[java]at com.sun.jndi.fscontext.FSContext.checkCanWrite(FSContext.java:939)
[java]at com.sun.jndi.fscontext.RefFSContext.setBindings(RefFSContext.java:594)
[java]at com.sun.jndi.fscontext.RefFSContext.bindObject(RefFSContext.java:338)
....
..
.
I set Context.PROVIDER_URL to file:///usr/...../jndi and try to create datasource jndi name.
The Java execution home is under /Websphere/Application/java, but it's a standalone java application. I modify java.policy file under /Websphere/Application/java/jre/lib/security and grant java.io.file read and write permission to folder /usr/...../jndi and all files under it.
I have no idea what's mistake I make. Can anyone help me? Thanks a lot

