svn commit: r526680 - /tomcat/tc6.0.x/trunk/build.xml

2007-04-09 Thread pero
Author: pero
Date: Mon Apr  9 02:15:08 2007
New Revision: 526680

URL: http://svn.apache.org/viewvc?view=rev&rev=526680
Log:
Add clean_depend use as Eclispe or DBCP package changed.
remove commons collection dependency (remove at DBCP 1.2.2)

Modified:
tomcat/tc6.0.x/trunk/build.xml

Modified: tomcat/tc6.0.x/trunk/build.xml
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/build.xml?view=diff&rev=526680&r1=526679&r2=526680
==
--- tomcat/tc6.0.x/trunk/build.xml (original)
+++ tomcat/tc6.0.x/trunk/build.xml Mon Apr  9 02:15:08 2007
@@ -510,7 +510,13 @@
 
 
   
-
+   
+  
+
+
+  
+   
   
 
 
@@ -606,12 +612,14 @@
 
   
 
+
   
 
 
@@ -621,12 +629,14 @@
 
   
 
+   
 
   



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



Tomcat Manager Authentication

2007-04-09 Thread Abo alnoor

when I enter the tomcat manager, the authentication dialoge opened and ask me
to enter username & password, 
and I check the remember my password for the first time to remember me in
the next time, then I clear all the cookies and histories and password
form.. etc and all my private data from my Internet explorer, then I opened
the tomcat and click on tomcat manager link, the tomcat remember my
data(username and password). 
The Question: who can tomcat remember my username and password, and where
Tomcat store them to read them in the next time, because Tomcat didnot read
them from tomcat-user.xml but Tomcat use tomcat-user.xml for authentication
only, and didnot use cookie to remember me. 
plz any help and thanks in aadvance
-- 
View this message in context: 
http://www.nabble.com/Tomcat-Manager-Authentication-tf3546478.html#a9900097
Sent from the Tomcat - Dev mailing list archive at Nabble.com.


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



Re: Tomcat Manager Authentication

2007-04-09 Thread Abo alnoor

sorry, I erase all the data, you can try that.
if your talks correct, what is the choice "remember my password" in the
tomcat manager authentication dialoge
and who it remember my username and password next time



Abo alnoor wrote:
> 
> when I enter the tomcat manager, the authentication dialoge opened and ask
> me to enter username & password, 
> and I check the remember my password for the first time to remember me in
> the next time, then I clear all the cookies and histories and password
> form.. etc and all my private data from my Internet explorer, then I
> opened the tomcat and click on tomcat manager link, the tomcat remember my
> data(username and password). 
> The Question: who can tomcat remember my username and password, and where
> Tomcat store them to read them in the next time, because Tomcat didnot
> read them from tomcat-user.xml but Tomcat use tomcat-user.xml for
> authentication only, and didnot use cookie to remember me. 
> plz any help and thanks in aadvance
> 

-- 
View this message in context: 
http://www.nabble.com/Tomcat-Manager-Authentication-tf3546478.html#a9900273
Sent from the Tomcat - Dev mailing list archive at Nabble.com.


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



Tomcat Configuration.

2007-04-09 Thread Abhinay Kartik Reddyreddy

Hi, 

I am working on web-services(jaxrpc) and trying to set up the tomcat server
so that the server processes only two requests concurrently, the third
request should be dropped if it occurs at the time of processing the first 2
requests.
how do i configure this in tomcat server...please help.

Tganks and regards,
kartik. 
-- 
View this message in context: 
http://www.nabble.com/Tomcat-Configuration.-tf3546741.html#a9900722
Sent from the Tomcat - Dev mailing list archive at Nabble.com.


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



Re: Tomcat Configuration.

2007-04-09 Thread Mark Thomas
Abhinay Kartik Reddyreddy wrote:
> Hi, 
> 
> I am working on web-services(jaxrpc) and trying to set up the tomcat server
> so that the server processes only two requests concurrently, the third
> request should be dropped if it occurs at the time of processing the first 2
> requests.
> how do i configure this in tomcat server...please help.
> 
> Tganks and regards,
> kartik. 

This question belongs on the users list. Please see
http://tomcat.apache.org/lists.html for further information.

Mark

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



Re: Tagging 1.2.22

2007-04-09 Thread Jim Jagielski


On Apr 6, 2007, at 10:24 AM, Jim Jagielski wrote:



On Apr 5, 2007, at 9:53 AM, Mladen Turk wrote:


Jim Jagielski wrote:


The quality check release was out few days ago.
I plan to tag the mod_jk tomorrow morning Europe time.

Any objections?


This is a "holiday" weekend, so maybe afterwards?



OK, so the schedule is then for Tuesday May 10th.



Sounds perfect. I'll spend the weekend doing
some additional checks/tests, but I'm not
expecting any issues.



Tested well with Sol8, SUSE 11 and OS X


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



Re: svn commit: r526680 - /tomcat/tc6.0.x/trunk/build.xml

2007-04-09 Thread Filip Hanik - Dev Lists
ant download fails for me, ant download should actually download the 
file, shouldn't it?



BUILD FAILED
C:\development\tomcat\6.0\tc6.0.x\trunk\build.xml:596: The following 
error occurred while executing this line:
C:\development\tomcat\6.0\tc6.0.x\trunk\build.xml:614: 
C:\development\tomcat\6.0\tc6.0.x\includes\commons-pool-1.3-src not found.


this is because the file tomcat6-deps/dbcp exists, it doesn't even 
consider downloading the new version,

not a critical issue by any means, just a little annoyance


Filip

[EMAIL PROTECTED] wrote:

Author: pero
Date: Mon Apr  9 02:15:08 2007
New Revision: 526680

URL: http://svn.apache.org/viewvc?view=rev&rev=526680
Log:
Add clean_depend use as Eclispe or DBCP package changed.
remove commons collection dependency (remove at DBCP 1.2.2)

Modified:
tomcat/tc6.0.x/trunk/build.xml

Modified: tomcat/tc6.0.x/trunk/build.xml
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/build.xml?view=diff&rev=526680&r1=526679&r2=526680
==
--- tomcat/tc6.0.x/trunk/build.xml (original)
+++ tomcat/tc6.0.x/trunk/build.xml Mon Apr  9 02:15:08 2007
@@ -510,7 +510,13 @@
 
 
   

