Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@apache.org Received: (qmail 86815 invoked from network); 9 Jun 2002 19:37:28 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 9 Jun 2002 19:37:28 -0000 Received: (qmail 21232 invoked by uid 97); 9 Jun 2002 19:37:28 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-dev@jakarta.apache.org Received: (qmail 21216 invoked by uid 97); 9 Jun 2002 19:37:28 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 21204 invoked by uid 98); 9 Jun 2002 19:37:27 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) From: "Mladen Turk" To: "'Tomcat Developers List'" Subject: RE: [PROPOSAL] RegisterNatives Date: Sun, 9 Jun 2002 21:37:09 +0200 Organization: Mappingsoft Message-ID: <000601c20fed$0f147560$5c00000a@GISDATA.ZG> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 In-Reply-To: <80F5674514B4D311BAFC0040F6A45EEE2CA890@ntserver> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - ns.promo-grupa.com X-AntiAbuse: Original Domain - jakarta.apache.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [0 0] X-AntiAbuse: Sender Address Domain - mappingsoft.com X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > -----Original Message----- > From: Ignacio J. Ortega [mailto:nacho@siapi.es] > Sent: 9. lipanj 2002 20:20 > To: 'Tomcat Developers List' > Subject: RE: [PROPOSAL] RegisterNatives > > > > that out. The > > apr_initialize for IIS should be called > > IMO from DllMain in jk_isapi_plugin, but I'm not familiar > with that. > > > > I think DLLMain is not a very good place to put apr_initialize, in IIS > the DLL never gets unloaded after the IIS process start.. and if we > finally come with a way to restart the whole jk2, > apr_initialize should > be called at Filter or Extension start, anyway there are 3 call to > apr_initialize, there is anoher at jk_env.. i will get rid of that one > too.. The apr_initialize is IMO intended to be the pool container for the entire process life. The concept of subpools is meant to be used for inproc restarting like Apache do. There is no need to that with apr_initialize/apr_terminate. But if the Filter or Extension start is unique call to the dll then it's matter of choice I think. Consecutive calls to apr_initialize only increments the reference count, and to call the 'true' apr_terminate that count must be 1. MT. -- To unsubscribe, e-mail: For additional commands, e-mail: