struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Hill" <andrew.david.h...@gridnode.com>
Subject RE: Upgrading to Struts 1.1
Date Wed, 02 Jul 2003 09:45:53 GMT
<snip>
No I didn't type it manaually
</snip>

So did you check your commons-logging.properties and make sure your spelling
it correctly...

its: 'apache' not 'apche'!
  -----Original Message-----
  From: Natalie D Rassmann [mailto:natalie.d.rassmann@lmco.com]
  Sent: Wednesday, 2 July 2003 17:27
  To: Struts Users Mailing List
  Subject: Re: Upgrading to Struts 1.1


  No I didn't type it manaually.  My project doesn't use the commons logging
utility.  I use JDK 1.4 Logging API.  I did some further investigation and I
found that it was unable to load my servlet so it is making it unavailable.
I will attach my struts-config and web.xml files.  Maybe there is a clue in
there that someone can help me with.
  This problem is so wierd because I upgraded to RC2 with no issues????

  Natalie

  Here is my web.xml:

  <?xml version="1.0" encoding="UTF-8"?>

  <!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">

  <web-app>

     <filter>
        <filter-name>filter</filter-name>
        <filter-class>promis.filters.SimpleFilter</filter-class>
     </filter>

     <filter-mapping>
        <filter-name>filter</filter-name>
        <servlet-name>promis</servlet-name>
     </filter-mapping>

     <servlet>
        <servlet-name>promis</servlet-name>

<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
        <init-param>
           <param-name>definitions-config</param-name>
           <param-value>/WEB-INF/tiles-defs.xml</param-value>
        </init-param>
        <init-param>
           <param-name>definitions-debug</param-name>
           <param-value>1</param-value>
        </init-param>
        <init-param>
           <param-name>definitions-parser-details</param-name>
           <param-value>0</param-value>
        </init-param>
        <init-param>
           <param-name>definitions-parser-validate</param-name>
           <param-value>true</param-value>
        </init-param>
        <init-param>
           <param-name>config</param-name>
           <param-value>/WEB-INF/struts-config.xml</param-value>
        </init-param>
        <init-param>
           <param-name>debug</param-name>
           <param-value>3</param-value>
        </init-param>
        <init-param>
           <param-name>detail</param-name>
           <param-value>3</param-value>
        </init-param>
        <load-on-startup>1</load-on-startup>
     </servlet>

     <servlet-mapping>
        <servlet-name>promis</servlet-name>
        <url-pattern>*.do</url-pattern>
     </servlet-mapping>

     <!-- Session Configuration Settings -->
     <!-- Add a session time-out setting of 2 hours (120 minutes) -->
     <session-config>
        <session-timeout>120</session-timeout>
     </session-config>

     <welcome-file-list>
        <welcome-file>index.jsp</welcome-file>
        <welcome-file>indexWOTiles.jsp</welcome-file>
     </welcome-file-list>

     <error-page>
        <error-code>404</error-code>
        <location>/jsp/common/404.jsp</location>
     </error-page>

     <error-page>
        <error-code>500</error-code>
        <location>/jsp/common/500.jsp</location>
     </error-page>

     <error-page>
        <exception-type>javax.servlet.ServletException</exception-type>
        <location>/jsp/common/system_error.jsp</location>
     </error-page>

     <taglib>
        <taglib-uri>/WEB-INF/struts-html.tld</taglib-uri>
        <taglib-location>/WEB-INF/struts-html.tld</taglib-location>
     </taglib>

     <taglib>
        <taglib-uri>/WEB-INF/struts-html-el.tld</taglib-uri>
        <taglib-location>/WEB-INF/struts-html-el.tld</taglib-location>
     </taglib>

     <taglib>
        <taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri>
        <taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
     </taglib>

     <taglib>
        <taglib-uri>/WEB-INF/struts-bean-el.tld</taglib-uri>
        <taglib-location>/WEB-INF/struts-bean-el.tld</taglib-location>
     </taglib>

     <taglib>
        <taglib-uri>/WEB-INF/struts-logic.tld</taglib-uri>
        <taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
     </taglib>

     <taglib>
        <taglib-uri>/WEB-INF/struts-logic-el.tld</taglib-uri>
        <taglib-location>/WEB-INF/struts-logic-el.tld</taglib-location>
     </taglib>


     <taglib>
        <taglib-uri>/WEB-INF/struts-tiles.tld</taglib-uri>
        <taglib-location>/WEB-INF/struts-tiles.tld</taglib-location>
     </taglib>

     <taglib>
        <taglib-uri>/WEB-INF/c.tld</taglib-uri>
        <taglib-location>/WEB-INF/c.tld</taglib-location>
     </taglib>

     <taglib>
        <taglib-uri>/WEB-INF/fmt.tld</taglib-uri>
        <taglib-location>/WEB-INF/fmt.tld</taglib-location>
     </taglib>

     <!-- DatabaseAccessor Resource Reference Factory to determine Database
