cvs commit: jakarta-tomcat-connectors/jk/native2/jni jk_jni_aprImpl.c

2003-02-03 Thread mturk
mturk 2003/02/03 23:40:51 Modified:jk/native2/jni jk_jni_aprImpl.c Log: Update license to 2003. Revision ChangesPath 1.44 +1 -1 jakarta-tomcat-connectors/jk/native2/jni/jk_jni_aprImpl.c Index: jk_jni_aprImpl.c ===

cvs commit: jakarta-tomcat-connectors/jk/native2/jni jk_jni_aprImpl.c

2002-11-20 Thread mturk
mturk 2002/11/20 08:40:10 Modified:jk/native2/jni jk_jni_aprImpl.c Log: Revert the usage of post msg. Use the suplied reply, and fix the 4 byte out-of-bounds exception Revision ChangesPath 1.43 +1 -1 jakarta-tomcat-connectors/jk/native2/jni/jk_jni_aprImpl.c

cvs commit: jakarta-tomcat-connectors/jk/native2/jni jk_jni_aprImpl.c

2002-11-20 Thread mturk
mturk 2002/11/20 07:03:19 Modified:jk/native2/jni jk_jni_aprImpl.c Log: Fix the POST data. The reply buffer shuld containg the endpoint's post message. Revision ChangesPath 1.42 +1 -1 jakarta-tomcat-connectors/jk/native2/jni/jk_jni_aprImpl.c Index: jk_j

cvs commit: jakarta-tomcat-connectors/jk/native2/jni jk_jni_aprImpl.c

2002-09-25 Thread mturk
mturk 2002/09/25 01:02:59 Modified:jk/native2/jni jk_jni_aprImpl.c Log: #ifdef with HAVE_JNI preprocessor flag to be able to compile on Apache 1.3 without JNI and APR. Revision ChangesPath 1.41 +3 -0 jakarta-tomcat-connectors/jk/native2/jni/jk_jni_aprImpl.c

cvs commit: jakarta-tomcat-connectors/jk/native2/jni jk_jni_aprImpl.c

2002-07-09 Thread nacho
nacho 2002/07/09 17:35:27 Modified:jk/native2/jni jk_jni_aprImpl.c Log: Fixed some (Java?) leaks Revision ChangesPath 1.40 +11 -15jakarta-tomcat-connectors/jk/native2/jni/jk_jni_aprImpl.c Index: jk_jni_aprImpl.c =

cvs commit: jakarta-tomcat-connectors/jk/native2/jni jk_jni_aprImpl.c

2002-06-30 Thread mturk
mturk 2002/06/30 02:57:38 Modified:jk/native2/jni jk_jni_aprImpl.c Log: Removed the jkStatus native call. Use the jkSetAttribute for TC startup signaling. Revision ChangesPath 1.39 +15 -13jakarta-tomcat-connectors/jk/native2/jni/jk_jni_aprImpl.c Index:

cvs commit: jakarta-tomcat-connectors/jk/native2/jni jk_jni_aprImpl.c

2002-06-29 Thread mturk
mturk 2002/06/29 00:44:04 Modified:jk/native2/jni jk_jni_aprImpl.c Log: Introduced new native function jkStatus that signals the TC startup status to the server for now. Revision ChangesPath 1.38 +14 -0 jakarta-tomcat-connectors/jk/native2/jni/jk_jni_aprImpl

cvs commit: jakarta-tomcat-connectors/jk/native2/jni jk_jni_aprImpl.c

2002-06-11 Thread costin
costin 2002/06/11 15:51:30 Modified:jk/native2/jni jk_jni_aprImpl.c Log: Remove the moved code. Few cleanups, start using 2 macros from conversion jlong to/from pointer. Revision ChangesPath 1.37 +30 -191 jakarta-tomcat-connectors/jk/native2/jni/jk_jni_aprIm

cvs commit: jakarta-tomcat-connectors/jk/native2/jni jk_jni_aprImpl.c

2002-06-10 Thread costin
costin 2002/06/10 19:51:18 Modified:jk/native2/common jk_env.c jk_logger_file.c jk_mutex_thread.c jk/native2/jni jk_jni_aprImpl.c Log: Fix initialization problem for libjkjni.so Revision ChangesPath 1.36 +3 -3 jakarta-tom

