Notices


 
 
LinkBack Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 02-Sep-2009, 04:47 AM
Guenter
NNTP User
 
Posts: n/a
Default 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.

Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -6. The time now is 12:25 PM.


© 2007 Novell, Inc. All Rights Reserved.

Search Engine Friendly URLs by vBSEO 3.3.0 RC2