being used -->
     <resource-env-ref>

        <description>
           Object factory for DatabaseAccessorBean instances.
        </description>

        <resource-env-ref-name>
           bean/DatabaseAccessorFactory
        </resource-env-ref-name>

        <resource-env-ref-type>
           promis.data.common.DatabaseAccessorBean
        </resource-env-ref-type>

     </resource-env-ref>

     <!-- JDBC Resource Reference Factory for Connection Pooling -->
     <resource-ref>

        <description>
           Resource reference to a factory for java.sql.Connection instance
that
           may be used for talking to a particular database that is
configured in the
           server.xml file
        </description>

        <res-ref-name>jdbc/promisDB</res-ref-name>
        <res-type>javax.sql.DataSource</res-type>
        <res-auth>Container</res-auth>
     </resource-ref>
  </web-app>

  Here is my struts-config.xml file:

  <?xml version="1.0" encoding="ISO-8859-1" ?>
  <!DOCTYPE struts-config PUBLIC
         "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN"
         "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">


  <struts-config>

    <form-beans>

      <form-bean name="loginForm" type="promis.forms.LoginForm"/>

      <form-bean name="reviewRecordForm" type="prtr.forms.ReviewRecordForm"
dynamic="true">
         <form-property name="reviewRecId" type="java.lang.Long"/>
         <form-property name="projectRevId" type="java.lang.Long"/>
         <form-property name="recordType" type="java.lang.String"/>
         <form-property name="date" type="java.util.Date"/>
         <form-property name="trNumber" type="java.util.ArrayList"/>
         <form-property name="scNumber" type="java.util.ArrayList"/>
         <form-property name="crNumber" type="java.util.ArrayList"/>
         <form-property name="reviewTitle" type="java.lang.String"/>
         <form-property name="productTitle" type="java.lang.String"/>
         <form-property name="productNumber" type="java.lang.String"/>
         <form-property name="module" type="java.lang.String"/>
         <form-property name="sizes" type="java.util.ArrayList"/>
         <form-property name="disposition"
type="prtr.data.DTO.OptionsBean"/>
         <form-property name="checklists" type="java.util.ArrayList"/>
         <form-property name="meetingTimes" type="java.util.ArrayList"/>
         <form-property name="meetingAttendees" type="java.util.ArrayList"/>
         <form-property name="meetingAttendeeMetrics"
type="java.util.ArrayList"/>
         <form-property name="totalPercent" type="java.lang.Integer"/>
         <form-property name="totalPrepHours" type="java.lang.Float"/>
         <form-property name="defects" type="java.util.ArrayList"/>
         <form-property name="defectsStatus" type="java.lang.String"/>
         <form-property name="defectsReviewedBy"
type="prtr.data.DTO.OptionsBean"/>
         <form-property name="defectsReviewedByDate" type="java.util.Date"/>
         <form-property name="exceptionExplanation"