-
+   
+  
+	 
+	 

+  
+   
   
 
 
@@ -606,12 +612,14 @@
 
   

 
+
   
 
 
@@ -621,12 +629,14 @@
 
   
 
+   
 
   



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



svn commit: r526785 - /tomcat/connectors/trunk/jk/conf/uriworkermap.properties

2007-04-09 Thread rjung
Author: rjung
Date: Mon Apr  9 08:43:25 2007
New Revision: 526785

URL: http://svn.apache.org/viewvc?view=rev&rev=526785
Log:
Add Tomcat6 examples to the sample mappings file
(port r520859 of jk/native/iis/installer/conf/uriworkermap.properties)


Modified:
tomcat/connectors/trunk/jk/conf/uriworkermap.properties

Modified: tomcat/connectors/trunk/jk/conf/uriworkermap.properties
URL: 
http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/conf/uriworkermap.properties?view=diff&rev=526785&r1=526784&r2=526785
==
--- tomcat/connectors/trunk/jk/conf/uriworkermap.properties (original)
+++ tomcat/connectors/trunk/jk/conf/uriworkermap.properties Mon Apr  9 08:43:25 
2007
@@ -9,6 +9,7 @@
 /manager/*=wlb
 /jsp-examples/*=wlb
 /servlets-examples/*=wlb
+/examples/*=wlb
 
 # Optionally filter out all .jpeg files inside that context
 # For no mapping the url has to start with exclamation (!)



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



svn commit: r526787 - /tomcat/connectors/trunk/jk/native/iis/installer/conf/rewrite.properties

2007-04-09 Thread rjung
Author: rjung
Date: Mon Apr  9 08:46:38 2007
New Revision: 526787

URL: http://svn.apache.org/viewvc?view=rev&rev=526787
Log:
- Add keywords property to the new example config file
  (using the same keywords like for the other files)
- Correct example entries, so that they match tomcat 6 examples
  (fixed typos and order)

Modified:
tomcat/connectors/trunk/jk/native/iis/installer/conf/rewrite.properties   
(contents, props changed)

Modified: 
tomcat/connectors/trunk/jk/native/iis/installer/conf/rewrite.properties
URL: 
http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/iis/installer/conf/rewrite.properties?view=diff&rev=526787&r1=526786&r2=526787
==
--- tomcat/connectors/trunk/jk/native/iis/installer/conf/rewrite.properties 
(original)
+++ tomcat/connectors/trunk/jk/native/iis/installer/conf/rewrite.properties Mon 
Apr  9 08:46:38 2007
@@ -7,7 +7,7 @@
 #   uriworkermap.properies file and mapped to
 #   the desired worker.
 #
-# Next will send /servlet/examples/ to the container
+# Next will send /examples/servlets/ to the container
 # for the /servlets-examples request.
 #
-# /servlets-examples/=/examples/servlet/
+# /servlets-examples/=/examples/servlets/

Propchange: 
tomcat/connectors/trunk/jk/native/iis/installer/conf/rewrite.properties
--
svn:keywords = Author Date Id Revision



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



Re: svn commit: r526680 - /tomcat/tc6.0.x/trunk/build.xml

2007-04-09 Thread Peter Rossbach

HI Filip,

I have add a new build.xml target ant clean-depend to clear dbcp and  
eclipse jdt builds.


Peter



Am 09.04.2007 um 16:46 schrieb Filip Hanik - Dev Lists:

ant download fails for me, ant download should actually download  
the file, shouldn't it?



BUILD FAILED
C:\development\tomcat\6.0\tc6.0.x\trunk\build.xml:596: The  
following error occurred while executing this line:
C:\development\tomcat\6.0\tc6.0.x\trunk\build.xml:614: C: 
\development\tomcat\6.0\tc6.0.x\includes\commons-pool-1.3-src not  
found.


this is because the file tomcat6-deps/dbcp exists, it doesn't  
even consider downloading the new version,

not a critical issue by any means, just a little annoyance


Filip

[EMAIL PROTECTED] wrote:

Author: pero
Date: Mon Apr  9 02:15:08 2007
New Revision: 526680

URL: http://svn.apache.org/viewvc?view=rev&rev=526680
Log:
Add clean_depend use as Eclispe or DBCP package changed.
remove commons collection dependency (remove at DBCP 1.2.2)

Modified:
tomcat/tc6.0.x/trunk/build.xml

Modified: tomcat/tc6.0.x/trunk/build.xml
URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/build.xml? 
view=diff&rev=526680&r1=526679&r2=526680
= 
=

--- tomcat/tc6.0.x/trunk/build.xml (original)
+++ tomcat/tc6.0.x/trunk/build.xml Mon Apr  9 02:15:08 2007
@@ -510,7 +510,13 @@
 

-
+   
+  
+	 +	 

+  
+   
   
 
 
@@ -606,12 +612,14 @@

 
+
   
 
 
@@ -621,12 +629,14 @@
 
   
 
+   
 
   



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






svn commit: r526800 - /tomcat/connectors/trunk/jk/xdocs/webserver_howto/apache.xml

2007-04-09 Thread rjung
Author: rjung
Date: Mon Apr  9 09:05:13 2007
New Revision: 526800

URL: http://svn.apache.org/viewvc?view=rev&rev=526800
Log:
Port changes from apache reference document to apache webserver doc.
At the moment, there is no clear distinction, which info we put
into which.

Modified:
tomcat/connectors/trunk/jk/xdocs/webserver_howto/apache.xml

Modified: tomcat/connectors/trunk/jk/xdocs/webserver_howto/apache.xml
URL: 
http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/xdocs/webserver_howto/apache.xml?view=diff&rev=526800&r1=526799&r2=526800
==
--- tomcat/connectors/trunk/jk/xdocs/webserver_howto/apache.xml (original)
+++ tomcat/connectors/trunk/jk/xdocs/webserver_howto/apache.xml Mon Apr  9 
09:05:13 2007
@@ -625,6 +625,25 @@
 
 
 
+JkOptions ForwardSSLCertChain,  you ask mod_jk, when using ajp13,
+to Forward SSL certificate chain (off by default).
+Mod_jk only passes the SSL_CLIENT_CERT to the AJP connector. This 
is not a
+problem with self-signed certificates or certificates directly signed by the
+root CA certificate. However, there's a large number of certificates signed by
+an intermediate CA certificate, where this is a significant problem: A servlet
+will not have the possibility to validate the client certificate on its own. 
The
+bug would be fixed by passing on the SSL_CLIENT_CERT_CHAIN to 
Tomcat via the AJP connector.
+
+This directive exists only since version 1.2.22.
+
+  JkOptions +ForwardSSLCertChain
+
+
+
+
+
+
+
 The directive JkEnvVar allows you to forward environment variables from 
Apache server to Tomcat engine.
 The variables can be retrieved on the Tomcat side as request attributes.
 You can add a default value as a second parameter to the directive.



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



svn commit: r526801 - in /tomcat/connectors/trunk/jk/xdocs: miscellaneous/changelog.xml reference/apache.xml reference/workers.xml webserver_howto/apache.xml webserver_howto/iis.xml

2007-04-09 Thread rjung
Author: rjung
Date: Mon Apr  9 09:06:07 2007
New Revision: 526801

URL: http://svn.apache.org/viewvc?view=rev&rev=526801
Log:
Fix a couple of typos.

Modified:
tomcat/connectors/trunk/jk/xdocs/miscellaneous/changelog.xml
tomcat/connectors/trunk/jk/xdocs/reference/apache.xml
tomcat/connectors/trunk/jk/xdocs/reference/workers.xml
tomcat/connectors/trunk/jk/xdocs/webserver_howto/apache.xml
tomcat/connectors/trunk/jk/xdocs/webserver_howto/iis.xml

Modified: tomcat/connectors/trunk/jk/xdocs/miscellaneous/changelog.xml
URL: 
http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/xdocs/miscellaneous/changelog.xml?view=diff&rev=526801&r1=526800&r2=526801
==
--- tomcat/connectors/trunk/jk/xdocs/miscellaneous/changelog.xml (original)
+++ tomcat/connectors/trunk/jk/xdocs/miscellaneous/changelog.xml Mon Apr  9 
09:06:07 2007
@@ -28,7 +28,7 @@
 
   
   Allow multiple status codes for fail_on_status directive.
-  The status codes can be delimited by space or coma characters. (mturk)
+  The status codes can be delimited by space or comma characters. (mturk)
   
   
 IIS. Added pcre like regular expressions for url rewrite rules. (mturk)

Modified: tomcat/connectors/trunk/jk/xdocs/reference/apache.xml
URL: 
http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/xdocs/reference/apache.xml?view=diff&rev=526801&r1=526800&r2=526801
==
--- tomcat/connectors/trunk/jk/xdocs/reference/apache.xml (original)
+++ tomcat/connectors/trunk/jk/xdocs/reference/apache.xml Mon Apr  9 09:06:07 
2007
@@ -589,7 +589,7 @@
 
 
 JkOptions ForwardSSLCertChain,  you ask mod_jk, when using ajp13,
-to Forward SSL certificate chain (off by default).
+to forward SSL certificate chain (off by default).
 Mod_jk only passes the SSL_CLIENT_CERT to the AJP connector. This 
is not a
 problem with self-signed certificates or certificates directly signed by the
 root CA certificate. However, there's a large number of certificates signed by

Modified: tomcat/connectors/trunk/jk/xdocs/reference/workers.xml
URL: 
http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/xdocs/reference/workers.xml?view=diff&rev=526801&r1=526800&r2=526801
==
--- tomcat/connectors/trunk/jk/xdocs/reference/workers.xml (original)
+++ tomcat/connectors/trunk/jk/xdocs/reference/workers.xml Mon Apr  9 09:06:07 
2007
@@ -730,7 +730,7 @@
 
 
 Starting with jk 1.2.22 it is possible to define multiple
-status codes separated by space or coma characters.
+status codes separated by space or comma characters.
 For example: worker.xxx.fail_on_status=500,503
 
 

Modified: tomcat/connectors/trunk/jk/xdocs/webserver_howto/apache.xml
URL: 
http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/xdocs/webserver_howto/apache.xml?view=diff&rev=526801&r1=526800&r2=526801
==
--- tomcat/connectors/trunk/jk/xdocs/webserver_howto/apache.xml (original)
+++ tomcat/connectors/trunk/jk/xdocs/webserver_howto/apache.xml Mon Apr  9 
09:06:07 2007
@@ -626,7 +626,7 @@
 
 
 JkOptions ForwardSSLCertChain,  you ask mod_jk, when using ajp13,
-to Forward SSL certificate chain (off by default).
+to forward SSL certificate chain (off by default).
 Mod_jk only passes the SSL_CLIENT_CERT to the AJP connector. This 
is not a
 problem with self-signed certificates or certificates directly signed by the
 root CA certificate. However, there's a large number of certificates signed by
@@ -884,13 +884,13 @@
 detects that it needs to build thread safe, although actually it would not be 
necessary.
 One such case is, if you build against Apache httpd with prefork MPM,
 and your APR (Apache Portable Runtime) libraries have been build with thread 
support
-( the output of "apxs -q EXTRA_CPPFLAGS" will contain "-D_REENTRANT").
+(the output of "apxs -q EXTRA_CPPFLAGS" will contain "-D_REENTRANT").
 If you are sure, that your MPM is not multi-threaded, you can use 
"--enable-prefork"
 to force the removal of the synchronization code (thus increasing performance 
a bit).
 
   --enable-flock
   
-In case the Operating system supports flock system call use this flag to 
enable this
+In case the operating system supports flock system call use this flag to 
enable this
 faster locks that are implemented as system call instead emulated by GNU C 
library.
 However those locks does not work on NFS mounted volumes, so you can use
 "--enable-flock" during compile time to force the flocks() calls.

Modified: tomcat/connectors/trunk/jk/xdocs/webserver_howto/iis.xml
URL: 
http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/xdocs/webserver_howto/iis.xml?view=diff&rev=526801&r1=526800&r2=526801
==
--- tomcat/connectors

svn commit: r526804 - in /tomcat/connectors/trunk/jk/native: apache-1.3/mod_jk.c apache-2.0/mod_jk.c

2007-04-09 Thread rjung
Author: rjung
Date: Mon Apr  9 09:09:39 2007
New Revision: 526804

URL: http://svn.apache.org/viewvc?view=rev&rev=526804
Log:
- apache: change one log line: use white space instead of new line to
  prevent line based log format
- apache 1.3: change precompiler directive position, so that info
  startup message gets logged (like in apache 2.0)
- apache 1.3: add trace messages to new child init handler

Modified:
tomcat/connectors/trunk/jk/native/apache-1.3/mod_jk.c
tomcat/connectors/trunk/jk/native/apache-2.0/mod_jk.c

Modified: tomcat/connectors/trunk/jk/native/apache-1.3/mod_jk.c
URL: 
http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/apache-1.3/mod_jk.c?view=diff&rev=526804&r1=526803&r2=526804
==
--- tomcat/connectors/trunk/jk/native/apache-1.3/mod_jk.c (original)
+++ tomcat/connectors/trunk/jk/native/apache-1.3/mod_jk.c Mon Apr  9 09:09:39 
2007
@@ -675,7 +675,7 @@
 s->ssl_cert_len = strlen(s->ssl_cert);
 if (JK_IS_DEBUG_LEVEL(conf->log)) {
 jk_log(conf->log, JK_LOG_DEBUG,
-   "SSL client certificate (%d bytes):\n%s",
+   "SSL client certificate (%d bytes): %s",
s->ssl_cert_len, s->ssl_cert);
 }
 }
@@ -2624,10 +2624,10 @@
 #if MODULE_MAGIC_NUMBER >= 19980527
 /* Tell apache we're here */
 ap_add_version_component(JK_EXPOSED_VERSION);
