Of course we have done those you mentioned before posting this email. We don't use 
system classpath. All classes and JAR files are added into wrapp and repositories. No 
problem with permission as all classes are stay in the same directory. All other 
classes are accessible OK except this LDAP one.

Thanks for reply anyway :-)

Steve Nguyen
KBMail Software & Service Provider
http://www.kbmail.com


-------- Original message --------
Date: Tue, 13 Jul 1999 16:30:16 +0000
From: "Craig R. McClanahan" <[EMAIL PROTECTED]>
To: Java Apache Users <[EMAIL PROTECTED]>
Subject: Re: Jserv & LDAP
----------------------------------

Steve Nguyen wrote:

> I tried to run Sun JNDI/LDAP undre JServ and consistently recieved error message: 
>Cannot instantiate class: com.sun.jndi.ldap.CtxLdapFactory. Even though I can run 
>fine with same classes and path with JRun.
>
> Any idea ?
>
> Steve
>

The system class path is ignored by Apache JServ -- see the FAQ-O-MATIC at 
http://java.apache.org for more info.

Basically, you need to include the JNDI-related JAR files in either the 
wrapper.classpath settings of the jserv.properties file, or as repositories settings 
in the zone properties file for your zone.  You also
need to make sure that these files, and all directories above them, have appropriate 
permissions for the username under which Apache JServ is actually running (it's the 
same as the one you run Apache under, as
set in the httpd.conf file, unless you are manually starting Apache JServ).

Craig McClanahan




--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
READ THE FAQ!!!!     <http://java.apache.org/faq/>
Archives and Other:  <http://java.apache.org/main/mail.html/>
Problems?:           [EMAIL PROTECTED]




--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
READ THE FAQ!!!!     <http://java.apache.org/faq/>
Archives and Other:  <http://java.apache.org/main/mail.html/>
Problems?:           [EMAIL PROTECTED]

Reply via email to