Re: JDK 1.4 - again

2003-02-22 Thread Jon Scott Stevens
on 2003/2/21 3:40 PM, Steve Burrus [EMAIL PROTECTED] wrote:

 Gentlemen, as I really do appreciate all of the discussion about just how fast
 Resin and the others are, I was MAINLY asking about just what it is!!! Is it
 also a web container/application server like my Tomcat is? And in yer reply to
 me, would you also tell me how it's set up?

Wow! When did hell freeze over?

=)

-jon

-- 
StudioZ.tv /\ Bar/Nightclub/Entertainment
314 11th Street  Folsom /\ San Francisco
http://studioz.tv/


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 15497] - deadlock in threadpool

2003-02-22 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15497.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15497

deadlock in threadpool

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||INVALID



--- Additional Comments From [EMAIL PROTECTED]  2003-02-22 08:54 ---
If you look at the code, you'll see that neither your errors on shutdown (which
you can get if you shutdown Tomcat while requests are being processed), nor the
thread dump given before, do indicate a bug. Something else may be wrong in your
situation, but the information you provide does not indicate a wrong behavior
from Tomcat (which is why the bug is invalid). I strongly doubt there is a
deadlock or similar problem in that thread pool code.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: JDK 1.4 - again

2003-02-22 Thread Bill Barker

- Original Message -
From: Jon Scott Stevens [EMAIL PROTECTED]
To: tomcat-dev [EMAIL PROTECTED]
Sent: Saturday, February 22, 2003 12:25 AM
Subject: Re: JDK 1.4 - again


 on 2003/2/21 3:40 PM, Steve Burrus [EMAIL PROTECTED] wrote:

  Gentlemen, as I really do appreciate all of the discussion about just
how fast
  Resin and the others are, I was MAINLY asking about just what it is!!!
Is it
  also a web container/application server like my Tomcat is? And in yer
reply to
  me, would you also tell me how it's set up?

 Wow! When did hell freeze over?

Yeah, well, I'm guessing that most of the respondents on this thread haven't
spent much time on tomcat-user ;-).


 =)

 -jon

 --
 StudioZ.tv /\ Bar/Nightclub/Entertainment
 314 11th Street  Folsom /\ San Francisco
 http://studioz.tv/


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



tomcat-j2sdk problem

2003-02-22 Thread hompath
Hello,

I am using Tomcat 4.0.6, J2SDK 1.4.03 on RedHat Linux 7.3. When i try to start tomcat 
I get following error
 
==
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 7 occurred at PC=0x4054A857
Function=(null)+0x4054A857
Library=/usr/java/j2re/lib/i386/libzip.so

NOTE: We are unable to locate the function name symbol for the error
  just occurred. Please refer to release documentation for possible
  reason and solutions.


Current Java thread:
 at java.util.zip.ZipFile.open(Native Method)
 at java.util.zip.ZipFile.init(ZipFile.java:112)
 at java.util.jar.JarFile.init(JarFile.java:117)
 at sun.net.www.protocol.jar.URLJarFile.init(URLJarFile.java:51)
 at sun.net.www.protocol.jar.URLJarFile$1.run(URLJarFile.java:178)
 at java.security.AccessController.doPrivileged(Native Method)
 at sun.net.www.protocol.jar.URLJarFile.retrieve(URLJarFile.java:164)
 at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:42)
 at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:53)
 at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:85)
 at sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:69)
 at org.apache.catalina.startup.ContextConfig.tldConfigJar(ContextConfig.java:1107)
 at org.apache.catalina.startup.ContextConfig.tldConfig(ContextConfig.java:1079)
 at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:828)
 - locked 0x449e0340 (a org.apache.catalina.startup.ContextConfig)
 at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:224)
 at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:155)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1131)
 - locked 0x449dc800 (a org.apache.catalina.core.StandardContext)
 at org.apache.catalina.core.StandardContext.start(StandardContext.java:3371)
 - locked 0x449dc800 (a org.apache.catalina.core.StandardContext)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
 - locked 0x449cbda0 (a org.apache.catalina.core.StandardHost)
 at org.apache.catalina.core.StandardHost.start(StandardHost.java:638)
 - locked 0x449cbda0 (a org.apache.catalina.core.StandardHost)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
 - locked 0x449ad458 (a org.apache.catalina.core.StandardEngine)
 at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:343)
 at org.apache.catalina.core.StandardService.start(StandardService.java:388)
 - locked 0x449ad458 (a org.apache.catalina.core.StandardEngine)
 at org.apache.catalina.core.StandardServer.start(StandardServer.java:506)
 - locked 0x449e0cf0 (a [Lorg.apache.catalina.Service;)
 at org.apache.catalina.startup.Catalina.start(Catalina.java:781)
 at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
 at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:324)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)