+#endif
 jk_log(conf->log, JK_LOG_INFO,
"%s initialized",
JK_EXPOSED_VERSION);
-#endif
 return;
 }
 else {
@@ -2873,6 +2873,8 @@
 (jk_server_conf_t *) ap_get_module_config(s->module_config,
   &jk_module);
 
+JK_TRACE_ENTER(conf->log);
+
 if ((rc = jk_shm_attach(jk_shm_file, jk_shm_size, conf->log)) == 0) {
 if (JK_IS_DEBUG_LEVEL(conf->log))
 jk_log(conf->log, JK_LOG_DEBUG, "Attached shm:%s",
@@ -2881,6 +2883,9 @@
 else
 jk_log(conf->log, JK_LOG_ERROR, "Attaching shm:%s errno=%d",
jk_shm_name(), rc);
+
+JK_TRACE_EXIT(conf->log);
+
 }
 
 

Modified: tomcat/connectors/trunk/jk/native/apache-2.0/mod_jk.c
URL: 
http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/apache-2.0/mod_jk.c?view=diff&rev=526804&r1=526803&r2=526804
==
--- tomcat/connectors/trunk/jk/native/apache-2.0/mod_jk.c (original)
+++ tomcat/connectors/trunk/jk/native/apache-2.0/mod_jk.c Mon Apr  9 09:09:39 
2007
@@ -702,7 +702,7 @@
 s->ssl_cert_len = strlen(s->ssl_cert);
 if (JK_IS_DEBUG_LEVEL(conf->log)) {
 jk_log(conf->log, JK_LOG_DEBUG,
-   "SSL client certificate (%d bytes):\n%s",
+   "SSL client certificate (%d bytes): %s",
s->ssl_cert_len, s->ssl_cert);
 }
 }



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



Re: Comet question about ending the event

2007-04-09 Thread Quartz
This looks like a tomcat users question, not a tomcat developers question.
Ask it there.

As for comet-like stuff, I can only warn you of all the troubles you and mostly 
your customers are
about to run into trying to workaround http. Proxies, firewalls and pipelining 
and not going to
like the idea of hanging responses (not to mention caches issues or browsers 
denying more than 2
connections to a server, which will end up killing parallel downloads).

Good luck...


--- Bezel <[EMAIL PROTECTED]> wrote:

> 
> Hello,
> 
> Here is the situation I have a question about:
> 
> 1. There is a servlet that implements CometProcessor interface.
> 2. Like a known chat example this servlet's event method put response
> objects into a static array
> 3. There is another thread that listens for new messages and once they
> arrive - it gets correct response object from the static array and write an
> output.
> 
> The question is - how do I "commit" the response right after step #3. I
> don't want to wait for an event timeout to get the response done in the
> browser. writer.flush() does not really ends the browser requests... 
> 
> I've tried to to do "event.close()" (by having a hashmap of events with
> response refferences) objects right in the end of step #3 and it seems to be
> ok, but I'm not sure if it's a right way.
> Any suggestions here?
> -- 
> View this message in context:
> http://www.nabble.com/Comet-question-about-ending-the-event-tf3539457.html#a9880431
> Sent from the Tomcat - Dev mailing list archive at Nabble.com.
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 



 

