DO NOT REPLY [Bug 34159] New: - Charset extension through jdk1.4 CharsetProvider does not work in web applications

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=34159

   Summary: Charset extension through jdk1.4 CharsetProvider does
not work in web applications
   Product: Tomcat 4
   Version: Unknown
  Platform: PC
OS/Version: Windows XP
Status: NEW
  Keywords: JDK1.4, JDK1.5
  Severity: normal
  Priority: P1
 Component: Unknown
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: [EMAIL PROTECTED]


The META-INF/services/java.nio.charset.spi.CharsetProvider file is ignored by
the container. If the charset extension classes are placed lib/ext of JDK then
the charset extension is available everywhere except in the web application.
It can be a improper class loader problem in Catalina.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



[GUMP@brutus]: Project jakarta-tomcat-jk-native (in module jakarta-tomcat-connectors) failed

2005-03-24 Thread Bill Barker
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at [EMAIL PROTECTED]

Project jakarta-tomcat-jk-native has an issue affecting its community 
integration.
This issue affects 1 projects,
 and has been outstanding for 65 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- jakarta-tomcat-jk-native :  Connectors to various web servers


Full details are available at:

http://brutus.apache.org/gump/public/jakarta-tomcat-connectors/jakarta-tomcat-jk-native/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -INFO- Failed with reason build failed



The following work was performed:
http://brutus.apache.org/gump/public/jakarta-tomcat-connectors/jakarta-tomcat-jk-native/gump_work/build_jakarta-tomcat-connectors_jakarta-tomcat-jk-native.html
Work Name: build_jakarta-tomcat-connectors_jakarta-tomcat-jk-native (Type: 
Build)
Work ended in a state of : Failed
Elapsed: 
Command Line: make 
[Working Directory: 
/usr/local/gump/public/workspace/jakarta-tomcat-connectors/jk/native]
-
Making all in common
make[1]: Entering directory 
`/home/gump/workspaces2/public/workspace/jakarta-tomcat-connectors/jk/native/common'
/bin/sh 
/usr/local/gump/public/workspace/apache-httpd/dest-24032005/build/libtool 
--silent --mode=compile gcc 
-I/usr/local/gump/public/workspace/apache-httpd/dest-24032005/include -g -O2 -g 
-O2 -pthread -DHAVE_APR  
-I/usr/local/gump/public/workspace/apr/dest-24032005/include/apr-1 -g -O2 
-DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE 
-I/home/gump/workspaces2/public/workspace/apache-httpd/srclib/pcre -I 
/opt/jdk1.4/include -I /opt/jdk1.4/include/ -c jk_ajp12_worker.c 
/usr/local/gump/public/workspace/apache-httpd/dest-24032005/build/libtool: 
/usr/local/gump/public/workspace/apache-httpd/dest-24032005/build/libtool: No 
such file or directory
make[1]: *** [jk_ajp12_worker.lo] Error 127
make[1]: Leaving directory 
`/home/gump/workspaces2/public/workspace/jakarta-tomcat-connectors/jk/native/common'
make: *** [all-recursive] Error 1
-

To subscribe to this information via syndicated feeds:
- RSS: 
http://brutus.apache.org/gump/public/jakarta-tomcat-connectors/jakarta-tomcat-jk-native/rss.xml
- Atom: 
http://brutus.apache.org/gump/public/jakarta-tomcat-connectors/jakarta-tomcat-jk-native/atom.xml

== Gump Tracking Only ===
Produced by Gump version 2.2.
Gump Run 2524032005, brutus:brutus-public:2524032005
Gump E-mail Identifier (unique within run) #16.

--
Apache Gump
http://gump.apache.org/ [Instance: brutus]

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



Re: looking for owner of web page

2005-03-24 Thread Mark Thomas
That would be the committers for Tomcat, all of whom are subscribed to 
this list.

I had a quick look at it and it clearly needs to be changed to reflect 
the move back to JK rather than JK2 (for very good reasons I won't go 
into see - search the archives if you are interested). It isn't the only 
page that needs to be updated. See 
http://issues.apache.org/bugzilla/show_bug.cgi?id=33768

I have added this page to that bug as well as a note to myself to do a 
general review of the TC4 web pages for any similar issues.

Mark
Morris, John wrote:
Can someone point me to the owner/maintainer of the following web page:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/jk.html
 

John 
  

Kronos Incorporated 

2 Omni Way, Chelmsford, MA 01824
Phone: +1 (978) 947-4492  Fax: +1 (978) 256-5642
Improving the Performance of People and Business(tm)
 



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


cvs commit: jakarta-tomcat-connectors/jk/native CHANGES.txt

2005-03-24 Thread hgomez
hgomez  2005/03/24 02:26:29

  Modified:jk/native CHANGES.txt
  Log:
  Some comments on changes, Mladen will add more later !)
  
  Revision  ChangesPath
  1.23  +15 -1 jakarta-tomcat-connectors/jk/native/CHANGES.txt
  
  Index: CHANGES.txt
  ===
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/CHANGES.txt,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- CHANGES.txt   8 Oct 2004 11:08:47 -   1.22
  +++ CHANGES.txt   24 Mar 2005 10:26:29 -  1.23
  @@ -1,6 +1,20 @@
   JAKARTA TOMCAT CONNECTORS (JK) CHANGELOG:-*-text-*-
   Last modified at [$Date$]
   
  +Changes in JK 1.2.9
  + * lbfactor is now relationship between members, so worker.a.lbfactor=1 
and worker.b.lbfactor=1
  +   will give 50-50% load.
  + * Use of shm for load balancer via JkShmFile. Be sure to define 
JkShmFile /path/to/smfile 
  +   in your httpd.conf
  +* on Series you should use the latest PTF for Apache 2.0 (which is now 
2.0.52) and ad minima
  +  SI17402/SI17061 or cumulative including them.
  +
  + (IBM HTTPD powered by Apache)
  + 
  +Changes in JK 1.2.8
  +* cachesize has changed from unlimited to limited, so it's basically a 
pool of connections 
  +  with recycle timeout like in mod_proxy for Apache 2.2.
  +  
   Changes with JK 1.2.7
   * Fix iis redirector that was figuring .properties
 file on each request [mturk]
  
  
  

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



cvs commit: jakarta-tomcat-connectors/jk/native CHANGES.txt

2005-03-24 Thread hgomez
hgomez  2005/03/24 02:26:51

  Modified:jk/native CHANGES.txt
  Log:
  Oups bad copy/paste
  
  Revision  ChangesPath
  1.24  +2 -4  jakarta-tomcat-connectors/jk/native/CHANGES.txt
  
  Index: CHANGES.txt
  ===
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/CHANGES.txt,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- CHANGES.txt   24 Mar 2005 10:26:29 -  1.23
  +++ CHANGES.txt   24 Mar 2005 10:26:51 -  1.24
  @@ -8,9 +8,7 @@
  in your httpd.conf
   * on Series you should use the latest PTF for Apache 2.0 (which is now 
2.0.52) and ad minima
 SI17402/SI17061 or cumulative including them.
  -
  - (IBM HTTPD powered by Apache)
  - 
  + 
   Changes in JK 1.2.8
   * cachesize has changed from unlimited to limited, so it's basically a 
pool of connections 
 with recycle timeout like in mod_proxy for Apache 2.2.
  
  
  

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



cvs commit: jakarta-tomcat-connectors/jk/xdocs changelog.xml

2005-03-24 Thread hgomez
hgomez  2005/03/24 02:48:28

  Modified:jk/xdocs changelog.xml
  Log:
  Comments pre-requisite on iSeries
  
  Revision  ChangesPath
  1.15  +4 -0  jakarta-tomcat-connectors/jk/xdocs/changelog.xml
  
  Index: changelog.xml
  ===
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/xdocs/changelog.xml,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- changelog.xml 18 Mar 2005 08:25:12 -  1.14
  +++ changelog.xml 24 Mar 2005 10:48:28 -  1.15
  @@ -71,6 +71,10 @@
 bug33308/bug: Fix segfaults when ForwardDirectories is enabled
   with Apache 1.3
 /fix
  +  update
  +  On Series you should use the latest PTF for Apache 2.0 (which is now 
2.0.52) and ad minima
  +  SI17402/SI17061 or cumulative including them. (hgomez)
  +  /update
   /changelog
 /subsection
   /section
  
  
  

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



cvs commit: jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/runtime BodyContentImpl.java

2005-03-24 Thread remm
remm2005/03/24 03:41:29

  Modified:jasper2/src/share/org/apache/jasper/runtime
BodyContentImpl.java
  Log:
  - Close shouldn't null the char buffer.
  
  Revision  ChangesPath
  1.15  +0 -1  
jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/runtime/BodyContentImpl.java
  
  Index: BodyContentImpl.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/runtime/BodyContentImpl.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- BodyContentImpl.java  4 Mar 2005 18:00:41 -   1.14
  +++ BodyContentImpl.java  24 Mar 2005 11:41:29 -  1.15
  @@ -496,7 +496,6 @@
if (writer != null) {
writer.close();
} else {
  - cb = null;  
closed = true;
}
   }
  
  
  

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



cvs commit: jakarta-tomcat-5 build.properties.default

2005-03-24 Thread pero
pero2005/03/24 03:42:10

  Modified:.build.properties.default
  Log:
  Update to MX4J 3.0.1
  
  Revision  ChangesPath
  1.141 +3 -3  jakarta-tomcat-5/build.properties.default
  
  Index: build.properties.default
  ===
  RCS file: /home/cvs/jakarta-tomcat-5/build.properties.default,v
  retrieving revision 1.140
  retrieving revision 1.141
  diff -u -r1.140 -r1.141
  --- build.properties.default  20 Jan 2005 12:00:20 -  1.140
  +++ build.properties.default  24 Mar 2005 11:42:10 -  1.141
  @@ -189,11 +189,11 @@
   
commons-fileupload.loc=${base-jakarta.loc}/commons/fileupload/binaries/commons-fileupload-1.0.tar.gz
   
   # - Java Management Extensions (JMX), JMX RI 1.2.1 or later or MX4J 
2.0.1 or later -
  -jmx.home=${base.path}/mx4j-2.1.1
  +jmx.home=${base.path}/mx4j-3.0.1
   jmx.lib=${jmx.home}/lib
   jmx.jar=${jmx.lib}/mx4j.jar
   jmx-tools.jar=${jmx.lib}/mx4j-tools.jar
  -jmx.loc=${base-sf.loc}/mx4j/mx4j-2.1.1.tar.gz
  +jmx.loc=${base-sf.loc}/mx4j/mx4j-3.0.1.tar.gz
   
   
   # - JUnit Unit Test Suite, version 3.7 or later -
  
  
  

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



cvs commit: jakarta-tomcat-catalina/webapps/docs changelog.xml

