Jason,

I've attached a zip containing Webwork Servlet filters with additional
methods required by Weblogic 6.1 SP4.

The fix is to add the following methods to any Servlet filter:

*     public final void setFilterConfig(FilterConfig filterConfig)
*       public FilterConfig getFilterConfig()

The zip contains the above modifications to the following two Servlet
filters that I found in the Webwork CVS:

*       com.opensymphony.webwork.lifecycle.RequestLifecycleFilter
*       com.opensymphony.webwork.dispatcher.FilterDispatcher

Testing verified that the AbstractMethodError no longer occurs.

I toyed with factoring these additional methods into a superclass but
decided that this was not appropriate.  I also considered that maybe
these additional methods should be implemented in subclasses so that
non-Weblogic 6.1 users would not see the "pollution" of methods they
would never use.  I finally decided the methods were useful as-is as
they provide a setter and getter for the FilterConfig field variable.

Please review, modify, and add to CVS as you see fit.

HTH,

Scott Smith
Technical Specialist II
TSG HLIS E-Commerce Solution Delivery
Washington Mutual Bank
17901 Von Karman, 5th floor 7124MICA
Irvine, CA 92614
Phone: 949-838-1418
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: Friday, August 29, 2003 7:05 PM
To: [EMAIL PROTECTED]
Subject: [OS-webwork] [JIRA-OS] Created: (WW-281) WW2 problem w/ WLS 6.1

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:

  http://jira.opensymphony.com/secure/ViewIssue.jspa?key=WW-281


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: WW-281
    Summary: WW2 problem w/ WLS 6.1
       Type: Bug

     Status: Assigned
   Priority: Critical

    Project: WebWork
   Fix Fors:
             2.0
   Versions:
             2.0

   Assignee: Jason Carreira
   Reporter: Jason Carreira

    Created: Fri, 29 Aug 2003 9:02 PM
    Updated: Fri, 29 Aug 2003 9:02 PM

Description:
 The following error occurs when integrating ww2 with weblogi6.1 sp4

With this entry in web.xml

<filter>
  <filter-name>container</filter-name>
 
<filter-class>com.opensymphony.webwork.lifecycle.RequestLifecycleFilter<
/filter-class>
    </filter>

  <filter-mapping>
        <filter-name>container</filter-name>
        <url-pattern>/*</url-pattern>
  </filter-mapping>

<Aug 27, 2003 1:44:15 PM IST> <Notice> <Management> <Application Poller
not star
ted for production server.>
java.lang.AbstractMethodError
        at
weblogic.servlet.internal.WebAppServletContext.registerFilter(WebAppS
ervletContext.java:2075)
        at
weblogic.servlet.internal.WebAppServletContext.initFilters(WebAppServ
letContext.java:2049)
        at
weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebApp
ServletContext.java:2305)
        at
weblogic.servlet.internal.HttpServer.preloadServlets(HttpServer.java:
558)
        at
weblogic.servlet.internal.WebService.preloadServlets(WebService.java:
450)
        at
weblogic.t3.srvr.ServletInitRunner.run(ServletInitRunner.java:49)
        at java.lang.Thread.run(Thread.java:479)

When commneting the above lines in web.xml, the above errors vanish.

Please find a solution.

Regards
Chandramoulee


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.opensymphony.com/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to