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]

Reply via email to