JK2 uses a completely different set of registry keys and property file
formats.
 
Here are copies of what works for me (with 2.0.2), in a very basic
installation scenario:
 
workers.properties
 
# =============

 
# Define the communication channel 
[channel.socket:localhost:8009]
info=Ajp13 forwarding over socket
tomcatId=localhost:8009
 
[shm:]
file=C:/Program Files/Apache Group/Tomcat 4.1/shm.file
size=2000000

# Map the Tomcat uri paths as needed
 
[uri:/examples/*]
info=Map the whole webapp
 
[uri:/servlet/*]
info=Default invoker
 
 
# =============

jk2.properties
 
# =============

[shm]
file=C:/Program Files/Apache Group/shm.file
size=564249 

# =============

registry entries
 
 
Windows Registry Editor Version 5.00
 
[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi
Redirector\2.0]
"workersFile"="c:\\Program Files\\Apache Group\\Tomcat
4.1\\conf\\workers2.properties"
"logLevel"="INFO"
"serverRoot"="c:\\Program Files\\Apache Group\\Tomcat 4.1"
"extensionUri"="/jakarta/isapi_redirector2.dll"
 

Rick Bullotta
CTO
Lighthammer Software (http://www.lighthammer.com
<http://www.lighthammer.com/> )



-----Original Message-----
From: Johannes Fiala [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 03, 2003 4:49 PM
To: Tomcat Users List
Subject: RE: Tomcat 4.1.18 - IIS 5.0 plugin



Chris, 

Unfortunately I cannot even confirm 2.0.1 works with MY configuration. 

Using 1.0, everything is ok. 

Using 2.0.1 or 2.0.2 however: 
*) there is no message in my logfile entered in the registry, although I
turned log_level to debug 
*) I get the following error: 


Does anybody know what this message means? 

Here is a screenshot of my registry: 

I think it is really hard to debug the behaviour of the JK-Connector. 
Maybe a more detailed logging would help installing users a lot? 

thx 
Johannes 





"Christopher Watson" <[EMAIL PROTECTED]> 


28.02.2003 10:50 


Please respond to
"Tomcat Users List" <[EMAIL PROTECTED]>



To
"'Tomcat Users List'" <[EMAIL PROTECTED]> 

cc

Subject
RE: Tomcat 4.1.18 - IIS 5.0 plugin

        




Johannes , All,

I've found the 2.0.1 dll works - with jk2 style config, but not the
2.0.2 dll.

Can anyone else confirm this is the case for them?
If so, does anyone know why 2.0.2 is not working?
Or what I need to change from 2.0.1 config to get it to work?
(My workers2.properties, jk2.properites and exported registry are
attached for the curious)

If it's not a config, perhaps 2.0.2 should be fixed or removed?
I only kind of by accident tried 2.0.1 and found it to work, having
puzzled over 2.0.2 for a long time.

My 2p (UK c version of 2 cents)

Christopehr

> -----Original Message-----
> From: Johannes Fiala [mailto:[EMAIL PROTECTED] 
> Sent: 28 February 2003 08:08
> To: Tomcat Users List
> Subject: Re: Tomcat 4.1.18 - IIS 5.0 plugin
> 
> 
> Dear Ben,
> 
> isapi_redirector version 1.0 is running smoothly with Tomcat 
> 4.1.18 on my 
> PC.
> Being curious, I tried to get 2.0.2 running as well, but it 
> didn't work 
> out (the arrow stays red down).
> However, it should be running, because I used the same 
> uriworkermap/workers.properties. Or did these files change for 2.0?
> 
> Can you send me 
> *) the working registry entries and 
> *) uriworkermap.properties
> *) workers.properties
> *) the isapi_redirector2.dll you are using?
> 
> I'd like to see 2.0 up and running as well!
> 
> thx alot
> Johannes
> 
> 
> 
> 
> 
> "Schleimer, Ben" <[EMAIL PROTECTED]> 
> 27.02.2003 15:09
> Please respond to
> "Tomcat Users List" <[EMAIL PROTECTED]>
> 
> 
> To
> Tomcat Users List <[EMAIL PROTECTED]>
> cc
> 
> Subject
> Re: Tomcat 4.1.18 - IIS 5.0 plugin
> 
> 
> 
> 
> 
> 
> Hi,
>   You need to get isapi_redirector2.dll from the JK2
> connectors part of the website. I had the same
> problem.
> Also, the registry keys need to be in 2.0, not 1.0.
> 4.1.18 is compiled to use jk2, not jk.
> 
> Good luck,
> Ben
> 
> --- Johannes Fiala <[EMAIL PROTECTED]> wrote:
> > hi there,
> > 
> > I just tried to get the IIS JK2 running using
> > Tomcat 4.1.18 with JK isapi 2.0.2 and IIS 5.0 (Win
> > 2000 Professional)
> > 
> > I added the registry entries correctly (no error in
> > event viewer)
> > according to the howto.
> > I created the virtual directory jakarta which
> > displays the entry 
> > isapi_redirect.dll correctly.
> > However, after I stop and start IIS 5.0 the ISAPI
> > Filter shows the red 
> > arrow down. 
> > 
> > The log file I specified in the registry entry
> > log_file is simplest, but
> > there is no log file showing up (c:\isapi.log).
> > 
> > Any ideas on where I have to look at for errors?
> > 
> > thx alot
> > Johannes Fiala
> 
> 
> =====
> "The competent programmer is fully aware of the strictly 
> limited size of 
> his own skull; therefore he approaches the programming task in full 
> humility, and among other things he avoids clever tricks like 
> the plague" 
> - Edsger Dijkstra
> 
http://snow.prohosting.com/bensch

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

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


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


Reply via email to