Remy Maucherat | 1 Sep 01:05
Picon
Favicon
Gravatar

Re: Tomcat-Lite - part 1

On Sat, 2008-08-30 at 20:44 -0700, Costin Manolache wrote:
> > > - Valves/LifecycleListeners versus plain Filters and listeners
> >
> > Personally, I think the strong type barrier between userland and the
> > container is nice.
> >
> 
> Access to low-level container objects ( which is the 'barrier' you mention )
> has many
> benefits, there is no doubt that the new model won't fit all cases and can
> be slower.
> 
> But I think it's good to explore the 'lazy' choice as well - people can and
> do write all
> kind of filters for auth, custom session management, etc - and for many the
> lower
> barrier does matter. Making it easier to integrate those plain filters into
> the container
> has tons of benefits - some may be converted to Valves ( in 'regular'
> tomcat) if needed.

No problem with that.

> > I am interested to look at the code like the proxy, and see if what it
> > can do.

> Unfortunately SelectorThreadApr is not up-to-date, it shouldn't be hard but
> it's lower priority for me. You can get an idea from SelectorThreadNio.
> I didn't implement the POST side of the proxy yet

(Continue reading)

bugzilla | 1 Sep 08:08
Picon
Favicon

Bug report for Tomcat 3 [2008/08/31]

+---------------------------------------------------------------------------+
| Bugzilla Bug ID                                                           |
|     +---------------------------------------------------------------------+
|     | Status: UNC=Unconfirmed NEW=New         ASS=Assigned                |
|     |         OPN=Reopened    VER=Verified    (Skipped Closed/Resolved)   |
|     |   +-----------------------------------------------------------------+
|     |   | Severity: BLK=Blocker CRI=Critical  REG=Regression  MAJ=Major   |
|     |   |           MIN=Minor   NOR=Normal    ENH=Enhancement TRV=Trivial |
|     |   |   +-------------------------------------------------------------+
|     |   |   | Date Posted                                                 |
|     |   |   |          +--------------------------------------------------+
|     |   |   |          | Description                                      |
|     |   |   |          |                                                  |
|  412|Ver|Nor|2001-01-08|JspC on Windows fails to handle includes in subdir|
| 2350|Ver|Nor|2001-06-27|ServletConfig.getInitParameter() requires url-patt|
| 6488|Ver|Maj|2002-02-15|Error: 304. Apparent bug in default ErrorHandler c|
| 9737|Ver|Nor|2002-06-10|ArrayIndexOutOfBoundsException when sending just p|
|44911|Ass|Nor|2008-04-30|Test again from Chirag                            |
+-----+---+---+----------+--------------------------------------------------+
| Total    5 bugs                                                           |
+---------------------------------------------------------------------------+
bugzilla | 1 Sep 08:08
Picon
Favicon

Bug report for Tomcat 4 [2008/08/31]

