DO NOT REPLY [Bug 32500] - specific text-encoding ignored for dynamically generated text
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=32500. 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=32500 --- Additional Comments From [EMAIL PROTECTED] 2004-12-07 09:56 --- Hi Sure you can, i was planning on having an i18n section on some new tomcat documentation that i have been writing, so if you don't mind, I can use it on that page too. send it when you've figured it out :) Allistair. -- 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 32559] New: - ServletContextAttributeEvent.attributeRemoved not called on stop
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=32559. 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=32559 Summary: ServletContextAttributeEvent.attributeRemoved not called on stop Product: Tomcat 4 Version: 4.1.31 Platform: PC OS/Version: All Status: NEW Severity: major Priority: P2 Component: Catalina AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Bug report: As described in the example shown in the Servlet 2.3 specs (SRV 10.2.2), the ServletContextAttributeEvent.attributeRemoved method should be called when stopping a webapp. However Tomcat 4.1.31 exhibits bad implementation of the specs, as it doesn't call the attributeRemoved methods when stopping an application. It calls them only when reloading an application. After reading the sources, it's clear that reload and stop mismatch on two points: - ApplicationContext.clearAttributes call is missing in the StandardContext.stop() method whereas it is present in the reload method. - The reload method and the stop method mismatch on the order of certain method calls, and i think this can introduce some behavior differences (not observed except for the missing clearAttributes call). A brief review of the Tomcat 5.5 CVS sources make me think this bug may still exist in the latest dev tree, however as the code changed quite a bit, i'm not sure the event call mechanism is still the same. If the event calling mechanism is the same, and as reload is simply a wrapper on top of start and stop, both reload and stop would miss the clearAttributes call. I'm sorry but i had no time to confirm the bug on Tomcat 5.5 tree. How to trigger the bug: - Create a simple webapp, add a ServletContextAttributeEvent object that simply logs the events and declare it in the web.xml file. Add a Servlet loaded on startup that adds a few attributes to the servlet context. - Go to the tomcat manager 1 - reload the application: the listener attributeRemoved method is called and logs the event then the listener attributeAdded method is called and logs the event 2 - stop the application Only the listener attributeAdded method is called and logs the event -- 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/jk/native/common jk_util.c
hgomez 2004/12/07 02:54:11 Modified:jk/native/common jk_util.c Log: Adapt to iSeries 64 bits ThreadId Revision ChangesPath 1.44 +8 -1 jakarta-tomcat-connectors/jk/native/common/jk_util.c Index: jk_util.c === RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/common/jk_util.c,v retrieving revision 1.43 retrieving revision 1.44 diff -u -r1.43 -r1.44 --- jk_util.c 30 Nov 2004 13:11:21 - 1.43 +++ jk_util.c 7 Dec 2004 10:54:10 - 1.44 @@ -1021,7 +1021,14 @@ { pthread_t t = pthread_self(); +#ifdef AS400 + /* OS400 use 64 bits ThreadId, get only low 32 bits for now */ +pthread_id_np_t tid; +pthread_getunique_np(t, tid); + return ((int)(tid.intId.lo 0x)); +#else return (int)(t 0x); +#endif /* AS400 */ } #endif - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 32559] - ServletContextAttributeEvent.attributeRemoved not called on stop
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=32559. 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=32559 --- Additional Comments From [EMAIL PROTECTED] 2004-12-07 12:19 --- Created an attachment (id=13667) -- (http://issues.apache.org/bugzilla/attachment.cgi?id=13667action=view) Testcase A simple webapp exhibiting stop/reload behavior mismatch. -- 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/jk/native2 CHANGES.txt README.txt STATUS.txt
mturk 2004/12/07 04:03:48 Modified:jk/native2 CHANGES.txt README.txt STATUS.txt Log: Add note about JK2 status. Revision ChangesPath 1.17 +9 -1 jakarta-tomcat-connectors/jk/native2/CHANGES.txt Index: CHANGES.txt === RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/CHANGES.txt,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- CHANGES.txt 1 Mar 2004 09:34:37 - 1.16 +++ CHANGES.txt 7 Dec 2004 12:03:48 - 1.17 @@ -1,6 +1,14 @@ JAKARTA TOMCAT CONNECTORS 2 (JK2) CHANGELOG:-*-text-*- Last modified at [$Date$] +AS OF NOVEMBER 15, 2004, JK2 IS NO LONGER SUPPORTED. ALL BUGS RELATED TO JK2 +WILL BE MARKED AS WONTFIX. IN ITS PLACE, SOME OF ITS FEATURES HAVE BEEN +BACKPORTED TO JK1. MOST OF THOSE FEATURES WILL BE SEEN IN 1.2.7 AND LATER +VERSIONS. + +ANOTHER ALTERNATIVE IS THE AJP ADDITION TO MOD_PROXY WHICH WILL BE PART OF +APACHE 2.1. + Changes in JK2 HEAD: * APR is now mandatory, so channel.socket is now using APR and as such channel.apr has been removed. 1.6 +9 -0 jakarta-tomcat-connectors/jk/native2/README.txt Index: README.txt === RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/README.txt,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- README.txt6 Feb 2004 09:43:06 - 1.5 +++ README.txt7 Dec 2004 12:03:48 - 1.6 @@ -1,6 +1,15 @@ README for JK2 -- +AS OF NOVEMBER 15, 2004, JK2 IS NO LONGER SUPPORTED. ALL BUGS RELATED TO JK2 +WILL BE MARKED AS WONTFIX. IN ITS PLACE, SOME OF ITS FEATURES HAVE BEEN +BACKPORTED TO JK1. MOST OF THOSE FEATURES WILL BE SEEN IN 1.2.7 AND LATER +VERSIONS. + +ANOTHER ALTERNATIVE IS THE AJP ADDITION TO MOD_PROXY WHICH WILL BE PART OF +APACHE 2.1. + + JK2 is a refactoring of JK and is much more powerfull. Even if it works with Apache 1.3, JK2 has been developed with Apache 2.0 in mind, and is better suited for multi-threaded servers like IIS, NES/iPlanet. It can also be embeded in 1.6 +9 -1 jakarta-tomcat-connectors/jk/native2/STATUS.txt Index: STATUS.txt === RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/STATUS.txt,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- STATUS.txt2 Jun 2004 16:01:59 - 1.5 +++ STATUS.txt7 Dec 2004 12:03:48 - 1.6 @@ -1,6 +1,14 @@ JAKARTA TOMCAT CONNECTORS 2 (JK2) STATUS:-*-text-*- Last modified at [$Date$] +AS OF NOVEMBER 15, 2004, JK2 IS NO LONGER SUPPORTED. ALL BUGS RELATED TO JK2 +WILL BE MARKED AS WONTFIX. IN ITS PLACE, SOME OF ITS FEATURES HAVE BEEN +BACKPORTED TO JK1. MOST OF THOSE FEATURES WILL BE SEEN IN 1.2.7 AND LATER +VERSIONS. + +ANOTHER ALTERNATIVE IS THE AJP ADDITION TO MOD_PROXY WHICH WILL BE PART OF +APACHE 2.1. + Release: 2.0.5 : in progress - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-tomcat-connectors/jk/native/common jk_lb_worker.c jk_lb_worker.h jk_util.c jk_util.h
mturk 2004/12/07 04:24:53 Modified:jk/native/common jk_lb_worker.c jk_lb_worker.h jk_util.c jk_util.h Log: Make jk replication aware using domain model. Great patch from Rainer Jung. Revision ChangesPath 1.33 +219 -48 jakarta-tomcat-connectors/jk/native/common/jk_lb_worker.c Index: jk_lb_worker.c === RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/common/jk_lb_worker.c,v retrieving revision 1.32 retrieving revision 1.33 diff -u -r1.32 -r1.33 --- jk_lb_worker.c26 Nov 2004 16:59:51 - 1.32 +++ jk_lb_worker.c7 Dec 2004 12:24:53 - 1.33 @@ -40,6 +40,16 @@ #define WAIT_BEFORE_RECOVER (60*1) #define WORKER_RECOVER_TIME (recover_time) +static const char *search_types[] = { +none, +sticky, +sticky domain, +local, +local domain, +any, +NULL +}; + /** * Worker record should be inside shared * memory for correct behavior. @@ -49,9 +59,11 @@ struct worker_record { char *name; +char *domain; int lb_factor; int lb_value; int is_local_worker; +int is_local_domain; int in_error_state; int in_recovering; time_t error_time; @@ -63,6 +75,7 @@ { worker_record_t *lb_workers; unsigned num_of_workers; +unsigned num_of_local_workers; jk_pool_t p; jk_pool_atom_t buf[TINY_POOL_SIZE]; @@ -198,77 +211,210 @@ } } + +int is_worker_candidate(worker_record_t *wr, +int search_id, +const char *search_string, +jk_logger_t *l) +{ +switch (search_id) { +case 1: +if (strcmp(search_string, wr-name) == 0) { +return JK_TRUE; +} +break; +case 2: +if (strcmp(search_string, wr-domain) == 0) { +return JK_TRUE; +} +break; +case 3: +if (wr-is_local_worker) { +return JK_TRUE; +} +break; +case 4: +if (wr-is_local_domain) { +return JK_TRUE; +} +break; +case 5: +return JK_TRUE; +} +jk_log(l, JK_LOG_ERROR, +wrong search id %d\n, +search_id); +return JK_FALSE; +} + +static worker_record_t *get_suitable_worker(lb_worker_t *p, +int search_id, +const char *search_string, +int start, +int stop, +int use_lb_factor, +int *domain_id, +jk_logger_t *l) +{ + +worker_record_t *rc = NULL; +int lb_max = 0; +int total_factor = 0; +const char *search_type = search_types[search_id]; +int i; + +*domain_id = -1; + +jk_log(l, JK_LOG_DEBUG, + searching for %s worker (%s)\n, + search_type, search_string); +for (i = start; i stop; i++) { + jk_log(l, JK_LOG_DEBUG, + testing worker %s (%d) for match with %s (%s)\n, + p-lb_workers[i].name, i, search_type, search_string); +if (is_worker_candidate((p-lb_workers[i]), search_id, search_string, l)) { +if (search_id == 1) { +*domain_id = i; +} +if (!p-lb_workers[i].in_error_state || !p-lb_workers[i].in_recovering) { +jk_log(l, JK_LOG_DEBUG, + found candidate worker %s (%d) with previous load %d in search with %s (%s)\n, + p-lb_workers[i].name, i, p-lb_workers[i].lb_value, search_type, search_string); + +if (p-lb_workers[i].in_error_state) { + +time_t now = time(0); +int elapsed = now - p-lb_workers[i].error_time; +if (elapsed = p-recover_wait_time) { +jk_log(l, JK_LOG_DEBUG, + worker candidate %s (%d) is in error state - will not yet recover (%d %d)\n, + p-lb_workers[i].name, i, elapsed, p-recover_wait_time); +continue; +} +} + +if (use_lb_factor) { +p-lb_workers[i].lb_value += p-lb_workers[i].lb_factor; +total_factor += p-lb_workers[i].lb_factor; +if (p-lb_workers[i].lb_value lb_max || !rc) { +lb_max = p-lb_workers[i].lb_value;
DO NOT REPLY [Bug 32317] - Making mod_jk replication aware (Clustering Support)
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=32317. 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=32317 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Additional Comments From [EMAIL PROTECTED] 2004-12-07 13:26 --- Commited with small cosmetic modifications. Thanks Rainer! It would be great if you could write some docs or configuration examples -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[GUMP@brutus]: Project jakarta-tomcat-5 (in module jakarta-tomcat-5) success
To whom it may satisfy... 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-5 *no longer* has an issue. The current state of this project is 'Success'. Full details are available at: http://brutus.apache.org/gump/public/jakarta-tomcat-5/jakarta-tomcat-5/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Output [servlets-default.jar] identifier set to output basename: [servlets-default] -DEBUG- Output [servlets-invoker.jar] identifier set to output basename: [servlets-invoker] -DEBUG- Output [catalina.jar] identifier set to output basename: [catalina] -DEBUG- Output [bootstrap.jar] identifier set to output basename: [bootstrap] -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 jakarta-servletapi-5-servlet exists, no need to add for property servlet-api.jar. -DEBUG- Dependency on jakarta-servletapi-5-jsp exists, no need to add for property jsp-api.jar. -DEBUG- Dependency on xml-xerces exists, no need to add for property xercesImpl.jar. -DEBUG- Dependency on jakarta-tomcat-util exists, no need to add for property tomcat-util.jar. -DEBUG- Dependency on commons-el exists, no need to add for property commons-el.jar. -DEBUG- Dependency on commons-logging exists, no need to add for property commons-logging-api.jar. -DEBUG- Dependency on commons-modeler exists, no need to add for property commons-modeler.jar. -DEBUG- Dependency on ant exists, no need to add for property ant.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 jmx.jar. -DEBUG- Dependency on jmx exists, no need to add for property jmx-tools.jar. -DEBUG- Dependency on javamail exists, no need to add for property mail.home. -DEBUG- Dependency on jakarta-tomcat-coyote exists, no need to add for property tomcat-coyote.home. -DEBUG- Dependency on jakarta-tomcat-jasper_tc5 exists, no need to add for property jasper.home. -DEBUG- Dependency on jaf exists, no need to add for property activation.home. -DEBUG- Dependency on commons-modeler exists, no need to add for property commons-modeler.home. -DEBUG- Dependency on commons-daemon exists, no need to add for property commons-daemon.jsvc.tar.gz. -DEBUG- Dependency on struts exists, no need to add for property struts.home. The following work was performed: http://brutus.apache.org/gump/public/jakarta-tomcat-5/jakarta-tomcat-5/gump_work/build_jakarta-tomcat-5_jakarta-tomcat-5.html Work Name: build_jakarta-tomcat-5_jakarta-tomcat-5 (Type: Build) Work ended in a state of : Success Elapsed: 1 min 42 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-xalan/java/build/serializer.jar:/usr/local/gump/public/workspace/xml-xalan/java/build/xalan-unbundled.jar:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar org.apache.tools.ant.Main -Dgump.merge=/home/gump/workspaces2/public/gump/work/merge.xml -Dbuild.sysclasspath=only -Dtomcat33.home=--UnSet-- -Djsp-api.jar=/usr/local/gump/public/workspace/jakarta-servletapi-5/jsr152/dist/lib/jsp-api.jar -Djmx.jar=/usr/local/gump/packages/jmx-1_2-ri/lib/jmxri.jar -Djasper-compiler-jdt.jar=/usr/local/gump/packages/eclipse-3.0.1/plugins/org.eclipse.jdt.core_3.0.1/jdtcore.jar -Djmx.home=/usr/local/gump/packages/jmx-1_2-ri -Djdbc20ext.jar=/usr/local/gump/packages/jdbc2_0/jdbc2_0-stdext.jar -Dmail.home=/usr/local/gump/packages/javamail-1.3.2 -Dant.home=/usr/local/gump/public/workspace/ant/dist -Dcommons-collections.jar=/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-07122004.jar -Dxml-apis.jar=/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar -DxercesImpl.jar=/usr/local/gump/public/workspace/xml-xerces2/java/build/xercesImpl.jar -Dstruts.home=/usr/local/gump/public/workspace/struts/dist -Dcommons-el.jar=/usr/local/gump/public/workspace/jakarta-commons/el/dist/commons-el.jar -Djaas.jar=/usr/local/gump/packages/jaas1_0/lib/jaas.jar -Dcommons-daemon.jsvc.tar.gz=/usr/local/gump/public/workspace/jakarta-commons/daemon/dist/bin/jsvc.tar.gz -Dcommons-daemon.jar=/usr/local/gump/public/workspace/jakarta-commons/daemon/dist/commons-daemon-07122004.jar -Dapi.home=/usr/local/gump/public/workspace/jakarta-servletapi-5 -Dcommons-fileupload.jar=/usr/local/gump/public/workspace/jakarta-commons/fileupload/target/commons-fileupload-07122004.jar -Dmail.jar=/usr/local/gump/packages/javamail-1.3.2/mail.jar
cvs commit: jakarta-tomcat-connectors/jk/native/common jk_lb_worker.c jk_uri_worker_map.c jk_util.c
mturk 2004/12/07 05:23:14 Modified:jk/native/common jk_lb_worker.c jk_uri_worker_map.c jk_util.c Log: Fix compile time warnings Revision ChangesPath 1.34 +2 -3 jakarta-tomcat-connectors/jk/native/common/jk_lb_worker.c Index: jk_lb_worker.c === RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/common/jk_lb_worker.c,v retrieving revision 1.33 retrieving revision 1.34 diff -u -r1.33 -r1.34 --- jk_lb_worker.c7 Dec 2004 12:24:53 - 1.33 +++ jk_lb_worker.c7 Dec 2004 13:23:14 - 1.34 @@ -343,8 +343,7 @@ { worker_record_t *rc = NULL; char *sessionid = NULL; -int total_factor = 0; -int domain_id =-1; +int domain_id = -1; JK_TRACE_ENTER(l); if (p-sticky_session) { 1.34 +3 -3 jakarta-tomcat-connectors/jk/native/common/jk_uri_worker_map.c Index: jk_uri_worker_map.c === RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/common/jk_uri_worker_map.c,v retrieving revision 1.33 retrieving revision 1.34 diff -u -r1.33 -r1.34 --- jk_uri_worker_map.c 30 Nov 2004 07:30:42 - 1.33 +++ jk_uri_worker_map.c 7 Dec 2004 13:23:14 - 1.34 @@ -295,7 +295,7 @@ if (uri[0] == '/') { char *asterisk = strchr(uri, '*'); -if (asterisk strchr(asterisk + 1, '*') || +if ((asterisk strchr(asterisk + 1, '*')) || strchr(uri, '?')) { uwr-uri = jk_pool_strdup(uw_map-p, uri); @@ -548,7 +548,7 @@ char *uri, jk_logger_t *l) { unsigned int i; -unsigned int best_match = -1; +int best_match = -1; unsigned int longest_match = 0; char *url_rewrite; 1.46 +2 -3 jakarta-tomcat-connectors/jk/native/common/jk_util.c Index: jk_util.c === RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/common/jk_util.c,v retrieving revision 1.45 retrieving revision 1.46 diff -u -r1.45 -r1.46 --- jk_util.c 7 Dec 2004 12:24:53 - 1.45 +++ jk_util.c 7 Dec 2004 13:23:14 - 1.46 @@ -1036,8 +1036,7 @@ pthread_getunique_np(t, tid); return ((int)(tid.intId.lo 0x)); #else -int tid = 0; -pthread_getunique_np(t, tid); +int tid = (int)(t 0x); return tid; #endif /* AS400 */ } - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-tomcat-connectors/jk/native/common jk_util.c
mturk 2004/12/07 05:29:55 Modified:jk/native/common jk_util.c Log: Remove CRLF Revision ChangesPath 1.47 +16 -16jakarta-tomcat-connectors/jk/native/common/jk_util.c Index: jk_util.c === RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/common/jk_util.c,v retrieving revision 1.46 retrieving revision 1.47 diff -u -r1.46 -r1.47 --- jk_util.c 7 Dec 2004 13:23:14 - 1.46 +++ jk_util.c 7 Dec 2004 13:29:55 - 1.47 @@ -1026,18 +1026,18 @@ s-retries = JK_RETRIES; } -#ifdef _MT_CODE_PTHREAD -int jk_gettid() -{ -pthread_t t = pthread_self(); -#ifdef AS400 - /* OS400 use 64 bits ThreadId, get only low 32 bits for now */ -pthread_id_np_t tid; -pthread_getunique_np(t, tid); - return ((int)(tid.intId.lo 0x)); -#else -int tid = (int)(t 0x); -return tid; -#endif /* AS400 */ -} -#endif +#ifdef _MT_CODE_PTHREAD +int jk_gettid() +{ +pthread_t t = pthread_self(); +#ifdef AS400 + /* OS400 use 64 bits ThreadId, get only low 32 bits for now */ +pthread_id_np_t tid; +pthread_getunique_np(t, tid); + return ((int)(tid.intId.lo 0x)); +#else +int tid = (int)(t 0x); +return tid; +#endif /* AS400 */ +} +#endif - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-tomcat-connectors/jk/native/common jk_map.c
mturk 2004/12/07 05:46:56 Modified:jk/native/apache-1.3 mod_jk.c jk/native/apache-2.0 mod_jk.c jk/native/common jk_map.c Log: Remove the need for supplying the pointer to old value for jk_map_put Revision ChangesPath 1.57 +5 -8 jakarta-tomcat-connectors/jk/native/apache-1.3/mod_jk.c Index: mod_jk.c === RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/apache-1.3/mod_jk.c,v retrieving revision 1.56 retrieving revision 1.57 diff -u -r1.56 -r1.57 --- mod_jk.c 4 Dec 2004 12:13:59 - 1.56 +++ mod_jk.c 7 Dec 2004 13:46:55 - 1.57 @@ -671,7 +671,6 @@ jk_server_conf_t *conf = (jk_server_conf_t *) ap_get_module_config(s-module_config, jk_module); -char *old; const char *c, *w; if (worker != NULL cmd-path == NULL ) { @@ -695,7 +694,7 @@ /* * Add the new worker to the alias map. */ -jk_map_put(conf-uri_to_context, c, w, (void **)old); +jk_map_put(conf-uri_to_context, c, w, NULL); return NULL; } @@ -714,7 +713,7 @@ jk_server_conf_t *conf = (jk_server_conf_t *) ap_get_module_config(s-module_config, jk_module); -char *old , *uri; +char *uri; const char *c, *w; if (worker != NULL cmd-path == NULL ) { @@ -737,7 +736,7 @@ /* * Add the new worker to the alias map. */ -jk_map_put(conf-uri_to_context, uri, w, (void **)old); +jk_map_put(conf-uri_to_context, uri, w, NULL); return NULL; } @@ -759,8 +758,7 @@ /* * Add the new automount to the auto map. */ -char *old; -jk_map_put(conf-automount, worker, virtualhost, (void **)old); +jk_map_put(conf-automount, worker, virtualhost, NULL); return NULL; } @@ -1764,12 +1762,11 @@ int sz = jk_map_size(src); int i; for (i = 0; i sz; i++) { -void *old; char *name = jk_map_name_at(src, i); if (jk_map_get(src, name, NULL) == NULL) { if (!jk_map_put (dst, name, ap_pstrdup(p, jk_map_get_string(src, name, NULL)), -old)) { +NULL)) { jk_error_exit(APLOG_MARK, APLOG_EMERG, s, p, Memory error); } } 1.107 +5 -8 jakarta-tomcat-connectors/jk/native/apache-2.0/mod_jk.c Index: mod_jk.c === RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/apache-2.0/mod_jk.c,v retrieving revision 1.106 retrieving revision 1.107 diff -u -r1.106 -r1.107 --- mod_jk.c 4 Dec 2004 12:11:58 - 1.106 +++ mod_jk.c 7 Dec 2004 13:46:55 - 1.107 @@ -715,7 +715,6 @@ jk_server_conf_t *conf = (jk_server_conf_t *) ap_get_module_config(s-module_config, jk_module); -char *old; const char *c, *w; if (worker != NULL cmd-path == NULL ) { @@ -739,7 +738,7 @@ /* * Add the new worker to the alias map. */ -jk_map_put(conf-uri_to_context, c, w, (void **)old); +jk_map_put(conf-uri_to_context, c, w, NULL); return NULL; } @@ -758,7 +757,7 @@ jk_server_conf_t *conf = (jk_server_conf_t *) ap_get_module_config(s-module_config, jk_module); -char *old , *uri; +char *uri; const char *c, *w; if (worker != NULL cmd-path == NULL ) { @@ -783,7 +782,7 @@ /* * Add the new worker to the alias map. */ -jk_map_put(conf-uri_to_context, uri, w, (void **)old); +jk_map_put(conf-uri_to_context, uri, w, NULL); return NULL; } @@ -807,8 +806,7 @@ /* * Add the new automount to the auto map. */ -char *old; -jk_map_put(conf-automount, worker, virtualhost, (void **)old); +jk_map_put(conf-automount, worker, virtualhost, NULL); return NULL; } @@ -1978,12 +1976,11 @@ int sz = jk_map_size(src); int i; for (i = 0; i sz; i++) { -void *old; char *name = jk_map_name_at(src, i); if (jk_map_get(src, name, NULL) == NULL) { if (!jk_map_put(dst, name, apr_pstrdup(p, jk_map_get_string(src, name, NULL)), -old)) { +NULL)) { jk_error_exit(APLOG_MARK, APLOG_EMERG, s, p, Memory error); } } 1.23 +4 -4 jakarta-tomcat-connectors/jk/native/common/jk_map.c Index:
cvs commit: jakarta-tomcat-connectors/jk/native/apache-1.3 mod_jk.c
mturk 2004/12/07 06:02:51 Modified:jk/native/apache-1.3 mod_jk.c Log: Fix compile time warnings. Revision ChangesPath 1.58 +2 -3 jakarta-tomcat-connectors/jk/native/apache-1.3/mod_jk.c Index: mod_jk.c === RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/apache-1.3/mod_jk.c,v retrieving revision 1.57 retrieving revision 1.58 diff -u -r1.57 -r1.58 --- mod_jk.c 7 Dec 2004 13:46:55 - 1.57 +++ mod_jk.c 7 Dec 2004 14:02:51 - 1.58 @@ -1589,7 +1589,7 @@ } /* Set up r-read_chunked flags for chunked encoding, if present */ -if (rc = ap_setup_client_block(r, REQUEST_CHUNKED_DECHUNK)) { +if ((rc = ap_setup_client_block(r, REQUEST_CHUNKED_DECHUNK))) { return rc; } @@ -1655,7 +1655,6 @@ #ifndef NO_GETTIMEOFDAY if (conf-format != NULL) { char *duration = NULL; -char *status = NULL; long micro, seconds; gettimeofday(tv_end, NULL); if (tv_end.tv_usec tv_begin.tv_usec) { @@ -1665,7 +1664,7 @@ micro = tv_end.tv_usec - tv_begin.tv_usec; seconds = tv_end.tv_sec - tv_begin.tv_sec; duration = -ap_psprintf(r-pool, %.1d.%.6d, seconds, micro); +ap_psprintf(r-pool, %.1ld.%.6ld, seconds, micro); ap_table_setn(r-notes, JK_DURATION, duration); request_log_transaction(r, conf); } - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tagging JK1_2_27_BETA_2 today 18:00 GMT
Hi, I'll tag JK1_2_27_BETA_2 later today and release as beta 2. IMO this will be the latest beta release for 1.2.7. if no serious bugs found. Regards, Mladen. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-tomcat-connectors/jk/native/common jk_lb_worker.c
mturk 2004/12/07 06:29:14 Modified:jk/native/common jk_lb_worker.c Log: Use static for local functions Revision ChangesPath 1.35 +5 -5 jakarta-tomcat-connectors/jk/native/common/jk_lb_worker.c Index: jk_lb_worker.c === RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/common/jk_lb_worker.c,v retrieving revision 1.34 retrieving revision 1.35 diff -u -r1.34 -r1.35 --- jk_lb_worker.c7 Dec 2004 13:23:14 - 1.34 +++ jk_lb_worker.c7 Dec 2004 14:29:14 - 1.35 @@ -212,10 +212,10 @@ } -int is_worker_candidate(worker_record_t *wr, -int search_id, -const char *search_string, -jk_logger_t *l) +static int is_worker_candidate(worker_record_t *wr, + int search_id, + const char *search_string, + jk_logger_t *l) { switch (search_id) { case 1: - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-tomcat-connectors/jk/native/common jk_map.c
mturk 2004/12/07 06:29:55 Modified:jk/native/common jk_map.c Log: Out is not required param Revision ChangesPath 1.24 +2 -2 jakarta-tomcat-connectors/jk/native/common/jk_map.c Index: jk_map.c === RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/common/jk_map.c,v retrieving revision 1.23 retrieving revision 1.24 diff -u -r1.23 -r1.24 --- jk_map.c 7 Dec 2004 13:46:56 - 1.23 +++ jk_map.c 7 Dec 2004 14:29:55 - 1.24 @@ -292,7 +292,7 @@ { int rc = JK_FALSE; -if (m name old) { +if (m name) { unsigned int i; unsigned int key; COMPUTE_KEY_CHECKSUM(name, key) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-tomcat-connectors/jk/native/common jk_uri_worker_map.c
mturk 2004/12/07 06:30:23 Modified:jk/native/common jk_uri_worker_map.c Log: Add more verbose to debug message Revision ChangesPath 1.35 +3 -2 jakarta-tomcat-connectors/jk/native/common/jk_uri_worker_map.c Index: jk_uri_worker_map.c === RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/common/jk_uri_worker_map.c,v retrieving revision 1.34 retrieving revision 1.35 diff -u -r1.34 -r1.35 --- jk_uri_worker_map.c 7 Dec 2004 13:23:14 - 1.34 +++ jk_uri_worker_map.c 7 Dec 2004 14:30:23 - 1.35 @@ -570,7 +570,8 @@ } jk_no2slash(uri); -jk_log(l, JK_LOG_DEBUG, Attempting to map URI '%s'\n, uri); +jk_log(l, JK_LOG_DEBUG, Attempting to map URI '%s' from %d maps\n, + uri, uw_map-size); for (i = 0; i uw_map-size; i++) { uri_worker_record_t *uwr = uw_map-maps[i]; - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-tomcat-connectors/jk/native/common jk_msg_buff.c
mturk 2004/12/07 06:49:07 Modified:jk/native/common jk_msg_buff.c Log: Remove all stderr error messages. We are using logger for those. Revision ChangesPath 1.26 +3 -49 jakarta-tomcat-connectors/jk/native/common/jk_msg_buff.c Index: jk_msg_buff.c === RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/common/jk_msg_buff.c,v retrieving revision 1.25 retrieving revision 1.26 diff -u -r1.25 -r1.26 --- jk_msg_buff.c 7 Dec 2004 04:37:09 - 1.25 +++ jk_msg_buff.c 7 Dec 2004 14:49:07 - 1.26 @@ -45,36 +45,6 @@ * Simple marshaling code. */ -/* Deprecated: We need smarter way for that. - Do not use stderr for logging - */ -#if defined(DEBUG) || defined(_DEBUG) -static void jk_b_dump(jk_msg_buf_t *msg, char *err) -{ -int i = 0; -fprintf(stderr, -%s %d/%d/%d %x %x %x %x - %x %x %x %x - %x %x %x %x - %x %x %x %x\n, -err, msg-pos, msg-len, msg-maxlen, -msg-buf[i++], msg-buf[i++], msg-buf[i++], msg-buf[i++], -msg-buf[i++], msg-buf[i++], msg-buf[i++], msg-buf[i++], -msg-buf[i++], msg-buf[i++], msg-buf[i++], msg-buf[i++], -msg-buf[i++], msg-buf[i++], msg-buf[i++], msg-buf[i++]); - -i = msg-pos - 4; -if (i 0) { -i = 0; -} - -fprintf(stderr, -%x %x %x %x - %x %x %x %x --- %x %x %x %x - %x %x %x %x\n, -msg-buf[i++], msg-buf[i++], msg-buf[i++], msg-buf[i++], -msg-buf[i++], msg-buf[i++], msg-buf[i++], msg-buf[i++], -msg-buf[i++], msg-buf[i++], msg-buf[i++], msg-buf[i++], -msg-buf[i++], msg-buf[i++], msg-buf[i++], msg-buf[i++]); - -} -#endif - void jk_b_reset(jk_msg_buf_t *msg) { msg-len = 4; @@ -282,9 +252,6 @@ { unsigned long i; if (msg-pos + 3 msg-len) { -#if defined(DEBUG) || defined(_DEBUG) -fprintf(stderr, jk_b_get_long::Read after end \n); -#endif return 0x; } i = ((msg-buf[(msg-pos++)] 0xFF) 24); @@ -309,9 +276,6 @@ { unsigned short i; if (msg-pos + 1 msg-len) { -#if defined(DEBUG) || defined(_DEBUG) -fprintf(stderr, jk_b_get_int::Read after end \n); -#endif return 0x; } i = ((msg-buf[(msg-pos++)] 0xFF) 8); @@ -331,9 +295,6 @@ { unsigned char rc; if (msg-pos msg-len) { -#if defined(DEBUG) || defined(_DEBUG) -fprintf(stderr, jk_b_get_byte::Read after end \n); -#endif return 0xFF; } rc = msg-buf[msg-pos++]; @@ -353,11 +314,8 @@ int start = msg-pos; if ((size == 0x) || (size + start msg-maxlen)) { -#if defined (DEBUG) || (_DEBUG) -jk_b_dump(msg, After get int); -fprintf(stderr, ERROR\n); -#endif -return (unsigned char *)ERROR;/* XXX */ +/* TODO: return NULL and deal with that in the code */ +return (unsigned char *)ERROR; } msg-pos += size; @@ -371,10 +329,6 @@ int start = msg-pos; if ((len 0) || (len + start msg-maxlen)) { -#if defined (DEBUG) || (_DEBUG) -jk_b_dump(msg, After get bytes); -fprintf(stderr, ERROR\n); -#endif return (-1); } - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tagging JK1_2_27_BETA_2 today 18:00 GMT
After no more betas are in order is the plan to release a stable 1.2.7 or to bump the version up to 1.2.8 at that point? [Sorry for the question but I seem to recall both possibilities being uttered previously.] -- Jess Holle P.S. Thanks to all for all the hard work on JK 1.2.7, especially Mladen :-) Mladen Turk wrote: Hi, I'll tag JK1_2_27_BETA_2 later today and release as beta 2. IMO this will be the latest beta release for 1.2.7. if no serious bugs found. 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 32568] New: - JspWriter uses plattform encoding
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=32568. 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=32568 Summary: JspWriter uses plattform encoding Product: Tomcat 5 Version: 5.5.4 Platform: All OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: Servlet JSP API AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] JspWriter ignores any information i provide about the encoding of the response. My plattform encoding is UTF-8 running on Fedora1. But i need iso-8859-1 encoding. I did various test. All i can say is, that if i encode the Strings by myself and write this into the outputstream the result is as expected. And the only thing, that all this contentType stuff is changing is thr response header. I read a loot in news/google/tomcat-mailinglist. As far as i know the solution for this problem was all the time change encoding to utf-8. But this is not a solution. Excample code included: [EMAIL PROTECTED] contentType=text/html; charset=ISO-8859-1% br Ae - Ä - Auml;br Oe - Ö - Ouml;br Ue - Ü - Uuml;br br % String[][] test= { {Ae,Ä}, {Oe,Ö}, {Ue,Ü}, }; for (int i=0,s=test.length;is;i++) { out.print(test[i][0]); out.print( - ); out.print(test[i][1]); out.print(br\n); System.out.print(test[i][0]); System.out.print( - ); System.out.print(test[i][1]); System.out.print(br\n); } % -- 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 32568] - JspWriter uses plattform encoding
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=32568. 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=32568 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||INVALID --- Additional Comments From [EMAIL PROTECTED] 2004-12-07 17:30 --- Check the javaEncoding option for the JSPs, as documented in the Jasper How- To. Then if you're still having a problem, bring it up on the tomcat-user list, which is a far better discussion forum than Bugzilla. -- 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 32569] New: - ServletContextListener will not die
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=32569. 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=32569 Summary: ServletContextListener will not die Product: Tomcat 5 Version: 5.0.28 Platform: PC OS/Version: Windows XP Status: NEW Severity: normal Priority: P2 Component: Catalina AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] We have a web app running under Tomcat 5.0.28. We wrote a ServletContextListener and configured it in the web.xml, and all works fine. Then one day we wanted to disable the listener, so we commented it out in our web.xml. Tomcat then reloaded the app. Our listener got a contextDestroyed call, as expected, but then it still received a contextInitialized when the app was re-started (we know this because of some logging we do in the listener). So then we stopped and started the webapp, with the same result. The only way we could get the listener to go away was to re-start Tomcat itself. To me this behaviour appears to violate the intent of the ServletContextListener interface as well as the contract defined by the web.xml deployment descriptor. On the practical side, having to restart Tomcat to disable a listener is not a viable solution in a production environment -- 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 32406] - pageContext.include() not throws IOException
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=32406. 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=32406 [EMAIL PROTECTED] changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution||INVALID --- Additional Comments From [EMAIL PROTECTED] 2004-12-07 17:31 --- The TCKs cover this part of the Spec, and Tomcat passes them without any failure. So I think the problem is in your code. -- 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 32568] - JspWriter uses plattform encoding
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=32568. 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=32568 --- Additional Comments From [EMAIL PROTECTED] 2004-12-07 17:31 --- what do you mean by your platform is UTF-8? see: http://issues.apache.org/bugzilla/show_bug.cgi?id=32500 -- 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: Tagging JK1_2_27_BETA_2 today 18:00 GMT
Jess Holle wrote: After no more betas are in order is the plan to release a stable 1.2.7 or to bump the version up to 1.2.8 at that point? Version 1.2.8 will better reflect the number of changes involved. I'm very much in favor of declaring this version as 1.2.8 if declared as stable. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-tomcat-catalina/webapps/docs changelog.xml logging.xml
yoavs 2004/12/07 08:38:15 Modified:webapps/docs changelog.xml logging.xml Log: Bugzilla 32532. Revision ChangesPath 1.195 +3 -0 jakarta-tomcat-catalina/webapps/docs/changelog.xml Index: changelog.xml === RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/docs/changelog.xml,v retrieving revision 1.194 retrieving revision 1.195 diff -u -r1.194 -r1.195 --- changelog.xml 3 Dec 2004 15:17:34 - 1.194 +++ changelog.xml 7 Dec 2004 16:38:14 - 1.195 @@ -29,6 +29,9 @@ section name=Tomcat 5.5.6 (yoavs) subsection name=General changelog + update +bug32532/bug: updated logging documentation. (yoavs) + /update /changelog /subsection 1.5 +20 -8 jakarta-tomcat-catalina/webapps/docs/logging.xml Index: logging.xml === RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/docs/logging.xml,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- logging.xml 19 Nov 2004 15:38:36 - 1.4 +++ logging.xml 7 Dec 2004 16:38:15 - 1.5 @@ -62,14 +62,11 @@ ol liCreate a file called log4j.properties with the following content and save it into common/classes. /li - liUse the appropriate file path convention for your OS. Below is -a Window example, which on *nix might be - code/var/jakarta-tomcat-5.5.4/logs/tomcat.log/code./li li source log4j.rootLogger=debug, R br / log4j.appender.R=org.apache.log4j.RollingFileAppender br / -log4j.appender.R.File=d:/jakarta-tomcat-5.5.4/logs/tomcat.log br / +log4j.appender.R.File=${catalina.home}/logs/tomcat.log br / log4j.appender.R.MaxFileSize=10MB br / log4j.appender.R.MaxBackupIndex=10 br / log4j.appender.R.layout=org.apache.log4j.PatternLayout br / @@ -80,6 +77,12 @@ lia href=http://logging.apache.org/log4j;Download Log4J/a (v1.2 or later) and place the log4j jar in $CATALINA_HOME/common/lib./li + +lia href=http://jakarta.apache.org/site/binindex.cgi#commons-logging; +Download Commons Logging/a and place the commons-logging.jar +(not commons-logging-api.jar) in $CATALINA_HOME/common/lib with +the log4j jar./li + liStart Tomcat/li /ol /p @@ -93,24 +96,33 @@ p You can (and should) be more picky about which packages to include - in the logging. For example try substituting the - last line of the above configuration with one of these: + in the logging. Tomcat 5.5 uses defines loggers by Engine and Host names. + For example, for a default Catalina localhost log, add this to the + end of the log4j.properties above. Note that there are known issues with + using this naming convention (with square brackets) in log4j XML based + configuration files, so we recommend you use a properties file as described + until a future version of log4j allows this convention. ul lilog4j.logger.org.apache.catalina.core.ContainerBase.[Catalina].[localhost]=DEBUG, R/li lilog4j.logger.org.apache.catalina.core=DEBUG, R/li lilog4j.logger.org.apache.catalina.session=DEBUG, R/li /ul + + Be warned a level of DEBUG will produce megabytes of logging and slow startup + of Tomcat. This level should be used sparingly when debugging of internal Tomcat + operations is required. /p p Your web applications should certainly use their own log4j configuration. - This is valid iwith/i the above. You would place a similar log4j.properties + This is valid iwith/i the above configuration. You would place a similar log4j.properties file in your web application's WEB-INF/classes folder, and log4j1.2.8.jar into WEB-INF/lib. Then specify your package level logging. This is a basic setup of log4j + which does *not* require Commons-Logging, and you should consult the a href=http://logging.apache.org/log4j/docs/documentation.html;log4j documentation/a - for more options: this page is intended only as a bootstrapping guide. + for more options. This page is intended only as a bootstrapping guide. /p /section - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 32532] - tomcat logging page fails to mention need of commons-logging.jar in common/lib
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=32532. 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=32532 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Additional Comments From [EMAIL PROTECTED] 2004-12-07 17:38 --- OK, patch applied (slightly modified), in time for 5.5.6. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-tomcat-catalina/webapps/docs/appdev/sample/web sample.war
yoavs 2004/12/07 08:46:22 Modified:webapps/docs changelog.xml Added: webapps/docs/appdev/sample index.html webapps/docs/appdev/sample/web sample.war Log: Bugzilla 32382. Revision ChangesPath 1.196 +3 -0 jakarta-tomcat-catalina/webapps/docs/changelog.xml Index: changelog.xml === RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/docs/changelog.xml,v retrieving revision 1.195 retrieving revision 1.196 diff -u -r1.195 -r1.196 --- changelog.xml 7 Dec 2004 16:38:14 - 1.195 +++ changelog.xml 7 Dec 2004 16:46:22 - 1.196 @@ -32,6 +32,9 @@ update bug32532/bug: updated logging documentation. (yoavs) /update + update +bug32382/bug: Index page and packaed WAR for sample webapp. (yoavs) + /update /changelog /subsection 1.1 jakarta-tomcat-catalina/webapps/docs/appdev/sample/index.html Index: index.html === html head meta name=author content=Ben Souther / titleSample Application/title /head body h2Sample Application/h2 p The example app has been packaged as a war file and can be downloaded a href=sample/sample.warhere/a (Note: make sure your browser doesn't change file extension or append a new one). /p p The easiest way to run this application is simply to move the war file to your bCATALINA_HOME/webapps/b directory. Tomcat will automatically expand and deploy the application for you. You can view it with the following URL (assuming that you're running tomcat on port 8080 as is the default): br / a href=http://localhost:8080/sample;http://localhost:8080/sample/a /p p If you just want to browse the code you can unpack the war file with the bjar/b command. source jar -xvf sample.war /source /p /body /html 1.1 jakarta-tomcat-catalina/webapps/docs/appdev/sample/web/sample.war Binary file - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-tomcat-catalina/webapps/docs/appdev/sample/web sample.war
yoavs 2004/12/07 08:48:24 Modified:webapps/docs/appdev/sample index.html Added: webapps/docs/appdev/sample sample.war Removed: webapps/docs/appdev/sample/web sample.war Log: Slight shuffling. Revision ChangesPath 1.2 +1 -1 jakarta-tomcat-catalina/webapps/docs/appdev/sample/index.html Index: index.html === RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/docs/appdev/sample/index.html,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- index.html7 Dec 2004 16:46:22 - 1.1 +++ index.html7 Dec 2004 16:48:24 - 1.2 @@ -7,7 +7,7 @@ h2Sample Application/h2 p The example app has been packaged as a war file and can be downloaded -a href=sample/sample.warhere/a (Note: make sure your browser doesn't +a href=sample.warhere/a (Note: make sure your browser doesn't change file extension or append a new one). /p p 1.1 jakarta-tomcat-catalina/webapps/docs/appdev/sample/sample.war Binary file - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 32382] - First App - Example App is misleading
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=32382. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=32382 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Additional Comments From [EMAIL PROTECTED] 2004-12-07 17:48 --- Index.html and WAR file, yes, extra zip as part of the build, not worth the effort. Done on CVS HEAD. -- 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 31799] - International characters are not supported in packages
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=31799. 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=31799 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||WONTFIX --- Additional Comments From [EMAIL PROTECTED] 2004-12-07 17:49 --- Closing due to lack of interest. If the OP is still interested he/she can reopen this issue and answer our questions. Thanks. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-tomcat-connectors/jk/xdocs changelog.xml
mturk 2004/12/07 09:02:49 Modified:jk/xdocs changelog.xml Log: Note latest changes to 1.2.7 Revision ChangesPath 1.3 +14 -1 jakarta-tomcat-connectors/jk/xdocs/changelog.xml Index: changelog.xml === RCS file: /home/cvs/jakarta-tomcat-connectors/jk/xdocs/changelog.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- changelog.xml 30 Nov 2004 07:35:37 - 1.2 +++ changelog.xml 7 Dec 2004 17:02:49 - 1.3 @@ -21,7 +21,20 @@ new documentation project for JK has been started. /p /section - +section name=Changes from JK 1.2.7 + br / + subsection name=Native +changelog + update + bug32317/bug: Making mod_jk replication aware (Clustering Support). + Patch provided by Rainer Jung. (mturk). + /update + fix + bug31132/bug: Core dump when JkLogFile is missing from conf. (mturk) + /fix +/changelog + /subsection +/section section name=Changes from JK 1.2.6 br / subsection name=Native - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-tomcat-catalina/webapps/docs changelog.xml
remm2004/12/07 09:05:43 Modified:webapps/docs changelog.xml Log: - Add my changes. Revision ChangesPath 1.197 +20 -0 jakarta-tomcat-catalina/webapps/docs/changelog.xml Index: changelog.xml === RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/docs/changelog.xml,v retrieving revision 1.196 retrieving revision 1.197 diff -u -r1.196 -r1.197 --- changelog.xml 7 Dec 2004 16:46:22 - 1.196 +++ changelog.xml 7 Dec 2004 17:05:43 - 1.197 @@ -38,11 +38,31 @@ /changelog /subsection + subsection name=Catalina +changelog + fix +Add child to the map of the parent before starting it. (remm) + /fix + fix +Decouple usage of the scheme and secure attributes from enabling SSL. (remm) + /fix +/changelog + /subsection + subsection name=Jasper changelog update Updated Jasper-HowTo section on using Jikes, changed conf/web.xml JSPServlet to refer people to Jasper-HowTo so that we don't have these instructions in two places. (yoavs) /update +/changelog + /subsection + + subsection name=Webapps +changelog + fix +bug32505/bug: Fix handling of an empty context parameter (which occurred every time the HTML +manager was used to deploy a local war without specifying also a context file). (remm) + /fix /changelog /subsection /section - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-tomcat-connectors/jk/xdocs/news 20041100.xml
mturk 2004/12/07 09:19:09 Modified:jk/xdocs index.xml jk/xdocs/news 20041100.xml Log: Add beta2 release news sections. Revision ChangesPath 1.27 +9 -0 jakarta-tomcat-connectors/jk/xdocs/index.xml Index: index.xml === RCS file: /home/cvs/jakarta-tomcat-connectors/jk/xdocs/index.xml,v retrieving revision 1.26 retrieving revision 1.27 diff -u -r1.26 -r1.27 --- index.xml 3 Dec 2004 07:03:29 - 1.26 +++ index.xml 7 Dec 2004 17:19:09 - 1.27 @@ -28,6 +28,15 @@ section name=Headlines br / ul +lia href=news/20041100.html#20041207.17 December 2004 - bJK-1.2.7-beta-2 released/b/a +pThe Apache Jakarta Tomcat team is proud to announce the immediate availability +of Jakarta Tomcat Connectors 1.2.7-beta-2. The release contains a fix to few compilation +problems detected with JK-1.2.7-beta version. +/p +pDownlad the a href=http://www.apache.org/dist/jakarta/tomcat-connectors/jk/source/jakarta-tomcat-connectors-1.2.7-beta-2.tar.gz;JK 1.2.7 beta sources/a + | a href=http://www.apache.org/dist/jakarta/tomcat-connectors/jk/source/jakarta-tomcat-connectors-1.2.7-beta-2.tar.gz.asc;PGP signature/a +/p +/li lia href=news/20041100.html#20041130.130 November 2004 - bJK-1.2.7-beta released/b/a pThe Apache Jakarta Tomcat team is proud to announce the immediate availability of Jakarta Tomcat Connectors 1.2.7-beta. The release contains a significant number 1.4 +21 -0 jakarta-tomcat-connectors/jk/xdocs/news/20041100.xml Index: 20041100.xml === RCS file: /home/cvs/jakarta-tomcat-connectors/jk/xdocs/news/20041100.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- 20041100.xml 30 Nov 2004 09:16:01 - 1.3 +++ 20041100.xml 7 Dec 2004 17:19:09 - 1.4 @@ -21,6 +21,27 @@ /a hr size=1 noshade=noshade / -- +a name=20041207.1 +h37 December - JK-1.2.7-beta-2 released/h3 +pThe Apache Jakarta Tomcat team is proud to announce the immediate availability +of Jakarta Tomcat Connectors 1.2.7-beta-2. The release contains a fix to few compilation +problems detected with JK-1.2.7-beta version. This release also introduces a new +bdomain/b concept clustering support. See bug32317/bug for details. +/p +p +We expect it to be ratified as a Stable release when the vote takes place +in the next two weeks. +/p +p + Please see the a href=../changelog.htmlChangeLog/a for a full list of changes. +/p +pIf you find any bugs during testing this release, please fill in the +a href=http://issues.apache.org/bugzilla/enter_bug.cgi?product=Tomcat%205;Bugzilla/a +Bug Report. When entering bug select bNative:JK/b Component. +/p +/a +hr size=1 noshade=noshade / + a name=20041130.1 h330 November - JK-1.2.7-beta released/h3 pThe Apache Jakarta Tomcat team is proud to announce the immediate availability - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 32317] - Making mod_jk replication aware (Clustering Support)
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=32317. 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=32317 --- Additional Comments From [EMAIL PROTECTED] 2004-12-07 18:19 --- Thank's a lot for accepting the patch. I hope it will not make too much trouble and I'm sure it will be helpful for really useful bigger cluster designs. Documentation and examples config: I will provide in the next 5 days. Code without documentation is not very useful. -- 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]
Yahoo! Auto Response
very very sorry for inconvenience ! it's because of past experiences !! IF YOU ARE REALLY LIKE TO HAVE ORDER, PROVE YOUR EXPERIENCE BY SENDING RECENT PAST EXPORT INVOICES ON FAX : +92216673246, RPT INVOICES ON FAX :+92216673246???. FOLLOWED BY E-MAIL : [EMAIL PROTECTED],[EMAIL PROTECTED] Original Message: X-YahooFilteredBulk: 217.219.53.150 X-Originating-IP: [217.219.53.150] Return-Path: [EMAIL PROTECTED] Received: from 217.219.53.150 (EHLO yahoo.com) (217.219.53.150) by mta157.mail.re2.yahoo.com with SMTP; Tue, 07 Dec 2004 09:45:55 -0800 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Protected Mail Delivery Date: Tue, 7 Dec 2004 21:17:06 +0330 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary==_NextPart_000_0016=_NextPart_000_0016 X-Priority: 3 X-MSMail-Priority: Normal This is a multi-part message in MIME format. --=_NextPart_000_0016=_NextPart_000_0016 Content-Type: text/plain; charset=Windows-1252 Content-Transfer-Encoding: 7bit Secure Mail System Beta Test. +++ Attachment: No Virus found +++ MessageLabs AntiVirus - www.messagelabs.com --=_NextPart_000_0016=_NextPart_000_0016 Content-Type: application/octet-stream; na _ DO YOU YAHOO!? Get your free @yahoo.com address at http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 32500] - specific text-encoding ignored for dynamically generated text
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=32500. 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=32500 --- Additional Comments From [EMAIL PROTECTED] 2004-12-07 19:17 --- Hi, I may have the similar problem as discussed here. I need to use jsp to display some data in Japanese character from MS SQL server database. I have already set the encoding in jsp to be: %@ page language=java contentType=text/html; charset=UTF-8 % If I use tomcat version 5.0.18, then the japanese character is displayed correctly. However, if I use 5.0.28 or 5.5.4, the characters are something like ???. If I right click the html page generated from jsp on the above versions, I can see the encoding to be Western instead of UTF-8 like what happened with 5.0.18. Does anyone know what cause this problem and if any configuration of Tomcat needs to be made. Thank you very much for your help. Someone here that could not get the correct character set may want to test tomcat version 5.0.18. (In reply to comment #0) After setting contentType to hebrew encoding in a JSP page, static text in the page is correctly displayed according to the specified encoding, but dynamically-generated text (%= % expression) does NOT get encoded to hebrew and it appears as a sequence of question marks on the browser. JSP is dispatched from a servlet that handles the request prior to generating the response to the client. Reproduced on both with IE-6 SP-1 and Firefox 1.0. I attached is a JSP page to reproduce the problem (but it requires that a database with hebrew content will be on the other hand, and that a servlet will assign a value to the variable before dispatching the call to the attached JSP). -- 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/jk/native/common jk_version.h
mturk 2004/12/07 10:19:14 Modified:jk/native/common jk_version.h Log: Increase the beta number. Hope it's lats one for 1.2.7 Revision ChangesPath 1.27 +3 -3 jakarta-tomcat-connectors/jk/native/common/jk_version.h Index: jk_version.h === RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/common/jk_version.h,v retrieving revision 1.26 retrieving revision 1.27 diff -u -r1.26 -r1.27 --- jk_version.h 1 Dec 2004 12:14:55 - 1.26 +++ jk_version.h 7 Dec 2004 18:19:14 - 1.27 @@ -29,8 +29,8 @@ #define JK_VERSTRING1.2.7 /* Beta number */ -#define JK_VERBETA 1 -#define JK_BETASTRING 2 +#define JK_VERBETA 3 +#define JK_BETASTRING 3 /* set JK_VERISRELEASE to 1 when release (do not forget to commit!) */ #define JK_VERISRELEASE 0 /** END OF AREA TO MODIFY BEFORE RELEASING */ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 32382] - First App - Example App is misleading
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=32382. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=32382 [EMAIL PROTECTED] changed: What|Removed |Added Status|RESOLVED|CLOSED --- Additional Comments From [EMAIL PROTECTED] 2004-12-07 19:38 --- Index.html and WAR file, yes, Thank you. extra zip as part of the build, not worth the effort. Agreed -- 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 32500] - specific text-encoding ignored for dynamically generated text
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=32500. 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=32500 --- Additional Comments From [EMAIL PROTECTED] 2004-12-07 19:43 --- have you checked that your database driver URL has the correct charset? is your database encoding correct? which driver are you using? -- 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 32568] - JspWriter uses plattform encoding
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=32568. 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=32568 --- Additional Comments From [EMAIL PROTECTED] 2004-12-07 21:58 --- (In reply to comment #1) Check the javaEncoding option for the JSPs, as documented in the Jasper How- To. Then if you're still having a problem, bring it up on the tomcat-user list, which is a far better discussion forum than Bugzilla. ok. for short. i use fedora-1 on wich the file encoding is utf-8. so if i edit my jsp i can put an Ä (Auml;) into it and i the this also in my mypage_jsp.java an if it compiles and i write this with System.out... i see this also in my logfile.. however i set the contentType the output as html response is everytime utf-8 encoded... now i try to get this to tomcat-user.. anyway thanks for response :) -- 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 32568] - JspWriter uses plattform encoding
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=32568. 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=32568 --- Additional Comments From [EMAIL PROTECTED] 2004-12-07 22:06 --- i dont know to get this right.. if i use page contentType=..; charset=ISO-8859-1 or any other i set the response header ContentType: ... does it has any other effect than this? and if not, how can i set the output-encoding to the same value as in ContentType? 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]
[ANN] Jakarta Tomcat Connectors 1.2.7-beta-2 released
The Apache Jakarta Tomcat team is proud to announce the immediate availability of Jakarta Tomcat Connectors 1.2.7-beta-2. The release contains a fixes to few compilation problems detected with JK-1.2.7-beta version. This release also introduces a new domain concept clustering support. See Bugzilla #32317 for details. We expect it to be ratified as a Stable release when the vote takes place in the next two weeks. Please see the http://jakarta.apache.org/tomcat/connectors-doc/changelog.html for a full list of changes. This release since been declared as beta does not contain any binaries. The Jakarta Tomcat Connectors Team - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[PATCH] Fix for shutdown in jk_nt_service.c
Version patch: 5.0.29 File patched: jakarta-tomcat-5.0.29-src/jakarta-tomcat-connectors/jk/native/nt_service/jk_ nt_service.c\ Patch content is below and also in the attached file: --- jk_nt_service.c 2004-10-05 14:30:48.0 -0700 +++ jk_nt_service.c.new 2004-12-07 14:41:01.5 -0800 @@ -119,7 +119,9 @@ int port, const char *protocol, char *secret, -HANDLE hTomcat); +HANDLE *hTomcat, + char *shutdown_cmd); + static int read_startup_data(jk_map_t *init_map, jk_tomcat_startup_data_t *data, jk_pool_t *p); @@ -694,6 +696,7 @@ /* * report the status to the service control manager. */ + if(ReportStatusToSCMgr(SERVICE_START_PENDING, // service state NO_ERROR, // exit code 3000)) { // wait hint @@ -741,7 +744,7 @@ */ ResetEvent(hServerStopEvent); stop_tomcat(name, shutdown_port, shutdown_protocol, -shutdown_secret, hTomcat); +shutdown_secret, hTomcat, shutdown_cmd); break; case (WAIT_OBJECT_0 + 1): /* @@ -759,7 +762,7 @@ * close the servlet container and exit */ stop_tomcat(name, shutdown_port, shutdown_protocol, -shutdown_secret, hTomcat); +shutdown_secret, hTomcat, shutdown_cmd); } CloseHandle(hServerStopEvent); CloseHandle(hTomcat); @@ -859,7 +862,8 @@ int port, const char *protocol, char *secret, -HANDLE hTomcat) +HANDLE *hTomcat, + char *shutdown_cmd) { struct sockaddr_in in; @@ -905,7 +909,7 @@ rc = jk_b_append_string(msg, secret); } if(rc) { -jk_b_end(msg, AJP13_PROTO); +jk_b_end(msg, AJP13_WS_HEADER); if(0 jk_tcp_socket_sendfull(sd, jk_b_get_buff(msg), --- jk_nt_service.c 2004-10-05 14:30:48.0 -0700 +++ jk_nt_service.c.new 2004-12-07 14:41:01.5 -0800 @@ -119,7 +119,9 @@ int port, const char *protocol, char *secret, -HANDLE hTomcat); +HANDLE *hTomcat, + char *shutdown_cmd); + static int read_startup_data(jk_map_t *init_map, jk_tomcat_startup_data_t *data, jk_pool_t *p); @@ -694,6 +696,7 @@ /* * report the status to the service control manager. */ + if(ReportStatusToSCMgr(SERVICE_START_PENDING, // service state NO_ERROR, // exit code 3000)) { // wait hint @@ -741,7 +744,7 @@ */ ResetEvent(hServerStopEvent); stop_tomcat(name, shutdown_port, shutdown_protocol, -shutdown_secret, hTomcat); +shutdown_secret, hTomcat, shutdown_cmd); break; case (WAIT_OBJECT_0 + 1): /* @@ -759,7 +762,7 @@ * close the servlet container and exit */ stop_tomcat(name, shutdown_port, shutdown_protocol, -shutdown_secret, hTomcat); +shutdown_secret, hTomcat, shutdown_cmd); } CloseHandle(hServerStopEvent); CloseHandle(hTomcat); @@ -859,7 +862,8 @@ int port, const char *protocol, char *secret, -HANDLE hTomcat) +HANDLE *hTomcat, + char *shutdown_cmd) { struct sockaddr_in in; @@ -905,7 +909,7 @@ rc = jk_b_append_string(msg, secret); } if(rc) { -jk_b_end(msg, AJP13_PROTO); +jk_b_end(msg, AJP13_WS_HEADER); if(0 jk_tcp_socket_sendfull(sd,
DO NOT REPLY [Bug 32568] - JspWriter uses plattform encoding
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=32568. 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=32568 --- Additional Comments From [EMAIL PROTECTED] 2004-12-08 00:29 --- what does the following output when you put it into a jsp pLocale.getDefault().toString(): %= Locale.getDefault().toString() % /p presponse.getLocale().toString(): %= response.getLocale().toString() % /p pSystem.getProperty(file.encoding): %= System.getProperty (file.encoding) %/p prequest.getCharacterEncoding(): %= request.getCharacterEncoding() % /p presponse.getCharacterEncoding(): %= response.getCharacterEncoding() % /p -- 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 32577] New: - ClassNotFoundException when using inner class in web.xml
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=32577. 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=32577 Summary: ClassNotFoundException when using inner class in web.xml Product: Tomcat 5 Version: 5.5.4 Platform: PC OS/Version: Windows 2000 Status: NEW Severity: normal Priority: P2 Component: Catalina AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] When an inner class is ued in web.xml of a web application, it gives the following error when starting up Tomcat: SEVERE: Error configuring application listener of class com.remedy.arsys.stubs.S essionDataReleaseSessionData Corresponding line in web.xml: listener listener- classcom.remedy.arsys.stubs.SessionData$ReleaseSessionData/listener-class /listener Notice the $ in the class name. ReleaseSessionData is an inner class defined in SessionData class. It works fine with Tomcat 4. Only problem in Tomcat 5.5 Alpha. -- 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: [PATCH] Fix for shutdown in jk_nt_service.c
This has to be one of the most convincing reasons I can think of to exclude j-t-c/jk/native(2) from the source distro ;-). - Original Message - From: Thuy-Linh Chu [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, December 07, 2004 2:58 PM Subject: [PATCH] Fix for shutdown in jk_nt_service.c Version patch: 5.0.29 File patched: jakarta-tomcat-5.0.29-src/jakarta-tomcat-connectors/jk/native/nt_service/jk_ nt_service.c\ Patch content is below and also in the attached file: --- jk_nt_service.c 2004-10-05 14:30:48.0 -0700 +++ jk_nt_service.c.new 2004-12-07 14:41:01.5 -0800 @@ -119,7 +119,9 @@ int port, const char *protocol, char *secret, -HANDLE hTomcat); +HANDLE *hTomcat, + char *shutdown_cmd); + static int read_startup_data(jk_map_t *init_map, jk_tomcat_startup_data_t *data, jk_pool_t *p); @@ -694,6 +696,7 @@ /* * report the status to the service control manager. */ + if(ReportStatusToSCMgr(SERVICE_START_PENDING, // service state NO_ERROR, // exit code 3000)) { // wait hint @@ -741,7 +744,7 @@ */ ResetEvent(hServerStopEvent); stop_tomcat(name, shutdown_port, shutdown_protocol, -shutdown_secret, hTomcat); +shutdown_secret, hTomcat, shutdown_cmd); break; case (WAIT_OBJECT_0 + 1): /* @@ -759,7 +762,7 @@ * close the servlet container and exit */ stop_tomcat(name, shutdown_port, shutdown_protocol, -shutdown_secret, hTomcat); +shutdown_secret, hTomcat, shutdown_cmd); } CloseHandle(hServerStopEvent); CloseHandle(hTomcat); @@ -859,7 +862,8 @@ int port, const char *protocol, char *secret, -HANDLE hTomcat) +HANDLE *hTomcat, + char *shutdown_cmd) { struct sockaddr_in in; @@ -905,7 +909,7 @@ rc = jk_b_append_string(msg, secret); } if(rc) { -jk_b_end(msg, AJP13_PROTO); +jk_b_end(msg, AJP13_WS_HEADER); if(0 jk_tcp_socket_sendfull(sd, jk_b_get_buff(msg), - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This message is intended only for the use of the person(s) listed above as the intended recipient(s), and may contain information that is PRIVILEGED and CONFIDENTIAL. If you are not an intended recipient, you may not read, copy, or distribute this message or any attachment. If you received this communication in error, please notify us immediately by e-mail and then delete all copies of this message and any attachments. In addition you should be aware that ordinary (unencrypted) e-mail sent through the Internet is not secure. Do not send confidential or sensitive information, such as social security numbers, account numbers, personal identification numbers and passwords, to us via ordinary (unencrypted) e-mail. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 32456] - Wrong html comment in numguess.jsp
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=32456. 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=32456 --- Additional Comments From [EMAIL PROTECTED] 2004-12-08 02:12 --- Created an attachment (id=13676) -- (http://issues.apache.org/bugzilla/attachment.cgi?id=13676action=view) patch to fix comment bug in numguess.jsp -- 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 32577] - ClassNotFoundException when using inner class in web.xml
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=32577. 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=32577 --- Additional Comments From [EMAIL PROTECTED] 2004-12-08 02:17 --- Your listeners are inner classes? Is there a valid use case for this? Does the inner class have a public interface and a public constructor? Could you provide a war file for this? -- 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/catalina/src/share/org/apache/catalina/core ApplicationHttpRequest.java
luehe 2004/12/07 17:25:52 Modified:catalina/src/share/org/apache/catalina/core ApplicationHttpRequest.java Log: Fix for 28709 (javax.servlet.http.HttpServletRequest.isRequestedSessionIdValid() returns true for an invalidated session!) Please let me know if you have any issues with this fix. I verified that all Servlet TCKs are still passing. Revision ChangesPath 1.22 +39 -1 jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core/ApplicationHttpRequest.java Index: ApplicationHttpRequest.java === RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core/ApplicationHttpRequest.java,v retrieving revision 1.21 retrieving revision 1.22 diff -u -r1.21 -r1.22 --- ApplicationHttpRequest.java 12 Mar 2004 19:45:43 - 1.21 +++ ApplicationHttpRequest.java 8 Dec 2004 01:25:52 - 1.22 @@ -34,6 +34,7 @@ import org.apache.catalina.Context; import org.apache.catalina.Globals; import org.apache.catalina.Session; +import org.apache.catalina.Manager; import org.apache.catalina.util.Enumerator; import org.apache.catalina.util.RequestUtil; import org.apache.catalina.util.StringManager; @@ -518,6 +519,43 @@ return super.getSession(create); } +} + + +/** + * Returns true if the request specifies a JSESSIONID that is valid within + * the context of this ApplicationHttpRequest, false otherwise. + * + * @return true if the request specifies a JSESSIONID that is valid within + * the context of this ApplicationHttpRequest, false otherwise. + */ +public boolean isRequestedSessionIdValid() { + +if (crossContext) { + +String requestedSessionId = getRequestedSessionId(); +if (requestedSessionId == null) +return (false); +if (context == null) +return (false); +Manager manager = context.getManager(); +if (manager == null) +return (false); +Session session = null; +try { +session = manager.findSession(requestedSessionId); +} catch (IOException e) { +session = null; +} +if ((session != null) session.isValid()) { +return (true); +} else { +return (false); +} + +} else { +return super.isRequestedSessionIdValid(); +} } - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: CGI servlet is not found after it gets initialized...
Hello Mark your attached log reports that dsi.app.tomcat.DCGIServlet is not found more than likely you forgot to configure your Servlet in web.xml or may have omitted DCGIServlet in your deployed war Curious: Is there a reason why you want Tomcat to handle CGI via CGIServlet instead of allowing CGI Scripts to execute under Apache HTTP Server? Martin- - Original Message - From: Mark Claassen [EMAIL PROTECTED] To: 'Tomcat Developers List' [EMAIL PROTECTED] Sent: Monday, December 06, 2004 8:57 AM Subject: RE: CGI servlet is not found after it gets initialized... Does anyone know the answer to why this is? Or, perhaps, the prevailing opinion is that I am crazy. It took me a long time to figure out a theory that fit the facts of this problem, and I didn't really believe what I came up with. I don't really know how the internals of Tomcat work and how the CGI servlet attaches to other webapps, but I really can't understand why it works for the CGI servlet (in org.apache) and not for my copy (int dsi.app). Mark -Original Message- From: Mark Claassen [mailto:[EMAIL PROTECTED] Sent: Thursday, December 02, 2004 11:19 AM To: [EMAIL PROTECTED] Subject: CGI servlet is not found after it gets initialized... What I did: o I copied the code from 4.1.31 CGIServlet o Fixed some bugs in that code (that have been duly submitted to Bugzilla) I added no class dependancies to do this. I change the package to dsi.app.tomcat o Copiled the file and put it in a jar file (right where the servlets-cgi.jar is) o Restart Tomcat o Noticed that my servlet was getting initialized by the customized cgi: init line below o Got tons of ClassNotFoundExceptions in the localhost_log for every webapp o The almost exact same code in the servlets-cgi.jar file works fine Instead of the ClassNotFoundExceptions I get: StandardWrapper[/JViewerDocs:cgi]: Loading container servlet cgi o If I copy my servlet to the shared/lib directory it works fine. (I did not bother to remove it from the server/lib directory since I have some custom valves in the same jar file, so in this test the jar file is in both places.) Is there a package naming check done by Tomcat that is more restrictive than the VM check here? Thanks, Mark localhost_log with ClassNotFoundExceptions below 2004-12-02 10:46:19 StandardManager[/manager]: Seeding random number generator class java.security.SecureRandom 2004-12-02 10:46:19 StandardManager[/manager]: Seeding of random number generator has been completed 2004-12-02 10:46:19 StandardWrapper[/manager:default]: Loading container servlet default 2004-12-02 10:46:19 default: DefaultServlet.init: input buffer size=2048, output buffer size=2048 2004-12-02 10:46:19 default: DefaultServlet.init: welcome file=index.html 2004-12-02 10:46:19 default: DefaultServlet.init: welcome file=index.htm 2004-12-02 10:46:19 default: DefaultServlet.init: welcome file=index.jsp 2004-12-02 10:46:19 cgi: init (mac): loglevel set to 0 2004-12-02 10:46:19 HostConfig[localhost]: Deploying configuration descriptor JNLPUpgradeServlet.xml 2004-12-02 10:46:21 HostConfig[localhost]: Deploying web application archive OcieServlet.war 2004-12-02 10:46:23 ContextConfig[/OcieServlet]: Added certificates - request attribute Valve 2004-12-02 10:46:23 StandardManager[/OcieServlet]: Seeding random number generator class java.security.SecureRandom 2004-12-02 10:46:23 StandardManager[/OcieServlet]: Seeding of random number generator has been completed 2004-12-02 10:46:23 StandardWrapper[/OcieServlet:default]: Loading container servlet default 2004-12-02 10:46:23 default: DefaultServlet.init: input buffer size=2048, output buffer size=2048 2004-12-02 10:46:23 default: DefaultServlet.init: welcome file=index.html 2004-12-02 10:46:23 default: DefaultServlet.init: welcome file=index.htm 2004-12-02 10:46:23 default: DefaultServlet.init: welcome file=index.jsp 2004-12-02 10:46:23 StandardWrapper[/OcieServlet:cgi]: Marking servlet cgi as unavailable 2004-12-02 10:46:23 StandardContext[/OcieServlet]: Servlet /OcieServlet threw load() exception javax.servlet.ServletException: Wrapper cannot find servlet class dsi.app.tomcat.DCGIServlet or a class it depends on at org.apache.catalina.core.StandardWrapper.loadServlet(StandardW rapper.java:89 1) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper. java:823) at org.apache.catalina.core.StandardContext.loadOnStartup(Standar dContext.java: 3422) at org.apache.catalina.core.StandardContext.start(StandardContext .java:3623) at org.apache.catalina.core.ContainerBase.addChildInternal(Contai nerBase.java:8 21) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase. java:807) at
DO NOT REPLY [Bug 32568] - JspWriter uses plattform encoding
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=32568. 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=32568 --- Additional Comments From [EMAIL PROTECTED] 2004-12-08 08:41 --- (In reply to comment #5) what does the following output when you put it into a jsp pLocale.getDefault().toString(): %= Locale.getDefault().toString() % /p presponse.getLocale().toString(): %= response.getLocale().toString() % /p pSystem.getProperty(file.encoding): %= System.getProperty (file.encoding) %/p prequest.getCharacterEncoding(): %= request.getCharacterEncoding() % /p presponse.getCharacterEncoding(): %= response.getCharacterEncoding() % /p Locale.getDefault().toString(): de_DE response.getLocale().toString(): de_DE System.getProperty(file.encoding): UTF-8 request.getCharacterEncoding(): null response.getCharacterEncoding(): ISO-8859-1 -- 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]