Hi Mark,

Indeed, we modified more than one line in the code, here they are :

#define VERSION_STRING "Jakarta/ISAPI/1.0"
replaced by : #define VERSION_STRING "Jakarta/ISAPI/1.0_bis"

#define REGISTRY_LOCATION       ("Software\\Apache Software
Foundation\\Jakarta Isapi Redirector\\1.0")
replaced by : #define REGISTRY_LOCATION       ("Software\\Apache Software
Foundation\\Jakarta Isapi Redirector\\1.0_bis")

static char extension_uri[INTERNET_MAX_URL_LENGTH] =
"/jakarta/isapi_redirect.dll";
replaced by : static char extension_uri[INTERNET_MAX_URL_LENGTH] =
"/jakarta_bis/isapi_redirect_bis.dll";

You then need to recompile the sources and go to the windows registry
to add entries for the recompiled version. Please notice that you will
need to use 1.0_bis as version number (as used in the above example).
In IIS, you will also need to create an additional virtual directory
called jakarta_bis and you will need to make active as filter the
file isapi_redirect_bis.dll (the jakarta_bis virtual directory must
point to the physical folder that contains the isapi_redirect_bis.dll
file).

Compare to the iis_redirect.regauto file generated by tomcat (this file is
automatically
generated by tomcat 3.2.1, it allow you to automate the windows registration
of the default
instance of the isapi filter), your registry entries should look like this :

[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi
Redirector\1.0_bis]
"extension_uri"="/jakarta_bis/isapi_redirect_bis.dll"
"log_file"="C:\\jakarta-tomcat2\\logs\\iis_redirect_bis.log"
"log_level"="debug"
"worker_file"="C:\\jakarta-tomcat2\\conf\\workers.properties"
"worker_mount_file"="C:\\jakarta-tomcat2\\conf\\uriworkermap.properties"

Don't hesitate to contact me if you need further information,
Etienne

-----Original Message-----
From: Mark Parish [mailto:[EMAIL PROTECTED]]
Sent: mardi 23 janvier 2001 6:41
To: [EMAIL PROTECTED]
Subject: Two instances of tomcat


Hi Etienne,

Thanks for your excellent help, however am still having problem which I
think is close to being solved.

You might be able to sort it out.

Have managed to compile the source for the isapi redirect and only
discovered one place to change the registry key from 1.0 to 2.0, and noticed
that you said there were (multiple ???) lines referring to reg keys, have I
missed one ?

Also when I start the second tomcat service , a file iis_redirect.regauto is
created as per attached file.
it looks incorrect because it is still saying 1.0 for reg key, yet the other
values are correct,  I am certian I am compiling the source ok but must have
missed a reg entry in the source somewhere...

What do your iis_redirect.regauto  files look like for each instance of
tomcat ?  Do they specify different reg values because mine do not and I
think they should.

Also do you know what this file is used for ?

Thanks again for your help ...

Many cheers
Mark



------------------------------------------------------------

Mark Parish
Network Manager
Elizabeth College

Email           : [EMAIL PROTECTED]
Land Mail       : 256 Elizabeth Street, Hobart Tasmania 7000
Phone           : (03) 6235 6519
Fax             : (03) 6231 2242
Web             : http://www.eliz.tased.edu.au

------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to