2005-03-24 Thread pero
pero2005/03/24 03:42:42

  Modified:webapps/docs changelog.xml
  Log:
  Update to MX4J 3.0.1
  
  Revision  ChangesPath
  1.256 +3 -0  jakarta-tomcat-catalina/webapps/docs/changelog.xml
  
  Index: changelog.xml
  ===
  RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/docs/changelog.xml,v
  retrieving revision 1.255
  retrieving revision 1.256
  diff -u -r1.255 -r1.256
  --- changelog.xml 24 Mar 2005 04:08:01 -  1.255
  +++ changelog.xml 24 Mar 2005 11:42:41 -  1.256
  @@ -51,6 +51,9 @@
 fix
   bug33883/bug: Bad options in SSL-HowTo. (yoavs)
 /fix
  +  update
  +Update to MX4J 3.0.1 (pero)
  +  /update
   /changelog
  /subsection
   
  
  
  

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



cvs commit: jakarta-tomcat-catalina/webapps/docs changelog.xml

2005-03-24 Thread remm
remm2005/03/24 03:51:28

  Modified:webapps/docs changelog.xml
  Log:
  - Changelog update.
  
  Revision  ChangesPath
  1.257 +3 -0  jakarta-tomcat-catalina/webapps/docs/changelog.xml
  
  Index: changelog.xml
  ===
  RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/docs/changelog.xml,v
  retrieving revision 1.256
  retrieving revision 1.257
  diff -u -r1.256 -r1.257
  --- changelog.xml 24 Mar 2005 11:42:41 -  1.256
  +++ changelog.xml 24 Mar 2005 11:51:28 -  1.257
  @@ -127,6 +127,9 @@
 fix
   bug34034/bug: Jasper does not respect external entities 
(billbarker)
 /fix
  +  fix
  +bug33810/bug: Incorrect recycling of BodyContent if close is 
called (remm)
  +  /fix
   /changelog
 /subsection
  
  
  
  

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



cvs commit: jakarta-tomcat-catalina/webapps/docs changelog.xml

2005-03-24 Thread remm
remm2005/03/24 04:01:14

  Modified:webapps/docs changelog.xml
  Log:
  - Changelog update.
  
  Revision  ChangesPath
  1.258 +22 -0 jakarta-tomcat-catalina/webapps/docs/changelog.xml
  
  Index: changelog.xml
  ===
  RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/docs/changelog.xml,v
  retrieving revision 1.257
  retrieving revision 1.258
  diff -u -r1.257 -r1.258
  --- changelog.xml 24 Mar 2005 11:51:28 -  1.257
  +++ changelog.xml 24 Mar 2005 12:01:14 -  1.258
  @@ -99,6 +99,19 @@
 add
   bug31288/bug: Allow SMTP authentication for JNDI 
MailSessionFactory. (yoavs)
 /add
  +  update
  +Harmonize processing of the context.xml defaults with the way 
web.xml is processed
  +(remm)
  +  /update
  +  fix
  +Ignore ';' if it is in the query string (remm)
  +  /fix
  +  fix
  +private to protected for the webapp classloader (remm)
  +  /fix
  +  fix
  +Improve logging of filters and listeners startup errors (remm)
  +  /fix
   /changelog
  /subsection
  
  @@ -119,6 +132,9 @@
 update
   bug33857/bug: Update information on automatic mod_jk 
configuration in Apache-HowTo. (yoavs)
 /update
  +  fix
  +Fix sync block placement in Mapper.addContext (remm)
  +  /fix
/changelog
  /subsection
   
  @@ -130,6 +146,9 @@
 fix
   bug33810/bug: Incorrect recycling of BodyContent if close is 
called (remm)
 /fix
  +  update
  +Per instance loggers in Jasper (remm)
  +  /update
   /changelog
 /subsection
  
  @@ -156,6 +175,9 @@
 add
   Add more host parameters to create new host with host-manager (pero)
 /add
  +  fix
  +bug34033/bug: Fix quoting related bugs (remm)
  +  /fix
/changelog
  /subsection
   /section
  
  
  

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



Re: cvs commit: jakarta-tomcat-catalina/webapps/docs changelog.xml

2005-03-24 Thread Remy Maucherat
[EMAIL PROTECTED] wrote:
yoavs   2005/03/23 07:17:17
  Modified:catalina/src/share/org/apache/catalina/realm JNDIRealm.java
   webapps/docs changelog.xml
  Log:
  Bugzilla 32938.

 update
   bug33636/bug: Set lastModified attribute when expanding WAR 
files. (yoavs)
 /update
  +  update
  +bug32938/bug: Allow Salted SHA (SSHA) passwords in JNDIRealm. 
(yoavs)
  +  /update
   /changelog
  /subsection
If a patch was submitted and committed, I think the name of the 
submitter should be mentioned.

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


DO NOT REPLY [Bug 34161] - Can't stop tomcat if an application doesn't run

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=34161


[EMAIL PROTECTED] changed:

   What|Removed |Added

   Severity|major   |minor




-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



cvs commit: jakarta-tomcat-catalina/webapps/docs changelog.xml

2005-03-24 Thread remm
remm2005/03/24 05:27:37

  Modified:webapps/admin frameset.jsp
   webapps/docs changelog.xml
  Log:
  - 33713: Add struts init code to frameset.jsp.
  
  Revision  ChangesPath
  1.3   +4 -0  jakarta-tomcat-catalina/webapps/admin/frameset.jsp
  
  Index: frameset.jsp
  ===
  RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/admin/frameset.jsp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- frameset.jsp  4 Mar 2005 05:42:42 -   1.2
  +++ frameset.jsp  24 Mar 2005 13:27:37 -  1.3
  @@ -5,6 +5,10 @@
   %@ taglib uri=http://struts.apache.org/tags-html; prefix=html %
   %@ taglib uri=http://struts.apache.org/tags-logic; prefix=logic %
   
  +% // Force the initialization of action servlet
  +   
getServletContext().getNamedDispatcher(action).include(request,response);
  +% 
  +
   html:html locale=true
   
   !-- Standard Content --
  
  
  
  1.259 +3 -0  jakarta-tomcat-catalina/webapps/docs/changelog.xml
  
  Index: changelog.xml
  ===
  RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/docs/changelog.xml,v
  retrieving revision 1.258
  retrieving revision 1.259
  diff -u -r1.258 -r1.259
  --- changelog.xml 24 Mar 2005 12:01:14 -  1.258
  +++ changelog.xml 24 Mar 2005 13:27:37 -  1.259
  @@ -178,6 +178,9 @@
 fix
   bug34033/bug: Fix quoting related bugs (remm)
 /fix
  +  fix
  +bug33713/bug: Add Struts init code in frameset.jsp as well (remm)
  +  /fix
/changelog
  /subsection
   /section
  
  
  

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



Re: TLP Draft Proposal

2005-03-24 Thread Remy Maucherat
Costin Manolace wrote:
I think you are wrong on this one.
At least on Linux ( and low-end hardware ) SWT seems to be faster, even with the
crapy GTK bindings ( that could be optimized a lot ). 

I guess what's more important in SWT is the design based on using the platform
UI instead of drawing pixels and attempting to make it look like the real
platform widgets. 

There is also the issue of complexity - SWT is a very clean and simple API.
I spent a lot of time with SWT - if I would write an UI app, it'll be my choice.
All right, maybe I am wrong then.
It is evident that GNU Java is there for SWT apps, which is already a 
big benefit.

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


DO NOT REPLY [Bug 34164] New: - context attributes not available when servlet's destroy() is called

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=34164

   Summary: context attributes not available when servlet's
destroy() is called
   Product: Tomcat 5
   Version: 5.5.7
  Platform: PC
OS/Version: Linux
Status: NEW
  Severity: blocker
  Priority: P2
 Component: Catalina
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: [EMAIL PROTECTED]


