JK2 module for AOLserver

2003-03-26 Thread Alexander Leyke
Hi, A question about enhancement adoption process - how long does it typically take for new code to show up in CVS, in nightly builds? What is the verification process for new code? I have posted enhancement request to the mailing list and to Bugzilla

JK2 module for AOLserver

2003-03-13 Thread Alexander Leyke
Hello, Please find attached archive with sources for nsjk2 module. The module targets AOLserver 4.0 beta 3 or later. The archive structure is rooted at jakarta-tomcat-connectors-4.1.18-src, and one can extract files directly into the JTC-4.1.18 sources. I have successfully built nsjk2 on

JK2 for AOLserver 4.0

2003-03-10 Thread Alexander Leyke
Hello, I am a developer at AOL and have been recently working on a JK2 family module for AOLserver. The module is ready now and I'd like to take steps necessary to contribute the sources to Tomcat project. I read the guidelines for contribution, but still am a bit confused about the process,

JSP @include directive

2003-02-19 Thread Alexander Leyke
Alexander Leyke wrote: Hi, I need to use include directive in JSP that points to file physically located outside directory tree for Web application context. I tested two forms of include directive: %@include file=/../inc/name.inc % and %@include file=/symlink/name.inc %. As far as I can tell

JSP @include directive

2003-02-18 Thread Alexander Leyke
Hi, I need to use include directive in JSP that points to file physically located outside directory tree for Web application context. I tested two forms of include directive: %@include file=/../inc/name.inc % and %@include file=/symlink/name.inc %. As far as I can tell from Tomcat 4.1.18

JVM Error

2003-01-28 Thread Alexander Leyke
I've seen similar problems - java is very sensitive to each thread beeing 'registered'. My understanding is that attaching the thread will set all the TLDs that are needed, and jk2 is calling the attach method - so I don't know what is wrong here. My bet would be on thread creation - I would

JVM Error

2003-01-27 Thread Alexander Leyke
Hello, I work on JK2 family module for AOLserver and use JNI to communicate with Tomcat, so the JVM is running inside the Web server process. I experience a problem with JVM 1.3.1 on Solaris 2.7/E250 and wonder if anyone else has encountered a similar issue. It manifests itself as JVM

Re: JK2 module for AOLserver

2002-11-22 Thread Alexander Leyke
Costin Manolache wrote: Are you using the jni channel ? Is that working too ? No, it is the default ajp13 channel. I think I told you about my doubts about jk_workerEnv.c hardcoding ajp13 as the type for all channel initialization. Anyway, this is how the code looks like now (let me know

Re: JK2 module for AOLserver

2002-11-21 Thread Alexander Leyke
Costin Manolache wrote: In jk2, all those strings are eliminated ( from C side ), we also eliminate the buffer allocation ( we reuse the same jbyteArray and C array, with code to eventually support NIO - that cuts 2 memcpy and few other small things ). We also reduce the number of JNI calls to

Re: JK2 module for AOLserver

2002-11-21 Thread Alexander Leyke
Costin Manolache wrote: I used BootstrapService because it didn't create the 8005 shutdown socket. My tests were done with 4.0. You can create your own wrapper, use CatalinaService directly or call Bootstrap ( if you don't mind 8005 - in your case it doesn't matter too much since you'll have a

Re: JK2 module for AOLserver

2002-11-20 Thread Alexander Leyke
Thanks for the reply, Costin. There are some more questions below. Costin Manolache wrote: Ajp13 protocol ( marshalling, etc ) is used for in-process communication and out of process communication. By marshalling the data we avoid some expensive and complex JNI operations, and benefit of all

JK2 module for AOLserver

2002-11-19 Thread Alexander Leyke
Hello! I am working on a JK2 module for AOLserver and would like to receive feedback on JNI and compiler issues I encountered. My environment is Solaris 7, AOLserver 3.4 and Tomcat 4.1.12. Issues: 1) Can't use JNI worker. AOLserver follows single-process, multi-threaded architectural model

Re: JK2 module for AOLserver

2002-11-19 Thread Alexander Leyke
Costin Manolache wrote: In jk2 we use ajp13 for all channels, including JNI. That allows us to reuse the buffers and avoid object allocations from C - which improves a lot the performance of the code ( we also avoid a lot of expensive calls, etc ). Same technique is also used (AFAIK) in mozilla