Best unofficial Apache Server developers community
Username
Forgot password?
Sign in with Twitter account
Sign in with Facebook account
List archives

DO NOT REPLY New: It is not well defined how "Dependencies on extensions" mechanism can be used in Tomcat

svn commit: r1240823 - in /tomcat/tc7.0.x/trunk: ./ java/org/apache/catalina/connector/OutputBuffer.java java/org/apache/catalina/connector/Response.java test/org/apache/catalina/connector/TestOutputBuffer.java webapps/docs/changelog.xml
(23 lines)
svn commit: r1240851 - /tomcat/trunk/java/org/apache/catalina/mbeans/ContainerMBean.java
(16 lines)
Feb 5, 2012
Bugzilla
Bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=52607

             Bug #: 52607
           Summary: It is not well defined how "Dependencies on
                    extensions" mechanism can be used in Tomcat
           Product: Tomcat 7
           Version: 7.0.25
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
        AssignedTo: de### @tomcat.apache.org
        ReportedBy: viole### @apache.org
    Classification: Unclassified


Hi,

As a result of the mail thread [1] I'm opening a bug.

In short it is not clear how exactly "Dependencies on extensions" mechanism
can
be used.

I have two proposals:

1. Tomcat can continue to use in its implementation a separate property
("catalina.ext.dirs") that provides extensions' location. But its value
should
be added by default to the Tomcat's classpath directories (e.g.
"shared.loader").
- Pros: Tomcat users will know that this property specifies the directory
for
their extensions and only the files located there will be scanned during
ExtensionValidator.validateApplication invocation.
- Cons: Additional configuration that has to be maintained.

2. Tomcat can remove this separate property ("catalina.ext.dirs") and start
searching for such extensions in the Tomcat's classpath directories (e.g.
shared.loader).
- Pros: No additional configuration is needed. One can specify the shared
libraries and the extensions with one and the same property.
- Cons: During ExtensionValidator.validateApplication, it may appear that a
lot
of files are scanned which might be not necessary.

I'm willing to provide a patch once we agree on the solution. My favourite
is
the first proposal.

I'm looking forward to your comments.
Thanks in advance.

Regards,
Violeta Georgieva

[1] http://marc.info/?t=132827584600009&r=1&w=2




