Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1495

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XDT-1495
    Summary: Duplicate listener declaration (in web.xml and .tld)
       Type: Bug

     Status: Open
   Priority: Major

 Original Estimate: 1 hour
 Time Spent: Unknown
  Remaining: 1 hour

    Project: XDoclet
 Components: 
             Web Module
   Versions:
             1.2.3

   Assignee: xdoclet-devel (Use for new issues)
   Reporter: Andrey Grebnev

    Created: Sat, 6 Aug 2005 2:25 AM
    Updated: Sat, 6 Aug 2005 2:25 AM
Environment: Windows XP, JDK1.4.2
WebLogic 9 or Websphere 6

Description:
In file taglib_tld.xdt we have declaration

  <XDtClass:forAllClasses 
type="javax.servlet.http.HttpSessionActivationListener,javax.servlet.http.HttpSessionAttributeListener,javax.servlet.http.HttpSessionBindingListener,javax.servlet.http.HttpSessionListener,javax.servlet.ServletContextAttributeListener,javax.servlet.ServletContextListener"
 abstract="false">
   <listener>
      <listener-class><XDtClass:fullClassName/></listener-class>
   </listener>
  </XDtClass:forAllClasses>

It means if I have listener as result I will have listener definition both in 
web.xml file and in my .tld file. It will work correctly for Tomcat and Resin, 
but it will not work correctly for Weblogic or Websphere. Latter will 
initialize the same listener two times.

I think we should have some marker which will determine where we should have 
listener declaration (in web.xml or in .tld).


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

If you think it was sent incorrectly contact one of the administrators:
   http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa

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



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
xdoclet-devel mailing list
xdoclet-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to