You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Scott Danforth <sd...@epathlearning.com> on 2007/02/26 19:26:05 UTC

IIS Plugin won't load balance?

I've got jk load balancing working from Apache, but need it to work from 
IIS. I'm using the

My workers.properties and uriworkermap.properties files are the same for 
Apache and IIS.

#workers.properties
worker.list=loadbalancer
worker.tomcat1.type=ajp13
worker.tomcat1.host=192.168.1.7
worker.tomcat1.port=8009
worker.tomcat2.type=ajp13
worker.tomcat2.host=192.168.1.7
worker.tomcat2.port=9009
worker.loadbalancer.type=lb
worker.loadbalancer.balance_workers=tomcat1,tomcat2

#uriworkermap.properties
/servlets/*=loadbalancer

When I access servlets/Build from Apache everything works fine.

When I try to access servlets/Build from IIS, I get the following output 
in my browser window:  "The specified module could not be found."

And the last thing in the isapi.log file is:

[Mon Feb 26 12:14:29 2007] [2036:3200] [debug] jk_uri_worker_map.c 
(602): Found a wildchar match '/servlets/*=loadbalancer'
[Mon Feb 26 12:14:29 2007] [2036:3200] [debug] jk_isapi_plugin.c (885): 
check if [/servlets/Build] is points to the web-inf directory
[Mon Feb 26 12:14:29 2007] [2036:3200] [debug] jk_isapi_plugin.c (903): 
[/servlets/Build] is a servlet url - should redirect to loadbalancer

Anybody know what "The specified module could not be found." means?

The note about the web-inf directory seems a bit wierd, and I don't see 
it in the Apache mod_jk log.


	-- Scott.




---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: IIS Plugin can't find Module ??

Posted by Scott Danforth <sd...@epathlearning.com>.
Apparently, "The specified module could not be found" is a Windows Message.

Although the ISAPI_redirect dll is being loaded, it must be using 
COM/ActiveX/.NET to ask for something else that isn't available on my 
system once it decides to forward a page request to Tomcat.. What module 
would that be? Beats me. I'm using the version of IIS 5.0 that comes 
with XP.

As before, suggestions would be appreciated.

    -- Scott.

Scott Danforth wrote:

> Nope. It fails the same way for HelloWordExample in the 
> servlets-examples context.
>
> Any ideas appreciated. Anybody ever seen "The specified module could 
> not be found"  when using isaspi_redirect.dll?
>
>    -- Scott.
>
>
> [Mon Feb 26 14:10:58 2007] [2020:1756] [debug] jk_uri_worker_map.c 
> (575): Attempting to map URI '/localhost/servlets-examples/' from 2 maps
> [Mon Feb 26 14:10:58 2007] [2020:1756] [debug] jk_uri_worker_map.c 
> (587): Attempting to map context URI 
> '/servlets-examples/servlet/*=tomcat1' source 'uriworkermap'
> [Mon Feb 26 14:10:58 2007] [2020:1756] [debug] jk_uri_worker_map.c 
> (587): Attempting to map context URI '/servlets/*=tomcat1' source 
> 'uriworkermap'
> [Mon Feb 26 14:10:58 2007] [2020:1756] [debug] jk_isapi_plugin.c 
> (875): Default redirection of /servlets-examples/
> [Mon Feb 26 14:10:58 2007] [2020:1756] [debug] jk_uri_worker_map.c 
> (575): Attempting to map URI '/servlets-examples/' from 2 maps
> [Mon Feb 26 14:10:58 2007] [2020:1756] [debug] jk_uri_worker_map.c 
> (587): Attempting to map context URI 
> '/servlets-examples/servlet/*=tomcat1' source 'uriworkermap'
> [Mon Feb 26 14:10:58 2007] [2020:1756] [debug] jk_uri_worker_map.c 
> (587): Attempting to map context URI '/servlets/*=tomcat1' source 
> 'uriworkermap'
> [Mon Feb 26 14:10:58 2007] [2020:1756] [debug] jk_isapi_plugin.c 
> (885): check if [/servlets-examples/] is points to the web-inf directory
> [Mon Feb 26 14:10:58 2007] [2020:1756] [debug] jk_isapi_plugin.c 
> (1004): [/servlets-examples/] is not a servlet url
> [Mon Feb 26 14:11:28 2007] [2020:1756] [debug] jk_isapi_plugin.c 
> (801): Filter started
> [Mon Feb 26 14:11:28 2007] [2020:1756] [debug] jk_isapi_plugin.c 
> (868): Virtual Host redirection of 
> /192.168.1.50/servlets-examples/servlet/HelloWordExample
> [Mon Feb 26 14:11:28 2007] [2020:1756] [debug] jk_uri_worker_map.c 
> (575): Attempting to map URI 
> '/192.168.1.50/servlets-examples/servlet/HelloWordExample' from 2 maps
> [Mon Feb 26 14:11:28 2007] [2020:1756] [debug] jk_uri_worker_map.c 
> (587): Attempting to map context URI 
> '/servlets-examples/servlet/*=tomcat1' source 'uriworkermap'
> [Mon Feb 26 14:11:28 2007] [2020:1756] [debug] jk_uri_worker_map.c 
> (587): Attempting to map context URI '/servlets/*=tomcat1' source 
> 'uriworkermap'
> [Mon Feb 26 14:11:28 2007] [2020:1756] [debug] jk_isapi_plugin.c 
> (875): Default redirection of /servlets-examples/servlet/HelloWordExample
> [Mon Feb 26 14:11:28 2007] [2020:1756] [debug] jk_uri_worker_map.c 
> (575): Attempting to map URI 
> '/servlets-examples/servlet/HelloWordExample' from 2 maps
> [Mon Feb 26 14:11:28 2007] [2020:1756] [debug] jk_uri_worker_map.c 
> (587): Attempting to map context URI 
> '/servlets-examples/servlet/*=tomcat1' source 'uriworkermap'
> [Mon Feb 26 14:11:28 2007] [2020:1756] [debug] jk_uri_worker_map.c 
> (602): Found a wildchar match '/servlets-examples/servlet/*=tomcat1'
> [Mon Feb 26 14:11:28 2007] [2020:1756] [debug] jk_isapi_plugin.c 
> (885): check if [/servlets-examples/servlet/HelloWordExample] is 
> points to the web-inf directory
> [Mon Feb 26 14:11:28 2007] [2020:1756] [debug] jk_isapi_plugin.c 
> (903): [/servlets-examples/servlet/HelloWordExample] is a servlet url 
> - should redirect to tomcat1
>
>
> Scott Danforth wrote:
>
>> Maybe I should walk before running. The plugin fails the same way 
>> with a single worker (i.e., without load balancing). My current 
>> theory is that maybe the problem is that I'm using the root context. 
>> It's all I can think of as a cause for "The specified module could 
>> not be found."
>> I just love error messages that refer to "specified" items :-\
>>
>> Anybody else have any ideas?
>>
>>    -- Scott.
>>
>>
>> Scott Danforth wrote:
>>
>>> I've got jk load balancing working from Apache, but need it to work 
>>> from IIS. I'm using the
>>>
>>> My workers.properties and uriworkermap.properties files are the same 
>>> for Apache and IIS.
>>>
>>> #workers.properties
>>> worker.list=loadbalancer
>>> worker.tomcat1.type=ajp13
>>> worker.tomcat1.host=192.168.1.7
>>> worker.tomcat1.port=8009
>>> worker.tomcat2.type=ajp13
>>> worker.tomcat2.host=192.168.1.7
>>> worker.tomcat2.port=9009
>>> worker.loadbalancer.type=lb
>>> worker.loadbalancer.balance_workers=tomcat1,tomcat2
>>>
>>> #uriworkermap.properties
>>> /servlets/*=loadbalancer
>>>
>>> When I access servlets/Build from Apache everything works fine.
>>>
>>> When I try to access servlets/Build from IIS, I get the following 
>>> output in my browser window:  "The specified module could not be 
>>> found."
>>>
>>> And the last thing in the isapi.log file is:
>>>
>>> [Mon Feb 26 12:14:29 2007] [2036:3200] [debug] jk_uri_worker_map.c 
>>> (602): Found a wildchar match '/servlets/*=loadbalancer'
>>> [Mon Feb 26 12:14:29 2007] [2036:3200] [debug] jk_isapi_plugin.c 
>>> (885): check if [/servlets/Build] is points to the web-inf directory
>>> [Mon Feb 26 12:14:29 2007] [2036:3200] [debug] jk_isapi_plugin.c 
>>> (903): [/servlets/Build] is a servlet url - should redirect to 
>>> loadbalancer
>>>
>>> Anybody know what "The specified module could not be found." means?
>>>
>>> The note about the web-inf directory seems a bit wierd, and I don't 
>>> see it in the Apache mod_jk log.
>>>
>>>
>>>     -- Scott.
>>>
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To start a new topic, e-mail: users@tomcat.apache.org
>>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>>> For additional commands, e-mail: users-help@tomcat.apache.org
>>>
>>>
>>>
>>
>

-- 

Scott Danforth, Ph.D.
Director of Technology
ePath Learning, Inc.
70 Howard Street, Suite C
New London, CT 06320
Phone: (860) 444-6989 ext. 3
Fax: (215) 243-7454
email: sdanforth@ePathLearning.com




---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: IIS Plugin can't find Module ??

Posted by Scott Danforth <sd...@epathlearning.com>.
Nope. It fails the same way for HelloWordExample in the 
servlets-examples context.

 Any ideas appreciated. Anybody ever seen "The specified module could 
not be found"  when using isaspi_redirect.dll?

    -- Scott.


[Mon Feb 26 14:10:58 2007] [2020:1756] [debug] jk_uri_worker_map.c 
(575): Attempting to map URI '/localhost/servlets-examples/' from 2 maps
[Mon Feb 26 14:10:58 2007] [2020:1756] [debug] jk_uri_worker_map.c 
(587): Attempting to map context URI 
'/servlets-examples/servlet/*=tomcat1' source 'uriworkermap'
[Mon Feb 26 14:10:58 2007] [2020:1756] [debug] jk_uri_worker_map.c 
(587): Attempting to map context URI '/servlets/*=tomcat1' source 
'uriworkermap'
[Mon Feb 26 14:10:58 2007] [2020:1756] [debug] jk_isapi_plugin.c (875): 
Default redirection of /servlets-examples/
[Mon Feb 26 14:10:58 2007] [2020:1756] [debug] jk_uri_worker_map.c 
(575): Attempting to map URI '/servlets-examples/' from 2 maps
[Mon Feb 26 14:10:58 2007] [2020:1756] [debug] jk_uri_worker_map.c 
(587): Attempting to map context URI 
'/servlets-examples/servlet/*=tomcat1' source 'uriworkermap'
[Mon Feb 26 14:10:58 2007] [2020:1756] [debug] jk_uri_worker_map.c 
(587): Attempting to map context URI '/servlets/*=tomcat1' source 
'uriworkermap'
[Mon Feb 26 14:10:58 2007] [2020:1756] [debug] jk_isapi_plugin.c (885): 
check if [/servlets-examples/] is points to the web-inf directory
[Mon Feb 26 14:10:58 2007] [2020:1756] [debug] jk_isapi_plugin.c (1004): 
[/servlets-examples/] is not a servlet url
[Mon Feb 26 14:11:28 2007] [2020:1756] [debug] jk_isapi_plugin.c (801): 
Filter started
[Mon Feb 26 14:11:28 2007] [2020:1756] [debug] jk_isapi_plugin.c (868): 
Virtual Host redirection of 
/192.168.1.50/servlets-examples/servlet/HelloWordExample
[Mon Feb 26 14:11:28 2007] [2020:1756] [debug] jk_uri_worker_map.c 
(575): Attempting to map URI 
'/192.168.1.50/servlets-examples/servlet/HelloWordExample' from 2 maps
[Mon Feb 26 14:11:28 2007] [2020:1756] [debug] jk_uri_worker_map.c 
(587): Attempting to map context URI 
'/servlets-examples/servlet/*=tomcat1' source 'uriworkermap'
[Mon Feb 26 14:11:28 2007] [2020:1756] [debug] jk_uri_worker_map.c 
(587): Attempting to map context URI '/servlets/*=tomcat1' source 
'uriworkermap'
[Mon Feb 26 14:11:28 2007] [2020:1756] [debug] jk_isapi_plugin.c (875): 
Default redirection of /servlets-examples/servlet/HelloWordExample
[Mon Feb 26 14:11:28 2007] [2020:1756] [debug] jk_uri_worker_map.c 
(575): Attempting to map URI 
'/servlets-examples/servlet/HelloWordExample' from 2 maps
[Mon Feb 26 14:11:28 2007] [2020:1756] [debug] jk_uri_worker_map.c 
(587): Attempting to map context URI 
'/servlets-examples/servlet/*=tomcat1' source 'uriworkermap'
[Mon Feb 26 14:11:28 2007] [2020:1756] [debug] jk_uri_worker_map.c 
(602): Found a wildchar match '/servlets-examples/servlet/*=tomcat1'
[Mon Feb 26 14:11:28 2007] [2020:1756] [debug] jk_isapi_plugin.c (885): 
check if [/servlets-examples/servlet/HelloWordExample] is points to the 
web-inf directory
[Mon Feb 26 14:11:28 2007] [2020:1756] [debug] jk_isapi_plugin.c (903): 
[/servlets-examples/servlet/HelloWordExample] is a servlet url - should 
redirect to tomcat1


Scott Danforth wrote:

> Maybe I should walk before running. The plugin fails the same way with 
> a single worker (i.e., without load balancing). My current theory is 
> that maybe the problem is that I'm using the root context. It's all I 
> can think of as a cause for "The specified module could not be found."
> I just love error messages that refer to "specified" items :-\
>
> Anybody else have any ideas?
>
>    -- Scott.
>
>
> Scott Danforth wrote:
>
>> I've got jk load balancing working from Apache, but need it to work 
>> from IIS. I'm using the
>>
>> My workers.properties and uriworkermap.properties files are the same 
>> for Apache and IIS.
>>
>> #workers.properties
>> worker.list=loadbalancer
>> worker.tomcat1.type=ajp13
>> worker.tomcat1.host=192.168.1.7
>> worker.tomcat1.port=8009
>> worker.tomcat2.type=ajp13
>> worker.tomcat2.host=192.168.1.7
>> worker.tomcat2.port=9009
>> worker.loadbalancer.type=lb
>> worker.loadbalancer.balance_workers=tomcat1,tomcat2
>>
>> #uriworkermap.properties
>> /servlets/*=loadbalancer
>>
>> When I access servlets/Build from Apache everything works fine.
>>
>> When I try to access servlets/Build from IIS, I get the following 
>> output in my browser window:  "The specified module could not be found."
>>
>> And the last thing in the isapi.log file is:
>>
>> [Mon Feb 26 12:14:29 2007] [2036:3200] [debug] jk_uri_worker_map.c 
>> (602): Found a wildchar match '/servlets/*=loadbalancer'
>> [Mon Feb 26 12:14:29 2007] [2036:3200] [debug] jk_isapi_plugin.c 
>> (885): check if [/servlets/Build] is points to the web-inf directory
>> [Mon Feb 26 12:14:29 2007] [2036:3200] [debug] jk_isapi_plugin.c 
>> (903): [/servlets/Build] is a servlet url - should redirect to 
>> loadbalancer
>>
>> Anybody know what "The specified module could not be found." means?
>>
>> The note about the web-inf directory seems a bit wierd, and I don't 
>> see it in the Apache mod_jk log.
>>
>>
>>     -- Scott.
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To start a new topic, e-mail: users@tomcat.apache.org
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>>
>

-- 

Scott Danforth, Ph.D.
Director of Technology
ePath Learning, Inc.
70 Howard Street, Suite C
New London, CT 06320
Phone: (860) 444-6989 ext. 3
Fax: (215) 243-7454
email: sdanforth@ePathLearning.com




---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: IIS Plugin can't find Module ??

Posted by Scott Danforth <sd...@epathlearning.com>.
Maybe I should walk before running. The plugin fails the same way with a 
single worker (i.e., without load balancing). My current theory is that 
maybe the problem is that I'm using the root context. It's all I can 
think of as a cause for "The specified module could not be found." 

I just love error messages that refer to "specified" items :-\

Anybody else have any ideas?

    -- Scott.


Scott Danforth wrote:

> I've got jk load balancing working from Apache, but need it to work 
> from IIS. I'm using the
>
> My workers.properties and uriworkermap.properties files are the same 
> for Apache and IIS.
>
> #workers.properties
> worker.list=loadbalancer
> worker.tomcat1.type=ajp13
> worker.tomcat1.host=192.168.1.7
> worker.tomcat1.port=8009
> worker.tomcat2.type=ajp13
> worker.tomcat2.host=192.168.1.7
> worker.tomcat2.port=9009
> worker.loadbalancer.type=lb
> worker.loadbalancer.balance_workers=tomcat1,tomcat2
>
> #uriworkermap.properties
> /servlets/*=loadbalancer
>
> When I access servlets/Build from Apache everything works fine.
>
> When I try to access servlets/Build from IIS, I get the following 
> output in my browser window:  "The specified module could not be found."
>
> And the last thing in the isapi.log file is:
>
> [Mon Feb 26 12:14:29 2007] [2036:3200] [debug] jk_uri_worker_map.c 
> (602): Found a wildchar match '/servlets/*=loadbalancer'
> [Mon Feb 26 12:14:29 2007] [2036:3200] [debug] jk_isapi_plugin.c 
> (885): check if [/servlets/Build] is points to the web-inf directory
> [Mon Feb 26 12:14:29 2007] [2036:3200] [debug] jk_isapi_plugin.c 
> (903): [/servlets/Build] is a servlet url - should redirect to 
> loadbalancer
>
> Anybody know what "The specified module could not be found." means?
>
> The note about the web-inf directory seems a bit wierd, and I don't 
> see it in the Apache mod_jk log.
>
>
>     -- Scott.
>
>
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>

-- 

Scott Danforth, Ph.D.
Director of Technology
ePath Learning, Inc.
70 Howard Street, Suite C
New London, CT 06320
Phone: (860) 444-6989 ext. 3
Fax: (215) 243-7454
email: sdanforth@ePathLearning.com




---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org