type="java.lang.String"/>
         <form-property name="additionalComments" type="java.lang.String"/>
         <form-property name="distribution" type="java.util.ArrayList"/>
         <form-property name="page" type="java.lang.Integer"/>
         <form-property name="dispatchAction" type="java.lang.String"/>
         <form-property name="csciSelected" type="java.lang.String"/>
         <form-property name="baseSelected" type="java.lang.String"/>
         <form-property name="prodTypeSelected" type="java.lang.String"/>
         <form-property name="revTypeSelected" type="java.lang.String"/>
         <form-property name="complexSelected" type="java.lang.String"/>
         <form-property name="chngTypeSelected" type="java.lang.String"/>
         <form-property name="phaseSelected" type="java.lang.String"/>
         <form-property name="dispositionSelected" type="java.lang.String"/>
         <form-property name="defectsRevBySelected"
type="java.lang.String"/>
      </form-bean>

    </form-beans>

    <global-exceptions>

        <exception
       key="global.error.invalidlogin"
         path="/index.jsp"
         scope="request"
         type="promis.exceptions.InvalidLoginException"/>

    </global-exceptions>


    <global-forwards>
      <forward name="Login" path="promis.default" />
      <forward name="returnToPromis" path="/jsp/security/successLogin.jsp"/>
      <forward name="SystemFailure" path="/jsp/common/systemerror.jsp" />
      <forward name="SessionTimeOut" path="/jsp/common/sessiontimeout.jsp"
/>
      <forward name="prtr" path="/jsp/prtr/index.jsp"/>
      <forward name="aits" path="/jsp/aits/index.jsp"/>
      <forward name="risk" path="/jsp/risk/index.jsp"/>
    </global-forwards>

    <action-mappings>

     <action
        path="/home"
        parameter="/index.jsp"
        type="org.apache.struts.actions.ForwardAction"
        scope="request"
        validate="false">
     </action>

      <action
        path="/login"
        type="promis.actions.LoginAction"
        scope="request"
        name="loginForm"
        validate="true"
        input="/index.jsp">
        <forward name="Success" path="promisLoggedIn"/>
        <forward name="InvalidLogin" path="promis.default" redirect="true"/>
      </action>

      <!-- handles dispatch events of "insert" and "update"  for Peer
Records and Test Records -->
      <action path="/reviewRecordAction"
          type="prtr.actions.ReviewRecordDispatchAction"
          name="reviewRecordForm"
          scope="session"
          validate="false"
          parameter="dispatchAction"
          input="/reviewRecordForm.jsp">
          <exception
              key="exception.database.error"
              type="promis.exceptions.DatabaseException"
              path="/jsp/common/systemerror.jsp"/>
          <forward
              name="createSuccess"
              path="/jsp/prtr/tabs/tabs.jsp?selected=0"/>
          <forward
              name="insertSuccess"
              path="/jsp/prtr/tabs/tabs.jsp?selected=0"/>
          <forward
              name="updateSuccess"
              path="/jsp/prtr/confirmation.jsp"/>
          <forward name="Continue" path="/jsp/prtr/tabs/tabs.jsp?selected=0"
redirect="false"/>
          <forward name="ContinueDescriptionTab"
path="/jsp/prtr/tabs/prDescription.jsp" redirect="false"/>
          <forward name="ContinueSizeTab" path="/jsp/prtr/tabs/size.jsp"
redirect="false"/>
          <forward name="ContinueChecklistTab"
path="/jsp/prtr/tabs/checklists.jsp" redirect="false"/>
          <forward name="ContinueMeetingsTab"
path="/jsp/prtr/tabs/meetings.jsp" redirect="false"/>
          <forward name="ContinueDefectsTab"
path="/jsp/prtr/tabs/defects.jsp" redirect="false"/>
          <forward name="ContinueCommentsTab"
path="/jsp/prtr/tabs/comments.jsp" redirect="false"/>
          <forward name="ContinueDistribTab"
path="/jsp/prtr/tabs/distribution.jsp" redirect="false"/>
          <forward name="ContinueReviewTab" path="/jsp/prtr/tabs/review.jsp"
redirect="false"/>
          <forward name="ContinueCompleteTab"