We won't tell. Get more on shows you hate to love 
(and love to hate): Yahoo! TV's Guilty Pleasures list.
http://tv.yahoo.com/collections/265 

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



svn commit: r526824 - /tomcat/connectors/trunk/jk/xdocs/miscellaneous/changelog.xml

2007-04-09 Thread rjung
Author: rjung
Date: Mon Apr  9 09:55:12 2007
New Revision: 526824

URL: http://svn.apache.org/viewvc?view=rev&rev=526824
Log:
Fix typo.

Modified:
tomcat/connectors/trunk/jk/xdocs/miscellaneous/changelog.xml

Modified: tomcat/connectors/trunk/jk/xdocs/miscellaneous/changelog.xml
URL: 
http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/xdocs/miscellaneous/changelog.xml?view=diff&rev=526824&r1=526823&r2=526824
==
--- tomcat/connectors/trunk/jk/xdocs/miscellaneous/changelog.xml (original)
+++ tomcat/connectors/trunk/jk/xdocs/miscellaneous/changelog.xml Mon Apr  9 
09:55:12 2007
@@ -34,7 +34,7 @@
 IIS. Added pcre like regular expressions for url rewrite rules. (mturk)
   
   
-419222: Apache 1.3. Enable JkEnvVar. (mturk)
+41922: Apache 1.3. Enable JkEnvVar. (mturk)
   
   
 Apache. Add --enable-flock configure parameter for explicit



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



svn commit: r526825 - in /tomcat/connectors/trunk/jk: jkstatus/example/ jkstatus/src/share/org/apache/jk/status/ xdocs/news/

2007-04-09 Thread rjung
Author: rjung
Date: Mon Apr  9 09:56:01 2007
New Revision: 526825