In Tomcat 5.5.7, the context attributes seem to have been removed before the
method destroy() of the loaded servlets is called. This is not the case with
Tomcat 5.0.28 and I guess that it is wrong because Struts for instance relies on
it to destroy its modules (in
org.apache.struts.action.ActionServlet#destroyModules).

In the case of struts, this causes the plugins not to be notified that they are
destroyed what is against their expected behavior.

A simple servlet illustrates the problem:

public class TestServlet extends HttpServlet
{
  public void init() throws ServletException
  {
log(In init TestServlet);
getServletContext().setAttribute(test, test);
log(Attribute test:  + getServletContext().getAttribute(test));
  }

  public void destroy()
  {
log(In destroy TestServlet);
log(Attribute test:  + getServletContext().getAttribute(test));
super.destroy();
  }
}

Configured with:
  servlet
servlet-nametest/servlet-name
descriptionCustom test/description
servlet-classde.internetzky.test.TestServlet/servlet-class
load-on-startup2/load-on-startup
  /servlet


  servlet-mapping
servlet-nametest/servlet-name
url-pattern/foo/*/url-pattern
  /servlet-mapping

Gives following output in Tomcat 5.5.7:

INFO main org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/test]
- test: In init TestServlet
 INFO main org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/test]
- test: Attribute test: test

INFO http-8080-Processor24
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/test] - test: In
destroy TestServlet
 INFO http-8080-Processor24
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/test] - test:
Attribute test: null

but in Tomcat 5.0.28:
StandardContext[/test]test: In init TestServlet
StandardContext[/test]test: Attribute test: test

StandardContext[/test]test: In destroy TestServlet
StandardContext[/test]test: Attribute test: test

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



Re: TLP Draft Proposal

2005-03-24 Thread Henri Gomez
Well I really like SWT , it remember me the old time of UI designing
under MacOS, and the Free Visual Editor is really great.

But may be we should be back to the original subject, Tomcat as TLP ;)



On Thu, 24 Mar 2005 14:36:55 +0100, Remy Maucherat [EMAIL PROTECTED] wrote:
 Costin Manolace wrote:
  I think you are wrong on this one.
 
  At least on Linux ( and low-end hardware ) SWT seems to be faster, even 
  with the
  crapy GTK bindings ( that could be optimized a lot ).
 
  I guess what's more important in SWT is the design based on using the 
  platform
  UI instead of drawing pixels and attempting to make it look like the real
  platform widgets.
 
  There is also the issue of complexity - SWT is a very clean and simple API.
 
  I spent a lot of time with SWT - if I would write an UI app, it'll be my 
  choice.
 
 All right, maybe I am wrong then.
 
 It is evident that GNU Java is there for SWT apps, which is already a
 big benefit.
 
 Rémy
 
 -
 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]



Re: cvs commit: jakarta-tomcat-connectors/jk/native CHANGES.txt

2005-03-24 Thread Jess Holle
[EMAIL PROTECTED] wrote:
 +Changes in JK 1.2.8
 +* cachesize has changed from unlimited to limited, so it's basically a pool of connections 
 +  with recycle timeout like in mod_proxy for Apache 2.2.
 

Is the cachesize setting for a per-worker-process pool, so the real pool 
size is (# of worker processes)*(cachesize)?

This is important to understanding how to set cachesize.  Also, I assume 
that one should keep the number of worker processes low then.  Why?  If 
one's Tomcat is throttling connections more than Apache, then one could 
end up with a very small pool in each Apache process -- possibly leading 
to this pool being exhausted far before the Apache worker process' 
threads are exhausted.  The desire is to throttle to a maximum number of 
Tomcat threads -- not throttle as a percentage of the first one or two 
Apache worker process' threads...

Am I misunderstanding something here?  [For now I have been configuring 
to have only 2 worker processes on UNIX for a little redundancy but each 
with a cachesize of 1/2 my Tomcat max threads setting.]

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


Re: cvs commit: jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/runtime JspFactoryImpl.java HttpJspBase.java

2005-03-24 Thread Jess Holle
[EMAIL PROTECTED] wrote:
remm2005/03/21 07:38:13
 Modified:jasper2/src/share/org/apache/jasper/compiler
   TagLibraryInfoImpl.java TldLocationsCache.java
   JspConfig.java JspRuntimeContext.java SmapUtil.java
   JspReader.java Compiler.java
  jasper2/src/share/org/apache/jasper
   EmbeddedServletOptions.java
  jasper2/src/share/org/apache/jasper/servlet JspServlet.java
   JspServletWrapper.java
  jasper2/src/share/org/apache/jasper/xmlparser UCSReader.java
   ParserUtils.java UTF8Reader.java
  jasper2/src/share/org/apache/jasper/runtime
   JspFactoryImpl.java HttpJspBase.java
 Log:
 - Per instance loggers in Jasper.
 

Thanks, Remmy.  I'll have to give this a try once 5.5.9 is out.  [Yes, 
I'm lazy and won't be building/patching my own before this given that 
I'm on vacation with the family.]

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


RE: cvs commit: jakarta-tomcat-catalina/webapps/docs changelog.xml

2005-03-24 Thread Yoav Shapira
Hola,

 If a patch was submitted and committed, I think the name of the
 submitter should be mentioned.

I usually put the name of the committer only in the changelog.  That seems
to be consistent with past practice.   The bugzilla issue (linked from the
changelog when possible) has the name of the submitter(s).  If they add
themselves as @authors in the code, I also leave that in.  However, if we
want to put submitter names in the changelog, I'm fine with that and will
start doing so from now on.

Yoav


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



Re: cvs commit: jakarta-tomcat-catalina/webapps/docs changelog.xml

2005-03-24 Thread Jess Holle
Yoav Shapira wrote:
Hola,
 

If a patch was submitted and committed, I think the name of the
submitter should be mentioned.
   

I usually put the name of the committer only in the changelog.  That seems
to be consistent with past practice.   The bugzilla issue (linked from the
changelog when possible) has the name of the submitter(s).  If they add
themselves as @authors in the code, I also leave that in.  However, if we
want to put submitter names in the changelog, I'm fine with that and will
start doing so from now on.
 

The standard practice for the Apache httpd project is to mention both 
the patch submitter and committer in the change log.

As a sometime patch submitter, I appreciate this.
--
Jess Holle


DO NOT REPLY [Bug 33774] - JNDIRealm fails when server disconnects after time

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=33774





--- Additional Comments From [EMAIL PROTECTED]  2005-03-24 15:22 ---
The amount of time to hold a connection open on the Tomcat JNDIRealm side
wouldn't matter, though, would it?  It's the LDAP server that's disconnecting
the connection, not Tomcat.

Looking at the current JNDIRealm code, in the authenticate method, it already
tries twice automatically to account for the first-time failure.  It tries once,
and if a CommunicationException occurs (as is the case you report), it tries
again.  However, if the exception message is not null and does not contain
close, it won't try again.  Maybe it's this check that's the problem.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 33838] - Filter class not implementing javax.servlet.Filter causes silent Error filterStart error

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=33838


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID




--- Additional Comments From [EMAIL PROTECTED]  2005-03-24 15:38 ---
I'm a bit mystified by this report.  Looking at the current code on both the CVS
HEAD (Tomcat 5.5) and TOMCAT_5_0 branches, StandardContext catches and reports
any filter initialization errors, not only with the name of the filter that
failed, but with the ClassCastException and its full stack trace.  I suggest you
try Tomcat 5.0.30 or 5.5.7 to see if they give you better info.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



cvs commit: jakarta-tomcat-catalina/webapps/docs changelog.xml realm-howto.xml

2005-03-24 Thread yoavs
yoavs   2005/03/24 06:42:55

  Modified:webapps/docs changelog.xml realm-howto.xml
  Log:
  Bugzilla 34139.
  
  Revision  ChangesPath
  1.260 +3 -0  jakarta-tomcat-catalina/webapps/docs/changelog.xml
  
  Index: changelog.xml
  ===
  RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/docs/changelog.xml,v
  retrieving revision 1.259
  retrieving revision 1.260
  diff -u -r1.259 -r1.260
  --- changelog.xml 24 Mar 2005 13:27:37 -  1.259
  +++ changelog.xml 24 Mar 2005 14:42:55 -  1.260
  @@ -54,6 +54,9 @@
 update
   Update to MX4J 3.0.1 (pero)
 /update
  +  update
  +bug34139/bug: Updated Realm-HowTo to specify JMX, 
Commons-Logging jars for RealmBase. (yoavs)
  +  /update
   /changelog
  /subsection
   
  
  
  
  1.26  +5 -1  jakarta-tomcat-catalina/webapps/docs/realm-howto.xml
  
  Index: realm-howto.xml
  ===
  RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/docs/realm-howto.xml,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- realm-howto.xml   21 Jan 2005 22:49:22 -  1.25
  +++ realm-howto.xml   24 Mar 2005 14:42:55 -  1.26
  @@ -219,7 +219,11 @@
   
   pTo use either of the above techniques, the
   code$CATALINA_HOME/server/lib/catalina.jar/code file will need to be
  -on your class path to make the codeRealmBase/code class available./p
  +on your class path to make the codeRealmBase/code class available.  In 
  +addition, you will need the JMX jar and the commons-logging jar (either 
  +commons-logging-api.jar or commons-logging.jar).  Both of these are included
  +with the Tomcat distribution.
  +/p
   
   pNon-ASCII usernames and/or passwords are supported using
   sourcejava org.apache.catalina.realm.RealmBase \
  
  
  

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



DO NOT REPLY [Bug 34139] - org.apache.catalina.realm.RealmBase.main() requires JMX and log4j

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=34139


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Additional Comments From [EMAIL PROTECTED]  2005-03-24 15:43 ---
OK, docs corrected.  There are license issues with including just any JMX jar,
but we do include an implementation with the distro.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



cvs commit: jakarta-tomcat-catalina/webapps/docs/appdev/sample sample.war

2005-03-24 Thread yoavs
yoavs   2005/03/24 06:58:43

  Modified:webapps/docs/appdev/sample sample.war
  Log:
  Bugzilla 32382.
  
  Revision  ChangesPath
  1.2   +71 -11
jakarta-tomcat-catalina/webapps/docs/appdev/sample/sample.war
  
Binary file
  
  

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



DO NOT REPLY [Bug 33810] - Stream closed errors from JSP tags under load

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=33810


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||FIXED




--- Additional Comments From [EMAIL PROTECTED]  2005-03-24 15:59 ---
As I said, if you wanted to avoid this kind of problems (which I do not mind
fixing), you should avoid using close inside your tags, which is completely 
useless.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 32382] - First App - Example App is misleading

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=32382


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||FIXED




--- Additional Comments From [EMAIL PROTECTED]  2005-03-24 15:59 ---
Updated WAR integrity verified and commited to CVS.  Thanks!

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



cvs commit: jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/runtime BodyContentImpl.java

2005-03-24 Thread remm
remm2005/03/24 07:30:37

  Modified:jasper2/src/share/org/apache/jasper/runtime
BodyContentImpl.java
  Log:
  - Indentation. No change.
  
  Revision  ChangesPath
  1.16  +196 -196  
jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/runtime/BodyContentImpl.java
  
  Index: BodyContentImpl.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/runtime/BodyContentImpl.java,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- BodyContentImpl.java  24 Mar 2005 11:41:29 -  1.15
  +++ BodyContentImpl.java  24 Mar 2005 15:30:37 -  1.16
  @@ -37,46 +37,46 @@
* @author Jan Luehe
*/
   public class BodyContentImpl extends BodyContent {
  -
  -private static final String LINE_SEPARATOR = System.getProperty(
  -line.separator);
  -
  +
  +private static final String LINE_SEPARATOR = 
  +System.getProperty(line.separator);
  +
   private char[] cb;
   private int nextChar;
   private boolean closed;
  -
  +
   // Enclosed writer to which any output is written
   private Writer writer;
  -
  +
   // See comment in setWriter()
   private int bufferSizeSave;
  -
  +
   /**
* Constructor.
*/
   public BodyContentImpl(JspWriter enclosingWriter) {
   super(enclosingWriter);
  - bufferSize = Constants.DEFAULT_TAG_BUFFER_SIZE;
  - cb = new char[bufferSize];
  - nextChar = 0;
  - closed = false;
  +bufferSize = Constants.DEFAULT_TAG_BUFFER_SIZE;
  +cb = new char[bufferSize];
  +nextChar = 0;
  +closed = false;
   }
  -
  +
   /**
* Write a single character.
*/
   public void write(int c) throws IOException {
  - if (writer != null) {
  - writer.write(c);
  - } else {
  - ensureOpen();
  - if (nextChar = bufferSize) {
  - reAllocBuff (1);
  - }
  - cb[nextChar++] = (char) c;
  - }
  +if (writer != null) {
  +writer.write(c);
  +} else {
  +ensureOpen();
  +if (nextChar = bufferSize) {
  +reAllocBuff (1);
  +}
  +cb[nextChar++] = (char) c;
  +}
   }
  -
  +
   /**
* Write a portion of an array of characters.
*
  @@ -93,38 +93,38 @@
* @param len Number of characters to write
*/
   public void write(char[] cbuf, int off, int len) throws IOException {
  - if (writer != null) {
  - writer.write(cbuf, off, len);
  - } else {
  - ensureOpen();
  -
  - if ((off  0) || (off  cbuf.length) || (len  0) ||
  - ((off + len)  cbuf.length) || ((off + len)  0)) {
  - throw new IndexOutOfBoundsException();
  - } else if (len == 0) {
  - return;
  - } 
  - 
  - if (len = bufferSize - nextChar)
  - reAllocBuff (len);
  - 
  - System.arraycopy(cbuf, off, cb, nextChar, len);
  - nextChar+=len;
  - }
  +if (writer != null) {
  +writer.write(cbuf, off, len);
  +} else {
  +ensureOpen();
  +
  +if ((off  0) || (off  cbuf.length) || (len  0) ||
  +((off + len)  cbuf.length) || ((off + len)  0)) {
  +throw new IndexOutOfBoundsException();
  +} else if (len == 0) {
  +return;
  +} 
  +
  +if (len = bufferSize - nextChar)
  +reAllocBuff (len);
  +
  +System.arraycopy(cbuf, off, cb, nextChar, len);
  +nextChar+=len;
  +}
   }
  -
  +
   /**
* Write an array of characters.  This method cannot be inherited from 
the
* Writer class because it must suppress I/O exceptions.
*/
   public void write(char[] buf) throws IOException {
  - if (writer != null) {
  - writer.write(buf);
  - } else {
  - write(buf, 0, buf.length);
  - }
  +if (writer != null) {
  +writer.write(buf);
  +} else {
  +write(buf, 0, buf.length);
  +}
   }
  -
  +
   /**
* Write a portion of a String.
*
  @@ -133,30 +133,30 @@
* @param len Number of characters to be written
*/
   public void write(String s, int off, int len) throws IOException {
  - if (writer != null) {
  - writer.write(s, off, len);
  - } else {
  - ensureOpen();
  - if (len = bufferSize - nextChar)
  - reAllocBuff(len);
  -
  - s.getChars(off, off + len, cb, nextChar);
  - nextChar += len;
  - }
  + 

cvs commit: jakarta-tomcat-connectors/jk/java/org/apache/jk/apr AprImpl.java

2005-03-24 Thread remm
remm2005/03/24 07:31:16

  Modified:jk/java/org/apache/jk/common ChannelSocket.java
ChannelJni.java
   jk/java/org/apache/jk/server JkCoyoteHandler.java
   jk/java/org/apache/jk/apr AprImpl.java
  Log:
  - Fix messages.
  
  Revision  ChangesPath
  1.53  +4 -4  
jakarta-tomcat-connectors/jk/java/org/apache/jk/common/ChannelSocket.java
  
  Index: ChannelSocket.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-connectors/jk/java/org/apache/jk/common/ChannelSocket.java,v
  retrieving revision 1.52
  retrieving revision 1.53
  diff -u -r1.52 -r1.53
  --- ChannelSocket.java29 Jan 2005 19:29:55 -  1.52
  +++ ChannelSocket.java24 Mar 2005 15:31:16 -  1.53
  @@ -59,7 +59,7 @@
   */
   
   /**
  - *  Jk2 can use multiple protocols/transports.
  + *  Jk can use multiple protocols/transports.
*  Various container adapters should load this object ( as a bean ),
*  set configurations and use it. Note that the connector will handle
*  all incoming protocols - it's not specific to ajp1x. The protocol
  @@ -70,7 +70,7 @@
   /** Accept ( and send ) TCP messages.
*
* @author Costin Manolache
  - * @jmx:mbean name=jk2:service=ChannelSocket
  + * @jmx:mbean name=jk:service=ChannelSocket
*description=Accept socket connections
* @jmx:notification name=org.apache.coyote.INVOKE
* @jmx:notification-handler name=org.apache.jk.JK_SEND_PACKET
  @@ -336,7 +336,7 @@
   if (startPort == 0) {
   port = 0;
   if(log.isInfoEnabled())
  -log.info(JK2: ajp13 disabling channelSocket);
  +log.info(JK: ajp13 disabling channelSocket);
   running = true;
   return;
   }
  @@ -363,7 +363,7 @@
   return;
   }
   if(log.isInfoEnabled())
  -log.info(JK2: ajp13 listening on  + getAddress() + : + port 
);
  +log.info(JK: ajp13 listening on  + getAddress() + : + port );
   
   // If this is not the base port and we are the 'main' channleSocket 
and
   // SHM didn't already set the localId - we'll set the instance id
  
  
  
  1.19  +1 -1  
jakarta-tomcat-connectors/jk/java/org/apache/jk/common/ChannelJni.java
  
  Index: ChannelJni.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-connectors/jk/java/org/apache/jk/common/ChannelJni.java,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- ChannelJni.java   15 Oct 2004 04:42:25 -  1.18
  +++ ChannelJni.java   24 Mar 2005 15:31:16 -  1.19
  @@ -43,7 +43,7 @@
   
   // We'll be called from C. This deals with that.
   apr.addJkHandler( channelJni, this );
  -log.info(JK2: listening on channel.jni:jni );
  +log.info(JK: listening on channel.jni:jni );
   
   if( next==null ) {
   if( nextName!=null ) 
  
  
  
  1.60  +1 -1  
jakarta-tomcat-connectors/jk/java/org/apache/jk/server/JkCoyoteHandler.java
  
  Index: JkCoyoteHandler.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-connectors/jk/java/org/apache/jk/server/JkCoyoteHandler.java,v
  retrieving revision 1.59
  retrieving revision 1.60
  diff -u -r1.59 -r1.60
  --- JkCoyoteHandler.java  3 Feb 2005 03:36:57 -   1.59
  +++ JkCoyoteHandler.java  24 Mar 2005 15:31:16 -  1.60
  @@ -53,7 +53,7 @@
   import org.apache.tomcat.util.http.MimeHeaders;
   import org.apache.tomcat.util.net.SSLSupport;
   
  -/** Plugs Jk2 into Coyote. Must be named type=JkHandler,name=container
  +/** Plugs Jk into Coyote. Must be named type=JkHandler,name=container
*
* @jmx:notification-handler name=org.apache.jk.SEND_PACKET
* @jmx:notification-handler name=org.apache.coyote.ACTION_COMMIT
  
  
  
  1.32  +1 -1  
jakarta-tomcat-connectors/jk/java/org/apache/jk/apr/AprImpl.java
  
  Index: AprImpl.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-connectors/jk/java/org/apache/jk/apr/AprImpl.java,v
  retrieving revision 1.31
  retrieving revision 1.32
  diff -u -r1.31 -r1.32
  --- AprImpl.java  31 May 2004 04:48:54 -  1.31
  +++ AprImpl.java  24 Mar 2005 15:31:16 -  1.32
  @@ -207,7 +207,7 @@
   initialize();
   jkSetAttribute(0, 0, channel:jni, starting);
   
  -log.info(JK2: Initialized apr );
  +log.info(JK: Initialized apr );
   
   } catch( Throwable t ) {
   throw new IOException( t.toString() );
  
  
  

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

Re: TLP Draft Proposal

2005-03-24 Thread Jim Jagielski
On Mar 23, 2005, at 5:07 PM, Costin Manolache wrote:
Jim Jagielski wrote:
The PMC Chair has ultimate authority, since the position is board
appointed and results in the Chair being a VP of the ASF. There's
no precedent for sharing the role or having a co-Chair. The PMC
Chair is the point man for the PMC.
Yes, we know - that's one of the reasons some people want this to be a 
'rotating' position.

Sharing the role ( i.e. the tasks ) has a lot of precedents.
I have no problem with someone having this kind of authority - in 
projects like Linux or Python, where the guy in charge created the 
project in the first place. I am not confortable at all with having 
the 'ultimate' authority appointed - even when (in most cases) it is 
at the recomandation of the community. IMO it is the worse of both 
worlds.

The bylaws are quite clear, I think, regarding this:
Section 6.3. Project Management Committees. In addition to the officers 
of the corporation, the Board of Directors may, by resolution, 
establish one or more Project Management Committees consisting of at 
least one officer of the corporation, who shall be designated chairman 
of such committee, and may include one or more other members of the 
corporation. Unless elected or appointed as an officer in accordance 
with Sections 6.1 and 6.4 of these Bylaws, a member of a Project 
Management Committee shall not be deemed an officer of the corporation.

Each Project Management Committee shall be responsible for the active 
management of one or more projects identified by resolution of the 
Board of Directors which may include, without limitation, the creation 
or maintenance of open-source software for distribution to the public 
at no charge. Subject to the direction of the Board of Directors, the 
chairman of each Project Management Committee shall be primarily 
responsible for project(s) managed by such committee, and he or she 
shall establish rules and procedures for the day to day management of 
project(s) for which the committee is responsible


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


cvs commit: jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/runtime JspWriterImpl.java

2005-03-24 Thread remm
remm2005/03/24 07:39:56

  Modified:jasper2/src/share/org/apache/jasper/runtime
JspWriterImpl.java
  Log:
  - Indentation. No change.
  
  Revision  ChangesPath
  1.15  +91 -92
jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/runtime/JspWriterImpl.java
  
  Index: JspWriterImpl.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/runtime/JspWriterImpl.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- JspWriterImpl.java22 Nov 2004 16:35:52 -  1.14
  +++ JspWriterImpl.java24 Mar 2005 15:39:56 -  1.15
  @@ -42,7 +42,7 @@
* @author Anil K. Vijendran
*/
   public class JspWriterImpl extends JspWriter {
  -
  +
   private Writer out;
   private ServletResponse response;
   private char cb[];
  @@ -51,9 +51,9 @@
   private boolean closed = false;
   
   public JspWriterImpl() {
  - super( Constants.DEFAULT_BUFFER_SIZE, true );
  +super( Constants.DEFAULT_BUFFER_SIZE, true );
   }
  -
  +
   /**
* Create a buffered character-output stream that uses a default-sized
* output buffer.
  @@ -63,7 +63,7 @@
   public JspWriterImpl(ServletResponse response) {
   this(response, Constants.DEFAULT_BUFFER_SIZE, true);
   }
  -
  +
   /**
* Create a new buffered character-output stream that uses an output
* buffer of the given size.
  @@ -74,34 +74,34 @@
* @exception  IllegalArgumentException  If sz is = 0
*/
   public JspWriterImpl(ServletResponse response, int sz, 
  - boolean autoFlush) {
  +boolean autoFlush) {
   super(sz, autoFlush);
   if (sz  0)
   throw new IllegalArgumentException(Buffer size = 0);
  - this.response = response;
  +this.response = response;
   cb = sz == 0 ? null : new char[sz];
  - nextChar = 0;
  +nextChar = 0;
   }
  -
  +
   void init( ServletResponse response, int sz, boolean autoFlush ) {
  - this.response= response;
  - if( sz  0  ( cb == null || sz  cb.length ) )
  - cb=new char[sz];
  - nextChar = 0;
  - this.autoFlush=autoFlush;
  - this.bufferSize=sz;
  +this.response= response;
  +if( sz  0  ( cb == null || sz  cb.length ) )
  +cb=new char[sz];
  +nextChar = 0;
  +this.autoFlush=autoFlush;
  +this.bufferSize=sz;
   }
  -
  +
   /** Package-level access
*/
   void recycle() {
  - flushed = false;
  +flushed = false;
   closed = false;
   out = null;
  - nextChar = 0;
  +nextChar = 0;
   response = null;
   }
  -
  +
   /**
* Flush the output buffer to the underlying character stream, without
* flushing the stream itself.  This method is non-private only so that 
it
  @@ -118,25 +118,25 @@
   out.write(cb, 0, nextChar);
   nextChar = 0;
   }
  -
  +
   private void initOut() throws IOException {
   if (out == null) {
   out = response.getWriter();
  - }
  +}
   }
  - 
  +
   private String getLocalizeMessage(final String message){
   if (SecurityUtil.isPackageProtectionEnabled()){
  -   return (String)AccessController.doPrivileged(new 
PrivilegedAction(){
  +return (String)AccessController.doPrivileged(new 
PrivilegedAction(){
   public Object run(){
   return Localizer.getMessage(message); 
   }
  -   });
  +});
   } else {
   return Localizer.getMessage(message);
   }
   }
  -
  +
   /**
* Discard the output buffer.
*/
  @@ -151,7 +151,7 @@
   ensureOpen();
   nextChar = 0;
   }
  -
  +
   public void clearBuffer() throws IOException {
   if (bufferSize == 0)
   throw new IllegalStateException(
  @@ -159,11 +159,11 @@
   ensureOpen();
   nextChar = 0;
   }
  -
  +
   private final void bufferOverflow() throws IOException {
   throw new IOException(getLocalizeMessage(jsp.error.overflow));
   }
  -
  +
   /**
* Flush the stream.
*
  @@ -174,7 +174,7 @@
   out.flush();
   }
   }
  -
  +
   /**
* Close the stream.
*
  @@ -188,23 +188,22 @@
   out.close();
   out = null;
   closed = true;
  -//cb = null;
   }
  -
  +
   /**
* @return the number of bytes unused in the buffer
*/
   public int getRemaining() {
   return bufferSize - nextChar;
   }
  -
  +
   /** 

Re: cvs commit: jakarta-tomcat-catalina/webapps/docs changelog.xml

2005-03-24 Thread Remy Maucherat
Yoav Shapira wrote:
Hola,

If a patch was submitted and committed, I think the name of the
submitter should be mentioned.

I usually put the name of the committer only in the changelog.  That seems
to be consistent with past practice.   The bugzilla issue (linked from the
changelog when possible) has the name of the submitter(s).  If they add
themselves as @authors in the code, I also leave that in.  However, if we
want to put submitter names in the changelog, I'm fine with that and will
start doing so from now on.
We've actually been using submitted by for a long time in the changelog.
Rémy
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: looking for owner of web page

2005-03-24 Thread Morris, John
Thanks - that's what I was looking for - the page needs to be updated.

John

-Original Message-
From: Mark Thomas [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 24, 2005 4:26 AM
To: Tomcat Developers List
Subject: Re: looking for owner of web page

That would be the committers for Tomcat, all of whom are subscribed to 
this list.

I had a quick look at it and it clearly needs to be changed to reflect 
the move back to JK rather than JK2 (for very good reasons I won't go 
into see - search the archives if you are interested). It isn't the only

page that needs to be updated. See 
http://issues.apache.org/bugzilla/show_bug.cgi?id=33768

I have added this page to that bug as well as a note to myself to do a 
general review of the TC4 web pages for any similar issues.

Mark

Morris, John wrote:
 Can someone point me to the owner/maintainer of the following web
page:
 http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/jk.html
 
  
 
 John 
   
 
 Kronos Incorporated 
 
 2 Omni Way, Chelmsford, MA 01824
 
 Phone: +1 (978) 947-4492  Fax: +1 (978) 256-5642
 
 Improving the Performance of People and Business(tm)
 
  
 
 


-
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]



cvs commit: jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/runtime BodyContentImpl.java

2005-03-24 Thread remm
remm2005/03/24 08:49:21

  Modified:jasper2/src/share/org/apache/jasper/runtime Tag: TOMCAT_5_0
BodyContentImpl.java
  Log:
  - Since I ported the first patch ...
  
  Revision  ChangesPath
  No   revision
  No   revision
  1.12.2.2  +0 -1  
jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/runtime/BodyContentImpl.java
  
  Index: BodyContentImpl.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/runtime/BodyContentImpl.java,v
  retrieving revision 1.12.2.1
  retrieving revision 1.12.2.2
  diff -u -r1.12.2.1 -r1.12.2.2
  --- BodyContentImpl.java  4 Mar 2005 18:03:34 -   1.12.2.1
  +++ BodyContentImpl.java  24 Mar 2005 16:49:21 -  1.12.2.2
  @@ -497,7 +497,6 @@
if (writer != null) {
writer.close();
} else {
  - cb = null;  
closed = true;
}
   }
  
  
  

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



cvs commit: jakarta-tomcat-catalina/webapps/docs changelog.xml

2005-03-24 Thread remm
remm2005/03/24 09:12:50

  Modified:catalina/src/share/org/apache/catalina/realm JNDIRealm.java
   webapps/docs changelog.xml
  Log:
  - 33774: remove hack based on exception message and retry anyway.
  
  Revision  ChangesPath
  1.22  +2 -10 
jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/realm/JNDIRealm.java
  
  Index: JNDIRealm.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/realm/JNDIRealm.java,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- JNDIRealm.java23 Mar 2005 15:17:17 -  1.21
  +++ JNDIRealm.java24 Mar 2005 17:12:50 -  1.22
  @@ -809,16 +809,8 @@
   
   } catch (CommunicationException e) {
   
  -
  -// If contains the work closed. Then assume socket is closed.
  -// If message is null, assume the worst and allow the
  -// connection to be closed.
  -if (e.getMessage()!=null 
  -e.getMessage().indexOf(closed)  0)
  -throw(e);
  -
   // log the exception so we know it's there.
  -containerLog.error(sm.getString(jndiRealm.exception), e);
  +containerLog.warn(sm.getString(jndiRealm.exception), e);
   
   // close the connection so we know it will be reopened.
   if (context != null)
  
  
  
  1.261 +4 -0  jakarta-tomcat-catalina/webapps/docs/changelog.xml
  
  Index: changelog.xml
  ===
  RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/docs/changelog.xml,v
  retrieving revision 1.260
  retrieving revision 1.261
  diff -u -r1.260 -r1.261
  --- changelog.xml 24 Mar 2005 14:42:55 -  1.260
  +++ changelog.xml 24 Mar 2005 17:12:50 -  1.261
  @@ -115,6 +115,10 @@
 fix
   Improve logging of filters and listeners startup errors (remm)
 /fix
  +  fix
  +bug33774/bug: Retry once in JNDI realm authenticate failure 
regardless of the 
  +exception message (remm)
  +  /fix
   /changelog
  /subsection
  
  
  
  

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



cvs commit: jakarta-tomcat-catalina/webapps/docs changelog.xml

2005-03-24 Thread remm
remm2005/03/24 09:20:20

  Modified:catalina/src/share/org/apache/catalina/core
StandardContext.java
   webapps/docs changelog.xml
  Log:
  - 33961: Don't encode '~' in context paths.
  
  Revision  ChangesPath
  1.169 +2 -1  
jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core/StandardContext.java
  
  Index: StandardContext.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core/StandardContext.java,v
  retrieving revision 1.168
  retrieving revision 1.169
  diff -u -r1.168 -r1.169
  --- StandardContext.java  22 Mar 2005 10:32:07 -  1.168
  +++ StandardContext.java  24 Mar 2005 17:20:20 -  1.169
  @@ -157,6 +157,7 @@
*/
   static {
   urlEncoder = new URLEncoder();
  +urlEncoder.addSafeCharacter('~');
   urlEncoder.addSafeCharacter('-');
   urlEncoder.addSafeCharacter('_');
   urlEncoder.addSafeCharacter('.');
  
  
  
  1.262 +3 -0  jakarta-tomcat-catalina/webapps/docs/changelog.xml
  
  Index: changelog.xml
  ===
  RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/docs/changelog.xml,v
  retrieving revision 1.261
  retrieving revision 1.262
  diff -u -r1.261 -r1.262
  --- changelog.xml 24 Mar 2005 17:12:50 -  1.261
  +++ changelog.xml 24 Mar 2005 17:20:20 -  1.262
  @@ -119,6 +119,9 @@
   bug33774/bug: Retry once in JNDI realm authenticate failure 
regardless of the 
   exception message (remm)
 /fix
  +  fix
  +bug33961/bug: Don't encode '~' in context paths (remm)
  +  /fix
   /changelog
  /subsection
  
  
  
  

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



DO NOT REPLY [Bug 34166] - ClassLoader and Loader.delegate

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=34166


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID




--- Additional Comments From [EMAIL PROTECTED]  2005-03-24 18:25 ---
I would really appreciate it if you didn't file obviously bogus reports, and did
your homework.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



cvs commit: jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper JspC.java

2005-03-24 Thread luehe
luehe   2005/03/24 10:30:40

  Modified:jasper2/src/share/org/apache/jasper JspC.java
  Log:
  Release URLClassLoader from LogFactory, in order to release any locks
  on /WEB-INF/... resources of the 1st webapp that is deployed and
  precompiled and whose URLClassLoader was added to commons-logging
  LogFactory when referenced Jasper classes are resolved and their
  static initializers (which initialize static log variable, as follows:
 static Log log = LogFactory.getLog(xxx.class))
  invoked.
  
  This lock has made it impossible to undeploy the first webapp that
  was deployed and precompiled on Windows.
  
  Revision  ChangesPath
  1.93  +3 -0  
jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/JspC.java
  
  Index: JspC.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/JspC.java,v
  retrieving revision 1.92
  retrieving revision 1.93
  diff -u -r1.92 -r1.93
  --- JspC.java 8 Feb 2005 21:08:39 -   1.92
  +++ JspC.java 24 Mar 2005 18:30:40 -  1.93
  @@ -882,6 +882,9 @@
   }
   throw new JasperException(e);
   } finally {
  +if (loader != null) {
  +LogFactory.release(loader);
  +}
   if(originalClassLoader != null) {
   
Thread.currentThread().setContextClassLoader(originalClassLoader);
   }
  
  
  

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



DO NOT REPLY [Bug 3888] - WebappClassLoader: Lifecycle error : CL stopped

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=3888


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||DUPLICATE




--- Additional Comments From [EMAIL PROTECTED]  2005-03-24 23:57 ---
I have reviewed the multiple issues raised in this bug report and believe they
are all either resolved or invalid. Siince the original report is actually a
duplicate, that is how this bug will be resolved.

A summary follows:

Issue 1
WebappClassLoader: Lifecycle error : CL stopped
As Remy commented (#13) ...Basically, if you can find some component in
Catalina holding a pointer to either one of the old object/classes/classloader,
then the bug is valid. Otherwise, it's not.
Although there was no evidence of this in this bug report see Bug 20758 for a
detailed examination of where this was happening.

Issue 2
log4j jar locking. As per Ceki's comment (#28), this has been fixed in log4j.

Other issues
A variety of libraries and applciations using shared static objects.

*** This bug has been marked as a duplicate of 20758 ***

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 20758] - Memory Leak in Classloader/Manager deploy/undeploy

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=20758


[EMAIL PROTECTED] changed:

   What|Removed |Added

 CC||[EMAIL PROTECTED]




--- Additional Comments From [EMAIL PROTECTED]  2005-03-24 23:57 ---
*** Bug 3888 has been marked as a duplicate of this bug. ***

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 18040] - Entering error-page in web.xml for error code 401 BASIC unexpected behaviour

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=18040


[EMAIL PROTECTED] changed:

   What|Removed |Added

 CC||[EMAIL PROTECTED]




--- Additional Comments From [EMAIL PROTECTED]  2005-03-24 23:39 ---
*** Bug 13430 has been marked as a duplicate of this bug. ***

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 4138] - Processor threads have inconsistent ClassLoader state

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=4138


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||FIXED




--- Additional Comments From [EMAIL PROTECTED]  2005-03-25 00:09 ---
An alternative patch was applied some time ago.
http://marc.theaimsgroup.com/?l=tomcat-devm=106508338920002w=2

It was for a different bug but the result is the same.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



Re: cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/session LocalStrings.properties LocalStrings_es.properties LocalStrings_fr.properties LocalStrings_ja.properties StandardSession.java

2005-03-24 Thread Remy Maucherat
[EMAIL PROTECTED] wrote:
luehe   2005/03/23 14:44:14
  Modified:catalina/src/share/org/apache/catalina/session
LocalStrings.properties LocalStrings_es.properties
LocalStrings_fr.properties
LocalStrings_ja.properties StandardSession.java
  Log:
  Fixed getId() so that it throws IllegalStateException when called on an
  invalidated session, in order to be compliant with item 2
  (Fix typos in HttpSession.java) of the Servlet 2.4 Errata at
  http://jcp.org/aboutJava/communityprocess/maintenance/jsr154/errata204.txt
  
  All Servlet TCKs still passing.
I found the problems explaining the tester failures:
- The session listener calls getId in valueUnbound (the session is 
invalidated, if course)
- On loading persisted session, getId is called which can fail randomly 
(doh)

Then, getId is called countless times inside Tomcat. We would have to 
introduce a getIdInternal method, which wouldn't have the isValid check. 
Then there will likely be countless application compatibility issues, 
since, inside a valueUnbound call, a (often needed) call to getId might 
randomly fail.

This really sucks :(
This is a very bad move by the specification team, and, unfortunately, I 
have to veto the change at least for this release. Can you revert it 
until Yoav tags 5.5.9, and maybe reapply it after that ?

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


DO NOT REPLY [Bug 33837] - Directive typo in error message and documentation suggestion

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=33837





--- Additional Comments From [EMAIL PROTECTED]  2005-03-23 07:15 ---
Along similar lines, it would be helpful if the workers.properties 
documentation mentioned how 
`continuation lines' were handled.  The combination of termination lines with a 
'\' character, and 
indenting subsequent lines appears to work.  It would nice to give specific 
mention to this in the 
documentation.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 33768] - Tomcat web page needs some updating concerning JK2 status

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=33768





--- Additional Comments From [EMAIL PROTECTED]  2005-03-24 10:25 ---
Also need to update 
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/jk.html

A general review of all of the TC4 docs wouldn't hurt. I'll do this when I fix
this bug.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 34050] - Normal startup causes server error 500

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=34050


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID




-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 33722] - Catalina-Ant deploy and undeploy task doesn't work Japanese locale

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=33722


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID




-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 33883] - openssl pkcs12 -infile/-outfile bad options in SSL Configuration HOW-TO example

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=33883


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 34143] New: - mod_jk-1.2.9. Drops entries from `worker.list' configuration directive

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=34143

   Summary: mod_jk-1.2.9.  Drops entries from `worker.list'
configuration directive
   Product: Tomcat 5
   Version: 5.0.28
  Platform: PC
OS/Version: Linux
Status: NEW
  Severity: normal
  Priority: P2
 Component: Native:JK
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: [EMAIL PROTECTED]


I am writing to report a bug in mod_jk 1.2.9.  If multiple occurrences
of `worker.list' appear in workers.properties, the first worker entry
is dropped from occurrences 2...N of `worker.list'

This bug is readily reproducible under apache 1.3.31 on Mac OSX

  Darwin oatmeal.ma.runwaynine.com 7.8.0 Darwin Kernel Version 7.8.0: Wed Dec 
22 14:26:17 PST 
2004; root:xnu/\
xnu-517.11.1.obj~1/RELEASE_PPC  Power Macintosh powerpc

And also under apache 2.0.53 on Linux

  Linux bauer.ma.runwaynine.com 2.6.9-1.667smp #1 SMP Tue Nov 2 14:59:52 EST 
2004 i686 i686 
i386 GNU/Linux


Before providing a test case, it would probably be helpful for me to
describe our setup, in order to explain the motiviation behind why
we've arranged things the way we have.

We have a single apache VirtualHost with three different sets of
JkMounts

  JkMount /a/*   worker_a_lb
  JkMount /b/*   worker_b_lb
  JkMount /c/*   worker_c_lb

a, b, c are different applications.  Each runs on its own set of
Tomcat instances (`a' balances across 3 ajp13 workers, `b' balances across 12
ajp13 workers, and `c' balances across 15 ajp13 workers).  We don't use
multiple contexts within a single servlet container; the loads for
these applications vary too much, as do their memory requirements.  `c'
is particularly memory hungry.

For monitoring purposes, we also provide JkMounts for the individual
ajp13 workers.  Expanding the list above:

  JkMount /a/*worker_a_lb
  JkMount /a-1/*  worker1_a
  JkMount /a-2/*  worker2_a
  JkMount /a-3/*  worker3_a

  JkMount /b/*worker_b_lb
  JkMount /b-1/*  worker1_b
  JkMount /b-2/*  worker2_b
...
  JkMount /c/*worker_c_lb
  JkMount /c-1/*  worker1_c
  JkMount /c-2/*  worker2_c
...

Thus, one can use the load-balanced mount point to check the overall
responsiveness of the applications; as well as testing each servlet
container individually.


workers.properties looks like this:

  worker.list=worker_a_lb, worker1_a, worker2_a, worker3_a
  # definitions for individual ajp13 workers
  worker.worker_a_lb.type=lb
  worker.worker_a_lb.balanced_workers=worker1_a, worker2_a, worker3_a

  worker.list=worker_b_lb, worker1_b, worker2_b, worker3_b, [...]
  # definitions for individual ajp13 workers
  worker.worker_b_lb.type=lb
  worker.worker_b_lb.balanced_workers=worker1_b, worker2_b, worker3_b, [...]

Breaking things up like this makes the configuration easier to edit:
the complete worker.list (dozens of entries long) can be split up into
groups, as opposed to having to put everything in a single
`worker.list'.

This form of configuration file arrangement has worked with mod_jk
1.2.2 through 1.2.5.  I haven't tried 1.2.6 - 1.2.8.

The problem:

  - the first time worker.list appears, all of the workers are usable

  - the second time worker.list appears, the first worker in the
second occurrence is dropped.  In the example above,
`worker_b_lb' will be dropped.

I've tried moving the non-lb workers out of worker.list, and using the
new `balance_worker' directive.  While that makes the ajp13 workers
accessible to the `lb' worker, they aren't usable by themselves in
JkMount directives (HTTP/500 in apache, Could not find a worker in
JkLogFile).


The simplest reproducible case:

   workers.properties ---
  worker.list=worker_a_lb
  worker.list=worker1_a

  worker.worker1_a.type=ajp13
  worker.worker1_a.host=localhost
  worker.worker1_a.port=8080
  worker.worker1_a.lbfactor=2.0

  worker.worker_a_lb.type=lb
  worker.worker_a_lb.balanced_workers=worker1_a
  

   srm.conf --
  JkMount /a/*worker_a_lb
  JkMount /a-1/*worker1_a
  

This fails with mod_jk 1.2.9, but works with mod_jk 1.2.5 (both with
apache 1.3.33 on MacOSX, and with apache-2.0.53 on linux).

With 1.2.9, neither /a/, nor /a-1/ will work.  Under mod_jk 1.2.5, both work.

The tomcat version in use is 5.0.28.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the 

DO NOT REPLY [Bug 33494] - jscv configure script fails on x86_64

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=33494





--- Additional Comments From [EMAIL PROTECTED]  2005-03-23 13:50 ---
Created an attachment (id=14544)
 -- (http://issues.apache.org/bugzilla/attachment.cgi?id=14544action=view)
Ugly patch for Opteron processors

This is a quick and drty patch, writen for bash shell on a linux box. Hopefuly
it helps and is not too hard to port.


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 32547] - Tag Within Tag Generate Incorrect .java File

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=32547





--- Additional Comments From [EMAIL PROTECTED]  2005-03-23 18:08 ---
Well, it's been more than 3 months since the report, and no one has commented. 
Is this still an issue for you in Tomcat 5.5?  If so, please suggest a patch
(either as a fix or a patch to give a better error message).  Otherwise, I don't
think any action will be taken on this issue.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 34050] - Normal startup causes server error 500

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=34050


[EMAIL PROTECTED] changed:

   What|Removed |Added

   Severity|critical|normal




--- Additional Comments From [EMAIL PROTECTED]  2005-03-24 17:56 ---
If you want QoS, do not run with a single node. I don't think this will be 
fixed.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 33219] - Slight code improvement

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=33219


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED




--- Additional Comments From [EMAIL PROTECTED]  2005-03-23 17:38 ---
Done.  Thanks for reporting the patch.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 33857] - Patch for tomcat documentation

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=33857


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Additional Comments From [EMAIL PROTECTED]  2005-03-23 17:27 ---
Patch applied.  Thanks for submitting it.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 33463] - Struts PlugIn.destroy() method not called when WebApp stopped in Tomcat 5.5.7

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=33463


[EMAIL PROTECTED] changed:

   What|Removed |Added

 CC||[EMAIL PROTECTED]




--- Additional Comments From [EMAIL PROTECTED]  2005-03-24 14:41 ---
*** Bug 34164 has been marked as a duplicate of this bug. ***

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 34164] - context attributes not available when servlet's destroy() is called

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=34164


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||DUPLICATE




--- Additional Comments From [EMAIL PROTECTED]  2005-03-24 14:41 ---


*** This bug has been marked as a duplicate of 33463 ***

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



Kirsi Gron/Endo/OFI/Olympus-EU is out of the office.

2005-03-24 Thread Kirsi . Gron


I will be out of the office starting  18.03.2005 and will not return until
30.03.2005.

Kiitos viestist. Olen lomalla 21.-29.3.. Tavattavissa jlleen 30.3..

Best regards/Ystvllisin terveisin,

Kirsi  Grn


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



DO NOT REPLY [Bug 33095] - Symbolic links in webapp not working as expected

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=33095





--- Additional Comments From [EMAIL PROTECTED]  2005-03-23 17:43 ---
Guy, are you getting the same exception stack trace, namely an NPE in line 1324
of DefaultServlet, on 5.5.7?  Looking at the source code for DefaultServlet,
that line is sb.append where sb.append had been called a few times before in
that method, so an NPE there doesn't seem possible.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 33539] - TagLibraryInfoImpl warning while processing tag-file elements from JSP2.0 TLDs is misleading

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=33539


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Additional Comments From [EMAIL PROTECTED]  2005-03-23 16:48 ---
Done for 5.5.9.  Thanks for submitting this patch.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 33077] - MailSessionFactory should also allow Authenticated Sessions

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=33077


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WONTFIX




--- Additional Comments From [EMAIL PROTECTED]  2005-03-23 16:24 ---
Won't do this, but will apply your patch from 31288, right now, to 5.5.9.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 34159] - Charset extension through jdk1.4 CharsetProvider does not work in web applications

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=34159





--- Additional Comments From [EMAIL PROTECTED]  2005-03-24 20:01 ---
Your Charset should be loaded by the bootstrap classloader providing it has been
placed in $JAVA_HOME/jre/lib/ext as per
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html

Have you placed your jar in the correct directory?

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 33106] - SSI Processing Enhancements (patch provided)

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=33106





--- Additional Comments From [EMAIL PROTECTED]  2005-03-23 16:32 ---
Mark, as the custodian of the SSI stuff, please let us know if you're
interesting in committing this at some point.  Thanks ;)

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 33719] - doc bug: location of ant project

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=33719


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Additional Comments From [EMAIL PROTECTED]  2005-03-23 17:13 ---
Ant reference updated, 5.5.8 (and 5.5.9) options added in Bugzilla.  Thanks for
letting us know.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 33804] - Some log messages say 'JK2' when they mean 'JK'

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=33804


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 34166] New: - ClassLoader and Loader.delegate

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=34166

   Summary: ClassLoader and Loader.delegate
   Product: Tomcat 5
   Version: 5.5.7
  Platform: Other
OS/Version: Linux
Status: NEW
  Severity: normal
  Priority: P2
 Component: Catalina
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: [EMAIL PROTECTED]


Hi,

Because I have no response here
http://marc.theaimsgroup.com/?l=tomcat-userm=59856524453w=2
I think it is perhaps a bug...

Within the ClassLoader behaviour, I thought that a Class was searched 
1- in the WebAppClassLoader
2- then, in the Common ClassLoader.

But as you say in the Loader documentation, this order can be changed with the
attribute delegate.

But, in my test, I have 
DriverMysql-2.0.14 under common/lib/
and DriverMysql-3.0.15 in my war.

and whatever the value of Loader.delegate,
the Common/lib/Driver is used :-(

Note: I use TC5.5.7 with jdk1.5.0_01 on Linux(but I think it is not Linux
dependant).

Cheers.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 33182] - Session ID inconsistent on include/forward between web applications

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=33182


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WONTFIX




--- Additional Comments From [EMAIL PROTECTED]  2005-03-23 17:58 ---
I would suggest another alternative: if your requirement is to share data
between web applications, one way to do it is with an object (possibly a
singleton, depending on your requirements) living in the shared or common
classloader repositories.  Tomcat (and other containers) supports this easily
out of the box.   If you do this, you're not subject to any session-specific
rules such as the attributes being Serializable.

Since neither Jan nor anyone else has stepped up to address this issue in over
two months now, I'm closing it as WONTFIX, and I encourage you to consider the
above recommendation.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 33776] - crosscontext include and forward do not honor session manager on the target context

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=33776


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Additional Comments From [EMAIL PROTECTED]  2005-03-24 15:24 ---
No further info and Remy's comment lead me to closing this issue at this time.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 34143] - mod_jk-1.2.9. Drops entries from `worker.list' configuration directive

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=34143





--- Additional Comments From [EMAIL PROTECTED]  2005-03-23 14:11 ---
Created an attachment (id=14545)
 -- (http://issues.apache.org/bugzilla/attachment.cgi?id=14545action=view)
PATCH: small change to jk_map.c fixes problem

Small patch to jk_map_get_string_list, to include '*' as a separator character.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 31288] - MailSessionFactory should allow authentication to be configured

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=31288


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
  Component|Catalina|Catalina
 OS/Version|other   |All
Product|Tomcat 4|Tomcat 5
   Platform|Other   |All
Version|4.1.30  |Nightly Build




--- Additional Comments From [EMAIL PROTECTED]  2005-03-23 16:24 ---
Changing components for Tomcat 5.5.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 33767] - [PATCH] Modification to FAQ for Remote Debugging with NetBeans IDE

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=33767


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Additional Comments From [EMAIL PROTECTED]  2005-03-23 16:53 ---
Done.  Thanks for submitting the patch.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 34024] - Deserialization of sessions on restart/redeploy does not fire HttpSessionBindingListener valueBound events

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=34024


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID




--- Additional Comments From [EMAIL PROTECTED]  2005-03-23 17:16 ---
No notifications will be sent in this case, this is normal.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 34167] - WatchedResource don't work for all

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=34167


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID




--- Additional Comments From [EMAIL PROTECTED]  2005-03-24 19:03 ---
I have a really big bias against your bug reports now ...

Updating /usr/local/tomcat/conf/Catalina/localhost/MyWebApp.xml requires a
redeploy. There have been a few bugs in 5.5.7 found (no automatic redeploy), so
that may not be done.
You should also put your xml file in META-INF/context.xml, it is simpler.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 34167] New: - WatchedResource don't work for all

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=34167

   Summary: WatchedResource don't work for all
   Product: Tomcat 5
   Version: 5.5.7
  Platform: Other
OS/Version: Linux
Status: NEW
  Severity: normal
  Priority: P2
 Component: Catalina
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: [EMAIL PROTECTED]


Hi,

I'd want to use the WatchedResource parameter,
so, in my Context.xml, I put one for :
WEB-INF/web.xml
META-INF/MyWebApp.properties
/usr/local/tomcat/conf/Catalina/localhost/MyWebApp.xml

(CATALINA_HOME=/usr/local/tomcat and Context is reloadable)

For the 2 firsts files (web.xml and MyWebApp.properties),
It works without a reload Context :-))

But for the 3rd (MyWebApp.xml) KO :-((
Note : to deploy, I use the Manager with a Context.xml outside the war (in
/tmp/). If I update /tmp/MyWebApp.xml, KO too  :-((

So, is it possible to update this files or is it a bug ?

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 33807] - When thread pool fills tomcat stops processing requests.

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=33807


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID




--- Additional Comments From [EMAIL PROTECTED]  2005-03-23 17:33 ---
Yeah, ditto on Tomcat's suggestions.  There's also the tunable acceptCount
parameter available for your use.  If your load is so heavy that both maxThreads
and acceptCount fill up, you need to consider alternative (e.g. cluster or
load-balanced) architectures.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 33538] - TagLibraryInfoImpl does not process tag-file elements correctly from JSP 2.0 TLDs

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=33538


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Additional Comments From [EMAIL PROTECTED]  2005-03-23 16:41 ---
Done for 5.5.9.  Thanks for submitting this patch.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 33727] - commented taglib goes wrong, while in tomcat 4 works fine

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=33727


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID




--- Additional Comments From [EMAIL PROTECTED]  2005-03-23 17:19 ---
Yup, this is a change in JSP Spec 2.0 which has been covered numerous times on
the mailing list.  It's not a bug, Tomcat is doing the right thing.  You need
white space between the tags.


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 33970] - scheme directive borked?

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=33970


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |ASSIGNED




-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 34161] New: - Can't stop tomcat if an application doesn't run

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=34161

   Summary: Can't stop tomcat if an application doesn't run
   Product: Tomcat 5
   Version: 5.5.7
  Platform: PC
OS/Version: Linux
Status: NEW
  Severity: major
  Priority: P2
 Component: Catalina
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: [EMAIL PROTECTED]


If an application doesn't run (stopped through the manager or failed to start
due to some application specific problem), tomcat fails to stop and the process
must be killed.

 ERROR main org.apache.catalina.startup.Catalina - Catalina.stop
 LifecycleException:  Container
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/test] has not
been started
at 
org.apache.catalina.core.StandardContext.stop(StandardContext.java:4231)
at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1063)
at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1063)
at org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:445)
at 
org.apache.catalina.core.StandardService.stop(StandardService.java:512)
at org.apache.catalina.core.StandardServer.stop(StandardServer.java:717)
at org.apache.catalina.startup.Catalina.stop(Catalina.java:586)
at org.apache.catalina.startup.Catalina.start(Catalina.java:561)
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:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 33362] - setclasspath.bat missing @echo off

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=33362


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID




--- Additional Comments From [EMAIL PROTECTED]  2005-03-23 15:23 ---
Besides the fact it works for me and hasn't been corroborated, every reference
I've found, e.g. http://www.dx21.com/SCRIPTING/MSDOS/ViewItem.ASP?OID=11, says
@echo off is optional.  It shouldn't affect the rest of the script either way.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 34170] New: - Connection reset by peer exception while performing basic authentication (db connection pool not being used)

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=34170

   Summary: Connection reset by peer exception while performing
basic authentication (db connection pool not being used)
   Product: Tomcat 5
   Version: 5.5.7
  Platform: Macintosh
OS/Version: other
Status: NEW
  Severity: normal
  Priority: P1
 Component: Catalina
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: [EMAIL PROTECTED]


Hi,
Problem:
While trying to login to our application using basic authentication, there is an
sql exception being thrown. It starts working fine after tomcat is restarted.
This happens periodically. I am not sure about how often users logged in between
 periods of failure. It is possible that there was nobody using it for may be 15
days or so. It is critical that we fix this problem asap as the users are
unhappy about failures this often. 
What's puzzling is that while performing basic authentication, the connection
should be closed after the browser is exited. So how can there be a connection
reset problem!!!

Environment:

The basic authentication has been configured using JDBC Realm entry in
context.xml of the app. The backend database is Oracle 10G that is on a
different m/c from that where tomcat runs. 

Symptoms:
The server was restarted on Feb 25 and the log below shows socket exception on
Feb 27. When there was an attempt to login on Mar 15, there was an
authentication error. But the socket exception doesn't show up in the logs
anytime after Feb 27 although authentication failed once again on Mar 24. It is
not clear why there's only one socket exception but two authentication failures
between restarts of tomcat.

Feb 25, 2005 3:12:48 PM org.apache.catalina.startup.Catalina startINFO: Server
startup in 5250 msFeb 27, 2005 3:52:51 AM
org.apache.tomcat.util.net.PoolTcpEndpoint processSocketSEVERE: Socket error
caused by remote host /60.21.206.10java.net.SocketException: Connection reset by
peerat java.net.PlainSocketImpl.socketSetOption(Native Method)at
java.net.PlainSocketImpl.setOption(PlainSocketImpl.java:240)at
java.net.Socket.setTcpNoDelay(Socket.java:771)at
org.apache.tomcat.util.net.PoolTcpEndpoint.setSocketOptions(PoolTcpEndpoint.java:502)
   at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:514)
   at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
   at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
   at java.lang.Thread.run(Thread.java:552)Mar 15, 2005 9:41:50 AM
org.apache.catalina.realm.JDBCRealm getPasswordSEVERE: Exception retrieving
password for evmjava.sql.SQLException: Io exception: Connection reset   
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:124)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:161)
at
oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:273)
at
oracle.jdbc.driver.T4CPreparedStatement.execute_for_rows(T4CPreparedStatement.java:800)
at
oracle.jdbc.driver.OracleStatement.execute_maybe_describe(OracleStatement.java:912)
at
oracle.jdbc.driver.T4CPreparedStatement.execute_maybe_describe(T4CPreparedStatement.java:693)
at
oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:983)
at
oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2884)
at
oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:2925)
at org.apache.catalina.realm.JDBCRealm.getPassword(JDBCRealm.java:526)
at org.apache.catalina.realm.JDBCRealm.authenticate(JDBCRealm.java:399)
at org.apache.catalina.realm.JDBCRealm.authenticate(JDBCRealm.java:347)
at org.apache.catalina.realm.JDBCRealm.authenticate(JDBCRealm.java:347)   
at
org.apache.catalina.authenticator.BasicAuthenticator.authenticate(BasicAuthenticator.java:181)
   at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:446)
   at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)  
 at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)  
 at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
   at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
 at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825) 
 at

DO NOT REPLY [Bug 34170] - Connection reset by peer exception while performing basic authentication (db connection pool not being used)

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=34170


[EMAIL PROTECTED] changed:

   What|Removed |Added

   Severity|normal  |critical




-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



Re: cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/session LocalStrings.properties LocalStrings_es.properties LocalStrings_fr.properties LocalStrings_ja.properties StandardSession.java

2005-03-24 Thread Remy Maucherat
[EMAIL PROTECTED] wrote:
luehe   2005/03/23 14:44:14
  Modified:catalina/src/share/org/apache/catalina/session
LocalStrings.properties LocalStrings_es.properties
LocalStrings_fr.properties
LocalStrings_ja.properties StandardSession.java
  Log:
  Fixed getId() so that it throws IllegalStateException when called on an
  invalidated session, in order to be compliant with item 2
  (Fix typos in HttpSession.java) of the Servlet 2.4 Errata at
  http://jcp.org/aboutJava/communityprocess/maintenance/jsr154/errata204.txt
  
  All Servlet TCKs still passing.
From what I see, it causes regressions in the tester. If I can't figure 
it out, I'll vote to revert this for the time being.

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


DO NOT REPLY [Bug 34170] - Connection reset by peer exception while performing basic authentication (db connection pool not being used)

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=34170


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Additional Comments From [EMAIL PROTECTED]  2005-03-25 01:08 ---
This has already been fixed in CVS.

However, I recommend using the data source realm instead, which is more robust
and scalable (and setup is about the same).

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



cvs commit: jakarta-tomcat-catalina/webapps/docs changelog.xml

2005-03-24 Thread remm
remm2005/03/24 16:13:48

  Modified:webapps/docs changelog.xml
  Log:
  - Add bug number.
  
  Revision  ChangesPath
  1.263 +1 -1  jakarta-tomcat-catalina/webapps/docs/changelog.xml
  
  Index: changelog.xml
  ===
  RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/docs/changelog.xml,v
  retrieving revision 1.262
  retrieving revision 1.263
  diff -u -r1.262 -r1.263
  --- changelog.xml 24 Mar 2005 17:20:20 -  1.262
  +++ changelog.xml 25 Mar 2005 00:13:47 -  1.263
  @@ -76,7 +76,7 @@
   webapp's classloader (remm)
 /fix
 fix
  -Add back retry logic in JDBC realm in case of a connection failure 
(remm)
  +bug34170/bug: Add back retry logic in JDBC realm in case of a 
connection failure (remm)
 /fix
 fix
   bug22041/bug: Support dynamic proxies as session objects. (markt)
  
  
  

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



DO NOT REPLY [Bug 32257] - JspC ant task won't precompile JSPs that don't end in .jsp

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=32257


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||WONTFIX




--- Additional Comments From [EMAIL PROTECTED]  2005-03-25 01:21 ---
.jspf is meant for fragments such as includes that are not meant to be compiled.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



Re: DO NOT REPLY [Bug 32257] - JspC ant task won't precompile JSPs that don't end in .jsp

2005-03-24 Thread Remy Maucherat
[EMAIL PROTECTED] wrote:
--- Additional Comments From [EMAIL PROTECTED]  2005-03-25 01:21 ---
.jspf is meant for fragments such as includes that are not meant to be compiled.
Man, you are so close minded ;)
Rémy
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


DO NOT REPLY [Bug 33806] - Session tracking using URL rewriting fails, if client URL-encodes reserved characters ; and =

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=33806


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID




--- Additional Comments From [EMAIL PROTECTED]  2005-03-23 17:17 ---
The client needs to preserve path parameters, otherwise it will not work.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 33448] - wrong policy in $CATALINA_BASE/conf/catalina.policy

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=33448


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WONTFIX




--- Additional Comments From [EMAIL PROTECTED]  2005-03-23 18:03 ---
No.  The policy file is designed for the routine CATALINA_HOME scenario.  A
server admin wishing to split up HOME and BASE needs to modify this file.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 34011] - javax.print.PrintServiceLookup.lookupPrintServices(null, null) does not include network printers

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=34011


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID




--- Additional Comments From [EMAIL PROTECTED]  2005-03-23 18:00 ---
I don't see how it is related to Tomcat. Maybe some properties are not set for
the JVM in which Tomcat is started.
Please use tomcat-user to investigate this kind of issues.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 33636] - ExpandWar doesn't set the lastModified attribute

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=33636


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Additional Comments From [EMAIL PROTECTED]  2005-03-23 16:03 ---
Done for 5.5.9.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 33722] - Catalina-Ant deploy and undeploy task doesn't work Japanese locale

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=33722





--- Additional Comments From [EMAIL PROTECTED]  2005-03-23 17:18 ---
Strange: the LocalStrings_ja.properties files in both the TOMCAT_5_0 and HEAD
(Tomcat 5.5) branches have messages that start with OK in them for successful
deployment and undeployment.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 34034] - Jasper didn't respect external entities

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=34034


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||FIXED




-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 32257] - JspC ant task won't precompile JSPs that don't end in .jsp

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=32257





--- Additional Comments From [EMAIL PROTECTED]  2005-03-23 15:26 ---
Maybe you should also reread the JSP 2.0 specification... They do recommend
.jspf as the extension for JSP segment (or fragment as it was called before).

Here is the section of interests (look at the second bullet):
--
JSP.1.1.8 Naming Conventions for JSP Files
A JSP page is packaged as one or more JSP files, often in a web application, and
delivered to a tool like a JSP container, a J2EE container, or an IDE. A
complete JSP
page may be contained in a single file. In other cases, the top file will
include other
files that contain complete JSP pages, or included segments of pages.
It is common for tools to need to differentiate JSP files from other files. In
some cases, the tools also need to differentiate between top JSP files and 
included
segments. For example, a segment may not be a legal JSP page and may not
compile properly. Determining the type of file is also very useful from a
documentation and maintenance point of view, as people familiar with the .c and
.h convention in the C language know.
By default the extension .jsp means a top-level JSP file. We recommend, but
do not mandate, to differentiate between top-level JSP files (invoked directly 
by
the client or dynamically included by another page or servlet) and statically
included segments so that:
• The .jsp extension is used only for files corresponding to top level JSP 
files,
forming a JSP page when processed.
• Statically included segments use any other extension. As included segments
were called ‘JSP fragments’ in past versions of this specification, the 
extension
.jspf was offered as a suggestion. This extension is still suggested for 
consistency
reasons, despite that they are now called ‘jsp segments’.

JSP documents, that is, JSP pages that are delivered as XML documents, use
the extension .jspx by default.
The jsp-property-group element of web.xml can be used to indicate that some
group of files, perhaps not using either of the extensions above, are JSP 
pages, and
can also be used to indicate which ones are delivered as XML documents.


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 33776] - crosscontext include and forward do not honor session manager on the target context

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=33776





--- Additional Comments From [EMAIL PROTECTED]  2005-03-23 18:04 ---
Actually, if you had looked, you would have seen that it won't affect Tomcat
5.5.x (the request dispatcher will no longer use createEmptySession).

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



procrun and stack size

2005-03-24 Thread Daniel Rabe
I'm running Tomcat 5.0.28 on Windows XP Pro. I recently discovered that the 
number of threads I could create from within my webapp was significantly less 
than I could running a program with java.exe. After a lot of research, I 
discovered that if you run a JVM from a C wrapper (as Tomcat does with 
procrun), the default stack size is taken from the stack reserve field in the 
.exe header. Passing -Xss to the created JVM does not appear to have any 
effect. Has anybody considered building Tomcat's procrun with a smaller stack 
size, to make it more consistent with java.exe? In j2sdk 1.4.2_06 (I haven't 
looked at other versions), java.exe is linked with a 256k stack. I would 
suggest that would be a reasonable size for Tomcat as well.

Thanks,
--Daniel Rabe



cvs commit: jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper JspC.java

2005-03-24 Thread luehe
luehe   2005/03/24 16:55:33

  Modified:jasper2/src/share/org/apache/jasper JspC.java
  Log:
  Moved the release (from LogFactory) of loader from the finally
  clause of processFile() to the finally clause of execute(), because
  the precompilation of different JSPs may trigger different jasper
  classes to be resolved and initialized, so after removing loader
  from LogFactory after one execution of processFile(), a subsequent
  execution of processFile() may add it back in (and later remove it).
  
  Releasing (from LogFactory) loader in the finally of execute()
  causes loader to be added to, and released from LogFactory once only.
  
  Revision  ChangesPath
  1.94  +4 -3  
jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/JspC.java
  
  Index: JspC.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/JspC.java,v
  retrieving revision 1.93
  retrieving revision 1.94
  diff -u -r1.93 -r1.94
  --- JspC.java 24 Mar 2005 18:30:40 -  1.93
  +++ JspC.java 25 Mar 2005 00:55:33 -  1.94
  @@ -882,9 +882,6 @@
   }
   throw new JasperException(e);
   } finally {
  -if (loader != null) {
  -LogFactory.release(loader);
  -}
   if(originalClassLoader != null) {
   
Thread.currentThread().setContextClassLoader(originalClassLoader);
   }
  @@ -1013,6 +1010,10 @@
   rootCause.printStackTrace();
   }
   throw je;
  +} finally {
  +if (loader != null) {
  +LogFactory.release(loader);
  +}
   }
   }
   
  
  
  

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



DO NOT REPLY [Bug 33774] - JNDIRealm fails when server disconnects after time

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=33774





--- Additional Comments From [EMAIL PROTECTED]  2005-03-25 01:56 ---
I hope when you say you're going to retry once anyway, you ONLY mean if there's
a CommunicationException - if under normal circumstances, a user puts in a bad
password, an exception is thrown - if you try again with any type of exception,
it could trigger an account lockout.  (I'll have to try a bad password to see
what the precise exception is.)

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 32547] - Tag Within Tag Generate Incorrect .java File

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=32547





--- Additional Comments From [EMAIL PROTECTED]  2005-03-25 01:57 ---
I have not tried Tomcat 5.5, but I will.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 33810] - Stream closed errors from JSP tags under load

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=33810


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |




--- Additional Comments From [EMAIL PROTECTED]  2005-03-25 02:05 ---
I am re-opening this bug. Please provide explanation before closing. This
problem is in our production systems and we are forced to restart instances
several times.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



  1   2   >