RE: [PATCH] mod_jk timestamp and process id logging

2001-04-24 Thread GOMEZ Henri
Depend the OS: AS/400 = int GetThreadId() { pthread_t lSelf = pthread_self(); pthread_id_np_t lTid; pthread_getunique_np(lSelf, lTid); return (lTid.intId.lo); } Linux = int GetThreadId() { return (pthread_self()); } What about others

cvs commit: jakarta-tomcat/src/native/mod_jk/nt_service jk_nt_service.c

2001-04-24 Thread hgomez
hgomez 01/04/24 01:49:48 Modified:src/native/mod_jk/nt_service jk_nt_service.c Log: Update to follow new Win2K services cmd Obtained from: William A Rowe [EMAIL PROTECTED] Revision ChangesPath 1.3 +3 -2

Tomcat on Windows 98

2001-04-24 Thread dave . prout
I've had a lot of problems running Tomcat on Windows 98 until I installed it as a top-level directory. I couldn't get it to work as a directory under Java or JBuilder4, although I did do this on Windows NT. Does anyone know why ?

[GUMP] Build Failure - Tomcat 3.x

2001-04-24 Thread Craig McClanahan
This email is autogenerated from the output from: http://jakarta.apache.org/builds/gump/2001-04-24/jakarta-tomcat.html Buildfile: build.xml detect: msg.jdk12: [echo] Detected JDK1.2

RE: ServerSocket not being closed properly.

2001-04-24 Thread Brad Cox PhD
At 7:19 PM -0700 04/23/2001, [EMAIL PROTECTED] wrote: On Mon, 23 Apr 2001, Arun Katkere wrote: In general you need to do something to unblock the accept thread, and 3.2 doesn't have this in. Yes, I remember now. You're absolutely right. You need serverSocket.setSoTimeout() to break the accept

Re: setURLStreamHandlerFactory--why?

2001-04-24 Thread Kyle F. Downey
Remy, Do you happen to know if the patch I submitted for the context ClassLoader was ever inspected or merged in? I never saw a reply. --kd

[IGNORE] Re: setURLStreamHandlerFactory--why?

2001-04-24 Thread Kyle F. Downey
Kyle F. Downey wrote: Remy, Do you happen to know if the patch I submitted for the context ClassLoader was ever inspected or merged in? I never saw a reply. Sorry, this was a personal reply not meant for the list. --kd

RE: ServerSocket not being closed properly.

2001-04-24 Thread cmanolache
On Tue, 24 Apr 2001, Brad Cox PhD wrote: At 7:19 PM -0700 04/23/2001, [EMAIL PROTECTED] wrote: On Mon, 23 Apr 2001, Arun Katkere wrote: In general you need to do something to unblock the accept thread, and 3.2 doesn't have this in. Yes, I remember now. You're absolutely right. You need

RE: [GUMP] Build Failure - Tomcat 3.x

2001-04-24 Thread Steve Downey
Index: ErrorHandler.java === RCS file: /home/cvspublic/jakarta-tomcat/src/share/org/apache/tomcat/modules/generator s/ErrorHandler.java,v retrieving revision 1.10 diff -u -r1.10 ErrorHandler.java --- ErrorHandler.java 2001/04/23

cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/modules/generators ErrorHandler.java

2001-04-24 Thread costin
costin 01/04/24 07:45:45 Modified:src/share/org/apache/tomcat/modules/generators ErrorHandler.java Log: Ops, stupid error trying to improve a patch. Revision ChangesPath 1.11 +2 -2

RE: ServerSocket not being closed properly.

2001-04-24 Thread Brad Cox
At 7:23 AM -0700 04/24/2001, [EMAIL PROTECTED] wrote: Anyway - a cleaner solution ( IMHO ) is to just set stoped and do a bogus connection. That's what I did in 3.3 - and seems to work fine. That does sound better. I really hope this gets nailed ASAP. I suspect the present configuration

Re: Fixing error pages on virtual hosts.

2001-04-24 Thread cmanolache
Hi Peer, Great fix - thank's. I will do the fix in 3.3, and if Marc makes another beta ( for jsp fixes ) it would be great if he takes this one in. Marc - I know the code pretty well, and this line should have been in. I don't think it'll affect any other piece of code, getHandlerForPath is

Q: Future of Filter?

2001-04-24 Thread Bob Jamison
Hey, all, I have a minor question about TC4, if anyone knows, cool, if not, oh, well.;-) (Actually, I am probably just overlooking something obvious) In the public drafts of 2.3 and in the Tomcat examples, I have seen various specifications of Filter. Is the spec going to move toward

Problems building Tomcat.

2001-04-24 Thread Erik Lotspeich
Hello, I am new to Jakarta and Tomcat, and I am having trouble building Tomcat. I'm sure that this comes up on the list alot, so I don't mean to beat a dead horse here. I've looked through and read all of the FAQs, looked through newsgroup archives on DejaNews, printed out hundreds of pages of

cvs commit: jakarta-tomcat-4.0/connectors/scandoc template.pl

2001-04-24 Thread pier
pier01/04/24 09:28:40 Modified:connectors/scandoc template.pl Log: Now API docs from C sources are similar to JavaDOCs. Revision ChangesPath 1.2 +413 -655 jakarta-tomcat-4.0/connectors/scandoc/template.pl Index: template.pl

cvs commit: jakarta-tomcat-4.0/connectors/lib wa_request.c

2001-04-24 Thread pier
pier01/04/24 09:31:35 Modified:connectors Makefile.in connectors/lib wa_request.c Log: Modified scandoc output. Request for WA_REQUEST. Revision ChangesPath 1.3 +4 -5 jakarta-tomcat-4.0/connectors/Makefile.in Index: Makefile.in

cvs commit: jakarta-tomcat-4.0/service/src/share/org/apache/service/helpers NativeServiceHelper.java NativeServiceManager.java SimpleService.java

2001-04-24 Thread pier
pier01/04/24 09:47:25 Removed: service README service/src Makedefs.orig Makefile service/src/native Makefile jsvc.h jsvc_help.c jsvc_parse.c jsvc_service.c jsvc_unix.c service/src/native/windows menu-quit.bmp

Re: Servlet bug??

2001-04-24 Thread estutes
On 24 Apr, Larry Isaacs wrote: Hi, Normally you should post questions like this to [EMAIL PROTECTED] As for the problem, in your Servlet you can override init() or init(ServletConfig config). If you override init(ServletConfig config), you must call super.init(config) in your method.

RE: ServerSocket not being closed properly.

2001-04-24 Thread cmanolache
On Tue, 24 Apr 2001, Brad Cox wrote: At 7:23 AM -0700 04/24/2001, [EMAIL PROTECTED] wrote: Anyway - a cleaner solution ( IMHO ) is to just set stoped and do a bogus connection. That's what I did in 3.3 - and seems to work fine. That does sound better. I really hope this gets nailed ASAP. I

Re: Problem with JNI...

2001-04-24 Thread Pier P. Fumagalli
Daniel Diaz at [EMAIL PROTECTED] wrote: Hello I have now another strange problem. I have reinstalled my machine with a RedHat 7.0, here is the unmae -a output: Linux lima.univ-paris1.fr 2.2.16-22 #1 Tue Aug 22 16:49:06 EDT 2000 i686 unknown but my previous JNI application no longer

RE: [PATCH] mod_jk timestamp and process id logging

2001-04-24 Thread Pogo Com
This is starting to sound complicated. I'd say go with the getpid(), since it covers a major case and is pretty portable and simple. Bill --- GOMEZ Henri [EMAIL PROTECTED] wrote: Depend the OS: AS/400 = int GetThreadId() { pthread_t lSelf = pthread_self();

cvs commit: jakarta-tomcat-4.0/connectors README.txt

2001-04-24 Thread pier
pier01/04/24 10:20:17 Added: connectors README.txt Log: Initial README document draft. Revision ChangesPath 1.1 jakarta-tomcat-4.0/connectors/README.txt Index: README.txt ===

Re: Solaris Sparc Performance Problem

2001-04-24 Thread Arieh Markel
Here is what I would do to see the differences: . on Solaris, run the application through truss . on Linux, run the application through strace This should yield information about where the time is being spent. I am also wondering whether the Solaris machine is

Re: what is the deal with tomcat 4 and web server connectors??

2001-04-24 Thread cmanolache
Dan, It seems the most requested ( and important) feature for mod_jk is simpler configuration - and I think we can do many simple things with a lot of effect ( sending the config automatically is one - and quite easy ). Regarding the use of mod_jk for tomcat4 - I would sugest a different

RE: ServerSocket not being closed properly.