cvs commit: jakarta-tomcat-connectors/jk/native2/jni jk_jni_aprImpl.c

2002-06-10 Thread costin
costin 2002/06/10 17:01:16 Modified:jk/native2/jni jk_jni_aprImpl.c Log: Fix the POST in in-process mode. The 'response' from a jni invocation is in the same buffer, but we must call msg->end() to update the message size. The dispatch mechanism is no longer used ( or it

cvs commit: jakarta-tomcat-connectors/jk/native2/jni jk_jni_aprImpl.c

2002-06-10 Thread nacho
nacho 2002/06/10 14:49:53 Modified:jk/native2/jni jk_jni_aprImpl.c Log: * Changed %p format specifiers to %#lx - Thanks to JFC * Only relase array if arrayAccessMethod == JK_GET_BYTE_ARRAY_ELEMENTS Revision ChangesPath 1.34 +19 -16jakarta-tomcat-connectors/j

cvs commit: jakarta-tomcat-connectors/jk/native2/jni jk_jni_aprImpl.c

2002-06-10 Thread costin
costin 2002/06/10 14:36:15 Modified:jk/native2/common jk_worker_jni.c jk/native2/jni jk_jni_aprImpl.c Log: Me again, spell errors. Revision ChangesPath 1.17 +1 -0 jakarta-tomcat-connectors/jk/native2/common/jk_worker_jni.c Index: jk_worker_

cvs commit: jakarta-tomcat-connectors/jk/native2/jni jk_jni_aprImpl.c

2002-06-10 Thread costin
costin 2002/06/10 14:30:48 Modified:jk/native2/jni jk_jni_aprImpl.c Log: Last part of the patch from Mladen Turk, with few changes. The apr_initialize() is called if no jk_globalEnv is found, which means jk wasn't initialized so probably we are in Java standalone mode, and

cvs commit: jakarta-tomcat-connectors/jk/native2/jni jk_jni_aprImpl.c org_apache_jk_apr_AprImpl.h

2002-06-07 Thread costin
costin 2002/06/07 16:42:19 Modified:jk/native2/jni jk_jni_aprImpl.c org_apache_jk_apr_AprImpl.h Log: Another patch from Mladen Turk, cleaning up the singatures. Revision ChangesPath 1.31 +3 -3 jakarta-tomcat-connectors/jk/native2/jni/jk_jni_aprImpl.c Ind

cvs commit: jakarta-tomcat-connectors/jk/native2/jni jk_jni_aprImpl.c

2002-05-31 Thread costin
costin 2002/05/31 12:19:45 Modified:jk/native2 build.xml jk/native2/common jk_shm.c jk_workerEnv.c jk/native2/jni jk_jni_aprImpl.c Log: Other fixes. Remove the locking when adding worker/channel/etc - it's better to sync on the thread making upd

cvs commit: jakarta-tomcat-connectors/jk/native2/jni jk_jni_aprImpl.c

2002-05-30 Thread costin
costin 02/05/30 11:08:48 Modified:jk/native2/jni jk_jni_aprImpl.c Log: Added a flag to select the byte[] access mechanism. getArrayElements is the fastest - if pinning is supported by the VM. Aparently JDK1.4 doesn't pin, so the performance will go down. getArrayRegion

cvs commit: jakarta-tomcat-connectors/jk/native2/jni jk_jni_aprImpl.c org_apache_jk_apr_AprImpl.h

2002-05-28 Thread costin
costin 02/05/28 15:34:59 Modified:jk/native2/jni jk_jni_aprImpl.c org_apache_jk_apr_AprImpl.h Log: Removed the ( duplicated ) unix socket code. We'll use jk_channel_un instead ( directly ). Fixes in initialization ( make sure workerEnv is init, log ). Added a 'raw' par

cvs commit: jakarta-tomcat-connectors/jk/native2/jni jk_jni_aprImpl.c org_apache_jk_apr_AprImpl.h

2002-05-26 Thread costin
costin 02/05/26 00:38:17 Modified:jk/native2/jni jk_jni_aprImpl.c org_apache_jk_apr_AprImpl.h Log: - removed code we don't need. ( creating and using directly the apr pools is overkill and dangerous, things are better handled by keeping them in the execution context - jk_endpoi

cvs commit: jakarta-tomcat-connectors/jk/native2/jni jk_jni_aprImpl.c

2002-05-23 Thread costin
costin 02/05/23 21:30:07 Modified:jk/native2/jni jk_jni_aprImpl.c Log: Remove the mutex code ( move to a separate jk component ). Add few extra checks. Revision ChangesPath 1.23 +21 -85jakarta-tomcat-connectors/jk/native2/jni/jk_jni_aprImpl.c Index: j

cvs commit: jakarta-tomcat-connectors/jk/native2/jni jk_jni_aprImpl.c

2002-05-23 Thread costin
costin 02/05/23 16:45:08 Modified:jk/native2/jni jk_jni_aprImpl.c Log: Add support for setuid() - to change the user if run as root. Revision ChangesPath 1.22 +46 -2 jakarta-tomcat-connectors/jk/native2/jni/jk_jni_aprImpl.c Index: jk_jni_aprImpl.c ==

cvs commit: jakarta-tomcat-connectors/jk/native2/jni jk_jni_aprImpl.c

2002-05-14 Thread costin
costin 02/05/14 10:28:15 Modified:jk/native2/jni jk_jni_aprImpl.c Log: Remove the signal hack, it doesn't seem to solve the problems with JDK1.4. Revision ChangesPath 1.20 +4 -4 jakarta-tomcat-connectors/jk/native2/jni/jk_jni_aprImpl.c Index: jk_jni_apr

cvs commit: jakarta-tomcat-connectors/jk/native2/jni jk_jni_aprImpl.c org_apache_jk_apr_AprImpl.h

2002-05-11 Thread nacho
nacho 02/05/11 18:10:56 Modified:jk/native2/jni jk_jni_aprImpl.c org_apache_jk_apr_AprImpl.h Log: * Fixed mutexcreate impl * Commited complete JNI header Revision ChangesPath 1.19 +6 -4 jakarta-tomcat-connectors/jk/native2/jni/jk_jni_aprImpl.c Index: j

cvs commit: jakarta-tomcat-connectors/jk/native2/jni jk_jni_aprImpl.c

2002-05-10 Thread costin
costin 02/05/10 17:07:26 Modified:jk/native2/jni jk_jni_aprImpl.c Log: Similar warnings if the array is not pinned. Revision ChangesPath 1.17 +20 -11jakarta-tomcat-connectors/jk/native2/jni/jk_jni_aprImpl.c Index: jk_jni_aprImpl.c ===

cvs commit: jakarta-tomcat-connectors/jk/native2/jni jk_jni_aprImpl.c

2002-05-09 Thread costin
costin 02/05/09 16:47:32 Modified:jk/native2/common jk_channel_socket.c jk_channel_un.c jk_env.c jk_shm.c jk_workerEnv.c jk_worker_ajp13.c jk_worker_lb.c jk/native2/jni jk_jni_aprImpl.c Log: reduce verbosity. Make

cvs commit: jakarta-tomcat-connectors/jk/native2/jni jk_jni_aprImpl.c

2002-04-25 Thread costin
costin 02/04/25 12:24:17 Modified:jk/native2/jni jk_jni_aprImpl.c Log: Implement the jni side for the dispatch. Revision ChangesPath 1.13 +319 -16 jakarta-tomcat-connectors/jk/native2/jni/jk_jni_aprImpl.c Index: jk_jni_aprImpl.c ===

cvs commit: jakarta-tomcat-connectors/jk/native2/jni jk_jni_aprImpl.c

2002-04-18 Thread costin
costin 02/04/18 15:52:33 Modified:jk/native2/jni jk_jni_aprImpl.c Log: Few fixes. Now the scoreboard works from the java side as well. Started work on the mutexes. Revision ChangesPath 1.12 +128 -3jakarta-tomcat-connectors/jk/native2/jni/jk_jni_aprImpl.c

cvs commit: jakarta-tomcat-connectors/jk/native2/jni jk_jni_aprImpl.c

2002-04-17 Thread costin
costin 02/04/17 15:51:02 Modified:jk/native2/jni jk_jni_aprImpl.c Log: Small fix in shmAttach. Started to add mutexes ( to support shm end not only ). Again ( see the comments in AprImpl ) - the interfaces are not even started, this is just the JNI code. AprImpl will ha

cvs commit: jakarta-tomcat-connectors/jk/native2/jni jk_jni_aprImpl.c

2002-04-15 Thread costin
costin 02/04/15 16:54:51 Modified:jk/native2/jni jk_jni_aprImpl.c Log: A single class will deal with native. Revision ChangesPath 1.10 +17 -1 jakarta-tomcat-connectors/jk/native2/jni/jk_jni_aprImpl.c Index: jk_jni_aprImpl.c ==

cvs commit: jakarta-tomcat-connectors/jk/native2/jni jk_jni_aprImpl.c

2002-04-10 Thread costin
costin 02/04/10 16:49:02 Modified:jk/native2/jni jk_jni_aprImpl.c Log: I don't know why apr_initialize was commented out. Revision ChangesPath 1.9 +2 -1 jakarta-tomcat-connectors/jk/native2/jni/jk_jni_aprImpl.c Index: jk_jni_aprImpl.c =

cvs commit: jakarta-tomcat-connectors/jk/native2/jni jk_jni_aprImpl.c

2002-04-08 Thread costin
costin 02/04/08 12:17:35 Modified:jk/native2/jni jk_jni_aprImpl.c Added: jk/native2/common jk_shm.c Log: Initial ( and mostly untested ) shared memory code. It'll work only if APR is enabled ( like all 'advanced' features ). I also added some minimal code to suppo

Re: cvs commit: jakarta-tomcat-connectors/jk/native2/jni jk_jni_aprImpl.c

2002-01-14 Thread jean-frederic clere
E6 > > >-Original Message- > >From: jean-frederic clere [mailto:[EMAIL PROTECTED]] > >Sent: Monday, January 14, 2002 11:59 AM > >To: Tomcat Developers List > >Subject: Re: cvs commit: jakarta-tomcat-connectors/jk/native2/jni > >jk_jni_aprImpl.c > &

RE: cvs commit: jakarta-tomcat-connectors/jk/native2/jni jk_jni_aprImpl.c

2002-01-14 Thread GOMEZ Henri
clere [mailto:[EMAIL PROTECTED]] >Sent: Monday, January 14, 2002 11:59 AM >To: Tomcat Developers List >Subject: Re: cvs commit: jakarta-tomcat-connectors/jk/native2/jni >jk_jni_aprImpl.c > > >[EMAIL PROTECTED] wrote: >> >> jfclere 02/01/14 01:36:13 >> &

Re: cvs commit: jakarta-tomcat-connectors/jk/native2/jni jk_jni_aprImpl.c

2002-01-14 Thread jean-frederic clere
[EMAIL PROTECTED] wrote: > > jfclere 02/01/14 01:36:13 > > Modified:jk/java/org/apache/jk/common ChannelUn.java >jk/native2 build.xml Oops, I miss build.xml. I have changed the order because the ./build.properties were overwritten by the ../build.properties (For exampl

cvs commit: jakarta-tomcat-connectors/jk/native2/jni jk_jni_aprImpl.c

2002-01-14 Thread jfclere
jfclere 02/01/14 01:36:13 Modified:jk/java/org/apache/jk/common ChannelUn.java jk/native2 build.xml jk/native2/jni jk_jni_aprImpl.c Log: The file used by the socket was removed twice (in java and native code). I have commented out the removal in the n

cvs commit: jakarta-tomcat-connectors/jk/native2/jni jk_jni_aprImpl.c

2002-01-11 Thread costin
costin 02/01/11 21:25:09 Modified:jk/native2 CHANGES.html build.xml jk/native2/jni jk_jni_aprImpl.c Log: Document some of the changes. Move some of the code did by Jean-Francisc in jk_jni_aprImpl. The whole thing will disapear as soon as apr adds the support.

cvs commit: jakarta-tomcat-connectors/jk/native2/jni jk_jni_aprImpl.c

2001-12-05 Thread costin
costin 01/12/05 12:52:41 Modified:jk/native2 build.xml Added: jk/native2/jni jk_jni_aprImpl.c Log: Added the initial stub for the jni code to use apr from java. This is needed to implement any 'fun' channel ( unix domain, shmem, etc ). It'll also be used to implement