+---------------------------------------------------------------------------+
| Bugzilla Bug ID                                                           |
|     +---------------------------------------------------------------------+
|     | Status: UNC=Unconfirmed NEW=New         ASS=Assigned                |
|     |         OPN=Reopened    VER=Verified    (Skipped Closed/Resolved)   |
|     |   +-----------------------------------------------------------------+
|     |   | Severity: BLK=Blocker CRI=Critical  REG=Regression  MAJ=Major   |
|     |   |           MIN=Minor   NOR=Normal    ENH=Enhancement TRV=Trivial |
|     |   |   +-------------------------------------------------------------+
|     |   |   | Date Posted                                                 |
|     |   |   |          +--------------------------------------------------+
|     |   |   |          | Description                                      |
|     |   |   |          |                                                  |
| 3839|Opn|Enh|2001-09-26|Problem bookmarking login page                    |
| 4227|Opn|Enh|2001-10-17|Invalid CGI path                                  |
| 5329|New|Enh|2001-12-08|NT Service exits startup before Tomcat is finished|
| 5795|New|Enh|2002-01-10|Catalina Shutdown relies on localhost causing prob|
| 5829|New|Enh|2002-01-13|StandardManager needs to cope with sessions throwi|
| 5985|New|Enh|2002-01-23|Tomcat should perform a more restrictive validatio|
| 6600|Opn|Enh|2002-02-20|enodeURL adds 'jsession' when 'isRequestedSessionI|
| 6614|New|Enh|2002-02-21|Have Bootstrap and StandardClassLoader use the sam|
| 6671|New|Enh|2002-02-25|Simple custom tag example uses old declaration sty|
| 7043|New|Enh|2002-03-12|database user and password for JDBC Based Store   |
| 7374|New|Enh|2002-03-22|Apache Tomcat/4.0.1 message on standard output    |
| 7676|New|Enh|2002-04-02|Allow name property to use match experssions in <h|
| 7723|New|Enh|2002-04-03|[patch] additional factory for org.apache.naming.f|
| 8026|New|Enh|2002-04-12|Exceptions in StandardHostDeployer.addChild are lo|
| 8323|New|Enh|2002-04-20|No support for running the 64 bit JVM             |
| 8343|New|Enh|2002-04-21|adding a "absorber" logger class to "org.apache.ca|
| 8441|New|Enh|2002-04-23|Command line files for NetWare                    |
(Continue reading)

bugzilla | 1 Sep 08:08
Picon
Favicon

Bug report for Tomcat 5 [2008/08/31]

