Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-3304

Depoyment error in Weblogic 10.3.0.0

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.6
    • 2.1.8
    • Integration
    • None
    • Linux Server with Weblogic 10.3.0.0

    • Important

    Description

      Gives me the following error in the struts2 filter, when the application is deployed in a Weblogic server.

      <Oct 27, 2009 10:33:08 AM WET> <Error> <HTTP> <BEA-101165> <Could not load user defined filter in web.xml: org.apache.struts2.dispatcher.FilterDispatcher.
      java.lang.NullPointerException
      at com.opensymphony.xwork2.util.FileManager$FileRevision.needsReloading(FileManager.java:209)
      at com.opensymphony.xwork2.util.FileManager.fileNeedsReloading(FileManager.java:60)
      at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.needsReload(XmlConfigurationProvider.java:325)
      at org.apache.struts2.config.StrutsXmlConfigurationProvider.needsReload(StrutsXmlConfigurationProvider.java:168)
      at com.opensymphony.xwork2.config.ConfigurationManager.conditionalReload(ConfigurationManager.java:220)
      Truncated. see log file for complete stacktrace
      >

      The same *.war works in Apache Tomcat 6 server.

      Below is my web.xml declaration, the struts-cleanup filter in optional, the application have the same problem without it.

      <filter>
      <filter-name>struts-cleanup</filter-name>
      <filter-class>org.apache.struts2.dispatcher.ActionContextCleanUp</filter-class>
      </filter>
      <filter-mapping>
      <filter-name>struts-cleanup</filter-name>
      <url-pattern>*.action</url-pattern>
      </filter-mapping>

      <filter>
      <filter-name>struts2</filter-name>
      <filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class>
      </filter>
      <filter-mapping>
      <filter-name>struts2</filter-name>
      <url-pattern>*.action</url-pattern>
      </filter-mapping>

      Attachments

        Activity

          People

            Unassigned Unassigned
            afduarte André Duarte
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: