in my server.xml file i have this Realm configuration:
<Realm className="org.apache.catalina.realm.JNDIRealm " debug="99"
connectionURL="ldap://10.0.10.60:389"
referrals="follow"
userBase="cn=Users,dc=eystest,dc=local"
userSearch="(sAMAccountName={0})"
userSubtree="true"
userRoleName="Users"
roleBase="cn=Users,dc=eystest,dc=local"
roleSearch="(sAMAccountName={0})"
roleSubtree="true"
rolename="cn" />
but when try to run the tomcat server i got this exception:
Sep 6, 2006 1:46:50 PM org.apache.tomcat.util.digester.Digester
startElement
SEVERE: Begin event threw exception
java.lang.ClassNotFoundException: org.apache.catalina.realm.JNDIRealm
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
i can't find the org.apache.catalina.realm.JNDIRealm class.
can any one help this dumber.!!. thanks in advance.
celerno@gmail.com - 07 Sep 2006 00:03 GMT
i found the problem... after 12 hours. the problem is here, in front my
eyes.
i have this...
<Realm className="org.apache.catalina.realm.JNDIRealm "
but this is wrong.... this is correct.
<Realm className="org.apache.catalina.realm.JNDIRealm"
can you see the differences.?
>)
> in my server.xml file i have this Realm configuration:
>
[quoted text clipped - 24 lines]
>
> can any one help this dumber.!!. thanks in advance.