Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@apache.org Received: (qmail 42476 invoked from network); 3 May 2003 14:07:21 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 3 May 2003 14:07:21 -0000 Received: (qmail 7393 invoked by uid 97); 3 May 2003 14:09:23 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-dev@nagoya.betaversion.org Received: (qmail 7386 invoked from network); 3 May 2003 14:09:23 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 3 May 2003 14:09:23 -0000 Received: (qmail 41648 invoked by uid 500); 3 May 2003 14:07:14 -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 41637 invoked from network); 3 May 2003 14:07:13 -0000 Received: from main.gmane.org (80.91.224.249) by daedalus.apache.org with SMTP; 3 May 2003 14:07:13 -0000 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19BxeH-0005CJ-00 for ; Sat, 03 May 2003 16:05:57 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: tomcat-dev@jakarta.apache.org Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19BxeG-0005C8-00 for ; Sat, 03 May 2003 16:05:56 +0200 From: Costin Manolache Subject: RE: jakarta-tomcat-connectors tag ? Date: Sat, 03 May 2003 07:07:23 -0700 Lines: 64 Message-ID: References: <000301c31150$72e545f0$9a89bfd5@GISDATA.ZG> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@main.gmane.org User-Agent: KNode/0.7.2 Sender: news X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Mladen Turk wrote: > Fom Costin Manolache >> > >> > What about JNI in JK2? >> > The tomcat-jni is now dependant to commons-modeler, jmx, etc..., so >> > we'll need to either change that or document as so. >> >> What would you preffer ? >> > Nice blonde ;-) Not sure you'll find her on tomcat-dev, but keep looking :-) >> IMO JMX is the best way to load the components - so I would >> rather have ( long term ) the jni code load jmx + modeler + a >> mlet.xml file, with no >> dep on tomcat/jtc. It seems much cleaner and consistent with the way >> tomcat5 should be embeded ( again, IMHO ). > > Agreed. I was thinking to make something lightweight in front, instead > TomcatStarter. > The name would be JNIClassLoader, and will be as LauncherBootsrap (the > single class file). > This way we'll be able to use the TC even from 'dirty' jvm. +1 - TomcatStarter started as a hack. My long-term preference would be for the startup ( in all cases: JNI, standalone, embeded ) to be driven by JMX + modeler + MLET-like file. A small Launcher that adds JMX, modeler and other jars to a common loader would be nice for all cases ( it doesn't need to be JNI specific ). > Also we'll not need the tomcat-jni any more, cause the Jk will be used > from tomcat-jk2. Big +1, I had only problems with tomcat-jni. The sooner we remove it, the better. ( it duplicate classes, creates weird endorsed problems, etc ). ( I still remember I wrote tomcat-jni trying to simplify the startup - big mistake :-) > The current 'classpath' vm options would be used as URLClassLoader and > URL[]'s will be set by calling > native methods (instead of parsing properties file as LauncherBootsrap > does). I think requiring the user to place a real CLASSPATH would be acceptable. Or just using a very small .jar with a ClassPath attribute and a main that just calls the real startup. > The only problem I had to solve I _when_ to register the natives for > AprImpl. The other problem is _when_ will this happen - I was hoping to tag j-t-c at about the same time with 5.0.2 - so it can get more testing and get us a consistent connector, regardless of tomcat version. Does adding modeler, jmx to the classpath work ? Costin --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org