Results 1 to 7 of 7

Thread: acegi-security-sample-contacts-filter.war does not work

  1. #1
    Join Date
    Jan 2005
    Posts
    16

    Default acegi-security-sample-contacts-filter.war does not work

    I copy acegi-security-sample-contacts-filter.war to webapps of jakarta-tomcat-5.0.30, start tomcat and open browser with http://localhost:8080/acegi-security...ontacts-filter, but comes Exception. What should I do? Thanks.

  2. #2
    Join Date
    Oct 2004
    Location
    China
    Posts
    14

    Default Do you palce log4j.jar into your classpath?

    I meet the same problem when I use resin.When I place log4j-1.2.8.jar into my classpath , it does work ! You can try it

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

    Default Re: acegi-security-sample-contacts-filter.war does not work

    Quote Originally Posted by scott.tian
    I copy acegi-security-sample-contacts-filter.war to webapps of jakarta-tomcat-5.0.30, start tomcat and open browser with http://localhost:8080/acegi-security...ontacts-filter, but comes Exception. What should I do? Thanks.
    What's the Exception and stack-trace?

  4. #4
    Join Date
    Jan 2005
    Posts
    16

    Default

    Just report from browser:
    (/acegi-security-sample-contacts-filter/) is not available.

    there is no exception at the console.

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

    Default

    Yes, I just tried it too and found log4j was the issue:

    Code:
    SEVERE: Exception sending context initialized event to listener instance of clas
    s org.springframework.web.util.Log4jConfigListener
    java.lang.NoClassDefFoundError: org/apache/log4j/PropertyConfigurator
    I've just commented out the log4j listener in web.xml for the Contacts sample, and committed it to CVS.

  6. #6
    Join Date
    Oct 2004
    Location
    China
    Posts
    14

    Default Good Security for me !

    I buid a demo with Acegi and use my own UserDetail implement . It does work fine .Very Thanks For Agegi My plan is to build a demo which use
    Spring MVC + Acegi + hibernate + Struts Tile + Common Validator + xdoclet + maven .Good thanks for all Open Source Tech!

  7. #7
    Join Date
    Feb 2005
    Location
    Lahaina, HI
    Posts
    8

    Default or you can just...

    drop the log4j jar into the expanded war's lib directory, restart the app, and it works fine.
    \"In the past, I was the future.\"
    - Tes

Similar Threads

  1. Replies: 2
    Last Post: Dec 7th, 2005, 12:10 PM
  2. how does the contacts sample work ?
    By Hamed in forum Security
    Replies: 2
    Last Post: Oct 11th, 2005, 03:01 AM
  3. 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
  •