URL: http://svn.apache.org/viewvc?view=rev&rev=526825
Log:
Add missing eol-style and keywords properties and
fix inconsistent line endings.

Modified:
tomcat/connectors/trunk/jk/jkstatus/example/show.xml   (contents, props 
changed)

tomcat/connectors/trunk/jk/jkstatus/src/share/org/apache/jk/status/AbstractJkStatusTask.java
   (props changed)

tomcat/connectors/trunk/jk/jkstatus/src/share/org/apache/jk/status/JkResult.java
   (props changed)

tomcat/connectors/trunk/jk/jkstatus/src/share/org/apache/jk/status/JkSoftware.java
   (props changed)

tomcat/connectors/trunk/jk/jkstatus/src/share/org/apache/jk/status/JkStatusUpdateLoadbalancerTask.java
   (props changed)

tomcat/connectors/trunk/jk/jkstatus/src/share/org/apache/jk/status/JkStatusUpdateWorkerTask.java
   (props changed)
tomcat/connectors/trunk/jk/xdocs/news/20070301.xml   (props changed)

Modified: tomcat/connectors/trunk/jk/jkstatus/example/show.xml
URL: 
http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/jkstatus/example/show.xml?view=diff&rev=526825&r1=526824&r2=526825
==
--- tomcat/connectors/trunk/jk/jkstatus/example/show.xml (original)
+++ tomcat/connectors/trunk/jk/jkstatus/example/show.xml Mon Apr  9 09:56:01 
2007
@@ -8,13 +8,13 @@


 
-
-  
-  
-  
+
+  
+  
+  
   
-  
-
+  
+
 
  

Propchange: tomcat/connectors/trunk/jk/jkstatus/example/show.xml
--
svn:eol-style = native

Propchange: tomcat/connectors/trunk/jk/jkstatus/example/show.xml
--
svn:keywords = Author Date Id Revision

Propchange: 
tomcat/connectors/trunk/jk/jkstatus/src/share/org/apache/jk/status/AbstractJkStatusTask.java
--
svn:eol-style = native

Propchange: 
tomcat/connectors/trunk/jk/jkstatus/src/share/org/apache/jk/status/AbstractJkStatusTask.java
--
svn:keywords = Author Date Id Revision

Propchange: 
tomcat/connectors/trunk/jk/jkstatus/src/share/org/apache/jk/status/JkResult.java
--
svn:eol-style = native

Propchange: 
tomcat/connectors/trunk/jk/jkstatus/src/share/org/apache/jk/status/JkResult.java
--
svn:keywords = Author Date Id Revision

Propchange: 
tomcat/connectors/trunk/jk/jkstatus/src/share/org/apache/jk/status/JkSoftware.java
--
svn:eol-style = native

Propchange: 
tomcat/connectors/trunk/jk/jkstatus/src/share/org/apache/jk/status/JkSoftware.java
--
svn:keywords = Author Date Id Revision

Propchange: 
tomcat/connectors/trunk/jk/jkstatus/src/share/org/apache/jk/status/JkStatusUpdateLoadbalancerTask.java
--
svn:eol-style = native

Propchange: 
tomcat/connectors/trunk/jk/jkstatus/src/share/org/apache/jk/status/JkStatusUpdateLoadbalancerTask.java
--
svn:keywords = Author Date Id Revision

Propchange: 
tomcat/connectors/trunk/jk/jkstatus/src/share/org/apache/jk/status/JkStatusUpdateWorkerTask.java
--
svn:eol-style = native

Propchange: 
tomcat/connectors/trunk/jk/jkstatus/src/share/org/apache/jk/status/JkStatusUpdateWorkerTask.java
--
svn:keywords = Author Date Id Revision

Propchange: tomcat/connectors/trunk/jk/xdocs/news/20070301.xml
--
svn:eol-style = native

Propchange: tomcat/connectors/trunk/jk/xdocs/news/20070301.xml
--
svn:keywords = Author Date Id Revision



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



svn commit: r526826 - /tomcat/connectors/trunk/jk/native/netscape/Makefile.linux

2007-04-09 Thread rjung
Author: rjung
Date: Mon Apr  9 09:56:54 2007
New Revision: 526826

URL: http://svn.apache.org/viewvc?view=rev&rev=526826
Log:
Add missing svn properties.

Modified:
tomcat/connectors/trunk/jk/native/netscape/Makefile.linux   (props changed)

Propchange: tomcat/connectors/trunk/jk/native/netscape/Makefile.linux
--
svn:eol-style = native

Propchange: tomcat/connectors/trunk/jk/native/netscape/Makefile.linux
--
svn:keywords = Author Date Id Revision



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



svn commit: r526888 - /tomcat/connectors/trunk/jk/native/common/jk_lb_worker.c

2007-04-09 Thread rjung
Author: rjung
Date: Mon Apr  9 12:45:43 2007
New Revision: 526888

URL: http://svn.apache.org/viewvc?view=rev&rev=526888
Log:
No functional change - make comments less misleading.

Modified:
tomcat/connectors/trunk/jk/native/common/jk_lb_worker.c