path="/jsp/prtr/tabs/complete.jsp" redirect="false"/>
     </action>

     <action path="/createPeerRecord"
        type="prtr.actions.CreatePeerRecordAction"
        name="reviewRecordForm"
        scope="session"
        validate="false">
        <forward name="Continue" path="/jsp/prtr/tabs/tabs.jsp?selected=0"
redirect="false"/>
     </action>

     <action
        path="/modifyPeerRecord"
        type="prtr.actions.ModifyPeerRecordAction"
        name="reviewRecordForm"
        scope="session"
        validate="false">
        <forward name="Continue" path="/jsp/prtr/tabs/tabs.jsp?selected=0"/>
     </action>

     <action
        path="/createTestRecord"
        parameter="/createTR.jsp"
        type="org.apache.struts.actions.ForwardAction"
        scope="request"
        validate="false">
     </action>

     <action
        path="/modifyTestRecord"
        parameter="/modifyTR.jsp"
        type="org.apache.struts.actions.ForwardAction"
        scope="request"
        validate="false">
     </action>



   </action-mappings>

   <controller
    contentType="text/html;charset=UTF-8"
    debug="3"
    locale="true"
    nocache="true"/>

    <message-resources parameter="PromisMessageResources" null="false"/>

    <message-resources
     key="PRTR_RESOURCE_KEY"
     parameter="PrtrMessageResources"
   null="false"/>

    <plug-in className="org.apache.struts.tiles.TilesPlugin" >
        <set-property property="definitions-config"
value="/WEB-INF/tiles-defs.xml"/>
        <set-property property="moduleAware" value="true" />
        <set-property property="definitions-parser-validate" value="true" />
    </plug-in>

    <plug-in className="org.apache.struts.validator.ValidatorPlugIn">
       <set-property property="pathnames"
value="/WEB-INF/validator-rules.xml,/WEB-INF/validator.xml"/>
    </plug-in>

  </struts-config>

  Here is the error from the log file in tomcat....

  2003-07-01 06:53:10 StandardManager[/promis]: Seeding random number
generator class java.security.SecureRandom
  2003-07-01 06:53:10 StandardManager[/promis]: Seeding of random number
generator has been completed
  2003-07-01 06:53:10 StandardWrapper[/promis:promis]: Marking servlet
promis as unavailable
  2003-07-01 06:53:10 StandardContext[/promis]: Servlet /promis threw load()
exception
  javax.servlet.ServletException: Error instantiating servlet class
org.apache.struts.action.ActionServlet
   at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:91
1)
   at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:821)
   at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:
3420)
   at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3608)
   at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:8
21)
   at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)
   at
org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer.
java:529)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
   at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
   at java.lang.reflect.Method.invoke(Method.java:324)
   at
org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:228)
   at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:260)
   at org.apache.commons.digester.Digester.endElement(Digester.java:1036)
   at
org.apache.xerces.parsers.AbstractSAXParser.endElement(AbstractSAXParser.jav
a:585)
   at
org.apache.xerces.impl.XMLNamespaceBinder.endElement(XMLNamespaceBinder.java
:647)
   at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocu
mentFragmentScannerImpl.java:1008)
   at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatc
her.dispatch(XMLDocumentFragmentScannerImpl.java:1469)
   at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocume
ntFragmentScannerImpl.java:329)
   at
org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:525)
   at
org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:581)
   at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
   at
org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:117
5)
   at org.apache.commons.digester.Digester.parse(Digester.java:1514)
   at
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.j
ava:335)
   at org.apache.catalina.core.StandardHost.install(StandardHost.java:803)
   at
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:452
)
   at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:409)
   at org.apache.catalina.startup.HostConfig.start(HostConfig.java:879)
   at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:368)
   at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:166)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196)
   at org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
   at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
   at
org.apache.catalina.core.StandardService.start(StandardService.java:497)
   at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2189)
   at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
   at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
   at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
   at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
   at java.lang.reflect.Method.invoke(Method.java:324)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
  ----- Root Cause -----
  java.lang.ExceptionInInitializerError
   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
   at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcces
sorImpl.java:39)
   at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstruc
