Depoyment error in Weblogic 10.3.0.0
------------------------------------

                 Key: WW-3304
                 URL: https://issues.apache.org/struts/browse/WW-3304
             Project: Struts 2
          Issue Type: Bug
          Components: Integration
    Affects Versions: 2.1.6
         Environment: Linux Server with Weblogic 10.3.0.0 
            Reporter: André Duarte


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>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to