Modified: tomcat/connectors/trunk/jk/native/common/jk_lb_worker.c
URL: 
http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/common/jk_lb_worker.c?view=diff&rev=526888&r1=526887&r2=526888
==
--- tomcat/connectors/trunk/jk/native/common/jk_lb_worker.c (original)
+++ tomcat/connectors/trunk/jk/native/common/jk_lb_worker.c Mon Apr  9 12:45:43 
2007
@@ -832,34 +832,34 @@
 const char **log_values = jk_pool_alloc(s->pool, sizeof(char *) * 
JK_LB_NOTES_COUNT);
 char *buf = jk_pool_alloc(s->pool, sizeof(char *) * JK_LB_NOTES_COUNT * 
JK_LB_UINT64_STR_SZ);
 if (log_values && buf) {
-/* JK_NOTE_LB_FIRST_NAME */
+/* JK_NOTE_LB_FIRST/LAST_NAME */
 log_values[0] = w->s->name;
 snprintf(buf, JK_LB_UINT64_STR_SZ, "%" JK_UINT64_T_FMT, 
w->s->lb_value);
-/* JK_NOTE_LB_FIRST_VALUE */
+/* JK_NOTE_LB_FIRST/LAST_VALUE */
 log_values[1] = buf;
 buf += JK_LB_UINT64_STR_SZ;
 snprintf(buf, JK_LB_UINT64_STR_SZ, "%" JK_UINT64_T_FMT, w->s->elected);
-/* JK_NOTE_LB_FIRST_ACCESSED */
+/* JK_NOTE_LB_FIRST/LAST_ACCESSED */
 log_values[2] = buf;
 buf += JK_LB_UINT64_STR_SZ;
 snprintf(buf, JK_LB_UINT64_STR_SZ, "%" JK_UINT64_T_FMT, w->s->readed);
-/* JK_NOTE_LB_FIRST_READ */
+/* JK_NOTE_LB_FIRST/LAST_READ */
 log_values[3] = buf;
 buf += JK_LB_UINT64_STR_SZ;
 snprintf(buf, JK_LB_UINT64_STR_SZ, "%" JK_UINT64_T_FMT, 
w->s->transferred);
-/* JK_NOTE_LB_FIRST_TRANSFERRED */
+/* JK_NOTE_LB_FIRST/LAST_TRANSFERRED */
 log_values[4] = buf;
 buf += JK_LB_UINT64_STR_SZ;
 snprintf(buf, JK_LB_UINT64_STR_SZ, "%" JK_UINT32_T_FMT, w->s->errors);
-/* JK_NOTE_LB_FIRST_ERRORS */
+/* JK_NOTE_LB_FIRST/LAST_ERRORS */
 log_values[5] = buf;
 buf += JK_LB_UINT64_STR_SZ;
 snprintf(buf, JK_LB_UINT64_STR_SZ, "%d", w->s->busy);
-/* JK_NOTE_LB_FIRST_BUSY */
+/* JK_NOTE_LB_FIRST/LAST_BUSY */
 log_values[6] = buf;
-/* JK_NOTE_LB_FIRST_ACTIVATION */
+/* JK_NOTE_LB_FIRST/LAST_ACTIVATION */
 log_values[7] = jk_lb_get_activation(w, l);
-/* JK_NOTE_LB_FIRST_STATE */
+/* JK_NOTE_LB_FIRST/LAST_STATE */
 log_values[8] = jk_lb_get_state(w, l);
 s->add_log_items(s, log_names, log_values, JK_LB_NOTES_COUNT);
 }



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



svn commit: r526896 - /tomcat/connectors/trunk/jk/xdocs/miscellaneous/changelog.xml

2007-04-09 Thread rjung
Author: rjung
Date: Mon Apr  9 12:51:53 2007
New Revision: 526896

URL: http://svn.apache.org/viewvc?view=rev&rev=526896
Log:
Update changelog.

Modified:
tomcat/connectors/trunk/jk/xdocs/miscellaneous/changelog.xml

Modified: tomcat/connectors/trunk/jk/xdocs/miscellaneous/changelog.xml
URL: 
http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/xdocs/miscellaneous/changelog.xml?view=diff&rev=526896&r1=526895&r2=526896
==
--- tomcat/connectors/trunk/jk/xdocs/miscellaneous/changelog.xml (original)
+++ tomcat/connectors/trunk/jk/xdocs/miscellaneous/changelog.xml Mon Apr  9 
12:51:53 2007
@@ -26,6 +26,20 @@
   
   
 
+  
+  Docs: Fix a couple of typos, change format of a few tables,
+  fix links to news pages. (rjung)
+  
+  
+  Fix correct URL for TC 6 examples in new IIS rewrite.properties
+  configuration example file. (rjung)
+  
+  
+  Add svn properties to several files. (rjung)
+  
+  
+  Add TC 6 examples to uriworkermap.properties in config examples. (rjung)
+  
   
   Allow multiple status codes for fail_on_status directive.
   The status codes can be delimited by space or comma characters. (mturk)
@@ -78,7 +92,7 @@
   
   
   Replace APR precompiler directive by httpd mpm_query to detect MPM 
threading.
-  Add an info log message about auto-detected pool size. (rjung)
+  Add a debug log message about auto-detected pool size. (rjung)
   
   
 Make MMN check easier to understand and a little more precise



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



Re: Tagging 1.2.22

2007-04-09 Thread Rainer Jung
I only did some changes to the docs and very small and non risky changes
to code.

I tested with apache 2.0.59 prefork and worker on Linux SLES 9 SP 2 64
Bit AMD. Tests looked OK.

Some comments:

1) Things to add to the changelog
=

I found the following changes, which are missing in the change log. Not
all of them need to go there, but maybe Mladen, Jean-Frederic, Guenter
and Henri can check, which ones they did and maybe add a line to the
change log:

- Fix html syntax in news docs pages
- jkrelease.sh: new users root:bin, automate file list for NEWS,
compress with gtar, don't set ANT_HOME and JAVA_HOME
- New build files on Win (nmake)
- Add tc 6 examples to config example and iis config example uriworkermap.
- apache: rename file_logger_t to jk_file_logger_t
- logging: refactor line endings logging to make it correct for all
platforms and webservers
- apache 1.3: rename child exit handler and add shm close
- apache 1.3: new child init handler with shm attach
- apache: add info level message during mod_jk startup with version info
- apache 2.2: win build env var APACHE22 und APACHE22_HOME and correct
apr/apr-1 distinction
- Fix whitespace in Netware make file
- Updates to iSeries Make file
- apache 2.0: use plog instead of pconf when initializing loggers
- Use fputs instead of fwrite in logging
- Translate charsets when dumping buffers and using EBCDIC
- Add worker names to some log messages in jk_ajp_common.c

2) Missing subversion properties corrected
==

I added subversion properties

svn:eol-style native
svn:keywords 'Author Date Id Revision'

to the following win files, which had no props at all:

jk/native/iis/pcre/pcre.amd64
jk/native/iis/pcre/pcre.ia64
jk/native/iis/pcre/dftables.x86
jk/native/iis/pcre/pcre.x86
jk/native/iis/Makefile.ia64
jk/native/iis/Makefile.x86
jk/native/iis/Makefile.amd64

Also I changed their line endings to unix before setting the eol-style,
because I set it to native, so checking out on win should give them in
the correct win format.

Before my changes, some of those files had few lines with non-win endings:

jk/native/iis/pcre/pcre.amd64
.\dftables.exe chartables.c
type .\config.hw > .\config.h
type .\pcre.hw > .\pcre.h
jk/native/iis/pcre/pcre.ia64
.\dftables.exe chartables.c
type .\config.hw > .\config.h
type .\pcre.hw > .\pcre.h
jk/native/iis/pcre/dftables.x86
type .\config.hw > .\config.h
type .\pcre.hw > .\pcre.h
jk/native/iis/pcre/pcre.x86
.\dftables.exe chartables.c
type .\config.hw > .\config.h
type .\pcre.hw > .\pcre.h

No all line endings should be platform native. I hope that's correct.

The other files with no properties were all binaries (*.exe, *.gif,
*.ico, *.rtf). More precisely, I fixed a couple of non-IIS files, and
now the remaining ones are only binary formats.

3) fail_on_status
=

Since fail_on_status is now multi-value, wouldn't it make sense for the
next (1.2.23) release, to also make it multi line. Apart from
fail_on_status, all worker attributes that allow multiple values can be
split over multiple lines, which for most of them allows a more
intuitive layout of the config file. I must confess, that there is no
very good reason for multi-line fail_on_status, apart from the fact,
that now it is the only attribute, that is multi-value but single line only.

The change should be as simple as moving STATUS_FAIL_OF_WORKER from
unique_properties to list_properties in common/jk_util.c

4) load_properties/load_property


The new functions for loading properties to a map without any checks
could be folded into read_properties/read_property in 1.2.23 by adding a
new param, which decides on doing the checks. read_properties is
identical to load_properties apart from one line, and read_property is
an extension of load_property.

5) Reference links on NEWS file
===

The NEWS file contains links of the form in the reference section

file:///home/mturk/wrkplace/tomcat-connectors-1.1.22-dev-524775-src/

which is not a no go for the release. Using links (I use Links 2.1pre22)
instead of w3m or elinks (our release script scans for any of those)
does not produce the list of references at the bottom of the NEWS page,
so no local file system links will be in the document.

6) I didn't carefully check all the changes to jk_shm.c :(
==

7) Missing docs
===

Mladen, maybe you can add a few lines to the two IIS docs pages about
the new cool URL rewriting? Or do you want to release the new feature in
stealth mode and document in 1.2.23?

The same for the new APACHE22 and APACHE22_HOME vars when building on Win.

8) BZ http://issues.apache.org/bugzilla/show_bug.cgi?id=42038
=

This is special to IIS. I think it's no

svn commit: r526952 - in /tomcat: container/tc5.5.x/webapps/docs/changelog.xml jasper/tc5.5.x/src/share/org/apache/jasper/servlet/JspServletWrapper.java

2007-04-09 Thread markt
Author: markt
Date: Mon Apr  9 16:20:57 2007
New Revision: 526952

URL: http://svn.apache.org/viewvc?view=rev&rev=526952
Log:
Fix bug 42072. Don't call destroy() if init() fails. Patch provided by Kawasima 
Kazuh.

Modified:
tomcat/container/tc5.5.x/webapps/docs/changelog.xml

tomcat/jasper/tc5.5.x/src/share/org/apache/jasper/servlet/JspServletWrapper.java

Modified: tomcat/container/tc5.5.x/webapps/docs/changelog.xml
URL: 
http://svn.apache.org/viewvc/tomcat/container/tc5.5.x/webapps/docs/changelog.xml?view=diff&rev=526952&r1=526951&r2=526952
==
--- tomcat/container/tc5.5.x/webapps/docs/changelog.xml (original)
+++ tomcat/container/tc5.5.x/webapps/docs/changelog.xml Mon Apr  9 16:20:57 2007
@@ -108,6 +108,10 @@
 41227 Add a bit of DEBUG-level logging to JspC so users know
   which file is being compiled. (yoavs)
   
+  
+42072 Don't call destroy() if the associated init() fails.
+Patch provided by Kawasima Kazuh. (markt)
+  
 
   
 

Modified: 
tomcat/jasper/tc5.5.x/src/share/org/apache/jasper/servlet/JspServletWrapper.java
URL: 
http://svn.apache.org/viewvc/tomcat/jasper/tc5.5.x/src/share/org/apache/jasper/servlet/JspServletWrapper.java?view=diff&rev=526952&r1=526951&r2=526952
==
--- 
tomcat/jasper/tc5.5.x/src/share/org/apache/jasper/servlet/JspServletWrapper.java
 (original)
+++ 
tomcat/jasper/tc5.5.x/src/share/org/apache/jasper/servlet/JspServletWrapper.java
 Mon Apr  9 16:20:57 2007
@@ -137,21 +137,23 @@
 // This is to maintain the original protocol.
 destroy();
 
+Servlet servlet = null;
 try {
 servletClass = ctxt.load();
-theServlet = (Servlet) servletClass.newInstance();
+servlet = (Servlet) servletClass.newInstance();
 } catch( IllegalAccessException ex1 ) {
 throw new JasperException( ex1 );
 } catch( InstantiationException ex ) {
 throw new JasperException( ex );
 }
 
-theServlet.init(config);
+servlet.init(config);
 
 if (!firstTime) {
 ctxt.getRuntimeContext().incrementJspReloadCount();
 }
 
+theServlet = servlet;
 reload = false;
 }
 }



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



DO NOT REPLY [Bug 42072] - The call of the jspDestroy method violates it about the Java Servlet Specification 2.4, SRV.2.3.2.1.

2007-04-09 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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=42072


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Additional Comments From [EMAIL PROTECTED]  2007-04-09 16:21 ---
Patch applied and will be included in 5.5.24 onwards.

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



svn commit: r526953 - in /tomcat/tc6.0.x/trunk: java/org/apache/jasper/servlet/JspServletWrapper.java webapps/docs/changelog.xml

2007-04-09 Thread markt
Author: markt
Date: Mon Apr  9 16:31:09 2007
New Revision: 526953

URL: http://svn.apache.org/viewvc?view=rev&rev=526953
Log:
Fix bug 42072. Don't call destroy() if init() fails. Patch provided by Kawasima 
Kazuh.
Ported from TC5.5

Modified:
tomcat/tc6.0.x/trunk/java/org/apache/jasper/servlet/JspServletWrapper.java
tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml

Modified: 
tomcat/tc6.0.x/trunk/java/org/apache/jasper/servlet/JspServletWrapper.java
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/jasper/servlet/JspServletWrapper.java?view=diff&rev=526953&r1=526952&r2=526953
==
--- tomcat/tc6.0.x/trunk/java/org/apache/jasper/servlet/JspServletWrapper.java 
(original)
+++ tomcat/tc6.0.x/trunk/java/org/apache/jasper/servlet/JspServletWrapper.java 
Mon Apr  9 16:31:09 2007
@@ -138,13 +138,15 @@
 // This is to maintain the original protocol.
 destroy();
 
+Servlet servlet = null;
+
 try {
 servletClass = ctxt.load();
-theServlet = (Servlet) servletClass.newInstance();
+servlet = (Servlet) servletClass.newInstance();
 AnnotationProcessor annotationProcessor = 
(AnnotationProcessor) 
config.getServletContext().getAttribute(AnnotationProcessor.class.getName());
 if (annotationProcessor != null) {
-   annotationProcessor.processAnnotations(theServlet);
-   annotationProcessor.postConstruct(theServlet);
+   annotationProcessor.processAnnotations(servlet);
+   annotationProcessor.postConstruct(servlet);
 }
 } catch (IllegalAccessException e) {
 throw new JasperException(e);
@@ -154,12 +156,13 @@
 throw new JasperException(e);
 }
 
-theServlet.init(config);
+servlet.init(config);
 
 if (!firstTime) {
 ctxt.getRuntimeContext().incrementJspReloadCount();
 }
 
+theServlet = servlet;
 reload = false;
 }
 }

Modified: tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml?view=diff&rev=526953&r1=526952&r2=526953
==
--- tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml Mon Apr  9 16:31:09 2007
@@ -190,6 +190,10 @@
   
 Skip BOM when reading a JSP file. (remm)
   
+  
+42072 Don't call destroy() if the associated init() fails.
+Patch provided by Kawasima Kazuh. (markt)
+  
 
   
 



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



DO NOT REPLY [Bug 41939] - NPE in Logging due to classloading

2007-04-09 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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=41939





--- Additional Comments From [EMAIL PROTECTED]  2007-04-09 16:36 ---
The issue is that something is keeping a reference to a logger that it
shouldn't. This is going to cause a memory leak and what you are seeing are the
side-effects of Tomcat's attempts to prevent memory leaks.

If you can provide the simplest possible test war the exhibits this issue I'll
happily debug my way though the code and figure out what is going wrong. Without
such a test case, there is little that can be done to investigate 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 42038] - JK uriworkermap ROOT mapping causes non-virtual exclusions to be ignored

2007-04-09 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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=42038


[EMAIL PROTECTED] changed:

   What|Removed |Added

  Component|Native:JK   |Catalina
Product|Tomcat 5|Tomcat 6
Summary|JK uriworkermap ROOT mapping|JK uriworkermap ROOT mapping
   |causes exclusions to be |causes non-virtual
   |ignored |exclusions to be ignored
   Target Milestone|--- |default
Version|5.0.28  |6.0.0




--- Additional Comments From [EMAIL PROTECTED]  2007-04-09 17:12 ---
On IIS, if you have a root context rule, you must specify the virtual host for
any exclusion rules for them to correctly identify a no match. This occurs in jk
1.2.20 and 1.2.21. This appears to be because jk_isapi_plugin.c (line 870-875 in
1.2.21) checks for successful map_uri_to_worker (with is always true when there
is a root context rule) with the Virtual Host Redirection before attempting a
Default redirection map_uri_to_worker. 

For example a uriworkermap.properties file:

/*=v7CDALiveWorker
#Exclude static files (take turns commenting out the following for testing)
!/lsa-cmsdev1.lsa.adsroot.itcs.umich.edu/UMICH/*=v7CDALiveWorker
!/UMICH/*=v7CDALiveWorker

If you omit the virtual host line, then it fails to find the non-virtual
exclusion rule (This means it does not successfully find a  wildchar no match).

Without the virtual host line, it compares:
jk_uri_worker_map.c (161): wildchar_match(str, exp)  for
/lsa-cmsdev1.lsa.adsroot.itcs.umich.edu/UMICH/MichInWash/Home/For Students/Fall
Application Information/MIWF07app.pdf compared to /UMICH/*

With only the virtual host line, it compares:
jk_uri_worker_map.c (161):wildchar_match(str, exp)  for
/lsa-cmsdev1.lsa.adsroot.itcs.umich.edu/UMICH/MichInWash/Home/For Students/Fall
Application Information/MIWF07app.pdf compared to
/lsa-cmsdev1.lsa.adsroot.itcs.umich.edu/UMICH/*




-- 
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 42038] - JK uriworkermap ROOT mapping causes non-virtual exclusions to be ignored

2007-04-09 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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=42038


[EMAIL PROTECTED] changed:

   What|Removed |Added

  Component|Catalina|Native:JK
Product|Tomcat 6|Tomcat 5
   Target Milestone|default |---
Version|6.0.0   |5.0.0




-- 
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 42038] - JK uriworkermap ROOT mapping causes non-virtual exclusions to be ignored

2007-04-09 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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=42038


[EMAIL PROTECTED] changed:

   What|Removed |Added

Version|5.0.0   |5.5.23




--- Additional Comments From [EMAIL PROTECTED]  2007-04-09 17:15 ---
Sorry. Correcting version information for latest connector.

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



A Study on Free/Open Source Software Defect Management

2007-04-09 Thread Anu Gupta DCSA
Dear Apache Tomcat Contributors,

I am really thankful to Free/Open Source Software development community for 
their overwhelming response to the survey on  practices and problems of 
defect management in Free/Open Source Software projects. 

If you have not participated ealier, you may spend a few minutes now too. 

The Online Questionnaire is available at:


http://anu.puchd.ac.in/phpESP/public/survey.php?name=FOSS_Defect_Survey 
 

I hope you have found all the questions interesting and thought-provoking. 
Your answers will be kept anonymous.The data thus collected will only be 
used for research purpose. The insights gained from the study can further 
help us to extract publicly accessible defect data and determine impact of 
defect management practices on software quality. The results of study will 
soon be communicated to you.

Thank You 

With regards, 

Anu Gupta 
Senior Lecturer 
Department of Computer Science and Applications, 
Panjab University, Chandigarh. 
INDIA


In case of any problem in accessing/using the above mentioned link please 
contact:
E-mail: [EMAIL PROTECTED] 
[EMAIL PROTECTED] 


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