torAccessorImpl.java:27)
   at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
   at java.lang.Class.newInstance0(Class.java:306)
   at java.lang.Class.newInstance(Class.java:259)
   at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:90
2)
   at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:821)
   at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:
3420)
   at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3608)
   at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:8
21)
   at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)
   at
org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer.
java:529)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
   at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
   at java.lang.reflect.Method.invoke(Method.java:324)
   at
org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:228)
   at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:260)
   at org.apache.commons.digester.Digester.endElement(Digester.java:1036)
   at
org.apache.xerces.parsers.AbstractSAXParser.endElement(AbstractSAXParser.jav
a:585)
   at
org.apache.xerces.impl.XMLNamespaceBinder.endElement(XMLNamespaceBinder.java
:647)
   at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocu
mentFragmentScannerImpl.java:1008)
   at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatc
her.dispatch(XMLDocumentFragmentScannerImpl.java:1469)
   at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocume
ntFragmentScannerImpl.java:329)
   at
org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:525)
   at
org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:581)
   at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
   at
org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:117
5)
   at org.apache.commons.digester.Digester.parse(Digester.java:1514)
   at
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.j
ava:335)
   at org.apache.catalina.core.StandardHost.install(StandardHost.java:803)
   at
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:452
)
   at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:409)
   at org.apache.catalina.startup.HostConfig.start(HostConfig.java:879)
   at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:368)
   at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:166)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196)
   at org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
   at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
   at
org.apache.catalina.core.StandardService.start(StandardService.java:497)
   at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2189)
   at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
   at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
   at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
   at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
   at java.lang.reflect.Method.invoke(Method.java:324)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
  Caused by: org.apache.commons.logging.LogConfigurationException:
org.apache.commons.logging.LogConfigurationException:
java.lang.ClassNotFoundException: org.apche.commons.logging.impl.SimpleLog
   at
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.ja
va:532)
   at
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.ja
va:272)
   at
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.ja
va:246)
   at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:395)
   at
org.apache.struts.action.ActionServlet.<clinit>(ActionServlet.java:375)
   ... 52 more
  Caused by: org.apache.commons.logging.LogConfigurationException:
java.lang.ClassNotFoundException: org.apche.commons.logging.impl.SimpleLog
   at
org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryI
mpl.java:416)
   at
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.ja
va:525)
   ... 56 more
  Caused by: java.lang.ClassNotFoundException:
org.apche.commons.logging.impl.SimpleLog
   at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
a:1428)
   at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
a:1274)
   at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
   at java.lang.Class.forName0(Native Method)
   at java.lang.Class.forName(Class.java:140)
   at
org.apache.commons.logging.impl.LogFactoryImpl$1.run(LogFactoryImpl.java:466
)
   at java.security.AccessController.doPrivileged(Native Method)
   at
org.apache.commons.logging.impl.LogFactoryImpl.loadClass(LogFactoryImpl.java
:454)
   at
org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryI
mpl.java:406)
   ... 57 more


  "Karr, David" wrote:

    Why does it say "apche"?  You didn't type this in manually, did you?

    > -----Original Message-----
    > From: Hajratwala, Nayan (N.) [mailto:nhajratw@ford.com]
    >
    > If you look near the bottom of your error messages, it says:
    >
    > Caused by: java.lang.ClassNotFoundException:
    > org.apche.commons.logging.impl.SimpleLog
    >
    > Possibly you don't have commons-logging in your project any more?
    >
    > -----Original Message-----
    > From: Natalie D Rassmann [mailto:natalie.d.rassmann@lmco.com]
    >
    > Hi,
    >
    > Is anyone having trouble upgrading to Struts 1.1?  I upgraded to
    Struts
    > RC2 a few weeks ago no problem but when I try and upgrade to Struts
    1.1;
    > I gett the following errors.....  Can anyone help?
    >
    > java.lang.ClassNotFoundException:
    > org.apche.commons.logging.impl.SimpleLog
    >  at
    >
    org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFact
    or
    > yImpl.java:416)

    ---------------------------------------------------------------------
    To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
    For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message