Re: Java APIs and OES1/OES2
Hi,
rhairyes <rhairyes@no-mx.forums.novell.com> wrote in news:rhairyes.3xl7on@no-
mx.forums.novell.com:
> I'm doing some experimenting with the Novell Java/JNDI APIs. I
> downloaded the DirectoryCreator example from the developer site. The
> application compiles without any issues. My problem seems to be with
> the OS or the services running on it. If I run the directory creator
> app against a server that has OES2 installed, the directory is created
> as it should be. If I run the application against an OES1 machine, I
> receive the following:
>
> C:\>java -classpath njclv2.jar; DirectoryCreator
> BWAY-FS1/VOL1/Users/Student terrahhahn
>
> Exception thrown: javax.naming.NoInitialContextException [Root
> exception is com.
> novell.service.jncp.ServerException: ccode = 35074 (0x8902)]
> javax.naming.NoInitialContextException [Root exception is
> com.novell.service.jnc
> p.ServerException: ccode = 35074 (0x8902)]
> at
> com.novell.service.file.nw.naming.FileSystemInitia lContextFactory.get
> InitialContext(FileSystemInitialContextFactory.jav a:94)
> ....
I'm no NW-Java class expert, but I assume this:
from the class name it sounds as if it uses the NCP protocol to do the work,
and with NCP errors starting with 0x89 are in most cases permission issues;
in CLIB SDK you can find nwerrno.h which has:
#define ERR_NO_SEARCH_PRIVILEGE 0x89 /* 137 */
HTH, Günter.
|