2001-04-24 Thread Brad Cox
At 9:50 AM -0700 04/24/2001, [EMAIL PROTECTED] wrote: here are few ideas that can be used for configuration validation, and the best ( IMHO ) is to run the sanity test after every change in the config file. ( maybe watchdog too ). In 3.3 we package all the tests as self-contained wars, and the

RE: ServerSocket not being closed properly.

2001-04-24 Thread cmanolache
On Tue, 24 Apr 2001, Brad Cox wrote: In 3.3 we package all the tests as self-contained wars, and the admin has a web-based runner - but it needs more polishing to make it really easy to use. That's roughly how I meant for a gui to work. A few text boxes for options every novice must

cvs commit: jakarta-tomcat-4.0/connectors/scandoc template.pl

2001-04-24 Thread pier
pier01/04/24 13:16:12 Modified:connectors/scandoc template.pl Log: Latest modification to ScanDOC template (boooring) Revision ChangesPath 1.3 +252 -59 jakarta-tomcat-4.0/connectors/scandoc/template.pl Index: template.pl

cvs commit: jakarta-tomcat-4.0/connectors/include wa_general.h

2001-04-24 Thread pier
pier01/04/24 13:18:00 Modified:connectors/include wa_general.h Log: Renamed package name (General doesn't work with ScanDoc) Revision ChangesPath 1.3 +2 -7 jakarta-tomcat-4.0/connectors/include/wa_general.h Index: wa_general.h

cvs commit: jakarta-tomcat-4.0/connectors/scandoc template.pl

2001-04-24 Thread pier
pier01/04/24 13:19:58 Modified:connectors/scandoc template.pl Log: Formatted template code Revision ChangesPath 1.4 +94 -94jakarta-tomcat-4.0/connectors/scandoc/template.pl Index: template.pl

cvs commit: jakarta-tomcat-4.0/connectors/lib Makefile.in wa_general.c wa_request.c

2001-04-24 Thread pier
pier01/04/24 13:20:33 Modified:connectors/lib Makefile.in wa_general.c wa_request.c Log: Formatted source code Revision ChangesPath 1.2 +6 -6 jakarta-tomcat-4.0/connectors/lib/Makefile.in Index: Makefile.in

cvs commit: jakarta-tomcat-4.0/connectors/lib Makefile.in

2001-04-24 Thread pier
pier01/04/24 13:22:15 Modified:connectors/lib Makefile.in Log: Damn makefiles with TABS Revision ChangesPath 1.3 +6 -6 jakarta-tomcat-4.0/connectors/lib/Makefile.in Index: Makefile.in

RE: ServerSocket not being closed properly.

2001-04-24 Thread Brad Cox
At 12:49 PM -0700 04/24/2001, [EMAIL PROTECTED] wrote: Yes, but I can hardly find time for one. I would love to work on both - but so far I coulnd't find people to help on the /admin, and I'll not start it alone. ( well, Larry and few others helped a lot - but he seems to have even less free

RE: ServerSocket not being closed properly.

2001-04-24 Thread GOMEZ Henri
I think you have a lucky VM/OS - close() on the accepting socket doesn't stop the accept() thread ( at least not on Linux/JDK1.3 ). That's right on Linux Redhat 6.2 and glibc 2.1.x and IBM JDK 1.3. But it seems to work fine on Redhat 7.0 which use a glibc 2.2. But the fundamental step for

RE: [Patch] Tomcat 3.2.2

2001-04-24 Thread GOMEZ Henri
Commited to 3.3 branch. What about 3.2 branch Marc ? - Henri Gomez ___[_] EMAIL : [EMAIL PROTECTED](. .) PGP KEY : 697ECEDD...oOOo..(_)..oOOo... PGP Fingerprint : 9DF8 1EA8 ED53 2F39 DC9B 904A 364F 80E6 -Original Message- From:

Tomcat 3.2.2 patches

2001-04-24 Thread Marc Saegesser
Costin, Henri, You both asked about some simple patches for Tomcat 3.2.2. There will be another (hopefully the last) beta release for 3.2.2, so go ahead and commit those changes. I'm working a bug in Jasper that will certainly require some soak time to make sure nothing else gets broken.

RE: Tomcat 3.2.2 patches

2001-04-24 Thread GOMEZ Henri
I'll commit later the latest mod_jk patches but only those which could be under the 3.2.2 mod_jk. (I couldn't add the fix for tomcat restart case for example) - Henri Gomez ___[_] EMAIL : [EMAIL PROTECTED](. .) PGP KEY : 697ECEDD

RE: [PATCH] mod_jk timestamp and process id logging

2001-04-24 Thread GOMEZ Henri
Nothing is simple when you want to have C code for multiples OS :) That's why APR was developped ... - Henri Gomez ___[_] EMAIL : [EMAIL PROTECTED](. .) PGP KEY : 697ECEDD...oOOo..(_)..oOOo... PGP Fingerprint : 9DF8 1EA8 ED53 2F39 DC9B 904A

RE: what is the deal with tomcat 4 and web server connectors??

2001-04-24 Thread GOMEZ Henri
I think those pieces are very valuable - and instead of implementing the AJP13 ( and future 14 ) it would be much better to extract the full implementation and make it independent of tomcat3.3 +1 That would allow to also build a tomcat3.2 adapter ( since most people are using 3.2 right now -

Re: Future of Filter?

2001-04-24 Thread Amy Roh
Servlet spec 2.3 has changed to support init(FilterConfig config) and destroy() methods instead of getFilterConfig() and setFilterConfig(FilterConfig config) after discussion to change filter cycle to be similar to the servlet life cycle in the expert group. The recent changes will be reflected

Re: Tomcat 3.2.2 patches

2001-04-24 Thread cmanolache
On Tue, 24 Apr 2001, Marc Saegesser wrote: Costin, Henri, You both asked about some simple patches for Tomcat 3.2.2. There will be another (hopefully the last) beta release for 3.2.2, so go ahead and commit those changes. Thanks. I'm working a bug in Jasper that will certainly require

Tomcat 3.2.2b2 : bug reading web.xml (jsp are forgotten !)

2001-04-24 Thread Samuel ARNOD-PRIN
Hello, I've discovered a very strange bug... I've got a few servlets. Each of these must serve on type of extension One of them must server a few extensions (xml, html, jsp, xsp, ...) I've looked in tomcat source code to discover from where the bug comes. In my web.xml, I've got theses

An issue with specifying IP address

2001-04-24 Thread Ajit Bhingarkar
Hi, This issue may have been addressed earlier, but I could find any reference in tomcat user documentation or deployment guidelines. We are using tomcat (3.2.1) in stand alone mode to run the configuration webn gui for our product. When a remote client connects to the configuration server

Re: Q: Future of Filter?

2001-04-24 Thread Craig R. McClanahan
On Tue, 24 Apr 2001, Bob Jamison wrote: Hey, all, I have a minor question about TC4, if anyone knows, cool, if not, oh, well.;-) (Actually, I am probably just overlooking something obvious) In the public drafts of 2.3 and in the Tomcat examples, I have seen various specifications

cvs commit: jakarta-tomcat-4.0/jasper/src/share/org/apache/jasper/resources messages.properties

2001-04-24 Thread horwat
horwat 01/04/24 17:36:40 Modified:jasper/src/share/org/apache/jasper/compiler XmlOutputter.java JspParseEventListener.java ParserXJspSaxHandler.java jasper/src/share/org/apache/jasper/resources

cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/core LocalStrings.properties StandardWrapper.java

2001-04-24 Thread craigmcc
craigmcc01/04/24 19:20:49 Modified:catalina/src/share/org/apache/catalina/core LocalStrings.properties StandardWrapper.java Log: [PFD2-2.3.4] Before the servlet container calls the destroy method, it must allow any threads that are currently running in the

Tomcat 4 stderr stdout

2001-04-24 Thread Glenn Nielsen
From their behaviour, it appears that Tomcat 3.x and Tomcat 4 handle use of stderr and stdout differently. Running under unix with either works great for me. But under windows others I work with have had problems. When running Tomcat 4 with -security and -djava.security.debug=all, the security

cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/naming/resources DirContextURLConnection.java

2001-04-24 Thread glenn
glenn 01/04/24 21:15:39 Modified:catalina/src/share/org/apache/naming/resources DirContextURLConnection.java Log: Java SecurityManager implementation changes --- Changed the naming convention for JNDI

cvs commit: jakarta-tomcat-4.0/jasper/src/share/org/apache/jasper/servlet JspServlet.java

2001-04-24 Thread glenn
glenn 01/04/24 21:16:07 Modified:jasper/src/share/org/apache/jasper/servlet JspServlet.java Log: Java SecurityManager implementation changes --- Changed the naming convention for JNDI DirContextURL to jndi:/hostname/webappname/ and