Dynamic libraries:
08048000-0804d000 r-xp  03:42 628983 /usr/java/j2re/bin/java
0804d000-0804e000 rw-p 4000 03:42 628983 /usr/java/j2re/bin/java
4000-40013000 r-xp  03:42 273681 /lib/ld-2.2.5.so
40013000-40014000 rw-p 00013000 03:42 273681 /lib/ld-2.2.5.so
40014000-4001d000 r-xp  03:42 518346 
/usr/java/j2re/lib/i386/native_threads/libhpi.so
4001d000-4001e000 rw-p 8000 03:42 518346 
/usr/java/j2re/lib/i386/native_threads/libhpi.so
4001e000-40024000 r--s  00:0a 19 /mnt/Web/tomcat/bin/bootstrap.jar
40024000-40027000 r--s  00:0a 31 
/mnt/Web/tomcat/common/lib/jta-spec1_0_1.jar
40027000-40028000 r--p  03:42 80484  
/usr/lib/locale/en_US.iso885915/LC_IDENTIFICATION
40028000-40029000 r--p  03:42 80485  
/usr/lib/locale/en_US.iso885915/LC_MEASUREMENT
40029000-4002a000 r--p  03:42 80489  
/usr/lib/locale/en_US.iso885915/LC_TELEPHONE
4002a000-4002b000 r--p  03:42 80483  
/usr/lib/locale/en_US.iso885915/LC_ADDRESS
4002b000-40038000 r-xp  03:42 354164 /lib/i686/libpthread-0.9.so
40038000-4003f000 rw-p d000 03:42 354164 /lib/i686/libpthread-0.9.so
4004-40042000 r-xp  03:42 273694 /lib/libdl-2.2.5.so
40042000-40043000 rw-p 1000 03:42 273694 /lib/libdl-2.2.5.so
40043000-4030a000 r-xp  03:42 373482 
/usr/java/j2re/lib/i386/client/libjvm.so
4030a000-40474000 rw-p 002c6000 03:42 373482 
/usr/java/j2re/lib/i386/client/libjvm.so
40488000-4049a000 r-xp  03:42 273698 /lib/libnsl-2.2.5.so
4049a000-4049b000 rw-p 00012000 

[GUMP] Build Failure - jakarta-tomcat-5

2003-02-22 Thread bobh

This email is autogenerated from the output from:
http://cvs.apache.org/builds/gump/2003-02-22/jakarta-tomcat-5.html


Buildfile: build.xml

prepare-release:
[mkdir] Created dir: /home/rubys/jakarta/jakarta-tomcat-5/release
[mkdir] Created dir: /home/rubys/jakarta/jakarta-tomcat-5/release/v5.0
[mkdir] Created dir: /home/rubys/jakarta/jakarta-tomcat-5/release/v5.0/bin
[mkdir] Created dir: /home/rubys/jakarta/jakarta-tomcat-5/release/v5.0/src

init:
[mkdir] Created dir: /home/rubys/jakarta/jakarta-tomcat-5/build
[mkdir] Created dir: /home/rubys/jakarta/jakarta-tomcat-5/build/classes

deploy-static:

deploy:
 [echo] Target: Servlet API - Dist ...

prepare:

static:

compile:

examples:

javadoc:

jar:
 [copy] Copying 1 file to /home/rubys/jakarta/jakarta-servletapi-5/jsr154/build

dist:
 [echo] Target: JSP API - Dist ...

prepare:

static:

compile:

examples:

javadoc:

jar:
 [copy] Copying 1 file to /home/rubys/jakarta/jakarta-servletapi-5/jsr152/build

dist:
 [echo] Target: Catalina - Deploy ...

deploy-prepare:

deploy-static:

deploy:
 [echo] Target: Catalina - Deploy ...

flags:

flags.display:
 [echo] --- Build environment for Catalina ---
 [echo] If ${property_name} is displayed, then the property is not set)
 [echo] --- Build options ---
 [echo] full.dist=${full.dist}
 [echo] build.sysclasspath=only
 [echo] compile.debug=on
 [echo] compile.deprecation=off
 [echo] compile.optimize=off
 [echo] --- Ant Flags ---
 [echo] style task available (required)=true
 [echo] --- JDK ---
 [echo] jdk.1.2.present=true
 [echo] jdk.1.3.present=true
 [echo] jdk.1.4.present=true
 [echo] --- Source Dependencies ---
 [echo] jtc.home.present=true
 [echo] --- Required Libraries ---
 [echo] beanutils.present=true
 [echo] collections.present=true
 [echo] digester.present=true
 [echo] jaxp.present=true
 [echo] jndi.present=true
 [echo] logging.present=true
 [echo] regexp.present=true
 [echo] --- Optional Libraries ---
 [echo] dbcp.present=true
 [echo] fileupload.present=${fileupload.present}
 [echo] jaas.present=true
 [echo] javamail.present=true
 [echo] jmx.present=true
 [echo] jsse.present=true
 [echo] jta.present=true
 [echo] junit.present=true
 [echo] lang.present=${lang.present}
 [echo] launcher.present=${launcher.present}
 [echo] launcher.bootstrap.present=${launcher.bootstrap.present}
 [echo] ldap.present=true
 [echo] modeler.present=true
 [echo] pool.present=true
 [echo] tyrex.present=${tyrex.present}
 [echo] --- Required JARs ---
 [echo] jndi.jar.present(except JDK 1.3+)=true
 [echo] regexp.jar.present=true
 [echo] servlet-api.jar.present=true
 [echo] xerces2.jars.present(except JDK 1.4+)=true
 [echo] --- Optional JARs ---
 [echo] dbcp.jar.present=true
 [echo] fileupload.jar.present=${fileupload.jar.present}
 [echo] jaas.jar.present=true
 [echo] javamail.jar.present=true
 [echo] jdbc20ext.jar.present=true
 [echo] jmx.jar.present=true
 [echo] jta.jar.present=true
 [echo] junit.jar.present=${junit.jar.present}
 [echo] modeler.jar.present=true
 [echo] pool.jar.present=true
 [echo] tyrex.jar.present=${tyrex.jar.present}
 [echo] --- Conditional compilation flags ---
 [echo] compile.dbcp=true
 [echo] compile.jaas=true
 [echo] compile.javamail=true
 [echo] compile.jmx=true
 [echo] compile.jndi=true
 [echo] compile.jsse=true
 [echo] compile.jta=true
 [echo] compile.junit=true
 [echo] compile.ldap=true
 [echo] compile.ssi=true
 [echo] compile.tyrex=${compile.tyrex}
 [echo] --- Distribution flags ---
 [echo] copy.dbcp.jar=true
 [echo] copy.jmx.jar=true
 [echo] copy.launcher.jars=${copy.launcher.jars}
 [echo] copy.logging.jar=true
 [echo] copy.modeler.jar=true
 [echo] copy.pool.jar=true

build-prepare:

copy-dbcp.jar:

copy-fileupload.jar:

copy-jmx.jar:

copy-launcher.jars:

copy-modeler.jar:

copy-pool.jar:

copy-xerces2.jars:

build-static:

build-tomcat-util:

detect:

build-prepare:

build-main:
 [echo] - Java-utils -
 [echo] -- puretls.present = ${puretls.present}
 [echo] -- jsse.present = true
 [echo] -- commons-logging = true
 [echo] -- jmx = true /opt/jmx-1_0_1-ri_bin/jmx/lib/jmxri.jar
 [echo] -- modeler = true 
/home/rubys/jakarta/jakarta-commons/modeler/dist/commons-modeler.jar

build-catalina-core:

build-catalina-optional:

build-catalina:

build-main:

deploy-prepare:

deploy-static:

catalina-jars:

deploy-catalina:

build-tomcat-coyote:

init:
 [echo]  Coyote 1.0-dev 

prepare:

static:

report-tc5:
 [echo] Tomcat5 detected 

report-tc4:

report-tc33:

report:

compile.shared:

compile.tomcat5:


cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/valves ErrorDispatcherValve.java LocalStrings.properties

2003-02-22 Thread glenn
glenn   2003/02/22 06:56:35

  Modified:catalina/src/share/org/apache/catalina/connector
ResponseFacade.java
   catalina/src/share/org/apache/catalina/valves
ErrorDispatcherValve.java LocalStrings.properties
  Added:   catalina/src/share/org/apache/catalina/connector
ClientAbortException.java
  Log:
  Port client aborted request patch from Tomcat 4.1
  
  Revision  ChangesPath
  1.3   +12 -6 
jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/connector/ResponseFacade.java
  
  Index: ResponseFacade.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/connector/ResponseFacade.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ResponseFacade.java   1 Aug 2002 17:21:41 -   1.2
  +++ ResponseFacade.java   22 Feb 2003 14:56:35 -  1.3
   -239,8 +239,14 
   
   resp.setAppCommitted(true);
   
  -response.flushBuffer();
  -
  +try {
  +response.flushBuffer();
  +} catch(IOException ioe) {
  +// An IOException on a write is almost always due to
  +// the remote client aborting the request.  Wrap this
  +// so that it can be handled better by the error dispatcher.
  +throw new ClientAbortException(ioe);
  +}
   }
   
   
  
  
  
  1.1  
jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/connector/ClientAbortException.java
  
  Index: ClientAbortException.java
  ===
  /*
   * $Header: 
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/connector/ClientAbortException.java,v
 1.1 2003/02/22 14:56:35 glenn Exp $
   * $Revision: 1.1 $
   * $Date: 2003/02/22 14:56:35 $
   *
   * 
   *
   * The Apache Software License, Version 1.1
   *
   * Copyright (c) 1999 The Apache Software Foundation.  All rights
   * reserved.
   *
   * Redistribution and use in source and binary forms, with or without
   * modification, are permitted provided that the following conditions
   * are met:
   *
   * 1. Redistributions of source code must retain the above copyright
   *notice, this list of conditions and the following disclaimer.
   *
   * 2. Redistributions in binary form must reproduce the above copyright
   *notice, this list of conditions and the following disclaimer in
   *the documentation and/or other materials provided with the
   *distribution.
   *
   * 3. The end-user documentation included with the redistribution, if
   *any, must include the following acknowlegement:
   *   This product includes software developed by the
   *Apache Software Foundation (http://www.apache.org/).
   *Alternately, this acknowlegement may appear in the software itself,
   *if and wherever such third-party acknowlegements normally appear.
   *
   * 4. The names The Jakarta Project, Tomcat, and Apache Software
   *Foundation must not be used to endorse or promote products derived
   *from this software without prior written permission. For written
   *permission, please contact [EMAIL PROTECTED]
   *
   * 5. Products derived from this software may not be called Apache
   *nor may Apache appear in their names without prior written
   *permission of the Apache Group.
   *
   * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
   * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
   * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
   * DISCLAIMED.  IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
   * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
   * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
   * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
   * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
   * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
   * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
   * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   * SUCH DAMAGE.
   * 
   *
   * This software consists of voluntary contributions made by many
   * individuals on behalf of the Apache Software Foundation.  For more
   * information on the Apache Software Foundation, please see
   * http://www.apache.org/.
   *
   * [Additional notices, if required by prior licensing conditions]
   *
   */
  
  
  package org.apache.catalina.connector;
  
  import java.io.IOException;
  
  /**
   * Wrap an IOException identifying it as being caused by an abort
   * of a request by a remote 

DO NOT REPLY [Bug 17310] New: - ;jsessionid confuses StandardHost....can't find Context

2003-02-22 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17310.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17310

;jsessionid confuses StandardHostcan't find Context

   Summary: ;jsessionid confuses StandardHostcan't find Context
   Product: Tomcat 5
   Version: 5.0.0
  Platform: Other
OS/Version: Other
Status: NEW
  Severity: Normal
  Priority: Other
 Component: Catalina
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


Using Tomcat5 that I built from source today.

When I open a new browser and go to my context...
http://localhost:8081/xmlc/

the index.html redirects to this page:
http://localhost:8081/xmlc/ReloadTest?docClass=xmlc.demo.WelcomeHTML

All is fine so far.  However, the URL's in the links of the latter page look
something like this:
http://localhost:8081/xmlc/ReloadTest;jsessionid=FF350A3154EDE9395DA1109ECAB92D82?docClass=xmlc.demo.test01HTML


When I go the latter page I get the following error in the browser

HTTP Status 500 - No Context configured to process this request

type Status report

message No Context configured to process this request

description The server encountered an internal error (No Context configured to
process this request) that prevented it from fulfilling this request.
Apache Tomcat/5.0


The console looks like this:

30688 [Thread-5] INFO core.ContainerBase  - Mapping contextPath='/xmlc' with
requestURI='/xmlc/ReloadTest' and relativeURI='/ReloadTest'
30688 [Thread-5] INFO core.ContainerBase  -   Trying exact match
30688 [Thread-5] INFO core.ContainerBase  -  Mapped to servlet 'ReloadTest' with
servlet path '/ReloadTest' and path info 'null' and update=true
51110 [Thread-5] ERROR core.StandardHost  - MAPPING configuration error for
request URI


In the access log, I get this:

127.0.0.1 - - [22/Feb/2003:15:27:28 -0600] GET
/xmlc/ReloadTest?docClass=xmlc.demo.test01HTML HTTP/1.1 500 842


Seems like a URL parsing problem in the StandardHost where it isn't able to
figure out the context path appropriately so it doesn't know what context to
delegate the request to.

I don't have this problem at all in Tomcat-4.1.19 so it is definitely Tomcat-5
specific.

Jake

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 17310] - ;jsessionid confuses StandardHost....can't find Context

2003-02-22 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17310.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17310

;jsessionid confuses StandardHostcan't find Context





--- Additional Comments From [EMAIL PROTECTED]  2003-02-22 21:46 ---
Oh, I forgot to mention that stripping off the
;jsessionid=FF350A3154EDE9395DA1109ECAB92D82 resulting in the following URL
makes things work like normal:

http://localhost:8081/xmlc/ReloadTest?docClass=xmlc.demo.test01HTML


Jake

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]