Uploaded image for project: 'Struts 1'
  1. Struts 1
  2. STR-537

DIgester/Commons Logging error with -security

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Nightly Build
    • Fix Version/s: 1.1 Family
    • Component/s: Core
    • Labels:
      None
    • Environment:
      Operating System: All
      Platform: PC
    • Bugzilla Id:
      7541

      Description

      When I start tomcat with -security I get the following in the localhost_log and
      the console says "logClassName=null". I am using tomcat 4.0.2 and the 1/2/02
      nightly build.

      -------- localhost_log -----------

      ...
      2002-03-27 14:49:10 strutsaction: init
      2002-03-27 14:49:10 strutsaction: Initializing configuration from resource
      path /WEB-INF/struts-config.xml
      2002-03-27 14:49:11 StandardContext[/Autoweb2]: Servlet /Autoweb2 threw load()
      exception
      javax.servlet.ServletException: Servlet.init() for servlet strutsaction threw
      exception
      at org.apache.catalina.core.StandardWrapper.loadServlet
      (StandardWrapper.java:935)
      at org.apache.catalina.core.StandardWrapper.load
      (StandardWrapper.java:808)
      at org.apache.catalina.core.StandardContext.loadOnStartup
      (StandardContext.java:3266)
      at org.apache.catalina.core.StandardContext.start
      (StandardContext.java:3395)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
      at org.apache.catalina.core.StandardHost.start(StandardHost.java:614)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
      at org.apache.catalina.core.StandardEngine.start
      (StandardEngine.java:343)
      at org.apache.catalina.core.StandardService.start
      (StandardService.java:388)
      at org.apache.catalina.core.StandardServer.start
      (StandardServer.java:506)
      at org.apache.catalina.startup.Catalina.start(Catalina.java:781)
      at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
      at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
      ----- Root Cause -----
      org.apache.commons.logging.LogConfigurationException:
      org.apache.commons.logging.LogConfigurationException:
      java.lang.NullPointerException
      at org.apache.commons.logging.impl.LogFactoryImpl.newInstance
      (LogFactoryImpl.java:464)
      at org.apache.commons.logging.impl.LogFactoryImpl.getInstance
      (LogFactoryImpl.java:273)
      at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:338)
      at org.apache.commons.digester.Digester.<init>(Digester.java:309)
      at org.apache.struts.action.ActionServlet.initDigester
      (ActionServlet.java:1576)
      at org.apache.struts.action.ActionServlet.initMapping
      (ActionServlet.java:1755)
      at org.apache.struts.action.ActionServlet.init(ActionServlet.java:496)
      at com.athensgroup.autoweb2.action.AutowebActionServlet.init
      (AutowebActionServlet.java:50)
      at javax.servlet.GenericServlet.init(GenericServlet.java:258)
      at org.apache.catalina.core.StandardWrapper.loadServlet
      (StandardWrapper.java:916)
      at org.apache.catalina.core.StandardWrapper.load
      (StandardWrapper.java:808)
      at org.apache.catalina.core.StandardContext.loadOnStartup
      (StandardContext.java:3266)
      at org.apache.catalina.core.StandardContext.start
      (StandardContext.java:3395)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
      at org.apache.catalina.core.StandardHost.start(StandardHost.java:614)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
      at org.apache.catalina.core.StandardEngine.start
      (StandardEngine.java:343)
      at org.apache.catalina.core.StandardService.start
      (StandardService.java:388)
      at org.apache.catalina.core.StandardServer.start
      (StandardServer.java:506)
      at org.apache.catalina.startup.Catalina.start(Catalina.java:781)
      at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
      at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              flawlor@athensgroup.com Frank Lawlor
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: