Results 1 to 4 of 4

Thread: Contacts example fails (kit 0.7.0)

  1. #1
    Join Date
    Feb 2005
    Location
    Bothell, WA USA
    Posts
    5

    Default Contacts example fails (kit 0.7.0)

    Hello,

    I'm attempting to run the "contacts-container-adapter" example unchanged for the time being, but it fails with the following error:

    "Feb 11, 2005 3:39:37 PM org.apache.commons.digester.Digester startElement
    SEVERE: Begin event threw error
    java.lang.NoClassDefFoundError: org/apache/catalina/realm/RealmBase".

    It fails immediately after I replace the server.xml's default Tomcat Realm with the one suggested in the Reference Documentation for Catalina (Tomcat) Installation - section 1.11.3.

    I installed the applicationContext.xml from the war into the {tomcat_home}/conf directory without changes. I deployed the example war without changes into the {tomcat_home}/webapps directory. I performed the configuration changes as instructed in section 1.11.3.

    I'm tripping the acegi security framework, since the login page appears. When I attempt to authenticate, I receive back the failure indication. Several of those failed attempts later and I'm locked out. I presume this is default behavior.

    Any ideas? Thanks.

    Richard

  2. #2
    Join Date
    Aug 2004
    Location
    Sydney, Australia
    Posts
    2,768

    Default

    I'd have to actually try it out with the Tomcat version you're using. Which version is that?

    Also, is there a particular reason you're using the container adapter approach, as it's generally not recommended?

  3. #3
    Join Date
    Feb 2005
    Location
    Bothell, WA USA
    Posts
    5

    Default container adapter sample

    Hello Ben,

    Thanks for the enlightenment. I was using the container adapter approach because I didn't know any better. The Contacts sample works fine.

    I'm using Tomcat 5.

    Finally, it would have been exceptionally handy to have had a bulleted, one-page list of instructions accompanying each sample. Likewise, it would have helped immensely to have had a one-page Tomcat environment configuration sheet located within each example. In other words, having all pertinent instructions located with each 'contacts' sample would have saved me a day. I'm very eager to get this going.

    I appreciate your hard work in putting this technology out there for us.

    Richard

  4. #4
    Join Date
    Aug 2004
    Location
    Sydney, Australia
    Posts
    2,768

    Default

    No worries at all. I wish I had more free time to devote to Acegi Security - indeed there are many features I'd really like to add. It's just a question of fitting it in around paid projects etc. I warmly welcome contributions, which we'd published at http://acegisecurity.sourceforge.net to assist the community. Simple HTML documents are just fine.

Similar Threads

  1. Replies: 1
    Last Post: Aug 18th, 2006, 11:04 PM
  2. Replies: 32
    Last Post: Jul 20th, 2006, 01:37 PM
  3. Problem in deploying Contacts in BEA WLS 8.1
    By Savrak in forum Security
    Replies: 9
    Last Post: Dec 7th, 2005, 12:09 PM
  4. Stop validation if binding fails.
    By sherihan in forum Web
    Replies: 0
    Last Post: Feb 8th, 2005, 03:18 AM
  5. Acegi Security release 0.7.0 is out
    By Ben Alex in forum Announcements
    Replies: 0
    Last Post: Jan 19th, 2005, 03:27 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •