DO NOT REPLY [Bug 35957] - tomcat chooses wrong host if using 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=35957. 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=35957 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Additional Comments From [EMAIL PROTECTED] 2005-08-01 08:02 --- Set useIPVHosts=true on the Connector element for TC 5.5.10+ will do what you want. -- 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 34648] - AJP uses Host header not ServerName directive from Apache
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=34648. 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=34648 [EMAIL PROTECTED] changed: What|Removed |Added CC||[EMAIL PROTECTED] --- Additional Comments From [EMAIL PROTECTED] 2005-08-01 08:34 --- So the field was always there, but wasn't used? (well, it was used by tomcat 4.1 ;-) ) I'm not quite sure, why the options is called useIPVHosts, but for me it's all about moving the choice of the right vhost to apache. Haveing to configure the same aliases in both tomcat and apache, that's what i'd call a fragile config. -- 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-connectors/jni/native/os/win32 system.c
mturk 2005/07/31 23:34:33 Modified:jni/java/org/apache/tomcat/jni OS.java jni/native/os/unix system.c jni/native/os/win32 system.c Log: Implement Solaris system info. Patches provided by Rainer Jung. Revision ChangesPath 1.8 +2 -2 jakarta-tomcat-connectors/jni/java/org/apache/tomcat/jni/OS.java Index: OS.java === RCS file: /home/cvs/jakarta-tomcat-connectors/jni/java/org/apache/tomcat/jni/OS.java,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- OS.java 12 Jul 2005 14:56:09 - 1.7 +++ OS.java 1 Aug 2005 06:34:32 - 1.8 @@ -91,7 +91,7 @@ * inf[6] - Memory Load * * inf[7] - Idle Time in microseconds - * inf[9] - Kernel Time in microseconds + * inf[8] - Kernel Time in microseconds * inf[9] - User Time in microseconds * * inf[10] - Process creation time (apr_time_t) 1.9 +189 -1jakarta-tomcat-connectors/jni/native/os/unix/system.c Index: system.c === RCS file: /home/cvs/jakarta-tomcat-connectors/jni/native/os/unix/system.c,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- system.c 12 Jul 2005 14:56:11 - 1.8 +++ system.c 1 Aug 2005 06:34:33 - 1.9 @@ -27,6 +27,42 @@ #include tcn.h #if defined(__linux__) #include sys/sysinfo.h +#elif defined(sun) +#include unistd.h +#include sys/swap.h +#include procfs.h +#include kstat.h +#include sys/sysinfo.h +#endif + +#if defined(sun) +#define MAX_PROC_PATH_LEN 64 +#define MAX_CPUS 512 +// #define PSTATUS_T_SZ sizeof(pstatus_t) +#define PSINFO_T_SZ sizeof(psinfo_t) +#define PRUSAGE_T_SZ sizeof(prusage_t) + +static int proc_open(const char *type) { +char proc_path[MAX_PROC_PATH_LEN+1]; + +sprintf(proc_path,/proc/self/%s,type); +return open(proc_path, O_RDONLY); +} // end proc_open + +static int proc_read(void *buf, const size_t size, int filedes) { +ssize_t bytes; + +if ( filedes = 0 ) { +bytes = pread(filedes, buf, size, 0); +if ( bytes != size ) { +return -1; +} +} else { +return -1; +} +return 0; +} // end proc_read + #endif TCN_IMPLEMENT_CALL(jboolean, OS, is)(TCN_STDARGS, jint type) @@ -80,6 +116,158 @@ rv = APR_SUCCESS; } } +#elif defined(sun) +{ +/* static variables with basic procfs info */ +static long creation = 0; /* unix timestamp of process creation */ +static int psinf_fd = 0; /* file descriptor for the psinfo procfs file */ +static int prusg_fd = 0; /* file descriptor for the usage procfs file */ +static size_t rss=0; /* maximum of resident set size from previous calls */ +/* static variables with basic kstat info */ +static kstat_ctl_t *kstat_ctl = NULL; /* kstat control object, only initialized once */ +static kstat_t *kstat_cpu[MAX_CPUS]; /* array of kstat objects for per cpu statistics */ +static int cpu_count=0;/* number of cpu structures found in kstat */ +static kid_t kid=0;/* kstat ID, for which the kstat_ctl holds the correct chain */ +/* non-static variables - general use */ +int res=0; /* general result state */ +/* non-static variables - sysinfo/swapctl use */ +long ret_sysconf; /* value returned from sysconf call */ +long tck_dividend; /* factor used by transforming tick numbers to milliseconds */ +long tck_divisor; /* divisor used by transforming tick numbers to milliseconds */ +long sys_pagesize=sysconf(_SC_PAGESIZE); /* size of a system memory page in bytes */ +long sys_clk_tck=sysconf(_SC_CLK_TCK); /* number of system ticks per second */ +struct anoninfo info; /* structure for information about sizes in anonymous memory system */ +/* non-static variables - procfs use */ +psinfo_t psinf;/* psinfo structure from procfs */ +prusage_t prusg; /* usage structure from procfs */ +size_t new_rss=0; /* resident set size read from procfs */ +time_t now;/* time needed for calculating process creation time */ +/* non-static variables - kstat use */ +kstat_t *kstat = NULL; /* kstat working pointer */ +cpu_sysinfo_t cpu; /* cpu sysinfo working pointer */ +kid_t
cvs commit: jakarta-tomcat-connectors/jni/native/os/unix system.c
mturk 2005/07/31 23:49:53 Modified:jni/native/os/unix system.c Log: Indent source code. No functional change. Revision ChangesPath 1.10 +91 -81jakarta-tomcat-connectors/jni/native/os/unix/system.c Index: system.c === RCS file: /home/cvs/jakarta-tomcat-connectors/jni/native/os/unix/system.c,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- system.c 1 Aug 2005 06:34:33 - 1.9 +++ system.c 1 Aug 2005 06:49:53 - 1.10 @@ -38,30 +38,31 @@ #if defined(sun) #define MAX_PROC_PATH_LEN 64 #define MAX_CPUS 512 -// #define PSTATUS_T_SZ sizeof(pstatus_t) #define PSINFO_T_SZ sizeof(psinfo_t) #define PRUSAGE_T_SZ sizeof(prusage_t) -static int proc_open(const char *type) { +static int proc_open(const char *type) +{ char proc_path[MAX_PROC_PATH_LEN+1]; -sprintf(proc_path,/proc/self/%s,type); +sprintf(proc_path, /proc/self/%s, type); return open(proc_path, O_RDONLY); -} // end proc_open +} -static int proc_read(void *buf, const size_t size, int filedes) { +static int proc_read(void *buf, const size_t size, int filedes) +{ ssize_t bytes; -if ( filedes = 0 ) { +if (filedes = 0) { bytes = pread(filedes, buf, size, 0); -if ( bytes != size ) { +if (bytes != size) return -1; -} -} else { -return -1; +else +return 0; } -return 0; -} // end proc_read +else +return -1; +} #endif @@ -118,155 +119,164 @@ } #elif defined(sun) { -/* static variables with basic procfs info */ +/* static variables with basic procfs info */ static long creation = 0; /* unix timestamp of process creation */ static int psinf_fd = 0; /* file descriptor for the psinfo procfs file */ static int prusg_fd = 0; /* file descriptor for the usage procfs file */ -static size_t rss=0; /* maximum of resident set size from previous calls */ -/* static variables with basic kstat info */ +static size_t rss = 0; /* maximum of resident set size from previous calls */ +/* static variables with basic kstat info */ static kstat_ctl_t *kstat_ctl = NULL; /* kstat control object, only initialized once */ static kstat_t *kstat_cpu[MAX_CPUS]; /* array of kstat objects for per cpu statistics */ -static int cpu_count=0;/* number of cpu structures found in kstat */ -static kid_t kid=0;/* kstat ID, for which the kstat_ctl holds the correct chain */ -/* non-static variables - general use */ -int res=0; /* general result state */ -/* non-static variables - sysinfo/swapctl use */ +static int cpu_count = 0; /* number of cpu structures found in kstat */ +static kid_t kid = 0; /* kstat ID, for which the kstat_ctl holds the correct chain */ +/* non-static variables - general use */ +int res = 0; /* general result state */ +/* non-static variables - sysinfo/swapctl use */ long ret_sysconf; /* value returned from sysconf call */ long tck_dividend; /* factor used by transforming tick numbers to milliseconds */ long tck_divisor; /* divisor used by transforming tick numbers to milliseconds */ -long sys_pagesize=sysconf(_SC_PAGESIZE); /* size of a system memory page in bytes */ -long sys_clk_tck=sysconf(_SC_CLK_TCK); /* number of system ticks per second */ +long sys_pagesize = sysconf(_SC_PAGESIZE); /* size of a system memory page in bytes */ +long sys_clk_tck = sysconf(_SC_CLK_TCK); /* number of system ticks per second */ struct anoninfo info; /* structure for information about sizes in anonymous memory system */ -/* non-static variables - procfs use */ +/* non-static variables - procfs use */ psinfo_t psinf;/* psinfo structure from procfs */ prusage_t prusg; /* usage structure from procfs */ -size_t new_rss=0; /* resident set size read from procfs */ +size_t new_rss = 0;/* resident set size read from procfs */ time_t now;/* time needed for calculating process creation time */ -/* non-static variables - kstat use */ +/* non-static variables - kstat use */ kstat_t *kstat = NULL; /* kstat working pointer */
cvs commit: jakarta-tomcat-connectors/jni/native/src file.c
mturk 2005/07/31 23:59:48 Modified:jni/native/src file.c Log: Use the proper APR function for dup2. Revision ChangesPath 1.10 +2 -2 jakarta-tomcat-connectors/jni/native/src/file.c Index: file.c === RCS file: /home/cvs/jakarta-tomcat-connectors/jni/native/src/file.c,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- file.c12 Jul 2005 14:56:11 - 1.9 +++ file.c1 Aug 2005 06:59:48 - 1.10 @@ -597,7 +597,7 @@ apr_file_t *d = J2P(newf, apr_file_t *); UNREFERENCED(o); -TCN_THROW_IF_ERR(apr_file_dup(d, f, p), d); +TCN_THROW_IF_ERR(apr_file_dup2(d, f, p), d); cleanup: return P2J(d); - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-tomcat-connectors/jni/native/src file.c
mturk 2005/08/01 00:08:55 Modified:jni/java/org/apache/tomcat/jni File.java jni/native/src file.c Log: Fix dup2 implementation. Revision ChangesPath 1.7 +4 -5 jakarta-tomcat-connectors/jni/java/org/apache/tomcat/jni/File.java Index: File.java === RCS file: /home/cvs/jakarta-tomcat-connectors/jni/java/org/apache/tomcat/jni/File.java,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- File.java 12 Jul 2005 14:56:09 - 1.6 +++ File.java 1 Aug 2005 07:08:55 - 1.7 @@ -671,15 +671,14 @@ throws Error; /** - * Duplicate the specified file descriptor. + * Duplicate the specified file descriptor and close the original. * @param newFile The old file that is to be closed and reused. * newFile MUST point at a valid apr_file_t. It cannot be NULL. * @param oldFile The file to duplicate. * @param pool The pool to use for the new file. - * @return Duplicated file structure. + * @return Status code. */ -public static native long dup2(long newFile, long oldFile, long pool) -throws Error; +public static native int dup2(long newFile, long oldFile, long pool) /** * Get the specified file's stats. The file is specified by filename, 1.11 +5 -8 jakarta-tomcat-connectors/jni/native/src/file.c Index: file.c === RCS file: /home/cvs/jakarta-tomcat-connectors/jni/native/src/file.c,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- file.c1 Aug 2005 06:59:48 - 1.10 +++ file.c1 Aug 2005 07:08:55 - 1.11 @@ -589,16 +589,13 @@ return P2J(d); } -TCN_IMPLEMENT_CALL(jlong, File, dup2)(TCN_STDARGS, jlong newf, jlong file, - jlong pool) +TCN_IMPLEMENT_CALL(jint, File, dup2)(TCN_STDARGS, jlong newf, jlong file, + jlong pool) { apr_file_t *f = J2P(file, apr_file_t *); apr_pool_t *p = J2P(pool, apr_pool_t *); apr_file_t *d = J2P(newf, apr_file_t *); -UNREFERENCED(o); -TCN_THROW_IF_ERR(apr_file_dup2(d, f, p), d); - -cleanup: -return P2J(d); +UNREFERENCED_STDARGS; +return (jint)apr_file_dup2(d, f, p); } - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-tomcat-connectors/jni/java/org/apache/tomcat/jni File.java
mturk 2005/08/01 00:09:39 Modified:jni/java/org/apache/tomcat/jni File.java Log: Fix typo in dup2 prototype. Revision ChangesPath 1.8 +2 -2 jakarta-tomcat-connectors/jni/java/org/apache/tomcat/jni/File.java Index: File.java === RCS file: /home/cvs/jakarta-tomcat-connectors/jni/java/org/apache/tomcat/jni/File.java,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- File.java 1 Aug 2005 07:08:55 - 1.7 +++ File.java 1 Aug 2005 07:09:39 - 1.8 @@ -678,7 +678,7 @@ * @param pool The pool to use for the new file. * @return Status code. */ -public static native int dup2(long newFile, long oldFile, long pool) +public static native int dup2(long newFile, long oldFile, long pool); /** * Get the specified file's stats. The file is specified by filename, - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-tomcat-connectors/jni/native/src sslinfo.c
mturk 2005/08/01 00:12:55 Modified:jni/native/src sslinfo.c Log: Remove unused value declaration. Revision ChangesPath 1.12 +1 -2 jakarta-tomcat-connectors/jni/native/src/sslinfo.c Index: sslinfo.c === RCS file: /home/cvs/jakarta-tomcat-connectors/jni/native/src/sslinfo.c,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- sslinfo.c 12 Jul 2005 14:56:11 - 1.11 +++ sslinfo.c 1 Aug 2005 07:12:55 - 1.12 @@ -523,7 +523,6 @@ break; case SSL_INFO_CLIENT_CERT_CHAIN: { -X509 *xs; STACK_OF(X509) *sk = SSL_get_peer_cert_chain(s-ssl); value = sk_X509_num(sk); } - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 35959] - mod_jk not independant of UseCanonicalName
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=35959. 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=35959 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||INVALID --- Additional Comments From [EMAIL PROTECTED] 2005-08-01 09:21 --- The servlet spec (@see section 14.2.16) is very specific that request.getServerName() must be the value of the Host header. -- 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-connectors/jni/native/src sslinfo.c
mturk 2005/08/01 00:23:10 Modified:jni/java/org/apache/tomcat/jni SSL.java jni/native/include ssl_private.h jni/native/src sslinfo.c Log: Implement SSL_INFO_CLIENT_V_REMAIN cert info flag and call. Revision ChangesPath 1.23 +2 -1 jakarta-tomcat-connectors/jni/java/org/apache/tomcat/jni/SSL.java Index: SSL.java === RCS file: /home/cvs/jakarta-tomcat-connectors/jni/java/org/apache/tomcat/jni/SSL.java,v retrieving revision 1.22 retrieving revision 1.23 diff -u -r1.22 -r1.23 --- SSL.java 12 Jul 2005 14:56:09 - 1.22 +++ SSL.java 1 Aug 2005 07:23:09 - 1.23 @@ -195,6 +195,7 @@ public static final int SSL_INFO_CLIENT_A_SIG = 0x0105; public static final int SSL_INFO_CLIENT_A_KEY = 0x0106; public static final int SSL_INFO_CLIENT_CERT = 0x0107; +public static final int SSL_INFO_CLIENT_V_REMAIN = 0x0108; public static final int SSL_INFO_SERVER_M_VERSION = 0x0201; public static final int SSL_INFO_SERVER_M_SERIAL = 0x0202; 1.35 +2 -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.34 retrieving revision 1.35 diff -u -r1.34 -r1.35 --- ssl_private.h 12 Jul 2005 14:56:10 - 1.34 +++ ssl_private.h 1 Aug 2005 07:23:09 - 1.35 @@ -178,6 +178,7 @@ #define SSL_INFO_CLIENT_A_SIG (0x0105) #define SSL_INFO_CLIENT_A_KEY (0x0106) #define SSL_INFO_CLIENT_CERT(0x0107) +#define SSL_INFO_CLIENT_V_REMAIN(0x0108) #define SSL_INFO_SERVER_MASK(0x0200) 1.13 +19 -2 jakarta-tomcat-connectors/jni/native/src/sslinfo.c Index: sslinfo.c === RCS file: /home/cvs/jakarta-tomcat-connectors/jni/native/src/sslinfo.c,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- sslinfo.c 1 Aug 2005 07:12:55 - 1.12 +++ sslinfo.c 1 Aug 2005 07:23:09 - 1.13 @@ -498,6 +498,7 @@ { tcn_socket_t *a = J2P(sock, tcn_socket_t *); tcn_ssl_conn_t *s; +apr_status_t rv = APR_SUCCESS; jint value = -1; UNREFERENCED(o); @@ -528,10 +529,26 @@ } break; default: -tcn_ThrowAPRException(e, APR_EINVAL); +rv = APR_EINVAL; break; } +if (what SSL_INFO_CLIENT_MASK) { +X509 *xs; +if ((xs = SSL_get_peer_certificate(s-ssl)) != NULL) { +switch (what) { +case SSL_INFO_CLIENT_V_REMAIN: +value = get_days_remaining(X509_get_notAfter(xs)); +rv = APR_SUCCESS; +break; +default: +rv = APR_EINVAL; +break; + } +} +} +if (rv != APR_SUCCESS) +tcn_ThrowAPRException(e, rv); return value; } - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-tomcat-connectors/jni/native/src sslinfo.c
mturk 2005/08/01 00:27:59 Modified:jni/native/src sslinfo.c Log: Release X509 certificate to supress the mem leak. Revision ChangesPath 1.14 +2 -1 jakarta-tomcat-connectors/jni/native/src/sslinfo.c Index: sslinfo.c === RCS file: /home/cvs/jakarta-tomcat-connectors/jni/native/src/sslinfo.c,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- sslinfo.c 1 Aug 2005 07:23:09 - 1.13 +++ sslinfo.c 1 Aug 2005 07:27:59 - 1.14 @@ -544,6 +544,7 @@ rv = APR_EINVAL; break; } + X509_free(xs); } } - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 35959] - mod_jk not independant of UseCanonicalName
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=35959. 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=35959 [EMAIL PROTECTED] changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|INVALID | --- Additional Comments From [EMAIL PROTECTED] 2005-08-01 09:39 --- I feel a bit misunderstood. I'm sure, the Servlet Spec is clear about HTTP-Headers. The HTTP-Headers should be transmitted unchanged to Tomcat, no dought! The thing i talk about is the AJP13 layer. Beside the headers, mod_jk sends another field. You talked about it in Bug 34648. You called it request.getLocalName() I'd like mod_jk to alway send the servername of apache's vhost no matter what UseCanonicalName is set to. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Anne-Sophie Brichard/EUZ/ChubbMail is out of the office.
this is tommy idont know what to do u are sending 100 mail send 1mail at a time iam not angry withu [EMAIL PROTECTED] wrote:I will be out of the office starting 01/08/2005 and will not return until 01/09/2005. En cas d'urgence, merci de bien vouloir contacter Sandra Boutboul ([EMAIL PROTECTED]) au 01 70 36 65 90 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Too much spam in your inbox? Yahoo! Mail gives you the best spam protection for FREE! http://in.mail.yahoo.com
DO NOT REPLY [Bug 35959] - mod_jk not independant of UseCanonicalName
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=35959. 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=35959 --- Additional Comments From [EMAIL PROTECTED] 2005-08-01 09:48 --- Addition: I will refer to http://jakarta.apache.org/tomcat/connectors-doc/common/ajpv13a.html AJP13_FORWARD_REQUEST contains a field called server_name. I expect this to the what you referred to as request.getLocalName(). I'd like an option for mod_jk, so that field server_name always matches the ServerName of apache's vhost - which is not the case AFAIK. -- 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 35959] - mod_jk not independant of UseCanonicalName
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=35959. 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=35959 [EMAIL PROTECTED] changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution||WONTFIX --- Additional Comments From [EMAIL PROTECTED] 2005-08-01 09:58 --- This field is meant to implement the new Servlet API call, nothing more, nothing less. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED]: Project jakarta-tomcat-4.0 (in module jakarta-tomcat-4.0) failed
NOW IAM VERY NAUGHTY RANPACEefan Bodewig [EMAIL PROTECTED] wrote:To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [EMAIL PROTECTED] Project jakarta-tomcat-4.0 has an issue affecting its community integration. This issue affects 4 projects. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - cargo : Cargo provides a Java API to manipulate Java Containers - jakarta-cactus-sample-jetty-13 : Cactus Jetty Sample (J2EE 1.3) - jakarta-cactus-sample-servlet-13 : Cactus Servlet Sample (J2EE 1.3) - jakarta-tomcat-4.0 : Servlet 2.3 and JSP 1.2 Reference Implementation Full details are available at: http://vmgump.apache.org/gump/public/jakarta-tomcat-4.0/jakarta-tomcat-4.0/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Output [naming-resources.jar] identifier set to output basename: [naming-resources] -DEBUG- Output [servlets-default.jar] identifier set to output basename: [servlets-default] -DEBUG- Output [naming-common.jar] identifier set to output basename: [naming-common] -DEBUG- Output [catalina.jar] identifier set to output basename: [catalina] -DEBUG- Output [bootstrap.jar] identifier set to output basename: [bootstrap] -DEBUG- Output [servlets-common.jar] identifier set to output basename: [servlets-common] -DEBUG- Output [servlets-invoker.jar] identifier set to output basename: [servlets-invoker] -DEBUG- Dependency on javamail exists, no need to add for property mail.jar. -DEBUG- Dependency on jaf exists, no need to add for property activation.jar. -DEBUG- Dependency on jmx exists, no need to add for property jmx.jar. -DEBUG- Dependency on jakarta-servletapi-4 exists, no need to add for property servlet.jar. -DEBUG- Dependency on xml-xerces exists, no need to add for property xerces.jar. -DEBUG- Dependency on jakarta-tomcat-util exists, no need to add for property tomcat-util.jar. -DEBUG- Dependency on commons-logging exists, no need to add for property commons-logging-api.jar. -DEBUG- Dependency on ant exists, no need to add for property ant.home. -DEBUG- Dependency on jakarta-servletapi-4 exists, no need to add for property servlet.home. -DEBUG- Dependency on jsse exists, no need to add for property jsse.home. -DEBUG- Dependency on jmx exists, no need to add for property jmx.home. -DEBUG- Dependency on jmx exists, no need to add for property jmxtools.jar. -DEBUG- Dependency on jndi exists, no need to add for property jndi.home. -DEBUG- Dependency on javamail exists, no need to add for property mail.home. -DEBUG- Dependency on jakarta-regexp exists, no need to add for property regexp.home. -DEBUG- Dependency on jakarta-regexp exists, no need to add for property regexp.jar. -DEBUG- Dependency on jaf exists, no need to add for property activation.home. -INFO- Failed with reason build failed -INFO- Failed to extract fallback artifacts from Gump Repository The following work was performed: http://vmgump.apache.org/gump/public/jakarta-tomcat-4.0/jakarta-tomcat-4.0/gump_work/build_jakarta-tomcat-4.0_jakarta-tomcat-4.0.html Work Name: build_jakarta-tomcat-4.0_jakarta-tomcat-4.0 (Type: Build) Work ended in a state of : Failed Elapsed: 16 secs Command Line: java -Djava.awt.headless=true -Xbootclasspath/p:/usr/local/gump/public/workspace/xml-xerces2/java/build/xercesImpl.jar:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/usr/local/gump/public/workspace/xml-xalan/java/build/serializer.jar:/usr/local/gump/public/workspace/xml-xalan/java/build/xalan-unbundled.jar org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only -Djaas.jar=/usr/local/gump/packages/jaas1_0/lib/jaas.jar -Djmx.jar=/usr/local/gump/packages/jmx-1_2_1-bin/lib/jmxri.jar -Djmx.home=/usr/local/gump/packages/jmx-1_2_1-bin -Djdbc20ext.jar=/usr/local/gump/packages/jdbc2_0/jdbc2_0-stdext.jar -Dregexp.jar=/usr/local/gump/public/workspace/jakarta-regexp/build/jakarta-regexp-30072005.jar -Dmail.home=/usr/local/gump/packages/javamail-1.3.2 -Dant.home=/usr/local/gump/public/workspace/ant/dist -Dservlet.jar=/usr/local/gump/public/workspace/jakarta-servletapi-4/lib/servlet.jar -Dxerces.jar=/usr/local/gump/public/workspace/xml-xerces2/java/build/xercesImpl.jar -Dcommons-collections.jar=/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-30072005.jar -Dldap.jar=/usr/local/gump/packages/ldap-1_2_4/lib/ldap.jar -Djsse.home=/usr/local/gump/packages/jsse1.0.3 -Dtomcat-coyote.jar=/usr/local/gump/public/workspace/jakarta-tomcat-connectors/coyote/build/lib/tomcat-coyote.jar -Dmail.jar=/usr/local/gump/packages/javamail-1.3.2/mail.jar
DO NOT REPLY [Bug 35461] - bad request http 400 using mod_jk 1.2.13. After downgrading to 1.3.33 and mod_jk 1.2.5 the problems have gone. Problems occur again after using the combination Apache Webserver 1.3.33 and mod_jk 1.2.10
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=35461. 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=35461 [EMAIL PROTECTED] changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED | -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 35959] - mod_jk not independant of UseCanonicalName
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=35959. 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=35959 --- Additional Comments From [EMAIL PROTECTED] 2005-08-01 10:31 --- Section 14.2.16 doesn't say anything, how this data is obtained - for example whether the result of getLocalName() is obtained by a DNS-reverselookup or by using the host-header or the name of the host like it is stored in tomcat's config. Well, there's no secure source for that _except_ a reverselookup. The host-header isn't reliable, so why should the data send by mod_jk be? Well, it isn't, since mod_jk sends the host-header if UseCanonicalName iss off and sends the ServerName of apache's vhost if UseCanonicalName is enabled. So where's you're point? -- 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 35461] - bad request http 400 using mod_jk 1.2.13. After downgrading to 1.3.33 and mod_jk 1.2.5 the problems have gone. Problems occur again after using the combination Apache Webserver 1.3.33 and mod_jk 1.2.10
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=35461. 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=35461 --- Additional Comments From [EMAIL PROTECTED] 2005-08-01 10:36 --- Hello, thank you very much for your help so far. We have now installed newest mod_jk version (1.2.14) but the bug still exists. Does the newest version include the bugfix already ? If yes it would be very kind if you would reinvestigate: 29.07.2005 15:55:00 org.apache.jk.common.HandlerRequest invoke SCHWERWIEGEND: Error decoding request java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) at java.io.BufferedInputStream.read1(BufferedInputStream.java:256) at java.io.BufferedInputStream.read(BufferedInputStream.java:313) at org.apache.jk.common.ChannelSocket.read(ChannelSocket.java:598) at org.apache.jk.common.ChannelSocket.receive(ChannelSocket.java:535) at org.apache.jk.common.JkInputStream.receive(JkInputStream.java:247) at org.apache.jk.common.HandlerRequest.decodeRequest (HandlerRequest.java:500) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:352) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743) at org.apache.jk.common.ChannelSocket.processConnection (ChannelSocket.java:675) at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run (ThreadPool.java:683) at java.lang.Thread.run(Thread.java:595) 12 34 02 f2 02 04 00 08 48 54 54 50 2f 31 2e 31 | .4.?HTTP/1.1 00 00 2b 2f 63 6f 6d 6d 6f 6e 2f 63 75 73 74 6f | ..+/common/custo 6d 65 72 2f 62 6f 75 6e 64 61 72 79 2f 6c 6f 67 | mer/boundary/log 69 6e 5a 69 70 63 6f 64 65 52 48 2e 64 6f 00 00 | inZipcodeRH.do.. 0d 31 39 35 2e 39 33 2e 36 30 2e 31 30 35 00 ff | .195.93.60.105.? ff 00 0f 77 77 77 2e 70 72 65 6d 69 65 72 65 2e | ?..www.premiere. 64 65 00 00 50 00 00 0c a0 01 00 a4 69 6d 61 67 | de..P...?..?imag 65 2f 67 69 66 2c 20 69 6d 61 67 65 2f 78 2d 78 | e/gif, image/x-x 62 69 74 6d 61 70 2c 20 69 6d 61 67 65 2f 6a 70 | bitmap, image/jp 65 67 2c 20 69 6d 61 67 65 2f 70 6a 70 65 67 2c | eg, image/pjpeg, 20 61 70 70 6c 69 63 61 74 69 6f 6e 2f 78 2d 73 | application/x-s 68 6f 63 6b 77 61 76 65 2d 66 6c 61 73 68 2c 20 | hockwave-flash, 61 70 70 6c 69 63 61 74 69 6f 6e 2f 6d 73 77 6f | application/mswo 72 64 2c 20 61 70 70 6c 69 63 61 74 69 6f 6e 2f | rd, application/ 76 6e 64 2e 6d 73 2d 65 78 63 65 6c 2c 20 61 70 | vnd.ms-excel, ap 70 6c 69 63 61 74 69 6f 6e 2f 76 6e 64 2e 6d 73 | plication/vnd.ms 2d 70 6f 77 65 72 70 6f 69 6e 74 2c 20 2a 2f 2a | -powerpoint, */* 00 a0 03 00 0d 67 7a 69 70 2c 20 64 65 66 6c 61 | .?...gzip, defla 74 65 00 a0 04 00 02 64 65 00 00 0d 43 61 63 68 | te.?...de...Cach 65 2d 43 6f 6e 74 72 6f 6c 00 00 08 6e 6f 2d 63 | e-Control...no-c 61 63 68 65 00 a0 08 00 03 31 36 31 00 a0 07 00 | ache.?...161.?.. 21 61 70 70 6c 69 63 61 74 69 6f 6e 2f 78 2d 77 | !application/x-w 77 77 2d 66 6f 72 6d 2d 75 72 6c 65 6e 63 6f 64 | ww-form-urlencod 65 64 00 a0 09 00 43 4a 53 45 53 53 49 4f 4e 49 | ed.?..CJSESSIONI 44 3d 33 38 44 31 41 46 42 43 32 39 33 30 30 31 | D=38D1AFBC293001 46 42 33 45 44 37 44 31 41 45 35 43 32 33 38 39 | FB3ED7D1AE5C2389 37 43 2e 41 53 54 50 50 52 4d 42 3b 20 63 6f 6f | 7C.ASTPPRMB; coo 6b 69 65 63 68 65 63 6b 3d 31 00 a0 0b 00 0f 77 | kiecheck=1.?...w 77 77 2e 70 72 65 6d 69 65 72 65 2e 64 65 00 a0 | ww.premiere.de.? 0c 00 08 6e 6f 2d 63 61 63 68 65 00 a0 0d 00 3a | ...no-cache.?..: 68 74 74 70 3a 2f 2f 77 77 77 2e 70 72 65 6d 69 | http://www.premi 65 72 65 2e 64 65 2f 63 6f 6d 6d 6f 6e 2f 63 75 | ere.de/common/cu 73 74 6f 6d 65 72 2f 62 6f 75 6e 64 61 72 79 2f | stomer/boundary/ 6c 6f 67 69 6e 52 48 2e 64 6f 00 a0 0e 00 53 4d | loginRH.do.?..SM 6f 7a 69 6c 6c 61 2f 34 2e 30 20 28 63 6f 6d 70 | ozilla/4.0 (comp 61 74 69 62 6c 65 3b 20 4d 53 49 45 20 36 2e 30 | atible; MSIE 6.0 3b 20 41 4f 4c 20 39 2e 30 3b 20 57 69 6e 64 6f | ; AOL 9.0; Windo 77 73 20 4e 54 20 35 2e 31 3b 20 53 56 31 3b 20 | ws NT 5.1; SV1; 2e 4e 45 54 20 43 4c 52 20 31 2e 31 2e 34 33 32 | .NET CLR 1.1.432 32 29 00 00 03 56 69 61 00 00 6d 48 54 54 50 2f | 2)...Via..mHTTP/ 31 2e 31 20 28 56 65 6c 6f 63 69 74 79 2f 31 2e | 1.1 (Velocity/1. 31 2e 31 20 5b 75 53 63 4d 73 20 66 20 70 20 65 | 1.1 [uScMs f p e 4e 3a 74 20 63 43 4d 70 20 73 20 5d 29 2c 20 48 | N:t cCMp s ]), H 54 54 50 2f 31 2e 30 20 66 72 72 2d 61 64 30 33 | TTP/1.0 frr-ad03 5b 43 33 35 44 33 43 36 39 5d 20 28 54 72 61 66 | [C35D3C69] (Traf 66 69 63
DO NOT REPLY [Bug 35461] - bad request http 400 using mod_jk 1.2.13. After downgrading to 1.3.33 and mod_jk 1.2.5 the problems have gone. Problems occur again after using the combination Apache Webserver 1.3.33 and mod_jk 1.2.10
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=35461. 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=35461 --- Additional Comments From [EMAIL PROTECTED] 2005-08-01 11:08 --- Hmm, This seems like you are using 'application/x-www-form-urlencoded' with GET request. Can you post the full mod_jk log from the beggining of the transaction to the end for that request. There must be some errors in ajp protocol, either setting timeout too low or forbidding post requests. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-tomcat-catalina/webapps/docs changelog.xml
remm2005/08/01 02:40:14 Modified:jk/java/org/apache/coyote/ajp LocalStrings.properties AjpMessage.java webapps/docs changelog.xml Log: - Internationalization and code cleanups. - No functional change. Revision ChangesPath 1.4 +7 -1 jakarta-tomcat-connectors/jk/java/org/apache/coyote/ajp/LocalStrings.properties Index: LocalStrings.properties === RCS file: /home/cvs/jakarta-tomcat-connectors/jk/java/org/apache/coyote/ajp/LocalStrings.properties,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- LocalStrings.properties 29 Jul 2005 10:23:55 - 1.3 +++ LocalStrings.properties 1 Aug 2005 09:40:14 - 1.4 @@ -28,3 +28,9 @@ ajpprocessor.request.process=Error processing request ajpprocessor.certs.fail=Certificate convertion failed ajpprocessor.socket.info=Exception getting socket information + +ajpmessage.null=Cannot append null value +ajpmessage.overflow=Overflow error for buffer adding {0} bytes at position {1} +ajpmessage.read=Requested {0} bytes exceeds message available data +ajpmessage.invalid=Invalid message recieved with signature {0} + 1.4 +102 -63 jakarta-tomcat-connectors/jk/java/org/apache/coyote/ajp/AjpMessage.java Index: AjpMessage.java === RCS file: /home/cvs/jakarta-tomcat-connectors/jk/java/org/apache/coyote/ajp/AjpMessage.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- AjpMessage.java 29 Jul 2005 10:23:55 - 1.3 +++ AjpMessage.java 1 Aug 2005 09:40:14 - 1.4 @@ -21,6 +21,7 @@ import org.apache.tomcat.util.buf.ByteChunk; import org.apache.tomcat.util.buf.CharChunk; import org.apache.tomcat.util.buf.MessageBytes; +import org.apache.tomcat.util.res.StringManager; /** * A single packet for communication between the web server and the @@ -36,29 +37,45 @@ * @author Costin Manolache */ public class AjpMessage { - -private static org.apache.commons.logging.Log log= -org.apache.commons.logging.LogFactory.getLog( AjpMessage.class ); - + +protected static org.apache.commons.logging.Log log = +org.apache.commons.logging.LogFactory.getLog(AjpMessage.class); + +/** + * The string manager for this package. + */ +protected static StringManager sm = +StringManager.getManager(Constants.Package); + + +// - Instance Variables + + /** * Fixed size buffer. */ -private byte buf[] = new byte[8*1024]; - +protected byte buf[] = new byte[8 * 1024]; + + /** * The current read or write position in the buffer. */ -private int pos; - +protected int pos; + + /** * This actually means different things depending on whether the * packet is read or write. For read, it's the length of the * payload (excluding the header). For write, it's the length of * the packet as a whole (counting the header). Oh, well. */ -private int len; +protected int len; + +// - Public Methods + + /** * Prepare this packet for accumulating a message from the container to * the web server. Set the write position to just after the header @@ -68,7 +85,8 @@ len = 4; pos = 4; } - + + /** * For a packet to be sent to the web server, finish the process of * accumulating data and write the length of the data payload into @@ -84,15 +102,16 @@ buf[3] = (byte) (dLen 0xFF); } + public byte[] getBuffer() { return buf; } + public int getLen() { return len; } -// Data Writing Methods === /** * Add an int. @@ -104,10 +123,12 @@ buf[pos++] = (byte) (val 0xFF); } + public void appendByte(int val) { buf[pos++] = (byte) val; } + public void appendLongInt(int val) { buf[pos++] = (byte) ((val 24) 0xFF); buf[pos++] = (byte) ((val 16) 0xFF); @@ -115,6 +136,7 @@ buf[pos++] = (byte) (val 0xFF); } + /** * Write a String out at the current write position. Strings are * encoded with the length in two bytes first, then the string, and @@ -142,26 +164,25 @@ } } + public void appendByteChunk(ByteChunk bc) throws IOException { if (bc == null) { -
cvs commit: jakarta-tomcat-connectors/jk/java/org/apache/coyote/ajp LocalStrings.properties AjpAprProtocol.java
remm2005/08/01 03:00:59 Modified:jk/java/org/apache/coyote/ajp LocalStrings.properties AjpAprProtocol.java Log: - Internationalization and code cleanups. - No functional change. Revision ChangesPath 1.5 +2 -1 jakarta-tomcat-connectors/jk/java/org/apache/coyote/ajp/LocalStrings.properties Index: LocalStrings.properties === RCS file: /home/cvs/jakarta-tomcat-connectors/jk/java/org/apache/coyote/ajp/LocalStrings.properties,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- LocalStrings.properties 1 Aug 2005 09:40:14 - 1.4 +++ LocalStrings.properties 1 Aug 2005 10:00:59 - 1.5 @@ -22,6 +22,7 @@ ajpprotocol.endpoint.resumeerror=Error resuming endpoint ajpprotocol.failedread=Socket read failed ajpprotocol.failedwrite=Socket write failed +ajpprotocol.request.register=Error registering request processor in JMX ajpprocessor.header.error=Header message parsing failed ajpprocessor.request.prepare=Error preparing request 1.7 +145 -86 jakarta-tomcat-connectors/jk/java/org/apache/coyote/ajp/AjpAprProtocol.java Index: AjpAprProtocol.java === RCS file: /home/cvs/jakarta-tomcat-connectors/jk/java/org/apache/coyote/ajp/AjpAprProtocol.java,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- AjpAprProtocol.java 26 Jul 2005 16:13:33 - 1.6 +++ AjpAprProtocol.java 1 Aug 2005 10:00:59 - 1.7 @@ -45,41 +45,98 @@ * @author Remy Maucherat * @author Costin Manolache */ -public class AjpAprProtocol implements ProtocolHandler, MBeanRegistration -{ +public class AjpAprProtocol +implements ProtocolHandler, MBeanRegistration { + + +protected static org.apache.commons.logging.Log log = +org.apache.commons.logging.LogFactory.getLog(AjpAprProtocol.class); + +/** + * The string manager for this package. + */ +protected static StringManager sm = +StringManager.getManager(Constants.Package); + + +// Constructor + + public AjpAprProtocol() { -cHandler = new AjpConnectionHandler( this ); +cHandler = new AjpConnectionHandler(this); setSoLinger(Constants.DEFAULT_CONNECTION_LINGER); setSoTimeout(Constants.DEFAULT_CONNECTION_TIMEOUT); //setServerSoTimeout(Constants.DEFAULT_SERVER_SOCKET_TIMEOUT); setTcpNoDelay(Constants.DEFAULT_TCP_NO_DELAY); } + +// - Instance Variables + + +protected ObjectName tpOname; + + +protected ObjectName rgOname; + + /** - * The string manager for this package. + * Associated APR endpoint. */ -protected static StringManager sm = -StringManager.getManager(Constants.Package); +protected AprEndpoint ep = new AprEndpoint(); -/** Pass config info + +/** + * Configuration attributes. */ -public void setAttribute( String name, Object value ) { -if( log.isTraceEnabled()) -log.trace(sm.getString(ajpprotocol.setattribute, name, value)); +protected Hashtable attributes = new Hashtable(); + + +/** + * Should authentication be done in the native webserver layer, + * or in the Servlet container ? + */ +protected boolean tomcatAuthentication = true; + +/** + * Adapter which will process the requests recieved by this endpoint. + */ +private Adapter adapter; + + +/** + * Connection handler for AJP. + */ +private AjpConnectionHandler cHandler; + + +// - Public Methods + + +/** + * Pass config info + */ +public void setAttribute(String name, Object value) { +if (log.isTraceEnabled()) { +log.trace(sm.getString(ajpprotocol.setattribute, name, value)); +} attributes.put(name, value); } -public Object getAttribute( String key ) { -if( log.isTraceEnabled()) +public Object getAttribute(String key) { +if (log.isTraceEnabled()) { log.trace(sm.getString(ajpprotocol.getattribute, key)); +} return attributes.get(key); } + public Iterator getAttributeNames() { return attributes.keySet().iterator(); } + /** * Set a property. */ @@ -87,19 +144,23 @@ setAttribute(name, value); } + /** * Get a property
Problems with tomcat 3.3.2 and IBM JRE 1.3.0
Hello list, I'm trying to use tomcat 3.3.2 with JDK 1.3.0. I'm developing an application in Linux/Windows, using SUN JDK 1.3.0 and tomcat 3.3.2 to test everything locally and everything is going fine. This application will run on an AIX 4, and in this machine the only JRE the sysadmins managed to install was IBM JRE 1.3.0: $ java -version java version 1.3.0 Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0) Classic VM (build 1.3.0, J2RE 1.3.0 IBM build ca130-20010330 (JIT enabled: jitc)) I don't know why, but tomcat 3.3.2 doesn't starts in this machine. I need to run the tomcat in this machine, mainly because of internal problems here in the company I'm working to. The sysadmin installed tomcat 3.3.1a in this machine, which start's correctly. With this version, my application refuses to start in the AIX. In Linux with JDK 1.3.0, it start's correctly. I have two questions: 1 - Why jakarta-tomcat 3.3.2 doesn't start's with IBM jdk 1.3.0? Does anyone here managed to do that? 2 - Why my application doesn't start in jakarta-tomcat 3.3.1a in IBM jdk 1.3.0? 3 - Does anyone here uses AIX 4 and knows another VM than the one supplied by IBM for the AIX? AIX 4 is an old version and IBM does not supply JRE 1.4 neither 1.5 for this version. If anyone know how to use a newer version, please help me. :) The logs for both problems 1 and 2 are supplied below: For tomcat 3.3.2, here is the log (after this log, there is the log for my application starting in tomcat 3.3.1a): $ ./startup Using classpath: ./../lib/tomcat.jar:./../lib/common/commons-logging-api.jar Using JAVA_HOME: /usr/java130 Using TOMCAT_HOME: /home/aep022/jakarta-tomcat-3.3.2/ ERROR reading /home/aep022/jakarta-tomcat-3.3.2/conf/server.xml At Line 209 /Server/ContextManager/Http10Connector/ port=8080 secure=false maxThreads=100 maxSpareThreads=50 minSpareThreads=10 java.util.MissingResourceException: Can't find bundle for base name org.apache.tomcat.util.net.res.LocalStrings, locale en_US at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java(Compiled Code)) at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java(Compiled Code)) at java.util.ResourceBundle.getBundle(ResourceBundle.java:547) at org.apache.tomcat.util.res.StringManager.init(StringManager.java:78) at org.apache.tomcat.util.res.StringManager.init(StringManager.java:70) at org.apache.tomcat.util.res.StringManager.getManager(StringManager.java:249) at org.apache.tomcat.util.net.PoolTcpEndpoint.init(PoolTcpEndpoint.java:58) at org.apache.tomcat.modules.server.PoolTcpConnector.init(PoolTcpConnector.java:60) at org.apache.tomcat.modules.server.Http10Interceptor.init(Http10Interceptor.java:68) at java.lang.Class.newInstance0(Native Method) at java.lang.Class.newInstance(Class.java:254) at org.apache.tomcat.util.xml.ObjectCreate.start(XmlMapper.java:797) at org.apache.tomcat.util.xml.XmlMapper.matchStart(XmlMapper.java:516) at org.apache.tomcat.util.xml.XmlMapper.startElement(XmlMapper.java:114) at org.apache.xerces.parsers.SAXParser.startElement(SAXParser.java(Compiled Code)) at org.apache.xerces.validators.common.XMLValidator.callStartElement(XMLValidator.java(Compiled Code)) at org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentScanner.java(Compiled Code)) at org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java(Compiled Code)) at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:380) at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:908) at org.apache.tomcat.util.xml.XmlMapper.readXml(XmlMapper.java:334) at org.apache.tomcat.modules.config.ServerXmlReader.loadConfigFile(ServerXmlReader.java:137) at org.apache.tomcat.modules.config.ServerXmlReader.addInterceptor(ServerXmlReader.java:113) at org.apache.tomcat.core.ContextManager.addInterceptor(ContextManager.java:393) at org.apache.tomcat.startup.EmbededTomcat.initContextManager(EmbededTomcat.java:613) at org.apache.tomcat.startup.EmbededTomcat.execute1(EmbededTomcat.java:791) at org.apache.tomcat.startup.EmbededTomcat$1.run(EmbededTomcat.java:775) at org.apache.tomcat.util.compat.Jdk12Support$PrivilegedProxy.run(Jdk12Support.java:166) at java.security.AccessController.doPrivileged(Native Method) at org.apache.tomcat.util.compat.Jdk12Support.doPrivileged(Jdk12Support.java:76) at org.apache.tomcat.startup.EmbededTomcat.execute(EmbededTomcat.java:773) at java.lang.reflect.Method.invoke(Native Method) at org.apache.tomcat.util.IntrospectionUtils.execute(IntrospectionUtils.java:52) at org.apache.tomcat.startup.Main.execute(Main.java:272) at org.apache.tomcat.startup.Main.main(Main.java:98)
cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core AprLifecycleListener.java LocalStrings.properties
remm2005/08/01 05:13:59 Modified:catalina/src/share/org/apache/catalina/core AprLifecycleListener.java LocalStrings.properties Log: - Add version check for Tomcat native. Revision ChangesPath 1.3 +25 -3 jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core/AprLifecycleListener.java Index: AprLifecycleListener.java === RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core/AprLifecycleListener.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- AprLifecycleListener.java 27 May 2005 10:04:43 - 1.2 +++ AprLifecycleListener.java 1 Aug 2005 12:13:59 - 1.3 @@ -46,6 +46,15 @@ protected StringManager sm = StringManager.getManager(Constants.Package); + +// -- Constants + + +protected static final int REQUIRED_MAJOR = 1; +protected static final int REQUIRED_MINOR = 1; +protected static final int REQUIRED_PATCH = 0; + + // -- LifecycleListener Methods @@ -57,15 +66,21 @@ public void lifecycleEvent(LifecycleEvent event) { if (Lifecycle.INIT_EVENT.equals(event.getType())) { +int major = 0; +int minor = 0; +int patch = 0; try { String methodName = initialize; Class paramTypes[] = new Class[1]; paramTypes[0] = String.class; Object paramValues[] = new Object[1]; paramValues[0] = null; -Method method = Class.forName(org.apache.tomcat.jni.Library) -.getMethod(methodName, paramTypes); +Class clazz = Class.forName(org.apache.tomcat.jni.Library); +Method method = clazz.getMethod(methodName, paramTypes); method.invoke(null, paramValues); +major = clazz.getField(TCN_MAJOR_VERSION).getInt(null); +minor = clazz.getField(TCN_MINOR_VERSION).getInt(null); +patch = clazz.getField(TCN_PATCH_VERSION).getInt(null); } catch (Throwable t) { if (!log.isDebugEnabled()) { log.info(sm.getString(aprListener.aprInit, @@ -74,6 +89,13 @@ log.debug(sm.getString(aprListener.aprInit, System.getProperty(java.library.path)), t); } +return; +} +if ((major != REQUIRED_MAJOR) || (minor != REQUIRED_MINOR) +|| (patch REQUIRED_PATCH)) { +log.error(sm.getString(aprListener.tcnInvalid, major + . ++ minor + . + patch, REQUIRED_MAJOR + . ++ REQUIRED_MINOR + . + REQUIRED_PATCH)); } } else if (Lifecycle.AFTER_STOP_EVENT.equals(event.getType())) { try { 1.23 +1 -0 jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core/LocalStrings.properties Index: LocalStrings.properties === RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core/LocalStrings.properties,v retrieving revision 1.22 retrieving revision 1.23 diff -u -r1.22 -r1.23 --- LocalStrings.properties 27 May 2005 09:41:38 - 1.22 +++ LocalStrings.properties 1 Aug 2005 12:13:59 - 1.23 @@ -15,6 +15,7 @@ applicationResponse.badParent=Cannot locate parent Response implementation applicationResponse.badResponse=Response is not a javax.servlet.ServletResponseWrapper aprListener.aprInit=The Apache Portable Runtime which allows optimal performance in production environments was not found on the java.library.path: {0} +aprListener.tcnInvalid=An incompatible version {0} of the Tomcat Native library is installed, while Tomcat requires version {1} aprListener.aprDestroy=Failed shutdown of Apache Portable Runtime containerBase.addDefaultMapper=Exception configuring default mapper of class {0} containerBase.alreadyStarted=Container {0} has already been started - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 35961] New: - Allow use of logo in wikipedia
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=35961. 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=35961 Summary: Allow use of logo in wikipedia Product: Tomcat 5 Version: Unknown Platform: All URL: http://de.wikipedia.org/wiki/Bild:JakartaTomcat.png OS/Version: All Status: NEW Severity: enhancement Priority: P2 Component: Unknown AssignedTo: tomcat-dev@jakarta.apache.org ReportedBy: [EMAIL PROTECTED] I submitted the Jakarta Tomcat logo to the german wikipedia. There seem to be some legal issues with that (as it looks for me, use of the logo would be allowed in US, but not in Germany), so I am asking you to explicitly allow the use of the logo in the wikipedia. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: DO NOT REPLY [Bug 35961] New: -
As of June 7th, the isnoop.net gmail spooler service is closed. I have gotten the word from Gmail\'s Product Manager that my service is no longer tolerable. I would like to extend my sincere thanks to all who contributed to this service. Your generosity helped out a vast number of people and for that you should be proud. The gmail spooler email account is now deactivated and any emails you send to this address end up in the bit bucket. If you have any questions or comments, please feel free to drop me a line: [EMAIL PROTECTED] -- Ian \isnoop\ Anthony - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-tomcat-connectors/jni/native/src ssl.c
mturk 2005/08/01 06:07:54 Modified:jni/native/src ssl.c Log: Check if we have OpenSSL = 0.9.7 Revision ChangesPath 1.39 +5 -1 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.38 retrieving revision 1.39 diff -u -r1.38 -r1.39 --- ssl.c 12 Jul 2005 14:56:11 - 1.38 +++ ssl.c 1 Aug 2005 13:07:54 - 1.39 @@ -369,6 +369,10 @@ TCN_FREE_CSTRING(engine); return (jint)APR_SUCCESS; } +if (SSLeay() 0x0090700L) { +TCN_FREE_CSTRING(engine); +return (jint)APR_EINVAL; +} /* We must register the library in full, to ensure our configuration * code can successfully test the SSL environment. */ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-tomcat-catalina/webapps/docs apr.xml
remm2005/08/01 06:25:25 Modified:webapps/docs apr.xml Log: - Add paragraphs on how each connector benefits from APR. Revision ChangesPath 1.8 +22 -0 jakarta-tomcat-catalina/webapps/docs/apr.xml Index: apr.xml === RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/docs/apr.xml,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- apr.xml 21 Jul 2005 13:24:53 - 1.7 +++ apr.xml 1 Aug 2005 13:25:25 - 1.8 @@ -109,6 +109,12 @@ subsection name=HTTP p + When APR is enabled, the HTTP connector will use sendfile for hadling large static files (all such + files will be sent ansychronously using high performance kernel level calls), and will use + a socket poller for keepalive, increasing scalability of the server. +/p + +p The following attributes are supported in the HTTP APR connector in addition to the ones supported in the regular HTTP connector: /p @@ -155,6 +161,14 @@ subsection name=HTTPS p + When APR is enabled, the HTTPS connector will use a socket poller for keepalive, increasing + scalability of the server. It also uses OpenSSL, which may be more optimized than JSSE depending + on the processor being used, and can be complemented with many commercial accelerator components. + Unlike the HTTP connector, the HTTPS connector cannot use sendfile to optimize static file + processing. +/p + +p The HTTPS APR connector has the same basic attributes than the HTTP APR connector, but adds OpenSSL specific ones. For the full details on using OpenSSL, please refer to OpenSSL documentations and the many books available for it (see the a href=http://www.openssl.org;Official OpenSSL @@ -218,6 +232,14 @@ subsection name=AJP p + When APR is enabled, the AJP connector will use a socket poller for keepalive, increasing + scalability of the server. As AJP is designed around a pool of persistent (or almost + persistent) connections, this will reduce significantly the amount of processing threads + needed by Tomcat. Unlike the HTTP connector, the AJP connector cannot use sendfile to optimize + static file processing. +/p + +p The following attributes are supported in the AJP APR connector in addition to the ones supported in the regular AJP connector: /p - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 35961] - Allow use of logo in wikipedia
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=35961. 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=35961 --- Additional Comments From [EMAIL PROTECTED] 2005-08-01 15:29 --- Please contact [EMAIL PROTECTED] with this request, as they handle all publicity, copyright, and related requests. I'll watch the discussion there and update this accordingly. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Problems with tomcat 3.3.2 and IBM JRE 1.3.0
Hi, Oh, that is unfortunate. 1.3.0 is the single buggiest release in Sun's history, if I recall correctly a report I read a couple of years ago. Both 1.2.7 and 1.3.1 are significantly better ;( I'm sorry I can't help more, as I'm neither a Tomcat 3.x nor an AIX expert. My only suggestion would be: can you run the thing on Linux? That'll enable you to use a more updated OS, JDK, Tomcat... But I'm guessing if you could do that, you already would have ;( Yoav Shapira System Design and Management Fellow MIT Sloan School of Management Cambridge, MA [EMAIL PROTECTED] / [EMAIL PROTECTED] -Original Message- From: Eduardo Piva [mailto:[EMAIL PROTECTED] Sent: Monday, August 01, 2005 7:37 AM To: tomcat-dev@jakarta.apache.org Subject: Problems with tomcat 3.3.2 and IBM JRE 1.3.0 Hello list, I'm trying to use tomcat 3.3.2 with JDK 1.3.0. I'm developing an application in Linux/Windows, using SUN JDK 1.3.0 and tomcat 3.3.2 to test everything locally and everything is going fine. This application will run on an AIX 4, and in this machine the only JRE the sysadmins managed to install was IBM JRE 1.3.0: $ java -version java version 1.3.0 Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0) Classic VM (build 1.3.0, J2RE 1.3.0 IBM build ca130-20010330 (JIT enabled: jitc)) I don't know why, but tomcat 3.3.2 doesn't starts in this machine. I need to run the tomcat in this machine, mainly because of internal problems here in the company I'm working to. The sysadmin installed tomcat 3.3.1a in this machine, which start's correctly. With this version, my application refuses to start in the AIX. In Linux with JDK 1.3.0, it start's correctly. I have two questions: 1 - Why jakarta-tomcat 3.3.2 doesn't start's with IBM jdk 1.3.0? Does anyone here managed to do that? 2 - Why my application doesn't start in jakarta-tomcat 3.3.1a in IBM jdk 1.3.0? 3 - Does anyone here uses AIX 4 and knows another VM than the one supplied by IBM for the AIX? AIX 4 is an old version and IBM does not supply JRE 1.4 neither 1.5 for this version. If anyone know how to use a newer version, please help me. :) The logs for both problems 1 and 2 are supplied below: For tomcat 3.3.2, here is the log (after this log, there is the log for my application starting in tomcat 3.3.1a): $ ./startup Using classpath: ./../lib/tomcat.jar:./../lib/common/commons-logging- api.jar Using JAVA_HOME: /usr/java130 Using TOMCAT_HOME: /home/aep022/jakarta-tomcat-3.3.2/ ERROR reading /home/aep022/jakarta-tomcat-3.3.2/conf/server.xml At Line 209 /Server/ContextManager/Http10Connector/ port=8080 secure=false maxThreads=100 maxSpareThreads=50 minSpareThreads=10 java.util.MissingResourceException: Can't find bundle for base name org.apache.tomcat.util.net.res.LocalStrings, locale en_US at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java (Compiled Code)) at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java(Compiled Code)) at java.util.ResourceBundle.getBundle(ResourceBundle.java:547) at org.apache.tomcat.util.res.StringManager.init(StringManager.java:78) at org.apache.tomcat.util.res.StringManager.init(StringManager.java:70) at org.apache.tomcat.util.res.StringManager.getManager(StringManager.java:249 ) at org.apache.tomcat.util.net.PoolTcpEndpoint.init(PoolTcpEndpoint.java:58) at org.apache.tomcat.modules.server.PoolTcpConnector.init(PoolTcpConnector. java:60) at org.apache.tomcat.modules.server.Http10Interceptor.init(Http10Intercepto r.java:68) at java.lang.Class.newInstance0(Native Method) at java.lang.Class.newInstance(Class.java:254) at org.apache.tomcat.util.xml.ObjectCreate.start(XmlMapper.java:797) at org.apache.tomcat.util.xml.XmlMapper.matchStart(XmlMapper.java:516) at org.apache.tomcat.util.xml.XmlMapper.startElement(XmlMapper.java:114) at org.apache.xerces.parsers.SAXParser.startElement(SAXParser.java(Compiled Code)) at org.apache.xerces.validators.common.XMLValidator.callStartElement(XMLValid ator.java(Compiled Code)) at org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentScan ner.java(Compiled Code)) at org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch( XMLDocumentScanner.java(Compiled Code)) at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanne r.java:380) at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:908) at org.apache.tomcat.util.xml.XmlMapper.readXml(XmlMapper.java:334) at org.apache.tomcat.modules.config.ServerXmlReader.loadConfigFile(ServerXmlR eader.java:137) at org.apache.tomcat.modules.config.ServerXmlReader.addInterceptor(ServerXmlR eader.java:113) at
RE: Problems with tomcat 3.3.2 and IBM JRE 1.3.0
Eduardo, The first problem looks like the bug in JDK 1.3.x ResourceBundle handling (I can't recall the bug number). I believe to work around this you should create classes directory under your installation's lib/common directory. Then extract the org/apache/tomcat/util/net/res/LocalStrings.properties file from lib/common/tomcat-util.jar into the classes directory, preserving the path. Finally rename the LocalStrings.properties file to LocalStrings_en_US.properties (LocalStrings_en.properties might also work). ResourceBundle should keep searching all the way back to just LocalStrings.properties in this situation, but doesn't. Your second problem seems to be that the spring framework is expecting a newer JAXP parser than what is provided by lib/container/crimson.jar. You can try a newer parser, but I can't say which versions still run under JDK 1.3.x. For info about controlling the parser seen automatically by contexts, see: http://jakarta.apache.org/tomcat/tomcat-3.3-doc/serverxml.html#LoaderInterceptor11 HTH Cheers, Larry -Original Message- From: Eduardo Piva [mailto:[EMAIL PROTECTED] Sent: Monday, August 01, 2005 7:37 AM To: tomcat-dev@jakarta.apache.org Subject: Problems with tomcat 3.3.2 and IBM JRE 1.3.0 Hello list, I'm trying to use tomcat 3.3.2 with JDK 1.3.0. I'm developing an application in Linux/Windows, using SUN JDK 1.3.0 and tomcat 3.3.2 to test everything locally and everything is going fine. This application will run on an AIX 4, and in this machine the only JRE the sysadmins managed to install was IBM JRE 1.3.0: $ java -version java version 1.3.0 Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0) Classic VM (build 1.3.0, J2RE 1.3.0 IBM build ca130-20010330 (JIT enabled: jitc)) I don't know why, but tomcat 3.3.2 doesn't starts in this machine. I need to run the tomcat in this machine, mainly because of internal problems here in the company I'm working to. The sysadmin installed tomcat 3.3.1a in this machine, which start's correctly. With this version, my application refuses to start in the AIX. In Linux with JDK 1.3.0, it start's correctly. I have two questions: 1 - Why jakarta-tomcat 3.3.2 doesn't start's with IBM jdk 1.3.0? Does anyone here managed to do that? 2 - Why my application doesn't start in jakarta-tomcat 3.3.1a in IBM jdk 1.3.0? 3 - Does anyone here uses AIX 4 and knows another VM than the one supplied by IBM for the AIX? AIX 4 is an old version and IBM does not supply JRE 1.4 neither 1.5 for this version. If anyone know how to use a newer version, please help me. :) The logs for both problems 1 and 2 are supplied below: For tomcat 3.3.2, here is the log (after this log, there is the log for my application starting in tomcat 3.3.1a): $ ./startup Using classpath: ./../lib/tomcat.jar:./../lib/common/commons-logging-api.jar Using JAVA_HOME: /usr/java130 Using TOMCAT_HOME: /home/aep022/jakarta-tomcat-3.3.2/ ERROR reading /home/aep022/jakarta-tomcat-3.3.2/conf/server.xml At Line 209 /Server/ContextManager/Http10Connector/ port=8080 secure=false maxThreads=100 maxSpareThreads=50 minSpareThreads=10 java.util.MissingResourceException: Can't find bundle for base name org.apache.tomcat.util.net.res.LocalStrings, locale en_US at java.util.ResourceBundle.throwMissingResourceException(Resourc eBundle.java(Compiled Code)) at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java(Compiled Code)) at java.util.ResourceBundle.getBundle(ResourceBundle.java:547) at org.apache.tomcat.util.res.StringManager.init(StringManager.java:78) at org.apache.tomcat.util.res.StringManager.init(StringManager.java:70) at org.apache.tomcat.util.res.StringManager.getManager(StringMana ger.java:249) at org.apache.tomcat.util.net.PoolTcpEndpoint.init(PoolTcpEndpo int.java:58) at org.apache.tomcat.modules.server.PoolTcpConnector.init(PoolT cpConnector.java:60) at org.apache.tomcat.modules.server.Http10Interceptor.init(Http 10Interceptor.java:68) at java.lang.Class.newInstance0(Native Method) at java.lang.Class.newInstance(Class.java:254) at org.apache.tomcat.util.xml.ObjectCreate.start(XmlMapper.java:797) at org.apache.tomcat.util.xml.XmlMapper.matchStart(XmlMapper.java:516) at org.apache.tomcat.util.xml.XmlMapper.startElement(XmlMapper.java:114) at org.apache.xerces.parsers.SAXParser.startElement(SAXParser.jav a(Compiled Code)) at org.apache.xerces.validators.common.XMLValidator.callStartElem ent(XMLValidator.java(Compiled Code)) at org.apache.xerces.framework.XMLDocumentScanner.scanElement(XML DocumentScanner.java(Compiled Code)) at org.apache.xerces.framework.XMLDocumentScanner$ContentDispatch er.dispatch(XMLDocumentScanner.java(Compiled Code)) at
Re: Problems with tomcat 3.3.2 and IBM JRE 1.3.0
Thanks Larry. The jaxp implementation tomcat was using is located in jre/lib/ext, under IBM JRE 1.3. I don't know if this jar is from IBM or if the sysadm of this machine installed it. I made a new install of JRE 1.3 without this jar and putted the new version of AJAX in lib/common and the springframework worked fine. If I have problems with tomcat 3.3.1a I'll try to upgrade to 3.3.2 and use your tips. I won't upgrade if I don't have problems because this would require a new installation of tomcat, and since I'm not the sysadm of the machine, this requires authorization and stuffs like that here in the company. Does anyone here knows of some serious issue in tomcat 3.3.1a? Thanks for the help! On 8/1/05, Larry Isaacs [EMAIL PROTECTED] wrote: Eduardo, The first problem looks like the bug in JDK 1.3.x ResourceBundle handling (I can't recall the bug number). I believe to work around this you should create classes directory under your installation's lib/common directory. Then extract the org/apache/tomcat/util/net/res/LocalStrings.properties file from lib/common/tomcat-util.jar into the classes directory, preserving the path. Finally rename the LocalStrings.properties file to LocalStrings_en_US.properties (LocalStrings_en.properties might also work). ResourceBundle should keep searching all the way back to just LocalStrings.properties in this situation, but doesn't. Your second problem seems to be that the spring framework is expecting a newer JAXP parser than what is provided by lib/container/crimson.jar. You can try a newer parser, but I can't say which versions still run under JDK 1.3.x. For info about controlling the parser seen automatically by contexts, see: http://jakarta.apache.org/tomcat/tomcat-3.3-doc/serverxml.html#LoaderInterceptor11 HTH Cheers, Larry -Original Message- From: Eduardo Piva [mailto:[EMAIL PROTECTED] Sent: Monday, August 01, 2005 7:37 AM To: tomcat-dev@jakarta.apache.org Subject: Problems with tomcat 3.3.2 and IBM JRE 1.3.0 Hello list, I'm trying to use tomcat 3.3.2 with JDK 1.3.0. I'm developing an application in Linux/Windows, using SUN JDK 1.3.0 and tomcat 3.3.2 to test everything locally and everything is going fine. This application will run on an AIX 4, and in this machine the only JRE the sysadmins managed to install was IBM JRE 1.3.0: $ java -version java version 1.3.0 Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0) Classic VM (build 1.3.0, J2RE 1.3.0 IBM build ca130-20010330 (JIT enabled: jitc)) I don't know why, but tomcat 3.3.2 doesn't starts in this machine. I need to run the tomcat in this machine, mainly because of internal problems here in the company I'm working to. The sysadmin installed tomcat 3.3.1a in this machine, which start's correctly. With this version, my application refuses to start in the AIX. In Linux with JDK 1.3.0, it start's correctly. I have two questions: 1 - Why jakarta-tomcat 3.3.2 doesn't start's with IBM jdk 1.3.0? Does anyone here managed to do that? 2 - Why my application doesn't start in jakarta-tomcat 3.3.1a in IBM jdk 1.3.0? 3 - Does anyone here uses AIX 4 and knows another VM than the one supplied by IBM for the AIX? AIX 4 is an old version and IBM does not supply JRE 1.4 neither 1.5 for this version. If anyone know how to use a newer version, please help me. :) The logs for both problems 1 and 2 are supplied below: For tomcat 3.3.2, here is the log (after this log, there is the log for my application starting in tomcat 3.3.1a): $ ./startup Using classpath: ./../lib/tomcat.jar:./../lib/common/commons-logging-api.jar Using JAVA_HOME: /usr/java130 Using TOMCAT_HOME: /home/aep022/jakarta-tomcat-3.3.2/ ERROR reading /home/aep022/jakarta-tomcat-3.3.2/conf/server.xml At Line 209 /Server/ContextManager/Http10Connector/ port=8080 secure=false maxThreads=100 maxSpareThreads=50 minSpareThreads=10 java.util.MissingResourceException: Can't find bundle for base name org.apache.tomcat.util.net.res.LocalStrings, locale en_US at java.util.ResourceBundle.throwMissingResourceException(Resourc eBundle.java(Compiled Code)) at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java(Compiled Code)) at java.util.ResourceBundle.getBundle(ResourceBundle.java:547) at org.apache.tomcat.util.res.StringManager.init(StringManager.java:78) at org.apache.tomcat.util.res.StringManager.init(StringManager.java:70) at org.apache.tomcat.util.res.StringManager.getManager(StringMana ger.java:249) at org.apache.tomcat.util.net.PoolTcpEndpoint.init(PoolTcpEndpo int.java:58) at org.apache.tomcat.modules.server.PoolTcpConnector.init(PoolT cpConnector.java:60) at org.apache.tomcat.modules.server.Http10Interceptor.init(Http 10Interceptor.java:68) at
DO NOT REPLY [Bug 35901] - jk 1.2.14 - Worker stop action does not hold
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=35901. 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=35901 [EMAIL PROTECTED] changed: What|Removed |Added Summary|Worker stop does not hold |jk 1.2.14 - Worker stop ||action does not hold -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Problems with tomcat 3.3.2 and IBM JRE 1.3.0
I didn't catch this one early enough :(. JDK 1.3.0 doesn't handle indexes in jar files at all. You need to remove them to run on 1.3.0. Or, better, upgrade to at least 1.3.1. - Original Message - From: Eduardo Piva [EMAIL PROTECTED] To: tomcat-dev@jakarta.apache.org Sent: Monday, August 01, 2005 4:36 AM Subject: Problems with tomcat 3.3.2 and IBM JRE 1.3.0 Hello list, I'm trying to use tomcat 3.3.2 with JDK 1.3.0. I'm developing an application in Linux/Windows, using SUN JDK 1.3.0 and tomcat 3.3.2 to test everything locally and everything is going fine. This application will run on an AIX 4, and in this machine the only JRE the sysadmins managed to install was IBM JRE 1.3.0: $ java -version java version 1.3.0 Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0) Classic VM (build 1.3.0, J2RE 1.3.0 IBM build ca130-20010330 (JIT enabled: jitc)) I don't know why, but tomcat 3.3.2 doesn't starts in this machine. I need to run the tomcat in this machine, mainly because of internal problems here in the company I'm working to. The sysadmin installed tomcat 3.3.1a in this machine, which start's correctly. With this version, my application refuses to start in the AIX. In Linux with JDK 1.3.0, it start's correctly. I have two questions: 1 - Why jakarta-tomcat 3.3.2 doesn't start's with IBM jdk 1.3.0? Does anyone here managed to do that? 2 - Why my application doesn't start in jakarta-tomcat 3.3.1a in IBM jdk 1.3.0? 3 - Does anyone here uses AIX 4 and knows another VM than the one supplied by IBM for the AIX? AIX 4 is an old version and IBM does not supply JRE 1.4 neither 1.5 for this version. If anyone know how to use a newer version, please help me. :) The logs for both problems 1 and 2 are supplied below: For tomcat 3.3.2, here is the log (after this log, there is the log for my application starting in tomcat 3.3.1a): $ ./startup Using classpath: ./../lib/tomcat.jar:./../lib/common/commons-logging-api.jar Using JAVA_HOME: /usr/java130 Using TOMCAT_HOME: /home/aep022/jakarta-tomcat-3.3.2/ ERROR reading /home/aep022/jakarta-tomcat-3.3.2/conf/server.xml At Line 209 /Server/ContextManager/Http10Connector/ port=8080 secure=false maxThreads=100 maxSpareThreads=50 minSpareThreads=10 java.util.MissingResourceException: Can't find bundle for base name org.apache.tomcat.util.net.res.LocalStrings, locale en_US at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java(Compiled Code)) at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java(Compiled Code)) at java.util.ResourceBundle.getBundle(ResourceBundle.java:547) at org.apache.tomcat.util.res.StringManager.init(StringManager.java:78) at org.apache.tomcat.util.res.StringManager.init(StringManager.java:70) at org.apache.tomcat.util.res.StringManager.getManager(StringManager.java:249) at org.apache.tomcat.util.net.PoolTcpEndpoint.init(PoolTcpEndpoint.java:58) at org.apache.tomcat.modules.server.PoolTcpConnector.init(PoolTcpConnector.java:60) at org.apache.tomcat.modules.server.Http10Interceptor.init(Http10Interceptor.java:68) at java.lang.Class.newInstance0(Native Method) at java.lang.Class.newInstance(Class.java:254) at org.apache.tomcat.util.xml.ObjectCreate.start(XmlMapper.java:797) at org.apache.tomcat.util.xml.XmlMapper.matchStart(XmlMapper.java:516) at org.apache.tomcat.util.xml.XmlMapper.startElement(XmlMapper.java:114) at org.apache.xerces.parsers.SAXParser.startElement(SAXParser.java(Compiled Code)) at org.apache.xerces.validators.common.XMLValidator.callStartElement(XMLValidator.java(Compiled Code)) at org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentScanner.java(Compiled Code)) at org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java(Compiled Code)) at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:380) at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:908) at org.apache.tomcat.util.xml.XmlMapper.readXml(XmlMapper.java:334) at org.apache.tomcat.modules.config.ServerXmlReader.loadConfigFile(ServerXmlReader.java:137) at org.apache.tomcat.modules.config.ServerXmlReader.addInterceptor(ServerXmlReader.java:113) at org.apache.tomcat.core.ContextManager.addInterceptor(ContextManager.java:393) at org.apache.tomcat.startup.EmbededTomcat.initContextManager(EmbededTomcat.java:613) at org.apache.tomcat.startup.EmbededTomcat.execute1(EmbededTomcat.java:791) at org.apache.tomcat.startup.EmbededTomcat$1.run(EmbededTomcat.java:775) at org.apache.tomcat.util.compat.Jdk12Support$PrivilegedProxy.run(Jdk12Support.java:166) at java.security.AccessController.doPrivileged(Native Method) at org.apache.tomcat.util.compat.Jdk12Support.doPrivileged(Jdk12Support.java:76) at
cvs commit: jakarta-tomcat-catalina/tester/src/tester/org/apache/tester SessionListener03.java
remm2005/08/01 09:55:47 Modified:tester/src/tester/org/apache/tester SessionListener03.java Log: - getId will now (correctly) throw an ISE is the session is already invalidated. Revision ChangesPath 1.3 +1 -2 jakarta-tomcat-catalina/tester/src/tester/org/apache/tester/SessionListener03.java Index: SessionListener03.java === RCS file: /home/cvs/jakarta-tomcat-catalina/tester/src/tester/org/apache/tester/SessionListener03.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- SessionListener03.java27 Feb 2004 14:58:57 - 1.2 +++ SessionListener03.java1 Aug 2005 16:55:47 - 1.3 @@ -56,7 +56,6 @@ public void valueUnbound(HttpSessionBindingEvent event) { event.getSession().getServletContext().log (SessionListener03: valueUnbound( + - event.getSession().getId() + , + event.getName() + )); } - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 35461] - bad request http 400 using mod_jk 1.2.13. After downgrading to 1.3.33 and mod_jk 1.2.5 the problems have gone. Problems occur again after using the combination Apache Webserver 1.3.33 and mod_jk 1.2.10
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=35461. 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=35461 --- Additional Comments From [EMAIL PROTECTED] 2005-08-01 20:33 --- You should also attach your mod_jk configuration (workers.properties and Jk-directives from httpd.conf) as well as the connector configuration from server.xml. This way we can check your timeout settings etc. -- 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 35901] - jk 1.2.14 - Worker stop action does not hold
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=35901. 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=35901 --- Additional Comments From [EMAIL PROTECTED] 2005-08-01 21:17 --- Maybe your shared memory setup for mod_jk is not correct. Could you post mod_jk configuration (e.g. workers.properties) and the Jk directives from httpd.conf? Which web server are you using (type and version)? I assume mod_jk (i.e. the web server) is running on Win2003? You should also set JkLogLevel to trace and post the part of the JkLogFile from accessing /status with correct information, then changing the stopped, until accessing /status and again seeing the worker non-stopped. -- 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-watchdog WARNING.txt
yoavs 2005/08/01 12:56:48 Added: .WARNING.txt Log: Added per guidelines at http://www.apache.org/dev/cvs2svn.html. Revision ChangesPath 1.1 jakarta-watchdog/WARNING.txt Index: WARNING.txt === *** WARNING.txt *** As of 1st August 2005, the jakarta-watchdog-4.0 CVS repository is closed. The repository has been migrated to Subversion (http://svn.apache.org/repos/asf/tomcat). - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-watchdog-4.0 WARNING.txt
yoavs 2005/08/01 12:57:12 Added: .WARNING.txt Log: Added per the guidelines at http://www.apache.org/dev/cvs2svn.html. Revision ChangesPath 1.1 jakarta-watchdog-4.0/WARNING.txt Index: WARNING.txt === *** WARNING.txt *** As of 1st August 2005, the jakarta-watchdog-4.0 CVS repository is closed. The repository has been migrated to Subversion (http://svn.apache.org/repos/asf/tomcat). - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 35901] - jk 1.2.14 - Worker stop action does not hold
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=35901. 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=35901 --- Additional Comments From [EMAIL PROTECTED] 2005-08-01 23:00 --- (In reply to comment #1) Maybe your shared memory setup for mod_jk is not correct. Could you post mod_jk configuration (e.g. workers.properties) and the Jk directives from httpd.conf? Which web server are you using (type and version)? I assume mod_jk (i.e. the web server) is running on Win2003? You should also set JkLogLevel to trace and post the part of the JkLogFile from accessing /status with correct information, then changing the stopped, until accessing /status and again seeing the worker non-stopped. I thought I'd given the environment, but let me try again. The server OS is Win2003. The JK (ISAPI) plugin has been configured according to http://jakarta.apache.org/tomcat/connectors-doc/howto/iis.html I wondered what happened to the shm, expecting something similar to the one used by jk2, but could find no reference to it in any of the how-to doc. Or the doc with the source code. I will defer the config and log postings until the issue of shared memory in the jk1.2.14 is resolved. BTW - URL for the binary dist that I used was: http://www.apache.org/dist/jakarta/tomcat-connectors/jk/binaries/win32/jk- 1.2.14/ -- 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]
Convert jakarta-watchdog and jakarta-watchdog-4.0 to Subversion
The Tomcat project has decided to move to Subversion. Since Tomcat spans a number of CVS repositories, we wish to migrate in a phased manner, starting with the Watchdog repositories. We need to export the following CVS repositories: - jakarta-watchdog - jakarta-watchdog-4.0 Ideally, the resulting structure in SVN should be: SVN Directory CVS Module(s) CVS Branch/Tag -- -- /tomcat/ /watchdog/ /branches/ /tc4.1.x/j-watchdog-4.0 HEAD /other/ j-watchdog, -4.0 All other branches /tags/ /tc4.1.x/j-watchdog-4.0 All 4.1.x tags /other/ j-watchdog, -4.0 All other tags We appreciate that this is non-standard and are happy to move directories around ourselves after a standard migration to: SVN Directory CVS Module(s) CVS Branch/Tag -- -- /tomcat/ /watchdog/ /watchdog/ /trunk/ j-watchdog HEAD /tags/ j-watchdog All tags /branches/ j-watchdog All branches /watchdog-4.0/ /trunk/ j-watchdog-4.0 HEAD /tags/ j-watchdog-4.0 All tags /branches/ j-watchdog-4.0 All branches Finally, commit access should be granted to /tomcat/watchdog/ to the union of: - committers with access to watchdog - committers with access to watchdog-4.0 - members of the new Tomcat PMC JIRA request to follow shortly. Thanks in advance, Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 35967] New: - shutdown port 8005 not bound
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=35967. 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=35967 Summary: shutdown port 8005 not bound Product: Tomcat 5 Version: 5.5.9 Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: Catalina AssignedTo: tomcat-dev@jakarta.apache.org ReportedBy: [EMAIL PROTECTED] From my tomcat-users-list posting: I've never had TC bind itself to 127.0.0.1:8005 to allow correct shutdown to occur. I've always had to kill the TC JVM. I use JSVC to be able to get a non-root userid. Does this affect how the shutdown port works ? My startup command line: ./bin/jsvc -Djava.endorsed.dirs=./common/endorsed -classpath :/opt/jakarta-tomcat-5.5.9/bin/bootstrap.jar:/opt/jakarta-tomcat-5.5.9/bin/commons-logging-api.jar -Dcatalina.base=/opt/jakarta-tomcat-5.5.9 -Dcatalina.home=/opt/jakarta-tomcat-5.5.9 -Djava.io.tmpdir=/opt/jakarta-tomcat-5.5.9/temp -outfile ./logs/catalina.out -errfile ./logs/catalina.err -user jakarta -Xmx2048M -Xms512M -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager org.apache.catalina.startup.Bootstrap start $ netstat -tanp | grep 80 tcp0 0 :::127.0.0.1:8009 :::* LISTEN 4621/jsvc.exec tcp0 0 :::127.0.0.1:8080 :::* LISTEN 4621/jsvc.exec 8009 is my AJP13, I have added address=127.0.0.1 to the default config, and 8080 is Coyete HTTP listener. If I start TC up without jsvc, then I can get it to listen on the shutdown port, why is there a difference. For interest I run the following to setup jsvc, should you wish to test for yourself: # Extracted TC to /opt/jakarta-tomcat-5.5.9 # To run it as java service need to build jsvc cd /opt/jakarta-tomcat-5.5.9/bin tar -zxvf jsvc.tar.gz cd jsvc-src autoconf JAVA_HOME=/opt/jdk1.5.0_04 export JAVA_HOME sh ./configure make cp jsvc .. cd .. -- 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 35967] - shutdown port 8005 not bound
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=35967. 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=35967 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||INVALID --- Additional Comments From [EMAIL PROTECTED] 2005-08-02 03:51 --- This is by design. With jsvc, you are supposed to shutdown Tomcat by: kill -TERM `cat $PIDFILE` As a result, jsvc doesn't tell Tomcat to listen on port 8005. -- 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 35968] New: - Please make Environment Entry Properties Value input a textarea
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=35968. 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=35968 Summary: Please make Environment Entry Properties Value input a textarea Product: Tomcat 5 Version: 5.5.9 Platform: Other OS/Version: other Status: NEW Severity: normal Priority: P2 Component: Webapps:Administration AssignedTo: tomcat-dev@jakarta.apache.org ReportedBy: [EMAIL PROTECTED] Hello, Please change the Environment Entry Properties value input type to a textarea, instead of a text field. We sometimes need to input multiline values here, and a textarea would make this much easier. Otherwise, really enjoying the admin webapp. Very useful! Thanks, Seth -- 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]