Reply
Tags: bugzillaapache
Messages in this thread
DO NOT REPLY New: Directories ".", "..", and "/" do not work correctl
October 17, 2011 01:24:30 PM
https://issues.apache.org/bugzilla/show_bug.cgi?id=52043 Bug #: 52043 Summary: Directories ".", "..", and "/" do not work correctly with "ls" command Product: Apache httpd-2 …
DO NOT REPLY warn if not deploy with umask "0077" or if deployed as "root" and
January 18, 2011 07:07:32 PM
https://issues.apache.org/bugzilla/show_bug.cgi?id=22405 --- Comment #4 from Mark Thomas <mar### @apache.org> 2011-01-18 20:07:00 EST --- The Tomcat 7 docs include a section on security considerations. I have expanded the OS section for 7.0.7…
DO NOT REPLY warn if not deploy with umask "0077" or if deployed as "root" and
February 23, 2011 01:26:53 PM
https://issues.apache.org/bugzilla/show_bug.cgi?id=22405 Mark Thomas <mar### @apache.org> changed: What |Removed |Added
DO NOT REPLY warn if not deploy with umask "0077" or if deployed as "root" and
January 19, 2011 12:46:30 PM
https://issues.apache.org/bugzilla/show_bug.cgi?id=22405 --- Comment #5 from Mark Thomas <mar### @apache.org> 2011-01-19 13:45:40 EST --- Created an attachment (id=26519) --> (https://issues.apache.org/bugzilla/attachment.cgi?id=26519)…
DO NOT REPLY Http headers with an underscore "_" change into hyphen "-"
September 3, 2010 04:02:33 AM
https://issues.apache.org/bugzilla/show_bug.cgi?id=38895 --- Comment #5 from Joachim Wagner <jwa### @computing.dcu.ie> 2010-09-03 05:02:02 EDT --- General comment (without knowing tomcat): HTTP RFC 2616 defines HTTP header field names as…
DO NOT REPLY Http headers with an underscore "_" change into hyphen "-"
September 3, 2010 04:16:26 AM
https://issues.apache.org/bugzilla/show_bug.cgi?id=38895 --- Comment #6 from Rainer Jung <rainer### @kippdata.de> 2010-09-03 05:15:56 EDT --- This is not about Tomcat itself but instead about forwarding requests through a web server reverse…
DO NOT REPLY New: "index.jsp" is added to paths ending in a "/" before doFilter
October 27, 2010 12:58:49 AM
https://issues.apache.org/bugzilla/show_bug.cgi?id=50161 Summary: "index.jsp" is added to paths ending in a "/" before doFilter is called on matching Filters Product: Tomcat 7 Version: 7.0.4 …
DO NOT REPLY Mixing "+" and non-"+" options in <Directory> result in stra
December 24, 2010 10:00:19 AM
https://issues.apache.org/bugzilla/show_bug.cgi?id=33078 --- Comment #8 from Igor Gali? <i.g### @brainsware.org> 2010-12-24 10:59:23 EST --- http://www.mail-archive.com/dev%40httpd.apache.org/msg49817.html
Closed] (SLING-2054) allow the set of "default" extensions to be configurable
January 31, 2012 05:00:35 AM
[ https://issues.apache.org/jira/browse/SLING-2054?page=com.atlassian.ji ra.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler closed SLING-2054.
Using elements from "extra" XSD schema for <any> extensions
November 24, 2010 11:24:48 PM
Hi, I have WDSL+XSD web service contract for which I need to implement both client and server sides. There is a bunch of <xsd:any targetNamespace="##any"> placeholders in server's replies for which I need to be able to use "extension…
DO NOT REPLY New: Provide "onStartup" and "onShutdown" scripts that run on ever
March 8, 2011 08:14:27 AM
https://issues.apache.org/bugzilla/show_bug.cgi?id=50890 Summary: Provide "onStartup" and "onShutdown" scripts that run on every scenario Tomcat starts up or shuts down Product: Tomcat 7 …
DO NOT REPLY Tomcat manager Ant tasks should support "failonerror" attribute
December 14, 2010 06:34:04 PM
https://issues.apache.org/bugzilla/show_bug.cgi?id=17572 Mark Thomas <mar### @apache.org> changed: What |Removed |Added
DO NOT REPLY New: Tomcat threads caught in "S" state and spiralling out of control
November 4, 2010 12:06:45 PM
https://issues.apache.org/bugzilla/show_bug.cgi?id=50214 Summary: Tomcat threads caught in "S" state and spiralling out of control Product: Tomcat 6 Version: 6.0.29 Platform: PC …
DO NOT REPLY conf/tomcat-users.xml has invalid encoding "cp932".
February 2, 2011 11:59:58 AM
https://issues.apache.org/bugzilla/show_bug.cgi?id=45852 --- Comment #7 from Konstantin Kolinko <knst.k### @gmail.com> 2011-02-02 12:59:27 EST --- The fix was backported to 5.5.x in r1066549 and will be in 5.5.33.
DO NOT REPLY Tomcat ignores "allowLinking" resource on DefaultContext
December 12, 2010 06:30:10 PM
https://issues.apache.org/bugzilla/show_bug.cgi?id=21804 Mark Thomas <ma### @apache.org> changed: What |Removed |Added
Created: (SLING-1540) espblog sample: "currentNode" is not defined
May 31, 2010 08:26:37 AM
espblog sample: "currentNode" is not defined
(puppetlabs/puppet) New pull request: (#11451) Fix improper use of &quot;defined&quot; in th
January 3, 2012 05:31:06 PM
Please review pull request #300:(#11451) Fix improper use of "defined" in the duplicate declaration error [Link: https://github.com/puppetlabs/puppet/pull/300 ] opened by (nfagerlund) Description: Duplicate resource declarations…
(puppetlabs/puppet) (#11451) Fix improper use of &quot;defined&quot; in the duplicate declar
January 31, 2012 05:15:47 PM
On Tue Jan 31 23:04:57 UTC 2012 pull request #300 was closed. (#11451) Fix improper use of "defined" in the duplicate declaration error [Link: https://github.com/puppetlabs/puppet/pull/300 ] requested by (nfagerlund) The pull request was…
if( defined( Class["software::mongodb"] ) ) throws an error
January 18, 2011 09:23:58 AM
I'm trying to detect if a class has been defined as is indicated at http://docs.puppetlabs.com/references/stable/function.html#defined However, this check always results in the following error: err: Could not retrieve catalog from remote server:…
Cxf spring and bean defined with "request" scope level.
September 15, 2010 07:35:25 AM
Good morning, I was thinking my problem is related to CXF and Spring integration/configuration, but after some tries, I am a bit puzzled. Here is the deal : In a webservice, I would like to get a bean defined in some beans.xml file as it is…
Javascript RegEx replacing "
May 10, 2011
I'm trying to patch the Drupal Panels module to fix this nasty issue , which makes the AJAX errorhandler completely unreadable. The error handler…
Tomcat 5.5 Servlet/JSP/JSTL dependencies
June 15, 2011
I have a problem with Tomcat 5.5 and JEE webapp libraries. I'm using Gradle for dependency management and I'm using JSP API 2.0, Servlet API 2.4 and…
Setup Tomcat libraries dependencies in maven POM
January 14, 2011
Hello, I am currently migrating our build process from Eclipse/Ant to Maven/M2Eclipse/Artifactory. I have a Webapp as a WTP project in Eclipse. I…
Strange behavior of Eclipse WTP deployment of dependencies in Tomcat server
April 1, 2011
Hello, I have a strange behavior in the Tomcat deployment process made by my Eclipse WTP. I am using Eclipse 3.7 (Indigo), WTP 3.3, no m2eclipse…
ClassNotFoundException DispatcherServlet when launching Tomcat (Maven dependencies not copied to wtpwebapps)
January 23, 2011
I've run into this problem a few times and only just stumbled upon a (semi-) reliable solution, so thought I would post it here in case it helps…
What are some of the system defined values for request.getParameter() in Tomcat 7?
June 21, 2011
So there I was, minding my own business, when I used the following Java syntax in of my servlets: String userParam = request.getParameter("user"); I…
Lazy expiration mechanism in memcached
May 12, 2011
(first of all , my english is not very good, plz) as we known, memcached provides lazy expiration and LRU to "replace" data in slabs, but i'm not…
How to send HTTP reply using chunked-encoding ?
February 28, 2011
Hi everyone I am trying to stream multimedia data using chunked encoding. So I first tried my hand at sending text data using chunked encoding. Here…
Search engine mechanism with multiple arguments
May 24, 2011
I am creating a new website using CodeIgniter/PHP/MySQL . I have the mechanism to pass some items in my database, which has each 3 fields and a…
Htaccess passing params wth POST mechanism
February 27, 2011
Hi guys, Got 2 htaccess questions, hopefully you could help me out: 1) Why do these commands don't work: RewriteRule ^(.*)\/Bing$ http://$1…
Problem with apache seding reply status
April 24, 2011
Hello can any one help with this how do I resolve this problem : http://pastebin.com/Xq4n1Je8 this make my server down can any one help me and tell…
MySQL multilevel comment reply sorting
January 9, 2011
My current comment reply system: 1 1.1 1.2 1.2.1 10 2 2.1 I can sort the comments from table by their ids (as above) and indent depending on the…
Arrange forum posts by time of latest reply
March 20, 2011
Before you shout ORDER BY id , the situation is quite different. The forum I was asked to make is a guestbook forum, where unregistered users can…
Key notes and advice on building a login mechanism in PHP & MySQL
January 11, 2011
I've built a login/registration mechanism for my current web app but i'm not really happy about it. Can anyone give me some good advice on some…
SPF Records - mechanism not recognized by this client. unknown mechanisms:
May 16, 2011
Having a bit of a problem with my hosting company rackspace cloud and SFP records. I asked them to updated it on there DNS. This is what they set it…
Retrieve values mechanism from an HBASE table+PHP+REST
March 15, 2011
Hello Experts, I have a doubt regarding the value retrieving mechanism from hbase table. I have a table like,…
Tomcat Web Application - storing objects as user-defined objects or simple IDs to persist user sessions through server reboot?
May 11, 2011
Let's say we have a web application backed by a servlet engine/container like Tomcat. A user logs in. The database record for that user (represented…
MySQL user-defined variables compared to MSSQL-server user-defined variables.
March 15, 2011
So, the first thing I see as different now that I've moved from a SQL-server shop to a MySQL shop is that user-defined variables are a little wonky.…
Compareing tables and updating 3rd table - can't understand answer - it does not work and I don't know to reply to that
March 1, 2011
use a while mysql_fetch_array and UPDATE during the loop - PART TWO I am sorry to post this again but I can't see how else to find an answer that…
How to live stream video using C program. What should be the HTTP reply ? How can I use chunked encoding if possible ?
March 1, 2011
I am trying to live stream a video file which in which I continuously dump data. The client's HTML page is this: <html> <body> <video…