You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by "Ignacio J. Ortega" <na...@siapi.es> on 2002/04/18 02:39:41 UTC

RE: cvs commit: jakarta-tomcat-connectors/jk/native2/server/apach e2 mod_jk.dsp

> 
> BTW, did you got the windows version working ? Can you also 
> test the JNI 
> channel ? It should be working with 3.3 or 4.0, but not 4.1.
> 

Apache or IIS? 

Apache is mostly compiling, but not got time to test it, i'm not very
used to apache, i will need some advice to run the apache thing.. but
AFAIK it should work already..

IIS.., well the differences between jk and jk2 are so high, my first try
was lost in the way to adapt the existing ISAPI code,  next i will try
to use mod_jk2 as base to start, adding IIS things along the way..

BTW: In the process of rewriting isapi_redirector, and based on
conversations we had in the past, i'm toward to refactor the isapi
redirector , splitting it in 2 dlls, this way i think we can gain
scalability with a very little effort, at the cost of a little more
complicated installation, being the installation more than a pain
already, i'm in doubt.. 

The new installation process, will install some dll as filter and
another as extension, but the overall process will be more or less the
same as is now.. modulo the new config of course.. :)

Comments & advice are very welcomed..

Saludos ,
Ignacio J. Ortega


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: cvs commit: jakarta-tomcat-connectors/jk/native2/server/apach e2 mod_jk.dsp

Posted by co...@covalent.net.
On Thu, 18 Apr 2002, Ignacio J. Ortega wrote:

> IIS.., well the differences between jk and jk2 are so high, my first try
> was lost in the way to adapt the existing ISAPI code,  next i will try
> to use mod_jk2 as base to start, adding IIS things along the way..

It's mostly a matter of removing stuff - most of the code
moved to common/, it shouldn't be too much server-specific code.

What you can do is start with jk_service_iis.c ( based on 
jk_service_apache13 ) - and move the few methods related with 
request.

Then remove almost everything from isapi.c - all you need is to 
get ( from registry ? or env ? ) the location of tomcat ( I would 
try both - please note that you probably have it already in 
the tomcat service key - reusing that is the best choice !).

That's it. Configuration should use workers2.properties, from
tomcat.home/conf. 

If you find any extra code that could be usefull - try to 
move it in common/, but don't leave it in isapi. 

If you want to have fun - you can also implement jk_log_nt to
send the logs to the iis-specific thing ( windows events ? ).


> BTW: In the process of rewriting isapi_redirector, and based on
> conversations we had in the past, i'm toward to refactor the isapi
> redirector , splitting it in 2 dlls, this way i think we can gain
> scalability with a very little effort, at the cost of a little more
> complicated installation, being the installation more than a pain
> already, i'm in doubt.. 

I don't think you need 2 dlls. Just one big dll including everything
should be fine. ( don't forget the jni/ directory ).

2 files - yes, one with only initialization ( with the major goal
of finding the conf/ dir ), one for service. 

( unless there's a problem having a dll as both filter and handler )

Let me know if you need help - I will try to do some refactoring to
extract the code dealing with the registry ( into 
common/jk_config_registry ) and let both tomcat and mod_jk2 use it.
If you want I can do a quick refactoring and put the new stuff 
in - to get it started.

Costin


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>