Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / First Aid / September 2006

Tip: Looking for answers? Try searching our database.

JStudio Creator  class not found org.apache.catalina.realm.JNDIRealm.

Thread view: 
celerno@gmail.com - 06 Sep 2006 23:25 GMT
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.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.