cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net AprEndpoint.java
mturk 2005/05/22 23:04:02 Modified:util/java/org/apache/tomcat/util/net AprEndpoint.java Log: Fix checking for return value from Poll.poll. Now when the native is fixed the correct value is returned in case of timeup. Also reset the addCount if the poller is recycled. Revision ChangesPath 1.30 +24 -12 jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net/AprEndpoint.java Index: AprEndpoint.java === RCS file: /home/cvs/jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net/AprEndpoint.java,v retrieving revision 1.29 retrieving revision 1.30 diff -u -r1.29 -r1.30 --- AprEndpoint.java 18 May 2005 16:01:46 - 1.29 +++ AprEndpoint.java 23 May 2005 06:04:02 - 1.30 @@ -780,6 +780,7 @@ keepAliveCount = 0; addS = new long[pollerSize]; addP = new long[pollerSize]; +addCount = 0; } /** @@ -872,12 +873,17 @@ getWorkerThread().assign(desc[n*4+1], desc[n*4+2]); } maintainTime += pollTime; -} else if (rv -1) { -log.error(sm.getString(endpoint.poll.fail)); -// Handle poll critical failure -synchronized (this) { -destroy(); -init(); +} else if (rv 0) { +/* Any non timeup error is critical */ +if (Status.APR_STATUS_IS_TIMEUP(-rv)) +rv = 0; +else { +log.error(sm.getString(endpoint.poll.fail)); +// Handle poll critical failure +synchronized (this) { +destroy(); +init(); +} } } if (rv == 0 || maintainTime 100L) { @@ -1252,14 +1258,20 @@ getWorkerThread().assign(desc[n*4+1], state.pool); } } -} else if (rv -1) { -log.error(sm.getString(endpoint.poll.fail)); -// Handle poll critical failure -synchronized (this) { -destroy(); -init(); +} else if (rv 0) { +/* Any non timeup error is critical */ +if (Status.APR_STATUS_IS_TIMEUP(-rv)) +rv = 0; +else { +log.error(sm.getString(endpoint.poll.fail)); +// Handle poll critical failure +synchronized (this) { +destroy(); +init(); +} } } +/* TODO: See if we need to call the maintain for sendfile poller */ } catch (Throwable t) { log.error(sm.getString(endpoint.poll.error), t); } - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Irene Robatscher/Baldessarini/HUGO_BOSS ist außer Haus.
Ich werde ab 14.05.2005 nicht im Büro sein. Ich kehre zurück am 30.05.2005. I will be out of office from 14.05.05 to 30.05.05. and I will not be able to read your e-mail. For urgent matters pls. get into contact with my colleague Mrs. Anna Franzese: +49-89-306684-16 This e-mail (and/or attachments) is confidential and may be privileged. Use or disclosure of it by anyone other than a designated addressee is unauthorized. If you are not an intended recipient, please delete this e-mail from the computer on which you received it. We thank you for notifying us immediately.
cvs commit: jakarta-tomcat-connectors/jni/native/src ssl.c
mturk 2005/05/23 00:20:27 Modified:jni/native/src ssl.c Log: Use thread locking to ensure thread-safetyness in OpenSSL. Revision ChangesPath 1.9 +71 -0 jakarta-tomcat-connectors/jni/native/src/ssl.c Index: ssl.c === RCS file: /home/cvs/jakarta-tomcat-connectors/jni/native/src/ssl.c,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- ssl.c 20 May 2005 09:59:15 - 1.8 +++ ssl.c 23 May 2005 07:20:27 - 1.9 @@ -16,6 +16,8 @@ #include apr.h #include apr_pools.h #include apr_file_io.h +#include apr_portable.h +#include apr_thread_mutex.h #include tcn.h @@ -44,6 +46,7 @@ static apr_status_t ssl_init_cleanup(void *data) { UNREFERENCED(data); + if (!ssl_initialized) return APR_SUCCESS; ssl_initialized = 0; @@ -95,6 +98,72 @@ } #endif +/* + * To ensure thread-safetyness in OpenSSL + */ + +static apr_thread_mutex_t **ssl_lock_cs; +static int ssl_lock_num_locks; + +static void ssl_thread_lock(int mode, int type, +const char *file, int line) +{ +if (type ssl_lock_num_locks) { +if (mode CRYPTO_LOCK) { +apr_thread_mutex_lock(ssl_lock_cs[type]); +} +else { +apr_thread_mutex_unlock(ssl_lock_cs[type]); +} +} +} + +static unsigned long ssl_thread_id(void) +{ +/* OpenSSL needs this to return an unsigned long. On OS/390, the pthread + * id is a structure twice that big. Use the TCB pointer instead as a + * unique unsigned long. + */ +#ifdef __MVS__ +struct PSA { +char unmapped[540]; +unsigned long PSATOLD; +} *psaptr = 0; + +return psaptr-PSATOLD; +#else +return (unsigned long) apr_os_thread_current(); +#endif +} + +static apr_status_t ssl_thread_cleanup(void *data) +{ +CRYPTO_set_locking_callback(NULL); +CRYPTO_set_id_callback(NULL); +/* Let the registered mutex cleanups do their own thing + */ +return APR_SUCCESS; +} + +static void ssl_thread_setup(apr_pool_t *p) +{ +int i; + +ssl_lock_num_locks = CRYPTO_num_locks(); +ssl_lock_cs = apr_palloc(p, ssl_lock_num_locks * sizeof(*ssl_lock_cs)); + +for (i = 0; i ssl_lock_num_locks; i++) { +apr_thread_mutex_create((ssl_lock_cs[i]), +APR_THREAD_MUTEX_DEFAULT, p); +} + +CRYPTO_set_id_callback(ssl_thread_id); +CRYPTO_set_locking_callback(ssl_thread_lock); + +apr_pool_cleanup_register(p, NULL, ssl_thread_cleanup, + apr_pool_cleanup_null); +} + TCN_IMPLEMENT_CALL(jint, SSL, initialize)(TCN_STDARGS, jstring engine) { TCN_ALLOC_CSTRING(engine); @@ -158,6 +227,8 @@ apr_pool_cleanup_register(tcn_global_pool, NULL, ssl_init_cleanup, apr_pool_cleanup_null); +/* Initialize thread support */ +ssl_thread_setup(tcn_global_pool); TCN_FREE_CSTRING(engine); return (jint)APR_SUCCESS; } - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-tomcat-connectors/jni/java/org/apache/tomcat/jni PoolCallback.java ProcErrorCallback.java
mturk 2005/05/23 01:17:32 Added: jni/java/org/apache/tomcat/jni PoolCallback.java ProcErrorCallback.java Log: Added Pool and ProcError callback interfaces. Revision ChangesPath 1.1 jakarta-tomcat-connectors/jni/java/org/apache/tomcat/jni/PoolCallback.java Index: PoolCallback.java === /* * Copyright 1999-2004 The Apache Software Foundation * * Licensed under the Apache License, Version 2.0 (the License); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an AS IS BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.tomcat.jni; /** PoolCallback Interface * * @author Mladen Turk * @version $Revision: 1.1 $, $Date: 2005/05/23 08:17:32 $ */ public interface PoolCallback { /** * Called when the pool is destroyed or cleared * @return Function must return APR_SUCCESS */ public int callback(); } 1.1 jakarta-tomcat-connectors/jni/java/org/apache/tomcat/jni/ProcErrorCallback.java Index: ProcErrorCallback.java === /* * Copyright 1999-2004 The Apache Software Foundation * * Licensed under the Apache License, Version 2.0 (the License); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an AS IS BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.tomcat.jni; /** ProcErrorCallback Interface * * @author Mladen Turk * @version $Revision: 1.1 $, $Date: 2005/05/23 08:17:32 $ */ public interface ProcErrorCallback { /** * Called in the child process if APR encounters an error * in the child prior to running the specified program. * @param pool Pool associated with the apr_proc_t. If your child * error function needs user data, associate it with this * pool. * @param err APR error code describing the error * @param description Text description of type of processing which failed */ public void callback(long pool, int err, String description); } - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 34986] - included JSP-page is not rendered in generated HTML-page
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=34986. 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=34986 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||DUPLICATE --- Additional Comments From [EMAIL PROTECTED] 2005-05-23 12:34 --- The behaviour was caused by a local variable in a tag handler which was reset in the release-method of the tag, assuming that release is called at the end of processing the JSP-page. *** This bug has been marked as a duplicate of 16001 *** -- 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]
filter to support EBCDIC encoding
Hi, I have written a filter to solve the encoding problems in EBCDIC machines. Where should the filter code goes? - jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11/filters or somewhere else? Cheers Jean-Frederic - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-tomcat-connectors/jni/native/build tcnative.m4
mturk 2005/05/23 04:43:36 Modified:jni/native Makefile.in configure.in jni/native/build tcnative.m4 Log: Add openssl detection for unix build. Revision ChangesPath 1.3 +2 -3 jakarta-tomcat-connectors/jni/native/Makefile.in Index: Makefile.in === RCS file: /home/cvs/jakarta-tomcat-connectors/jni/native/Makefile.in,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- Makefile.in 17 Jan 2005 07:17:06 - 1.2 +++ Makefile.in 23 May 2005 11:43:36 - 1.3 @@ -1,7 +1,6 @@ # # Top-level Makefile for TCNATIVE # -CPP = @CPP@ # gets substituted into some targets [EMAIL PROTECTED]@ @@ -10,7 +9,7 @@ srcdir = @srcdir@ VPATH = @srcdir@ -INCLUDES = @APR_INCLUDES@ @TCNATIVE_INCLUDES@ @TCNATIVE_PRIV_INCLUDES@ +INCLUDES = @SSL_CFLAGS@ @APR_INCLUDES@ @TCNATIVE_INCLUDES@ @TCNATIVE_PRIV_INCLUDES@ TCNATIVE_LDFLAGS = @TCNATIVE_LDFLAGS@ TCNATIVE_LIBS = @TCNATIVE_LIBS@ @@ -56,7 +55,7 @@ $(LIBTOOL) --mode=install $(INSTALL) -m 755 $(TARGET_LIB) $(DESTDIR)$(libdir) $(TARGET_LIB): $(OBJECTS) - $(LINK) @lib_target@ @TCNATIVE_LIBS@ + $(LINK) @lib_target@ @TCNATIVE_LIBS@ @SSL_LIBS@ check: $(TARGET_LIB) (cd test $(MAKE) check) 1.2 +5 -2 jakarta-tomcat-connectors/jni/native/configure.in Index: configure.in === RCS file: /home/cvs/jakarta-tomcat-connectors/jni/native/configure.in,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- configure.in 14 Jan 2005 13:49:25 - 1.1 +++ configure.in 23 May 2005 11:43:36 - 1.2 @@ -30,9 +30,7 @@ fi AC_SUBST(TCN_CONFIG_LOCATION) - AC_CANONICAL_SYSTEM - AC_PROG_INSTALL dnl @@ -100,6 +98,11 @@ APR_ADDTO(TCNATIVE_PRIV_INCLUDES,[-I$JAVA_HOME/include]) APR_ADDTO(TCNATIVE_PRIV_INCLUDES,[-I$JAVA_HOME/include/$JAVA_OS]) +dnl +dnl Detect openssl toolkit installation +dnl +TCN_CHECK_SSL_TOOLKIT + so_ext=$APR_SO_EXT lib_target=$APR_LIB_TARGET AC_SUBST(so_ext) 1.2 +132 -0jakarta-tomcat-connectors/jni/native/build/tcnative.m4 Index: tcnative.m4 === RCS file: /home/cvs/jakarta-tomcat-connectors/jni/native/build/tcnative.m4,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- tcnative.m4 14 Jan 2005 13:47:06 - 1.1 +++ tcnative.m4 23 May 2005 11:43:36 - 1.2 @@ -194,3 +194,135 @@ fi ]) ]) + +dnl TCN_HELP_STRING(LHS, RHS) +dnl Autoconf 2.50 can not handle substr correctly. It does have +dnl AC_HELP_STRING, so let's try to call it if we can. +dnl Note: this define must be on one line so that it can be properly returned +dnl as the help string. +AC_DEFUN(TCN_HELP_STRING,[ifelse(regexp(AC_ACVERSION, 2\.1), -1, AC_HELP_STRING($1,$2),[ ]$1 substr([ ],len($1))$2)])dnl + +dnl +dnl TCN_CHECK_SSL_TOOLKIT +dnl +dnl Configure for the detected openssl toolkit installation, giving +dnl preference to --with-ssl=path if it was specified. +dnl +AC_DEFUN(TCN_CHECK_SSL_TOOLKIT,[ + dnl initialise the variables we use + tcn_ssltk_base= + tcn_ssltk_inc= + tcn_ssltk_lib= + tcn_ssltk_type= + AC_ARG_WITH(ssl, APACHE_HELP_STRING(--with-ssl=DIR,OpenSSL SSL/TLS toolkit), [ +dnl If --with-ssl specifies a directory, we use that directory or fail +if test x$withval != xyes -a x$withval != x; then + dnl This ensures $withval is actually a directory and that it is absolute + tcn_ssltk_base=`cd $withval ; pwd` +fi + ]) + if test x$tcn_ssltk_base = x; then +AC_MSG_RESULT(none) + else +AC_MSG_RESULT($tcn_ssltk_base) + fi + + dnl Run header and version checks + saved_CPPFLAGS=$CPPFLAGS + if test x$tcn_ssltk_base != x; then +tcn_ssltk_inc=-I$tcn_ssltk_base/include +CPPFLAGS=$CPPFLAGS $tcn_ssltk_inc + fi + + if test x$tcn_ssltk_type = x; then +AC_MSG_CHECKING(for OpenSSL version) +dnl First check for manditory headers +AC_CHECK_HEADERS([openssl/opensslv.h openssl/ssl.h], [tcn_ssltk_type=openssl], []) +if test $tcn_ssltk_type = openssl; then + dnl so it's OpenSSL - test for a good version + AC_TRY_COMPILE([#include openssl/opensslv.h],[ +#if !defined(OPENSSL_VERSION_NUMBER) +#error Missing openssl version +#endif +#if (OPENSSL_VERSION_NUMBER 0x009060af) \ + || ((OPENSSL_VERSION_NUMBER 0x00907000) (OPENSSL_VERSION_NUMBER 0x0090702f)) +#error Insecure openssl version OPENSSL_VERSION_TEXT +#endif], + [AC_MSG_RESULT(OK)], + [dnl Replace this with
cvs commit: jakarta-tomcat-connectors/jni/native/build tcnative.m4
mturk 2005/05/23 04:49:25 Modified:jni/native/build tcnative.m4 Log: Break with error if openssl toolkit was not found. Revision ChangesPath 1.3 +2 -2 jakarta-tomcat-connectors/jni/native/build/tcnative.m4 Index: tcnative.m4 === RCS file: /home/cvs/jakarta-tomcat-connectors/jni/native/build/tcnative.m4,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- tcnative.m4 23 May 2005 11:43:36 - 1.2 +++ tcnative.m4 23 May 2005 11:49:25 - 1.3 @@ -214,7 +214,7 @@ tcn_ssltk_inc= tcn_ssltk_lib= tcn_ssltk_type= - AC_ARG_WITH(ssl, APACHE_HELP_STRING(--with-ssl=DIR,OpenSSL SSL/TLS toolkit), [ + AC_ARG_WITH(ssl, TCN_HELP_STRING(--with-ssl=DIR,OpenSSL SSL/TLS toolkit), [ dnl If --with-ssl specifies a directory, we use that directory or fail if test x$withval != xyes -a x$withval != x; then dnl This ensures $withval is actually a directory and that it is absolute @@ -268,7 +268,7 @@ fi fi if test $tcn_ssltk_type != openssl; then - AC_MSG_RESULT([no OpenSSL headers found]) +AC_MSG_ERROR([... No OpenSSL headers found]) fi dnl restore CPPFLAGS=$saved_CPPFLAGS - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-tomcat-connectors/jni/native/include ssl_private.h
mturk 2005/05/23 04:50:30 Modified:jni/native/include ssl_private.h Log: Use OpenSSL engine by default. Revision ChangesPath 1.2 +1 -1 jakarta-tomcat-connectors/jni/native/include/ssl_private.h Index: ssl_private.h === RCS file: /home/cvs/jakarta-tomcat-connectors/jni/native/include/ssl_private.h,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- ssl_private.h 20 May 2005 07:01:04 - 1.1 +++ ssl_private.h 23 May 2005 11:50:30 - 1.2 @@ -28,7 +28,7 @@ /* Avoid tripping over an engine build installed globally and detected * when the user points at an explicit non-engine flavor of OpenSSL */ -#if defined(HAVE_OPENSSL_ENGINE_H) defined(HAVE_ENGINE_INIT) +#ifndef OPENSSL_NO_ENGINE #include openssl/engine.h #endif - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-tomcat-connectors/jni/native/build tcnative.m4
mturk 2005/05/23 05:23:10 Modified:jni/native/build tcnative.m4 Log: First scheck for /lib64, then for /lib if determining the openssl library location. Revision ChangesPath 1.4 +6 -4 jakarta-tomcat-connectors/jni/native/build/tcnative.m4 Index: tcnative.m4 === RCS file: /home/cvs/jakarta-tomcat-connectors/jni/native/build/tcnative.m4,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- tcnative.m4 23 May 2005 11:49:25 - 1.3 +++ tcnative.m4 23 May 2005 12:23:10 - 1.4 @@ -280,10 +280,12 @@ saved_LDFLAGS=$LDFLAGS saved_LIBS=$LIBS if test x$tcn_ssltk_base != x; then -if test -d $tcn_ssltk_base/lib; then - ap_ssltk_lib=$tcn_ssltk_base/lib +if test -d $tcn_ssltk_base/lib64; then + tcn_ssltk_lib=$tcn_ssltk_base/lib64 +elif test -d $tcn_ssltk_base/lib; then + tcn_ssltk_lib=$tcn_ssltk_base/lib else - ap_ssltk_lib=$tcn_ssltk_base + tcn_ssltk_lib=$tcn_ssltk_base fi LDFLAGS=$LDFLAGS -L$tcn_ssltk_lib fi @@ -314,7 +316,7 @@ fi dnl (c) hook up linker paths if test x$tcn_ssltk_lib != x; then -APR_ADDTO(LDFLAGS, [-L$tcn_ssltk_lib]) +APR_ADDTO(TCNATIVE_LDFLAGS, [-L$tcn_ssltk_lib]) fi dnl Adjust configuration based on what we found above. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-tomcat-connectors/jni/native Makefile.in
mturk 2005/05/23 05:23:53 Modified:jni/native Makefile.in Log: Add openssl library path to the libtool link. Revision ChangesPath 1.4 +1 -1 jakarta-tomcat-connectors/jni/native/Makefile.in Index: Makefile.in === RCS file: /home/cvs/jakarta-tomcat-connectors/jni/native/Makefile.in,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- Makefile.in 23 May 2005 11:43:36 - 1.3 +++ Makefile.in 23 May 2005 12:23:53 - 1.4 @@ -55,7 +55,7 @@ $(LIBTOOL) --mode=install $(INSTALL) -m 755 $(TARGET_LIB) $(DESTDIR)$(libdir) $(TARGET_LIB): $(OBJECTS) - $(LINK) @lib_target@ @TCNATIVE_LIBS@ @SSL_LIBS@ + $(LINK) @lib_target@ @TCNATIVE_LDFLAGS@ @TCNATIVE_LIBS@ @SSL_LIBS@ check: $(TARGET_LIB) (cd test $(MAKE) check) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-tomcat-connectors/jni/native/build tcnative.m4
mturk 2005/05/23 05:43:46 Modified:jni/native/build tcnative.m4 Log: Make sure we are using at least OpenSSL 0.9.7 version. Revision ChangesPath 1.5 +3 -4 jakarta-tomcat-connectors/jni/native/build/tcnative.m4 Index: tcnative.m4 === RCS file: /home/cvs/jakarta-tomcat-connectors/jni/native/build/tcnative.m4,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- tcnative.m4 23 May 2005 12:23:10 - 1.4 +++ tcnative.m4 23 May 2005 12:43:46 - 1.5 @@ -242,11 +242,10 @@ dnl so it's OpenSSL - test for a good version AC_TRY_COMPILE([#include openssl/opensslv.h],[ #if !defined(OPENSSL_VERSION_NUMBER) -#error Missing openssl version + #error Missing openssl version #endif -#if (OPENSSL_VERSION_NUMBER 0x009060af) \ - || ((OPENSSL_VERSION_NUMBER 0x00907000) (OPENSSL_VERSION_NUMBER 0x0090702f)) -#error Insecure openssl version OPENSSL_VERSION_TEXT +#if (OPENSSL_VERSION_NUMBER 0x0090702f)) + #error Unsuported openssl version OPENSSL_VERSION_TEXT #endif], [AC_MSG_RESULT(OK)], [dnl Replace this with OPENSSL_VERSION_TEXT from opensslv.h? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Hybrid (NIO+Multithread, SSL enabled) architecture for Coyote
On Fri, May 20, 2005 at 12:05:51PM +0200, Mladen Turk wrote: Vicenç Beltran wrote: Hi, attached you'll find a patch that changes the coyote multithreading model to a hybrid threading model (NIO+Mulithread). It's fully compatible with the existing Catalina code and is SSL enabled. diff -uprN jakarta-tomcat-5.5.9-src/jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11/Http11Processor.java Can't you simply make two new files Http11NioProcessor and Http11NioProtocol. Trying to change default implementation that Tomcat uses will never be committed (at least I'll vote -1 on that). Simply create two files that can be used instead current implementation, in a fashion we did for Http11AprProtocol. Regards, Mladen. Hi, I've rebuilt the patch following your indications (hope). You can find at http://www.bsc.es/edragon/pdf/tomcat-5.5.9-NIO-patch (now it is bigger so it can't be attached) The benchmarking results I've obtained for a static content workload can be downloaded from from http://www.bsc.es/edragon/pdf/TestSurge.tgz As a summary, the throughput improvement I've observed is about a 25%, without breaking the response time. You can see all the results (original, patched and comparison) in the above file. I'm finishing the Dynamic content (plain and SSL) experiments, and I'll post them as soon as possible. Best, Vicenç - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JK shutdown problem
Thanks for the reply Mladen. I was wrong, this is not a lingering time problem, but instead related to the value that is being used for MAX_SECS_TO_LINGER, which is 16. I still have data waiting to be transferred from Tomcat after 16 receives. Each call to jk_tcp_socket_recvfull() returns data, but it takes more than 16 loops to get a JK_SOCKET_EOF. Apache is using 30 for MAX_SECS_TO_LINGER. Any objection why mod_jk cannot use the same value? Thanks, --JJ [EMAIL PROTECTED] 5/20/2005 12:21 PM Jean-Jacques Clar wrote: Hi, file: jk_connect.c in jk_shutdown_socket(); when reading data from tomcat in the while loop, the variable ttl is incremented every time by one, until breaking out of the loop: snippet: line 505 *- /* Read all data from the peer until we reach end-of-file (FIN * from peer) or we've exceeded our overall timeout. If the client does * not send us bytes within12 second, close the connection. */ while (1) { nbytes = jk_tcp_socket_recvfull(s, dummy, sizeof(dummy)); if (nbytes = 0) break; ttl += SECONDS_TO_LINGER; if (ttl MAX_SECS_TO_LINGER) break; } The problem is because I do not have a Netware box. You guys can try to enable the following: #if defined(WIN32) setsockopt(s, SOL_SOCKET, SO_RCVTIMEO, (const char *) tmout, sizeof(int)); #endif for Netware too... I didn't try to enable that because so many times the JK has been broken because of Netware build bugs ;) Also the code in nb_connect: #if defined(WIN32) int tmout = timeout * 1000; setsockopt(sock, SOL_SOCKET, SO_RCVTIMEO, (const char *) tmout, sizeof(int)); setsockopt(sock, SOL_SOCKET, SO_SNDTIMEO, (const char *) tmout, sizeof(int)); #else ... Shuld be checked for: (probably but who knows ;) for : #if defined(WIN32) || (defined(NETWARE) defined(__NOVELL_LIBC__)) Regards, Mladen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Hybrid (NIO+Multithread, SSL enabled) architecture for Coyote
Vicenc Beltran Querol wrote: I've rebuilt the patch following your indications (hope). You can find at http://www.bsc.es/edragon/pdf/tomcat-5.5.9-NIO-patch (now it is bigger so it can't be attached) The benchmarking results I've obtained for a static content workload can be downloaded from from http://www.bsc.es/edragon/pdf/TestSurge.tgz As a summary, the throughput improvement I've observed is about a 25%, without breaking the response time. You can see all the results (original, patched and comparison) in the above file. I'm finishing the Dynamic content (plain and SSL) experiments, and I'll post them as soon as possible. Great, but as I've posted earlier, these benchmarks results are not useful to us (maybe for your research they are, of course). Running a test with ab (ab -k -c 20 -n 2 http://host:8080/tomcat.gif) would take 30s, and would make comparisons easy (basically, I actually know what the tests do ...), and will be an actual measurement of throughput. Note: your patch still seems bad, as the file add is represented as a diff. This is likely not going to be patcheable. Rémy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
mod_jk status docs?
Hi, Are there any docs for the status worker? I'm struggling to figure out what it can do, and make it do it! Any pointers? cheers! David - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 9936] - http tunnel could not work with mod_jk
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=9936. 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=9936 [EMAIL PROTECTED] changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|WONTFIX | --- Additional Comments From [EMAIL PROTECTED] 2005-05-23 21:43 --- (In reply to comment #7) The original connector was wrong. This is actually referring to the JK connector which is deprecated. Please use the JK2 connector. Did you mean JK2 is deprecated? On tomcat site it says JK2 is no longer supported. I still have the same problem with mod_jk 1.2.6. Please let me know if there is a way to fix it. Thanks, Michael -- 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]
Adding working dynamically with mod_jk status?
Hi, Is there any way in the current implementatio to **add** a new worker (for a new Tomcat instance) dynamically? Using mod_jk status? Another way? cheers, David - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Adding working dynamically with mod_jk status?
[EMAIL PROTECTED] wrote: Hi, Is there any way in the current implementatio to **add** a new worker (for a new Tomcat instance) dynamically? Using mod_jk status? Another way? No. Can you elaborate why would you need such a feature? Regards, Mladen. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Adding working dynamically with mod_jk status?
Hi Mladen, Sure...we have a system that uses multiple Tomcats (with Apache/mod_jk upfront, of course). We would like to make it easy for the user to add another server to the mix. Hence, we'd like to add the new worker to the Apache config programmatically (we'd like to be able to delete them too, if they cut down the number of servers they're using. I think we can just stop it using the status app.) Would it be easy to add to the status code? Comments? cheers, David |-+ | | Mladen Turk | | | [EMAIL PROTECTED]| | | | | || | | 05/23/2005 04:31 | | | PM | | | Please respond to| | | Tomcat | | | Developers List | | || |-+ ---| | | | To: Tomcat Developers List tomcat-dev@jakarta.apache.org | | cc: | | Subject: Re: Adding working dynamically with mod_jk status? | ---| [EMAIL PROTECTED] wrote: Hi, Is there any way in the current implementatio to **add** a new worker (for a new Tomcat instance) dynamically? Using mod_jk status? Another way? No. Can you elaborate why would you need such a feature? Regards, Mladen. - 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]
DO NOT REPLY [Bug 35030] New: - cgi documentation inacurate or cgi big
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=35030. 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=35030 Summary: cgi documentation inacurate or cgi big Product: Tomcat 5 Version: 5.5.9 Platform: Other OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: Unknown AssignedTo: tomcat-dev@jakarta.apache.org ReportedBy: [EMAIL PROTECTED] The cgi documentation is inacurate or cgi bug. the cgiPathPrefix says that it directs to the path where .cgi must be placed. No cgi can't be run from this path. The path is absolute o relative?. ej. absolute: /var/tomcat/webapps/application/WEB-INF/cgi relative: /WEB-INF/cgi Either case no .cgi can't be run from that path. 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 9936] - http tunnel could not work with mod_jk
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=9936. 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=9936 --- Additional Comments From [EMAIL PROTECTED] 2005-05-24 00:23 --- At the time of my comment JK was deprecated and dev efforts were focussed on JK2. After some further JK2 development and for various reasons I won't repeat here the consenus was that actually a move back to JK was the better way forward. Reviewing the previous comments, you need to respond to Costin's points in comment 5 or this issue will be closed as 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 35030] - cgi documentation inacurate or cgi big
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=35030. 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=35030 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||INVALID --- Additional Comments From [EMAIL PROTECTED] 2005-05-24 00:35 --- Bugzilla is not a support forum. Questions like this should be asked on the tomcat-user mailing list. There is a small typo in the 5.5.x docs (now fixed in CVS) but both these and the global web.xml state: cgiPathPrefix - The CGI search path will start at the web application root directory + File.separator + this prefix. The default cgiPathPrefix is WEB-INF/cgi -- 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 cgi-howto.xml
markt 2005/05/23 15:36:00 Modified:webapps/docs cgi-howto.xml Log: Fix typo in CGI doc. Revision ChangesPath 1.7 +1 -1 jakarta-tomcat-catalina/webapps/docs/cgi-howto.xml Index: cgi-howto.xml === RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/docs/cgi-howto.xml,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- cgi-howto.xml 17 Aug 2004 21:54:21 - 1.6 +++ cgi-howto.xml 23 May 2005 22:36:00 - 1.7 @@ -55,7 +55,7 @@ ul listrongcgiPathPrefix/strong - The CGI search path will start at the web application root directory + File.separator + this prefix. -The default cgiPathPrefix is code/WEB-INF/cgi/code/li +The default cgiPathPrefix is codeWEB-INF/cgi/code/li listrongdebug/strong - Debugging detail level for messages logged by this servlet. Default 0./li listrongexecutable/strong - The of the executable to be used to - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-tomcat-4.0/webapps/tomcat-docs cgi-howto.xml
markt 2005/05/23 15:46:57 Modified:.RUNNING.txt webapps/tomcat-docs cgi-howto.xml Log: Fix bug 13240. Add note to docs that 1.3 JDK is required to use CGI. Revision ChangesPath 1.8 +4 -1 jakarta-tomcat-4.0/RUNNING.txt Index: RUNNING.txt === RCS file: /home/cvs/jakarta-tomcat-4.0/RUNNING.txt,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- RUNNING.txt 18 Jun 2004 23:32:27 - 1.7 +++ RUNNING.txt 23 May 2005 22:46:57 - 1.8 @@ -21,6 +21,9 @@ present in the JRE to compile JSP pages. Unless you are *very* sure of what you are doing, please use the full SDK. +NOTE: Use of the CGI Servlet requires Java 2 Standard Edition (J2SE) SDK, +release version 1.3 or later. + * Install the SDK according to the instructions included with the release. * Set an environment variable JAVA_HOME to the pathname of the directory 1.7 +2 -0 jakarta-tomcat-4.0/webapps/tomcat-docs/cgi-howto.xml Index: cgi-howto.xml === RCS file: /home/cvs/jakarta-tomcat-4.0/webapps/tomcat-docs/cgi-howto.xml,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- cgi-howto.xml 28 Sep 2004 21:51:50 - 1.6 +++ cgi-howto.xml 23 May 2005 22:46:57 - 1.7 @@ -29,6 +29,8 @@ this servlet is mapped to the URL pattern /cgi-bin/*./p pBy default CGI support is disabled in Tomcat./p + +pNote that the CGI Servlet requires a 1.3 or later JDK./p /section section name=Installation - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 13240] - CGI works only with Java version 1.3+
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=13240. 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=13240 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Additional Comments From [EMAIL PROTECTED] 2005-05-24 00:49 --- I have added a note to the docs that a 1.3 JDK is required. I did look at using one of the 1.2 exec() methods but this ends up with the working directory being the $CATALINA_HOME/bin directory and there is no easy way to change it in the CGI Servlet. If you want to use CGI on a 1.2 JDK just edit the offending line and make sure you set an appropriate working directory in your CGI script. -- 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]
Felicia WL Wong/SG/TLS/PwC is out of the office.
I will be out of the office starting 24/05/2005 and will not return until 27/05/2005. I will respond to your message when I return to the office on 30 May 2005. Alternatively, you may contact Cynthia Lee at 6236 3606 for any emergency. Best regards Felicia _ The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Irene Robatscher/Baldessarini/HUGO_BOSS ist außer Haus.
Ich werde ab 24.05.2005 nicht im Büro sein. Ich kehre zurück am 31.05.2005. I will be out of office from 23.05.05 to 31.05.05. and I will not be able to read your e-mail. For urgent matters pls. get into contact with my colleague Mrs. Anna Franzese: +49-89-306684-16 This e-mail (and/or attachments) is confidential and may be privileged. Use or disclosure of it by anyone other than a designated addressee is unauthorized. If you are not an intended recipient, please delete this e-mail from the computer on which you received it. We thank you for notifying us immediately.
Irene Robatscher/Baldessarini/HUGO_BOSS ist außer Haus.
Ich werde ab 24.05.2005 nicht im Büro sein. Ich kehre zurück am 31.05.2005. I will be out of office from 23.05.05 to 31.05.05. and I will not be able to read your e-mail. For urgent matters pls. get into contact with my colleague Mrs. Anna Franzese: +49-89-306684-16 This e-mail (and/or attachments) is confidential and may be privileged. Use or disclosure of it by anyone other than a designated addressee is unauthorized. If you are not an intended recipient, please delete this e-mail from the computer on which you received it. We thank you for notifying us immediately.
Irene Robatscher/Baldessarini/HUGO_BOSS ist außer Haus.
Ich werde ab 24.05.2005 nicht im Büro sein. Ich kehre zurück am 31.05.2005. I will be out of office from 23.05.05 to 31.05.05. and I will not be able to read your e-mail. For urgent matters pls. get into contact with my colleague Mrs. Anna Franzese: +49-89-306684-16 This e-mail (and/or attachments) is confidential and may be privileged. Use or disclosure of it by anyone other than a designated addressee is unauthorized. If you are not an intended recipient, please delete this e-mail from the computer on which you received it. We thank you for notifying us immediately.
Irene Robatscher/Baldessarini/HUGO_BOSS ist außer Haus.
Ich werde ab 24.05.2005 nicht im Büro sein. Ich kehre zurück am 31.05.2005. I will be out of office from 23.05.05 to 31.05.05. and I will not be able to read your e-mail. For urgent matters pls. get into contact with my colleague Mrs. Anna Franzese: +49-89-306684-16 This e-mail (and/or attachments) is confidential and may be privileged. Use or disclosure of it by anyone other than a designated addressee is unauthorized. If you are not an intended recipient, please delete this e-mail from the computer on which you received it. We thank you for notifying us immediately.
Irene Robatscher/Baldessarini/HUGO_BOSS ist außer Haus.
Ich werde ab 24.05.2005 nicht im Büro sein. Ich kehre zurück am 31.05.2005. I will be out of office from 23.05.05 to 31.05.05. and I will not be able to read your e-mail. For urgent matters pls. get into contact with my colleague Mrs. Anna Franzese: +49-89-306684-16 This e-mail (and/or attachments) is confidential and may be privileged. Use or disclosure of it by anyone other than a designated addressee is unauthorized. If you are not an intended recipient, please delete this e-mail from the computer on which you received it. We thank you for notifying us immediately.
Irene Robatscher/Baldessarini/HUGO_BOSS ist außer Haus.
Ich werde ab 24.05.2005 nicht im Büro sein. Ich kehre zurück am 31.05.2005. I will be out of office from 23.05.05 to 31.05.05. and I will not be able to read your e-mail. For urgent matters pls. get into contact with my colleague Mrs. Anna Franzese: +49-89-306684-16 This e-mail (and/or attachments) is confidential and may be privileged. Use or disclosure of it by anyone other than a designated addressee is unauthorized. If you are not an intended recipient, please delete this e-mail from the computer on which you received it. We thank you for notifying us immediately.
Irene Robatscher/Baldessarini/HUGO_BOSS ist außer Haus.
Ich werde ab 24.05.2005 nicht im Büro sein. Ich kehre zurück am 31.05.2005. I will be out of office from 23.05.05 to 31.05.05. and I will not be able to read your e-mail. For urgent matters pls. get into contact with my colleague Mrs. Anna Franzese: +49-89-306684-16 This e-mail (and/or attachments) is confidential and may be privileged. Use or disclosure of it by anyone other than a designated addressee is unauthorized. If you are not an intended recipient, please delete this e-mail from the computer on which you received it. We thank you for notifying us immediately.
Irene Robatscher/Baldessarini/HUGO_BOSS ist außer Haus.
Ich werde ab 24.05.2005 nicht im Büro sein. Ich kehre zurück am 31.05.2005. I will be out of office from 23.05.05 to 31.05.05. and I will not be able to read your e-mail. For urgent matters pls. get into contact with my colleague Mrs. Anna Franzese: +49-89-306684-16 This e-mail (and/or attachments) is confidential and may be privileged. Use or disclosure of it by anyone other than a designated addressee is unauthorized. If you are not an intended recipient, please delete this e-mail from the computer on which you received it. We thank you for notifying us immediately.
DO NOT REPLY [Bug 28321] - Memory Leak
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=28321. 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=28321 [EMAIL PROTECTED] changed: What|Removed |Added Component|Connector:AJP |Jasper -- 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]
Irene Robatscher/Baldessarini/HUGO_BOSS ist außer Haus.
Ich werde ab 24.05.2005 nicht im Büro sein. Ich kehre zurück am 31.05.2005. I will be out of office from 23.05.05 to 31.05.05. and I will not be able to read your e-mail. For urgent matters pls. get into contact with my colleague Mrs. Anna Franzese: +49-89-306684-16 This e-mail (and/or attachments) is confidential and may be privileged. Use or disclosure of it by anyone other than a designated addressee is unauthorized. If you are not an intended recipient, please delete this e-mail from the computer on which you received it. We thank you for notifying us immediately.
Irene Robatscher/Baldessarini/HUGO_BOSS ist außer Haus.
Ich werde ab 24.05.2005 nicht im Büro sein. Ich kehre zurück am 31.05.2005. I will be out of office from 23.05.05 to 31.05.05. and I will not be able to read your e-mail. For urgent matters pls. get into contact with my colleague Mrs. Anna Franzese: +49-89-306684-16 This e-mail (and/or attachments) is confidential and may be privileged. Use or disclosure of it by anyone other than a designated addressee is unauthorized. If you are not an intended recipient, please delete this e-mail from the computer on which you received it. We thank you for notifying us immediately.
Irene Robatscher/Baldessarini/HUGO_BOSS ist außer Haus.
Ich werde ab 24.05.2005 nicht im Büro sein. Ich kehre zurück am 31.05.2005. I will be out of office from 23.05.05 to 31.05.05. and I will not be able to read your e-mail. For urgent matters pls. get into contact with my colleague Mrs. Anna Franzese: +49-89-306684-16 This e-mail (and/or attachments) is confidential and may be privileged. Use or disclosure of it by anyone other than a designated addressee is unauthorized. If you are not an intended recipient, please delete this e-mail from the computer on which you received it. We thank you for notifying us immediately.
Irene Robatscher/Baldessarini/HUGO_BOSS ist außer Haus.
Ich werde ab 24.05.2005 nicht im Büro sein. Ich kehre zurück am 31.05.2005. I will be out of office from 23.05.05 to 31.05.05. and I will not be able to read your e-mail. For urgent matters pls. get into contact with my colleague Mrs. Anna Franzese: +49-89-306684-16 This e-mail (and/or attachments) is confidential and may be privileged. Use or disclosure of it by anyone other than a designated addressee is unauthorized. If you are not an intended recipient, please delete this e-mail from the computer on which you received it. We thank you for notifying us immediately.
Irene Robatscher/Baldessarini/HUGO_BOSS ist außer Haus.
Ich werde ab 24.05.2005 nicht im Büro sein. Ich kehre zurück am 31.05.2005. I will be out of office from 23.05.05 to 31.05.05. and I will not be able to read your e-mail. For urgent matters pls. get into contact with my colleague Mrs. Anna Franzese: +49-89-306684-16 This e-mail (and/or attachments) is confidential and may be privileged. Use or disclosure of it by anyone other than a designated addressee is unauthorized. If you are not an intended recipient, please delete this e-mail from the computer on which you received it. We thank you for notifying us immediately.
Irene Robatscher/Baldessarini/HUGO_BOSS ist außer Haus.
Ich werde ab 24.05.2005 nicht im Büro sein. Ich kehre zurück am 31.05.2005. I will be out of office from 23.05.05 to 31.05.05. and I will not be able to read your e-mail. For urgent matters pls. get into contact with my colleague Mrs. Anna Franzese: +49-89-306684-16 This e-mail (and/or attachments) is confidential and may be privileged. Use or disclosure of it by anyone other than a designated addressee is unauthorized. If you are not an intended recipient, please delete this e-mail from the computer on which you received it. We thank you for notifying us immediately.
Irene Robatscher/Baldessarini/HUGO_BOSS ist außer Haus.
Ich werde ab 24.05.2005 nicht im Büro sein. Ich kehre zurück am 31.05.2005. I will be out of office from 23.05.05 to 31.05.05. and I will not be able to read your e-mail. For urgent matters pls. get into contact with my colleague Mrs. Anna Franzese: +49-89-306684-16 This e-mail (and/or attachments) is confidential and may be privileged. Use or disclosure of it by anyone other than a designated addressee is unauthorized. If you are not an intended recipient, please delete this e-mail from the computer on which you received it. We thank you for notifying us immediately.
Irene Robatscher/Baldessarini/HUGO_BOSS ist außer Haus.
Ich werde ab 24.05.2005 nicht im Büro sein. Ich kehre zurück am 31.05.2005. I will be out of office from 23.05.05 to 31.05.05. and I will not be able to read your e-mail. For urgent matters pls. get into contact with my colleague Mrs. Anna Franzese: +49-89-306684-16 This e-mail (and/or attachments) is confidential and may be privileged. Use or disclosure of it by anyone other than a designated addressee is unauthorized. If you are not an intended recipient, please delete this e-mail from the computer on which you received it. We thank you for notifying us immediately.
Irene Robatscher/Baldessarini/HUGO_BOSS ist außer Haus.
Ich werde ab 24.05.2005 nicht im Büro sein. Ich kehre zurück am 31.05.2005. I will be out of office from 23.05.05 to 31.05.05. and I will not be able to read your e-mail. For urgent matters pls. get into contact with my colleague Mrs. Anna Franzese: +49-89-306684-16 This e-mail (and/or attachments) is confidential and may be privileged. Use or disclosure of it by anyone other than a designated addressee is unauthorized. If you are not an intended recipient, please delete this e-mail from the computer on which you received it. We thank you for notifying us immediately.
Irene Robatscher/Baldessarini/HUGO_BOSS ist außer Haus.
Ich werde ab 24.05.2005 nicht im Büro sein. Ich kehre zurück am 31.05.2005. I will be out of office from 23.05.05 to 31.05.05. and I will not be able to read your e-mail. For urgent matters pls. get into contact with my colleague Mrs. Anna Franzese: +49-89-306684-16 This e-mail (and/or attachments) is confidential and may be privileged. Use or disclosure of it by anyone other than a designated addressee is unauthorized. If you are not an intended recipient, please delete this e-mail from the computer on which you received it. We thank you for notifying us immediately.
Irene Robatscher/Baldessarini/HUGO_BOSS ist außer Haus.
Ich werde ab 24.05.2005 nicht im Büro sein. Ich kehre zurück am 31.05.2005. I will be out of office from 23.05.05 to 31.05.05. and I will not be able to read your e-mail. For urgent matters pls. get into contact with my colleague Mrs. Anna Franzese: +49-89-306684-16 This e-mail (and/or attachments) is confidential and may be privileged. Use or disclosure of it by anyone other than a designated addressee is unauthorized. If you are not an intended recipient, please delete this e-mail from the computer on which you received it. We thank you for notifying us immediately.
DO NOT REPLY [Bug 35033] New: - response.encodeURL() needs additional Permissions
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=35033. 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=35033 Summary: response.encodeURL() needs additional Permissions Product: Tomcat 5 Version: 5.5.9 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Catalina AssignedTo: tomcat-dev@jakarta.apache.org ReportedBy: [EMAIL PROTECTED] Running tomcat with security manager response.encodeURL() will cause an access denied (java.lang.RuntimePermission accessClassInPackage.org.apache.tomcat.util.net) exception. To work properly you have to add accessClassInPackage.org.apache.tomcat.util.net RuntimePermission. To use the core servlet api should not require that internal tomcat packages are exposed to the webapp. -- 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]
Irene Robatscher/Baldessarini/HUGO_BOSS ist außer Haus.
Ich werde ab 24.05.2005 nicht im Büro sein. Ich kehre zurück am 31.05.2005. I will be out of office from 23.05.05 to 31.05.05. and I will not be able to read your e-mail. For urgent matters pls. get into contact with my colleague Mrs. Anna Franzese: +49-89-306684-16 This e-mail (and/or attachments) is confidential and may be privileged. Use or disclosure of it by anyone other than a designated addressee is unauthorized. If you are not an intended recipient, please delete this e-mail from the computer on which you received it. We thank you for notifying us immediately.
Irene Robatscher/Baldessarini/HUGO_BOSS ist außer Haus.
Ich werde ab 24.05.2005 nicht im Büro sein. Ich kehre zurück am 31.05.2005. I will be out of office from 23.05.05 to 31.05.05. and I will not be able to read your e-mail. For urgent matters pls. get into contact with my colleague Mrs. Anna Franzese: +49-89-306684-16 This e-mail (and/or attachments) is confidential and may be privileged. Use or disclosure of it by anyone other than a designated addressee is unauthorized. If you are not an intended recipient, please delete this e-mail from the computer on which you received it. We thank you for notifying us immediately.
Irene Robatscher/Baldessarini/HUGO_BOSS ist außer Haus.
Ich werde ab 24.05.2005 nicht im Büro sein. Ich kehre zurück am 31.05.2005. I will be out of office from 23.05.05 to 31.05.05. and I will not be able to read your e-mail. For urgent matters pls. get into contact with my colleague Mrs. Anna Franzese: +49-89-306684-16 This e-mail (and/or attachments) is confidential and may be privileged. Use or disclosure of it by anyone other than a designated addressee is unauthorized. If you are not an intended recipient, please delete this e-mail from the computer on which you received it. We thank you for notifying us immediately.
Irene Robatscher/Baldessarini/HUGO_BOSS ist außer Haus.
Ich werde ab 24.05.2005 nicht im Büro sein. Ich kehre zurück am 31.05.2005. I will be out of office from 23.05.05 to 31.05.05. and I will not be able to read your e-mail. For urgent matters pls. get into contact with my colleague Mrs. Anna Franzese: +49-89-306684-16 This e-mail (and/or attachments) is confidential and may be privileged. Use or disclosure of it by anyone other than a designated addressee is unauthorized. If you are not an intended recipient, please delete this e-mail from the computer on which you received it. We thank you for notifying us immediately.
DO NOT REPLY [Bug 35034] New: - jndi datasources security manager
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=35034. 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=35034 Summary: jndi datasources security manager Product: Tomcat 5 Version: 5.5.9 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Catalina AssignedTo: tomcat-dev@jakarta.apache.org ReportedBy: [EMAIL PROTECTED] Running tomcat with security manager: To get a datasource (with jndi) and to use statements you have to grant several accessClassInPackage Permissions to tomcat internal packages to the webapp: permission java.lang.RuntimePermission accessClassInPackage.org.apache.tomcat.dbcp.collections; permission java.lang.RuntimePermission accessClassInPackage.org.apache.tomcat.dbcp.pool.impl; permission java.lang.RuntimePermission accessClassInPackage.org.apache.tomcat.dbcp.dbcp; permission java.lang.RuntimePermission accessClassInPackage.org.apache.tomcat.dbcp.pool; Additionally dbcp needs a permission java.lang.RuntimePermission getClassLoader; permission to load the jdbc driver. And in most cases you need some socket permissions. Datasources will be made available by the container (with JNDI). So the app doesn't matter where the database resides nor how the container makes the connection. The app is not interested in the details how the container will get the connection - it is only interested to have a connection. There is no need to give the whole app a permission to connect to some server only because the container wants to make some connection to this server. The permission if a app should be able to make a connection is given by a resource-link entry in context.xml. The permission to connect to the database server should be given at the container level and only there. Why should the whole app have permission to access tomcat internal packages (org.apache.tomcat.*)? -- 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]
Irene Robatscher/Baldessarini/HUGO_BOSS ist außer Haus.
Ich werde ab 24.05.2005 nicht im Büro sein. Ich kehre zurück am 31.05.2005. I will be out of office from 23.05.05 to 31.05.05. and I will not be able to read your e-mail. For urgent matters pls. get into contact with my colleague Mrs. Anna Franzese: +49-89-306684-16 This e-mail (and/or attachments) is confidential and may be privileged. Use or disclosure of it by anyone other than a designated addressee is unauthorized. If you are not an intended recipient, please delete this e-mail from the computer on which you received it. We thank you for notifying us immediately.
Irene Robatscher/Baldessarini/HUGO_BOSS ist außer Haus.
Ich werde ab 24.05.2005 nicht im Büro sein. Ich kehre zurück am 31.05.2005. I will be out of office from 23.05.05 to 31.05.05. and I will not be able to read your e-mail. For urgent matters pls. get into contact with my colleague Mrs. Anna Franzese: +49-89-306684-16 This e-mail (and/or attachments) is confidential and may be privileged. Use or disclosure of it by anyone other than a designated addressee is unauthorized. If you are not an intended recipient, please delete this e-mail from the computer on which you received it. We thank you for notifying us immediately.
DO NOT REPLY [Bug 35035] New: - ant deploy with context subdirectories
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=35035. 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=35035 Summary: ant deploy with context subdirectories Product: Tomcat 5 Version: 5.5.9 Platform: Other OS/Version: other Status: NEW Severity: normal Priority: P2 Component: Catalina AssignedTo: tomcat-dev@jakarta.apache.org ReportedBy: [EMAIL PROTECTED] It isn't possible to deploy a war with deploy ant task to a context path with subdirectories (e.g. /a/b). The only way, I have found, is to put the war manually to the server and use the config attribute to add a context.xml like a#b.xml. But to use path and war attributes (optionally with a META-INF/context.xml in the war) does not work. Also: Using a#b.war and path=/a/b causes java.io.FileNotFoundException: webapps/a/b.war Using a#b.war and path=/a#b you get Deployed application at context path /a#b but app does not use context.xml (no jndi resources were found) Using without path, you get Must specify 'path' attribute -- 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]
Irene Robatscher/Baldessarini/HUGO_BOSS ist außer Haus.
Ich werde ab 24.05.2005 nicht im Büro sein. Ich kehre zurück am 31.05.2005. I will be out of office from 23.05.05 to 31.05.05. and I will not be able to read your e-mail. For urgent matters pls. get into contact with my colleague Mrs. Anna Franzese: +49-89-306684-16 This e-mail (and/or attachments) is confidential and may be privileged. Use or disclosure of it by anyone other than a designated addressee is unauthorized. If you are not an intended recipient, please delete this e-mail from the computer on which you received it. We thank you for notifying us immediately.
Irene Robatscher/Baldessarini/HUGO_BOSS ist außer Haus.
Ich werde ab 24.05.2005 nicht im Büro sein. Ich kehre zurück am 31.05.2005. I will be out of office from 23.05.05 to 31.05.05. and I will not be able to read your e-mail. For urgent matters pls. get into contact with my colleague Mrs. Anna Franzese: +49-89-306684-16 This e-mail (and/or attachments) is confidential and may be privileged. Use or disclosure of it by anyone other than a designated addressee is unauthorized. If you are not an intended recipient, please delete this e-mail from the computer on which you received it. We thank you for notifying us immediately.
Irene Robatscher/Baldessarini/HUGO_BOSS ist außer Haus.
Ich werde ab 24.05.2005 nicht im Büro sein. Ich kehre zurück am 31.05.2005. I will be out of office from 23.05.05 to 31.05.05. and I will not be able to read your e-mail. For urgent matters pls. get into contact with my colleague Mrs. Anna Franzese: +49-89-306684-16 This e-mail (and/or attachments) is confidential and may be privileged. Use or disclosure of it by anyone other than a designated addressee is unauthorized. If you are not an intended recipient, please delete this e-mail from the computer on which you received it. We thank you for notifying us immediately.
Irene Robatscher/Baldessarini/HUGO_BOSS ist außer Haus.
Ich werde ab 24.05.2005 nicht im Büro sein. Ich kehre zurück am 31.05.2005. I will be out of office from 23.05.05 to 31.05.05. and I will not be able to read your e-mail. For urgent matters pls. get into contact with my colleague Mrs. Anna Franzese: +49-89-306684-16 This e-mail (and/or attachments) is confidential and may be privileged. Use or disclosure of it by anyone other than a designated addressee is unauthorized. If you are not an intended recipient, please delete this e-mail from the computer on which you received it. We thank you for notifying us immediately.
Irene Robatscher/Baldessarini/HUGO_BOSS ist außer Haus.
Ich werde ab 24.05.2005 nicht im Büro sein. Ich kehre zurück am 31.05.2005. I will be out of office from 23.05.05 to 31.05.05. and I will not be able to read your e-mail. For urgent matters pls. get into contact with my colleague Mrs. Anna Franzese: +49-89-306684-16 This e-mail (and/or attachments) is confidential and may be privileged. Use or disclosure of it by anyone other than a designated addressee is unauthorized. If you are not an intended recipient, please delete this e-mail from the computer on which you received it. We thank you for notifying us immediately.