Announcement Announcement Module
Collapse
No announcement yet.
acegi-security-sample-contacts-filter.war does not work Page Title Module
Move Remove Collapse
This topic is closed
X
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    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

    Comment


    • #3
      Re: acegi-security-sample-contacts-filter.war does not work

      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?

      Comment


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

        there is no exception at the console.

        Comment


        • #5
          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.

          Comment


          • #6
            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!

            Comment


            • #7
              or you can just...

              drop the log4j jar into the expanded war's lib directory, restart the app, and it works fine.

              Comment

              Working...
              X