+---------------------------------------------------------------------------+
| Bugzilla Bug ID                                                           |
|     +---------------------------------------------------------------------+
|     | Status: UNC=Unconfirmed NEW=New         ASS=Assigned                |
|     |         OPN=Reopened    VER=Verified    (Skipped Closed/Resolved)   |
|     |   +-----------------------------------------------------------------+
|     |   | Severity: BLK=Blocker CRI=Critical  REG=Regression  MAJ=Major   |
|     |   |           MIN=Minor   NOR=Normal    ENH=Enhancement TRV=Trivial |
|     |   |   +-------------------------------------------------------------+
|     |   |   | Date Posted                                                 |
|     |   |   |          +--------------------------------------------------+
|     |   |   |          | Description                                      |
|     |   |   |          |                                                  |
|27122|Opn|Enh|2004-02-20|IE plugins cannot access components through Tomcat|
|28039|Opn|Enh|2004-03-30|Cluster Support for SingleSignOn                  |
|29160|Ver|Enh|2004-05-23|precompile problem: _jspx_meth_* (javax.servlet.js|
|29494|Inf|Enh|2004-06-10|No way to set PATH when running as a service on Wi|
|30241|Ver|Enh|2004-07-21|Enhance build script to use branch argument when c|
|33262|Inf|Enh|2005-01-27|Service Manager autostart should check for adminis|
|33453|Opn|Enh|2005-02-08|Jasper should recompile JSP files whose datestamps|
|33650|Inf|Enh|2005-02-19|Jasper performance for multiple files processing  |
|33671|Opn|Enh|2005-02-21|Manual Windows service installation with custom na|
|34526|Opn|Nor|2005-04-19|Truncated content in decompressed requests from mo|
|34801|New|Enh|2005-05-08|PATCH: CGIServlet does not terminate child after a|
|34805|Ass|Enh|2005-05-08|warn about invalid security constraint url pattern|
|34868|Ass|Enh|2005-05-11|allow to register a trust store for a session that|
|35054|Inf|Enh|2005-05-25|warn if appBase is not existing as a File or direc|
|35959|Opn|Enh|2005-08-01|mod_jk not independant of UseCanonicalName        |
|36133|Inf|Enh|2005-08-10|Support JSS SSL implementation                    |
|36169|New|Enh|2005-08-12|[PATCH] Enable chunked encoding for requests in II|
(Continue reading)

bugzilla | 1 Sep 08:08
Picon
Favicon

Bug report for Watchdog [2008/08/31]

+---------------------------------------------------------------------------+
| Bugzilla Bug ID                                                           |
|     +---------------------------------------------------------------------+
|     | Status: UNC=Unconfirmed NEW=New         ASS=Assigned                |
|     |         OPN=Reopened    VER=Verified    (Skipped Closed/Resolved)   |
|     |   +-----------------------------------------------------------------+
|     |   | Severity: BLK=Blocker CRI=Critical  REG=Regression  MAJ=Major   |
|     |   |           MIN=Minor   NOR=Normal    ENH=Enhancement TRV=Trivial |
|     |   |   +-------------------------------------------------------------+
|     |   |   | Date Posted                                                 |
|     |   |   |          +--------------------------------------------------+
|     |   |   |          | Description                                      |
|     |   |   |          |                                                  |
|  278|Unc|Nor|2000-12-04|Bug in GetParameterValuesTestServlet.java file Bug|
|  279|Unc|Nor|2000-12-04|Logical Error in GetParameterValuesTestServlet Bug|
|  469|Unc|Nor|2001-01-17|in example-taglib.tld "urn" should be "uri" BugRat|
|  470|Unc|Nor|2001-01-17|FAIL positiveForward.jsp and positiveInclude.jsp B|
| 9634|New|Enh|2002-06-05|No tests exist for ServletContext.getResourcePaths|
|10703|New|Enh|2002-07-11|Need to test getRequestURI after RequestDispatcher|
|11336|New|Enh|2002-07-31|Test wrapped path methods with RD.foward()        |
|11663|New|Maj|2002-08-13|JSP precompile tests rely on Jasper specific behav|
|11664|New|Maj|2002-08-13|A sweep is needed of all Watchdog 4.0 tag librarie|
|11665|New|Maj|2002-08-13|ServletToJSPErrorPageTest and ServletToServletErro|
|11666|New|Maj|2002-08-13|SetBufferSize_1TestServlet is invalid.            |
|14004|New|Maj|2002-10-28|Incorrent behaviour of all attribute-related lifec|
|15504|New|Nor|2002-12-18|JSP positiveGetValues test relies on order preserv|
|24649|New|Nor|2003-11-12|getRemoteHost fails when agent has uppercase chara|
|29398|New|Nor|2004-06-04|Update site and note current status               |
+-----+---+---+----------+--------------------------------------------------+
| Total   15 bugs                                                           |
(Continue reading)

Picon
Gravatar

Re: svn commit: r690600 - /tomcat/connectors/trunk/jni/native/src/address.c

markt <at> apache.org wrote:
> Author: markt
> Date: Sat Aug 30 15:52:33 2008
> New Revision: 690600
> 
> URL: http://svn.apache.org/viewvc?rev=690600&view=rev
> Log:
> Fix JVM crash on Tomcat start when IPv6 is enabled

-1: If won't work if the there is only one IPv6 address and I don't see 
how that could be the reason of the core.

Cheers

Jean-Frederic

> 
> Modified:
>     tomcat/connectors/trunk/jni/native/src/address.c
> 
> Modified: tomcat/connectors/trunk/jni/native/src/address.c
> URL: http://svn.apache.org/viewvc/tomcat/connectors/trunk/jni/native/src/address.c?rev=690600&r1=690599&r2=690600&view=diff
> ==============================================================================
> --- tomcat/connectors/trunk/jni/native/src/address.c (original)
> +++ tomcat/connectors/trunk/jni/native/src/address.c Sat Aug 30 15:52:33 2008
> @@ -48,7 +48,7 @@
>  #if APR_HAVE_IPV6
>      if (hostname == NULL) {
>          /* Try all address using IPV6 one */
> -        while (sl) {
(Continue reading)

Picon
Gravatar

Re: svn commit: r690600 - /tomcat/connectors/trunk/jni/native/src/address.c

markt <at> apache.org wrote:
> Author: markt
> Date: Sat Aug 30 15:52:33 2008
> New Revision: 690600
> 
> URL: http://svn.apache.org/viewvc?rev=690600&view=rev
> Log:
> Fix JVM crash on Tomcat start when IPv6 is enabled

Well, I was too fast in my comment...
In case we don't find an IPv6 returning sa is probably better.
If a null is returned TC shouldn't crash so we should prevent the crash too.

Cheers

Jean-Frederic

> 
> Modified:
>     tomcat/connectors/trunk/jni/native/src/address.c
> 
> Modified: tomcat/connectors/trunk/jni/native/src/address.c
> URL: http://svn.apache.org/viewvc/tomcat/connectors/trunk/jni/native/src/address.c?rev=690600&r1=690599&r2=690600&view=diff
> ==============================================================================
> --- tomcat/connectors/trunk/jni/native/src/address.c (original)
> +++ tomcat/connectors/trunk/jni/native/src/address.c Sat Aug 30 15:52:33 2008
> @@ -48,7 +48,7 @@
>  #if APR_HAVE_IPV6
>      if (hostname == NULL) {
>          /* Try all address using IPV6 one */
(Continue reading)

rjung | 1 Sep 13:50
Picon
Favicon

svn commit: r690944 - /tomcat/current/tc5.5.x/STATUS.txt

Author: rjung
Date: Mon Sep  1 04:50:48 2008
New Revision: 690944

URL: http://svn.apache.org/viewvc?rev=690944&view=rev
Log:
Vote and comment.

Modified:
    tomcat/current/tc5.5.x/STATUS.txt

Modified: tomcat/current/tc5.5.x/STATUS.txt
URL: http://svn.apache.org/viewvc/tomcat/current/tc5.5.x/STATUS.txt?rev=690944&r1=690943&r2=690944&view=diff
==============================================================================
--- tomcat/current/tc5.5.x/STATUS.txt (original)
+++ tomcat/current/tc5.5.x/STATUS.txt Mon Sep  1 04:50:48 2008
@@ -34,6 +34,10 @@
               point. You could use System.out but that is far worse than the
               current proposal given that this will occur once per context with
               a default configuration and this is not an error condition.
+      rjung - Is this happening when trying to read a per context logging.properties?
+              If so: then why don't we already have the global logging setup and can use it?
+              I can see, that the code in question is above the general logging setup code,
+              but I would expect readConfiguration() being called for the system class loader first?

 * Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=45576
   Add support for DIGEST to the JAASRealm
@@ -57,5 +61,5 @@
 * Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=45666
   Prevent infinite loop on include
(Continue reading)

OUJGHA Radouane | 1 Sep 16:18
Picon

tomcat + SSL

Hi all;

I hope that you can, help me to resolve this problem :
I 'm developping web services client in java with xfire, Tomcat and
eclipse3.4 and I want to enable a SSL HTTP Connectoion beethwin  my client
and the server : I know that there will be certificat to install but I do
not how to ?
I'm confused : Must I invoke https connection to the services in my client
java code ?? or just I need to enable this in tomcat server.

thanks in advance.
best regards .
George Sexton | 1 Sep 16:32
Favicon

Re: tomcat + SSL

You should start by looking at the documentation here:

http://tomcat.apache.org/tomcat-5.5-doc/ssl-howto.html

If you have additional questions, you should post those questions on the 
Tomcat-User list, not the tomcat-developer list.

OUJGHA Radouane wrote:
> Hi all;
> 
> I hope that you can, help me to resolve this problem :
> I 'm developping web services client in java with xfire, Tomcat and
> eclipse3.4 and I want to enable a SSL HTTP Connectoion beethwin  my client
> and the server : I know that there will be certificat to install but I do
> not how to ?
> I'm confused : Must I invoke https connection to the services in my client
> java code ?? or just I need to enable this in tomcat server.
> 
> thanks in advance.
> best regards .
> 

--

-- 
George Sexton
MH Software, Inc.
Voice: +1 303 438 9585
URL:   http://www.mhsoftware.com/

Gmane