You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by sa...@cigma.asso.fr on 2005/04/04 14:48:01 UTC
==> Isapi redirector Installation problem betweeen IIs and Tomcat
Hi,
I'm looking for some help. Thanx in advance.
When I make a request to IIS for JSP file, I've got an error message and
in the event log : [jk_isapi_plugin.c (420)]: HttpFilterProc
[/admin/index.jsp] is not a servlet url
**************************************************************
The complete description follow from the windows log
And my installation process :
**************************************************************
04/04/2005,14:18:03,Apache Jakarta
Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (429)]:
HttpFilterProc check if [/Jakarta/isapi_redirector2.dll] is pointing to
the web-inf directory
04/04/2005,14:18:03,Apache Jakarta
Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (420)]:
HttpFilterProc [/Jakarta/isapi_redirector2.dll] is not a servlet url
04/04/2005,14:18:03,Apache Jakarta
Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (308)]: In
HttpFilterProc Virtual Host redirection of s0058 : 80
04/04/2005,14:18:03,Apache Jakarta
Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (252)]:
HttpFilterProc started
04/04/2005,14:18:03,Apache Jakarta
Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (429)]:
HttpFilterProc check if [/jsp-examples/jsp2/el/basic-comparisons.jsp] is
pointing to the web-inf directory
04/04/2005,14:18:03,Apache Jakarta
Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (340)]:
HttpFilterProc [/jsp-examples/jsp2/el/basic-comparisons.jsp] is a servlet
url - should redirect to lb
04/04/2005,14:18:03,Apache Jakarta
Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (308)]: In
HttpFilterProc Virtual Host redirection of s0058 : 80
04/04/2005,14:18:03,Apache Jakarta
Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (252)]:
HttpFilterProc started
04/04/2005,14:17:47,Apache Jakarta
Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (429)]:
HttpFilterProc check if [/admin/index.jsp] is pointing to the web-inf
directory
04/04/2005,14:17:47,Apache Jakarta
Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (420)]:
HttpFilterProc [/admin/index.jsp] is not a servlet url
04/04/2005,14:17:47,Apache Jakarta
Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (308)]: In
HttpFilterProc Virtual Host redirection of s0058 : 80
04/04/2005,14:17:47,Apache Jakarta
Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (252)]:
HttpFilterProc started
04/04/2005,14:17:47,Apache Jakarta
Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (429)]:
HttpFilterProc check if [/admin/index.jsp] is pointing to the web-inf
directory
04/04/2005,14:17:47,Apache Jakarta
Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (420)]:
HttpFilterProc [/admin/index.jsp] is not a servlet url
04/04/2005,14:17:47,Apache Jakarta
Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (308)]: In
HttpFilterProc Virtual Host redirection of s0058 : 80
04/04/2005,14:17:47,Apache Jakarta
Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (252)]:
HttpFilterProc started
*** SOFT RELEASE ***
My server : Windows server 2003
My Web server : IIS 6.0
My Tomcat server : 5.0.28
My JDK : JDK 1.4.2
My redirector : JK2
*** MY ACTIONS ***
**************************************************************
* ==> 1 - Tests IIs and Tomcat without the connector :
**************************************************************
open url : http://localhost => IIs respond good
open url : http://localhost:8080/ and
http://localhost:8080/jsp-examplessample, works good
**************************************************************
* ==> 2 - Configuring the connector in tomcat's server.xml :
**************************************************************
<Server port="8005" shutdown="SHUTDOWN" debug="0">
<Listener className="org.apache.catalina.mbeans.ServerLifecycleListener"
debug="0"/>
<Listener
className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener"
debug="0"/>
<!-- Global JNDI resources -->
<GlobalNamingResources>
<!-- Test entry for demonstration purposes -->
<Environment name="simpleValue" type="java.lang.Integer" value="30"/>
<Resource name="UserDatabase" auth="Container"
type="org.apache.catalina.UserDatabase"
description="User database that can be updated and saved">
</Resource>
<ResourceParams name="UserDatabase">
<parameter>
<name>factory</name>
<value>org.apache.catalina.users.MemoryUserDatabaseFactory</value>
</parameter>
<parameter>
<name>pathname</name>
<value>conf/tomcat-users.xml</value>
</parameter>
</ResourceParams>
</GlobalNamingResources>
<Service name="Catalina">
<!-- Define a non-SSL Coyote HTTP/1.1 Connector on the port specified
during installation -->
<Connector port="8080"
maxThreads="150"
minSpareThreads="25"
maxSpareThreads="75"
enableLookups="false"
redirectPort="8443"
acceptCount="100"
debug="9"
connectionTimeout="20000"
disableUploadTimeout="true" />
<!-- Define the top level container in our container hierarchy -->
<Engine name="Catalina" defaultHost="localhost" debug="9">
<!-- The request dumper valve dumps useful debugging information
abou
<!-- Global logger unless overridden at lower levels -->
<Logger className="org.apache.catalina.logger.FileLogger"
prefix="catalina_log."
suffix=".txt"
timestamp="true"/>
<!-- Because this Realm is here, an instance will be shared globally
-->
<Realm className="org.apache.catalina.realm.UserDatabaseRealm"
debug="0"
resourceName="UserDatabase"/>
<Host name="localhost" debug="0" appBase="webapps"
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
<Logger className="org.apache.catalina.logger.FileLogger"
directory="logs"
prefix="localhost_log."
suffix=".txt"
timestamp="true"/>
</Host> </Engine> </Service></Server>
**************************************************************
* ==> 3 - Installing the Isapi filter :
**************************************************************
I copy the file in ht directory :
c:\Tomcat5\bin\win32\i386\isapi_redirector2.dll
where CATALINA_HOME = c:\Tomcat5
**************************************************************
* ==> 4 - Uddating the windows registry for ISAPI filter :
**************************************************************
[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi
Redirector\2.0]
"serverRoot"="C:\\Tomcat5\\"
"extensionUri"="/jakarta/isapi_redirector2.dll"
"workersFile"="C:\\Tomcat5\\conf\\workers2.properties"
"logLevel"="DEBUG"
**************************************************************
* ==> 5 - Configuring Tomcat Workers (Workers2.properties file)
**************************************************************
# Setup the windows application logging for the ISAPI filter
[logger.win32]
level=DEBUG
# Defines a load balancer named lb. Use even if you only have one machine.
[lb:lb]
# communication channel settings
[channel.socket:localhost:8009]
host=localhost
port=8009
# SHared Memory file settings
[shm]
file=C:/Tomcat5/conf/jk2.shm
size=1000000
# Declare a Tomcat worker and assign it the above declared communication
channel.
[ajp13:localhost:8009]
channel=channel.socket:localhost:8009
group=lb
# URI mappings for jsp-examples web application context
# Requests for any web component(indicated by the wild card *) are
dispatched to
# Tomcat.
[uri:/jsp-examples/*]
info= Mapping for jsp-examples context of tomcat
group=lb
**************************************************************
* ==> 6 - configuring the jk2.properties
**************************************************************
channelSocket.address=localhost
channelSocket.port=8009
shm.file=C:/Tomcat5/conf/jk2.shm
**************************************************************
* ==> Creating virtual directory under IIS
**************************************************************
Every thing indicates it's ok : green arrow, and the virtual directory is
called : "jakarta"
**************************************************************
* ==> Adding the ISAPI filter to IIS
**************************************************************
With the Allow green flag
Thanx for any help, links etc...
Best regards
Re: Not enough response ==> Isapi redirector Installation problem
betweeen IIs and Tomcat
Posted by reynir <re...@hugsmidjan.is>.
hi,
jk2 is not suported anymore.
jk is the current supported version. I suggest you go with that.
-reynir
samuel.goblet@cigma.asso.fr wrote:
>Thanx Reynir but I already read your doc and it works for the previous
>version of the redirector : JK1(isapi redirector 1.2.8 - AJP 12)
>
>Me I use JK2 (isapi redirector next version - AJP 13) AND the file for the
>configuration seems to be only one :
>
>workers2.properties
>
>Not with : workers.properties AND uriworkermap.properties
>
>So if I doesn't make any mistake, your doc doesn't reply to my need...
>
>Sorry and thanx.
>
>reynir <re...@hugsmidjan.is> a écrit sur 04/04/2005 15:21:46 :
>
>
>
>>ok sorry
>>I saw it down at the bottom of your email.
>>I wrote directions on how to install this kind of setup few days ago :
>>
>>http://www.reynir.net/java/greinar/nr/52
>>
>>check it out, it works fine.
>>
>>-reynir
>>
>>reynir wrote:
>>
>>
>>
>>>what version of IIS / tomcat / isapi_redirector are you using ?
>>>-reynir
>>>
>>>samuel.goblet@cigma.asso.fr wrote:
>>>
>>>
>>>
>>>
>>>
>>>>Hi,
>>>>
>>>>I'm looking for some help. Thanx in advance.
>>>>
>>>>When I make a request to IIS for JSP file, I've got an error message
>>>>
>>>>
>and
>
>
>>>>in the event log : [jk_isapi_plugin.c (420)]: HttpFilterProc
>>>>[/admin/index.jsp] is not a servlet url
>>>>
>>>>**************************************************************
>>>>The complete description follow from the windows log
>>>>And my installation process :
>>>>**************************************************************
>>>>04/04/2005,14:18:03,Apache Jakarta
>>>>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (429)]:
>>>>HttpFilterProc check if [/Jakarta/isapi_redirector2.dll] is pointing
>>>>
>>>>
>to
>
>
>>>>the web-inf directory
>>>>04/04/2005,14:18:03,Apache Jakarta
>>>>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (420)]:
>>>>HttpFilterProc [/Jakarta/isapi_redirector2.dll] is not a servlet url
>>>>04/04/2005,14:18:03,Apache Jakarta
>>>>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (308)]:
>>>>
>>>>
>In
>
>
>>>>HttpFilterProc Virtual Host redirection of s0058 : 80
>>>>04/04/2005,14:18:03,Apache Jakarta
>>>>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (252)]:
>>>>HttpFilterProc started
>>>>04/04/2005,14:18:03,Apache Jakarta
>>>>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (429)]:
>>>>HttpFilterProc check if [/jsp-examples/jsp2/el/basic-comparisons.jsp]
>>>>
>>>>
>is
>
>
>>>>pointing to the web-inf directory
>>>>04/04/2005,14:18:03,Apache Jakarta
>>>>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (340)]:
>>>>HttpFilterProc [/jsp-examples/jsp2/el/basic-comparisons.jsp] is a
>>>>
>>>>
>servlet
>
>
>>>>url - should redirect to lb
>>>>04/04/2005,14:18:03,Apache Jakarta
>>>>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (308)]:
>>>>
>>>>
>In
>
>
>>>>HttpFilterProc Virtual Host redirection of s0058 : 80
>>>>04/04/2005,14:18:03,Apache Jakarta
>>>>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (252)]:
>>>>HttpFilterProc started
>>>>04/04/2005,14:17:47,Apache Jakarta
>>>>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (429)]:
>>>>HttpFilterProc check if [/admin/index.jsp] is pointing to the web-inf
>>>>directory
>>>>04/04/2005,14:17:47,Apache Jakarta
>>>>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (420)]:
>>>>HttpFilterProc [/admin/index.jsp] is not a servlet url
>>>>04/04/2005,14:17:47,Apache Jakarta
>>>>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (308)]:
>>>>
>>>>
>In
>
>
>>>>HttpFilterProc Virtual Host redirection of s0058 : 80
>>>>04/04/2005,14:17:47,Apache Jakarta
>>>>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (252)]:
>>>>HttpFilterProc started
>>>>04/04/2005,14:17:47,Apache Jakarta
>>>>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (429)]:
>>>>HttpFilterProc check if [/admin/index.jsp] is pointing to the web-inf
>>>>directory
>>>>04/04/2005,14:17:47,Apache Jakarta
>>>>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (420)]:
>>>>HttpFilterProc [/admin/index.jsp] is not a servlet url
>>>>04/04/2005,14:17:47,Apache Jakarta
>>>>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (308)]:
>>>>
>>>>
>In
>
>
>>>>HttpFilterProc Virtual Host redirection of s0058 : 80
>>>>04/04/2005,14:17:47,Apache Jakarta
>>>>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (252)]:
>>>>HttpFilterProc started
>>>>
>>>>
>>>>
>>>>
>>>>*** SOFT RELEASE ***
>>>>My server : Windows server 2003
>>>>My Web server : IIS 6.0
>>>>My Tomcat server : 5.0.28
>>>>My JDK : JDK 1.4.2
>>>>My redirector : JK2
>>>>
>>>>*** MY ACTIONS ***
>>>>**************************************************************
>>>>* ==> 1 - Tests IIs and Tomcat without the connector :
>>>>**************************************************************
>>>>open url : http://localhost => IIs respond good
>>>>open url : http://localhost:8080/ and
>>>>http://localhost:8080/jsp-examplessample, works good
>>>>**************************************************************
>>>>* ==> 2 - Configuring the connector in tomcat's server.xml :
>>>>**************************************************************
>>>><Server port="8005" shutdown="SHUTDOWN" debug="0">
>>>><Listener
>>>>
>>>>
>className="org.apache.catalina.mbeans.ServerLifecycleListener"
>
>
>>>> debug="0"/>
>>>><Listener
>>>>
>>>>
>>>className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener"
>>>
>>>
>>>> debug="0"/>
>>>>
>>>><!-- Global JNDI resources -->
>>>><GlobalNamingResources>
>>>>
>>>> <!-- Test entry for demonstration purposes -->
>>>> <Environment name="simpleValue" type="java.lang.Integer"
>>>>
>>>>
>value="30"/>
>
>
>>>> <Resource name="UserDatabase" auth="Container"
>>>> type="org.apache.catalina.UserDatabase"
>>>> description="User database that can be updated and saved">
>>>> </Resource>
>>>> <ResourceParams name="UserDatabase">
>>>> <parameter>
>>>> <name>factory</name>
>>>><value>org.apache.catalina.users.MemoryUserDatabaseFactory</value>
>>>> </parameter>
>>>> <parameter>
>>>> <name>pathname</name>
>>>> <value>conf/tomcat-users.xml</value>
>>>> </parameter>
>>>> </ResourceParams>
>>>>
>>>></GlobalNamingResources>
>>>>
>>>> <Service name="Catalina">
>>>>
>>>> <!-- Define a non-SSL Coyote HTTP/1.1 Connector on the port
>>>>
>>>>
>>specified
>>
>>
>>> during installation -->
>>>
>>>
>>>> <Connector port="8080"
>>>> maxThreads="150"
>>>> minSpareThreads="25"
>>>> maxSpareThreads="75"
>>>> enableLookups="false"
>>>> redirectPort="8443"
>>>> acceptCount="100"
>>>> debug="9"
>>>> connectionTimeout="20000"
>>>> disableUploadTimeout="true" />
>>>>
>>>> <!-- Define the top level container in our container hierarchy -->
>>>> <Engine name="Catalina" defaultHost="localhost" debug="9">
>>>>
>>>> <!-- The request dumper valve dumps useful debugging
>>>>
>>>>
>>information
>>
>>
>>>abou
>>> <!-- Global logger unless overridden at
>>>
>>>
>>lower levels -->
>>
>>
>>>> <Logger className="org.apache.catalina.logger.FileLogger"
>>>> prefix="catalina_log."
>>>> suffix=".txt"
>>>> timestamp="true"/>
>>>>
>>>> <!-- Because this Realm is here, an instance will be shared
>>>>
>>>>
>>globally
>>
>>
>>>-->
>>>
>>>
>>>> <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
>>>> debug="0"
>>>> resourceName="UserDatabase"/>
>>>>
>>>> <Host name="localhost" debug="0" appBase="webapps"
>>>> unpackWARs="true" autoDeploy="true"
>>>> xmlValidation="false" xmlNamespaceAware="false">
>>>>
>>>> <Logger className="org.apache.catalina.logger.FileLogger"
>>>> directory="logs"
>>>> prefix="localhost_log."
>>>> suffix=".txt"
>>>> timestamp="true"/>
>>>>
>>>> </Host> </Engine> </Service></Server>
>>>>**************************************************************
>>>>* ==> 3 - Installing the Isapi filter :
>>>>**************************************************************
>>>>I copy the file in ht directory :
>>>>c:\Tomcat5\bin\win32\i386\isapi_redirector2.dll
>>>>
>>>>where CATALINA_HOME = c:\Tomcat5
>>>>**************************************************************
>>>>* ==> 4 - Uddating the windows registry for ISAPI filter :
>>>>**************************************************************
>>>>[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi
>>>>Redirector\2.0]
>>>>"serverRoot"="C:\\Tomcat5\\"
>>>>"extensionUri"="/jakarta/isapi_redirector2.dll"
>>>>"workersFile"="C:\\Tomcat5\\conf\\workers2.properties"
>>>>"logLevel"="DEBUG"
>>>>
>>>>**************************************************************
>>>>* ==> 5 - Configuring Tomcat Workers (Workers2.properties file)
>>>>**************************************************************
>>>># Setup the windows application logging for the ISAPI filter
>>>>[logger.win32]
>>>>level=DEBUG
>>>>
>>>># Defines a load balancer named lb. Use even if you only have one
>>>>
>>>>
>machine.
>
>
>>>>[lb:lb]
>>>>
>>>># communication channel settings
>>>>[channel.socket:localhost:8009]
>>>>host=localhost
>>>>port=8009
>>>>
>>>># SHared Memory file settings
>>>>[shm]
>>>>file=C:/Tomcat5/conf/jk2.shm
>>>>size=1000000
>>>>
>>>># Declare a Tomcat worker and assign it the above declared
>>>>
>>>>
>communication
>
>
>>>>channel.
>>>>[ajp13:localhost:8009]
>>>>channel=channel.socket:localhost:8009
>>>>group=lb
>>>>
>>>># URI mappings for jsp-examples web application context
>>>># Requests for any web component(indicated by the wild card *) are
>>>>dispatched to
>>>># Tomcat.
>>>>[uri:/jsp-examples/*]
>>>>info= Mapping for jsp-examples context of tomcat
>>>>group=lb
>>>>
>>>>**************************************************************
>>>>* ==> 6 - configuring the jk2.properties
>>>>**************************************************************
>>>>
>>>>channelSocket.address=localhost
>>>>channelSocket.port=8009
>>>>shm.file=C:/Tomcat5/conf/jk2.shm
>>>>
>>>>**************************************************************
>>>>* ==> Creating virtual directory under IIS
>>>>**************************************************************
>>>>Every thing indicates it's ok : green arrow, and the virtual directory
>>>>
>>>>
>is
>
>
>>>>called : "jakarta"
>>>>
>>>>**************************************************************
>>>>* ==> Adding the ISAPI filter to IIS
>>>>**************************************************************
>>>>With the Allow green flag
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>Thanx for any help, links etc...
>>>>
>>>>Best regards
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>>>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>>
>>>
>>>
>>>
>>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>
>>
>>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Not enough response ==> Isapi redirector Installation problem betweeen IIs
and Tomcat
Posted by sa...@cigma.asso.fr.
Thanx Reynir but I already read your doc and it works for the previous
version of the redirector : JK1(isapi redirector 1.2.8 - AJP 12)
Me I use JK2 (isapi redirector next version - AJP 13) AND the file for the
configuration seems to be only one :
workers2.properties
Not with : workers.properties AND uriworkermap.properties
So if I doesn't make any mistake, your doc doesn't reply to my need...
Sorry and thanx.
reynir <re...@hugsmidjan.is> a écrit sur 04/04/2005 15:21:46 :
> ok sorry
> I saw it down at the bottom of your email.
> I wrote directions on how to install this kind of setup few days ago :
>
> http://www.reynir.net/java/greinar/nr/52
>
> check it out, it works fine.
>
> -reynir
>
> reynir wrote:
>
> >what version of IIS / tomcat / isapi_redirector are you using ?
> >-reynir
> >
> >samuel.goblet@cigma.asso.fr wrote:
> >
> >
> >
> >>Hi,
> >>
> >>I'm looking for some help. Thanx in advance.
> >>
> >>When I make a request to IIS for JSP file, I've got an error message
and
> >>in the event log : [jk_isapi_plugin.c (420)]: HttpFilterProc
> >>[/admin/index.jsp] is not a servlet url
> >>
> >>**************************************************************
> >>The complete description follow from the windows log
> >>And my installation process :
> >>**************************************************************
> >>04/04/2005,14:18:03,Apache Jakarta
> >>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (429)]:
> >>HttpFilterProc check if [/Jakarta/isapi_redirector2.dll] is pointing
to
> >>the web-inf directory
> >>04/04/2005,14:18:03,Apache Jakarta
> >>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (420)]:
> >>HttpFilterProc [/Jakarta/isapi_redirector2.dll] is not a servlet url
> >>04/04/2005,14:18:03,Apache Jakarta
> >>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (308)]:
In
> >>HttpFilterProc Virtual Host redirection of s0058 : 80
> >>04/04/2005,14:18:03,Apache Jakarta
> >>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (252)]:
> >>HttpFilterProc started
> >>04/04/2005,14:18:03,Apache Jakarta
> >>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (429)]:
> >>HttpFilterProc check if [/jsp-examples/jsp2/el/basic-comparisons.jsp]
is
> >>pointing to the web-inf directory
> >>04/04/2005,14:18:03,Apache Jakarta
> >>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (340)]:
> >>HttpFilterProc [/jsp-examples/jsp2/el/basic-comparisons.jsp] is a
servlet
> >>url - should redirect to lb
> >>04/04/2005,14:18:03,Apache Jakarta
> >>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (308)]:
In
> >>HttpFilterProc Virtual Host redirection of s0058 : 80
> >>04/04/2005,14:18:03,Apache Jakarta
> >>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (252)]:
> >>HttpFilterProc started
> >>04/04/2005,14:17:47,Apache Jakarta
> >>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (429)]:
> >>HttpFilterProc check if [/admin/index.jsp] is pointing to the web-inf
> >>directory
> >>04/04/2005,14:17:47,Apache Jakarta
> >>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (420)]:
> >>HttpFilterProc [/admin/index.jsp] is not a servlet url
> >>04/04/2005,14:17:47,Apache Jakarta
> >>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (308)]:
In
> >>HttpFilterProc Virtual Host redirection of s0058 : 80
> >>04/04/2005,14:17:47,Apache Jakarta
> >>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (252)]:
> >>HttpFilterProc started
> >>04/04/2005,14:17:47,Apache Jakarta
> >>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (429)]:
> >>HttpFilterProc check if [/admin/index.jsp] is pointing to the web-inf
> >>directory
> >>04/04/2005,14:17:47,Apache Jakarta
> >>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (420)]:
> >>HttpFilterProc [/admin/index.jsp] is not a servlet url
> >>04/04/2005,14:17:47,Apache Jakarta
> >>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (308)]:
In
> >>HttpFilterProc Virtual Host redirection of s0058 : 80
> >>04/04/2005,14:17:47,Apache Jakarta
> >>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (252)]:
> >>HttpFilterProc started
> >>
> >>
> >>
> >>
> >>*** SOFT RELEASE ***
> >>My server : Windows server 2003
> >>My Web server : IIS 6.0
> >>My Tomcat server : 5.0.28
> >>My JDK : JDK 1.4.2
> >>My redirector : JK2
> >>
> >>*** MY ACTIONS ***
> >>**************************************************************
> >>* ==> 1 - Tests IIs and Tomcat without the connector :
> >>**************************************************************
> >>open url : http://localhost => IIs respond good
> >>open url : http://localhost:8080/ and
> >>http://localhost:8080/jsp-examplessample, works good
> >>**************************************************************
> >>* ==> 2 - Configuring the connector in tomcat's server.xml :
> >>**************************************************************
> >><Server port="8005" shutdown="SHUTDOWN" debug="0">
> >> <Listener
className="org.apache.catalina.mbeans.ServerLifecycleListener"
> >> debug="0"/>
> >> <Listener
>
>>className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener"
> >> debug="0"/>
> >>
> >> <!-- Global JNDI resources -->
> >> <GlobalNamingResources>
> >>
> >> <!-- Test entry for demonstration purposes -->
> >> <Environment name="simpleValue" type="java.lang.Integer"
value="30"/>
> >>
> >> <Resource name="UserDatabase" auth="Container"
> >> type="org.apache.catalina.UserDatabase"
> >> description="User database that can be updated and saved">
> >> </Resource>
> >> <ResourceParams name="UserDatabase">
> >> <parameter>
> >> <name>factory</name>
> >> <value>org.apache.catalina.users.MemoryUserDatabaseFactory</value>
> >> </parameter>
> >> <parameter>
> >> <name>pathname</name>
> >> <value>conf/tomcat-users.xml</value>
> >> </parameter>
> >> </ResourceParams>
> >>
> >> </GlobalNamingResources>
> >>
> >> <Service name="Catalina">
> >>
> >> <!-- Define a non-SSL Coyote HTTP/1.1 Connector on the port
> specified
>> during installation -->
> >> <Connector port="8080"
> >> maxThreads="150"
> >> minSpareThreads="25"
> >> maxSpareThreads="75"
> >> enableLookups="false"
> >> redirectPort="8443"
> >> acceptCount="100"
> >> debug="9"
> >> connectionTimeout="20000"
> >> disableUploadTimeout="true" />
> >>
> >> <!-- Define the top level container in our container hierarchy -->
> >> <Engine name="Catalina" defaultHost="localhost" debug="9">
> >>
> >> <!-- The request dumper valve dumps useful debugging
> information
>>abou
>> <!-- Global logger unless overridden at
> lower levels -->
> >> <Logger className="org.apache.catalina.logger.FileLogger"
> >> prefix="catalina_log."
> >> suffix=".txt"
> >> timestamp="true"/>
> >>
> >> <!-- Because this Realm is here, an instance will be shared
> globally
>>-->
> >>
> >> <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
> >> debug="0"
> >> resourceName="UserDatabase"/>
> >>
> >> <Host name="localhost" debug="0" appBase="webapps"
> >> unpackWARs="true" autoDeploy="true"
> >> xmlValidation="false" xmlNamespaceAware="false">
> >>
> >> <Logger className="org.apache.catalina.logger.FileLogger"
> >> directory="logs"
> >> prefix="localhost_log."
> >> suffix=".txt"
> >> timestamp="true"/>
> >>
> >> </Host> </Engine> </Service></Server>
> >>**************************************************************
> >>* ==> 3 - Installing the Isapi filter :
> >>**************************************************************
> >>I copy the file in ht directory :
> >>c:\Tomcat5\bin\win32\i386\isapi_redirector2.dll
> >>
> >>where CATALINA_HOME = c:\Tomcat5
> >>**************************************************************
> >>* ==> 4 - Uddating the windows registry for ISAPI filter :
> >>**************************************************************
> >>[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi
> >>Redirector\2.0]
> >>"serverRoot"="C:\\Tomcat5\\"
> >>"extensionUri"="/jakarta/isapi_redirector2.dll"
> >>"workersFile"="C:\\Tomcat5\\conf\\workers2.properties"
> >>"logLevel"="DEBUG"
> >>
> >>**************************************************************
> >>* ==> 5 - Configuring Tomcat Workers (Workers2.properties file)
> >>**************************************************************
> >># Setup the windows application logging for the ISAPI filter
> >>[logger.win32]
> >>level=DEBUG
> >>
> >># Defines a load balancer named lb. Use even if you only have one
machine.
> >>[lb:lb]
> >>
> >># communication channel settings
> >>[channel.socket:localhost:8009]
> >>host=localhost
> >>port=8009
> >>
> >># SHared Memory file settings
> >>[shm]
> >>file=C:/Tomcat5/conf/jk2.shm
> >>size=1000000
> >>
> >># Declare a Tomcat worker and assign it the above declared
communication
> >>channel.
> >>[ajp13:localhost:8009]
> >>channel=channel.socket:localhost:8009
> >>group=lb
> >>
> >># URI mappings for jsp-examples web application context
> >># Requests for any web component(indicated by the wild card *) are
> >>dispatched to
> >># Tomcat.
> >>[uri:/jsp-examples/*]
> >>info= Mapping for jsp-examples context of tomcat
> >>group=lb
> >>
> >>**************************************************************
> >>* ==> 6 - configuring the jk2.properties
> >>**************************************************************
> >>
> >>channelSocket.address=localhost
> >>channelSocket.port=8009
> >>shm.file=C:/Tomcat5/conf/jk2.shm
> >>
> >>**************************************************************
> >>* ==> Creating virtual directory under IIS
> >>**************************************************************
> >>Every thing indicates it's ok : green arrow, and the virtual directory
is
> >>called : "jakarta"
> >>
> >>**************************************************************
> >>* ==> Adding the ISAPI filter to IIS
> >>**************************************************************
> >>With the Allow green flag
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>Thanx for any help, links etc...
> >>
> >>Best regards
> >>
> >>
> >>
> >>
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
Re: ==> Isapi redirector Installation problem betweeen IIs and Tomcat
Posted by reynir <re...@hugsmidjan.is>.
ok sorry
I saw it down at the bottom of your email.
I wrote directions on how to install this kind of setup few days ago :
http://www.reynir.net/java/greinar/nr/52
check it out, it works fine.
-reynir
reynir wrote:
>what version of IIS / tomcat / isapi_redirector are you using ?
>-reynir
>
>samuel.goblet@cigma.asso.fr wrote:
>
>
>
>>Hi,
>>
>>I'm looking for some help. Thanx in advance.
>>
>>When I make a request to IIS for JSP file, I've got an error message and
>>in the event log : [jk_isapi_plugin.c (420)]: HttpFilterProc
>>[/admin/index.jsp] is not a servlet url
>>
>>**************************************************************
>>The complete description follow from the windows log
>>And my installation process :
>>**************************************************************
>>04/04/2005,14:18:03,Apache Jakarta
>>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (429)]:
>>HttpFilterProc check if [/Jakarta/isapi_redirector2.dll] is pointing to
>>the web-inf directory
>>04/04/2005,14:18:03,Apache Jakarta
>>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (420)]:
>>HttpFilterProc [/Jakarta/isapi_redirector2.dll] is not a servlet url
>>04/04/2005,14:18:03,Apache Jakarta
>>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (308)]: In
>>HttpFilterProc Virtual Host redirection of s0058 : 80
>>04/04/2005,14:18:03,Apache Jakarta
>>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (252)]:
>>HttpFilterProc started
>>04/04/2005,14:18:03,Apache Jakarta
>>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (429)]:
>>HttpFilterProc check if [/jsp-examples/jsp2/el/basic-comparisons.jsp] is
>>pointing to the web-inf directory
>>04/04/2005,14:18:03,Apache Jakarta
>>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (340)]:
>>HttpFilterProc [/jsp-examples/jsp2/el/basic-comparisons.jsp] is a servlet
>>url - should redirect to lb
>>04/04/2005,14:18:03,Apache Jakarta
>>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (308)]: In
>>HttpFilterProc Virtual Host redirection of s0058 : 80
>>04/04/2005,14:18:03,Apache Jakarta
>>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (252)]:
>>HttpFilterProc started
>>04/04/2005,14:17:47,Apache Jakarta
>>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (429)]:
>>HttpFilterProc check if [/admin/index.jsp] is pointing to the web-inf
>>directory
>>04/04/2005,14:17:47,Apache Jakarta
>>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (420)]:
>>HttpFilterProc [/admin/index.jsp] is not a servlet url
>>04/04/2005,14:17:47,Apache Jakarta
>>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (308)]: In
>>HttpFilterProc Virtual Host redirection of s0058 : 80
>>04/04/2005,14:17:47,Apache Jakarta
>>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (252)]:
>>HttpFilterProc started
>>04/04/2005,14:17:47,Apache Jakarta
>>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (429)]:
>>HttpFilterProc check if [/admin/index.jsp] is pointing to the web-inf
>>directory
>>04/04/2005,14:17:47,Apache Jakarta
>>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (420)]:
>>HttpFilterProc [/admin/index.jsp] is not a servlet url
>>04/04/2005,14:17:47,Apache Jakarta
>>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (308)]: In
>>HttpFilterProc Virtual Host redirection of s0058 : 80
>>04/04/2005,14:17:47,Apache Jakarta
>>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (252)]:
>>HttpFilterProc started
>>
>>
>>
>>
>>*** SOFT RELEASE ***
>>My server : Windows server 2003
>>My Web server : IIS 6.0
>>My Tomcat server : 5.0.28
>>My JDK : JDK 1.4.2
>>My redirector : JK2
>>
>>*** MY ACTIONS ***
>>**************************************************************
>>* ==> 1 - Tests IIs and Tomcat without the connector :
>>**************************************************************
>>open url : http://localhost => IIs respond good
>>open url : http://localhost:8080/ and
>>http://localhost:8080/jsp-examplessample, works good
>>**************************************************************
>>* ==> 2 - Configuring the connector in tomcat's server.xml :
>>**************************************************************
>><Server port="8005" shutdown="SHUTDOWN" debug="0">
>> <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener"
>> debug="0"/>
>> <Listener
>>className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener"
>> debug="0"/>
>>
>> <!-- Global JNDI resources -->
>> <GlobalNamingResources>
>>
>> <!-- Test entry for demonstration purposes -->
>> <Environment name="simpleValue" type="java.lang.Integer" value="30"/>
>>
>> <Resource name="UserDatabase" auth="Container"
>> type="org.apache.catalina.UserDatabase"
>> description="User database that can be updated and saved">
>> </Resource>
>> <ResourceParams name="UserDatabase">
>> <parameter>
>> <name>factory</name>
>> <value>org.apache.catalina.users.MemoryUserDatabaseFactory</value>
>> </parameter>
>> <parameter>
>> <name>pathname</name>
>> <value>conf/tomcat-users.xml</value>
>> </parameter>
>> </ResourceParams>
>>
>> </GlobalNamingResources>
>>
>> <Service name="Catalina">
>>
>> <!-- Define a non-SSL Coyote HTTP/1.1 Connector on the port specified
>> during installation -->
>> <Connector port="8080"
>> maxThreads="150"
>> minSpareThreads="25"
>> maxSpareThreads="75"
>> enableLookups="false"
>> redirectPort="8443"
>> acceptCount="100"
>> debug="9"
>> connectionTimeout="20000"
>> disableUploadTimeout="true" />
>>
>> <!-- Define the top level container in our container hierarchy -->
>> <Engine name="Catalina" defaultHost="localhost" debug="9">
>>
>> <!-- The request dumper valve dumps useful debugging information
>>abou
>> <!-- Global logger unless overridden at lower levels -->
>> <Logger className="org.apache.catalina.logger.FileLogger"
>> prefix="catalina_log."
>> suffix=".txt"
>> timestamp="true"/>
>>
>> <!-- Because this Realm is here, an instance will be shared globally
>>-->
>>
>> <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
>> debug="0"
>> resourceName="UserDatabase"/>
>>
>> <Host name="localhost" debug="0" appBase="webapps"
>> unpackWARs="true" autoDeploy="true"
>> xmlValidation="false" xmlNamespaceAware="false">
>>
>> <Logger className="org.apache.catalina.logger.FileLogger"
>> directory="logs"
>> prefix="localhost_log."
>> suffix=".txt"
>> timestamp="true"/>
>>
>> </Host> </Engine> </Service></Server>
>>**************************************************************
>>* ==> 3 - Installing the Isapi filter :
>>**************************************************************
>>I copy the file in ht directory :
>>c:\Tomcat5\bin\win32\i386\isapi_redirector2.dll
>>
>>where CATALINA_HOME = c:\Tomcat5
>>**************************************************************
>>* ==> 4 - Uddating the windows registry for ISAPI filter :
>>**************************************************************
>>[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi
>>Redirector\2.0]
>>"serverRoot"="C:\\Tomcat5\\"
>>"extensionUri"="/jakarta/isapi_redirector2.dll"
>>"workersFile"="C:\\Tomcat5\\conf\\workers2.properties"
>>"logLevel"="DEBUG"
>>
>>**************************************************************
>>* ==> 5 - Configuring Tomcat Workers (Workers2.properties file)
>>**************************************************************
>># Setup the windows application logging for the ISAPI filter
>>[logger.win32]
>>level=DEBUG
>>
>># Defines a load balancer named lb. Use even if you only have one machine.
>>[lb:lb]
>>
>># communication channel settings
>>[channel.socket:localhost:8009]
>>host=localhost
>>port=8009
>>
>># SHared Memory file settings
>>[shm]
>>file=C:/Tomcat5/conf/jk2.shm
>>size=1000000
>>
>># Declare a Tomcat worker and assign it the above declared communication
>>channel.
>>[ajp13:localhost:8009]
>>channel=channel.socket:localhost:8009
>>group=lb
>>
>># URI mappings for jsp-examples web application context
>># Requests for any web component(indicated by the wild card *) are
>>dispatched to
>># Tomcat.
>>[uri:/jsp-examples/*]
>>info= Mapping for jsp-examples context of tomcat
>>group=lb
>>
>>**************************************************************
>>* ==> 6 - configuring the jk2.properties
>>**************************************************************
>>
>>channelSocket.address=localhost
>>channelSocket.port=8009
>>shm.file=C:/Tomcat5/conf/jk2.shm
>>
>>**************************************************************
>>* ==> Creating virtual directory under IIS
>>**************************************************************
>>Every thing indicates it's ok : green arrow, and the virtual directory is
>>called : "jakarta"
>>
>>**************************************************************
>>* ==> Adding the ISAPI filter to IIS
>>**************************************************************
>>With the Allow green flag
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>Thanx for any help, links etc...
>>
>>Best regards
>>
>>
>>
>>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: ==> Isapi redirector Installation problem betweeen IIs and Tomcat
Posted by reynir <re...@hugsmidjan.is>.
what version of IIS / tomcat / isapi_redirector are you using ?
-reynir
samuel.goblet@cigma.asso.fr wrote:
>Hi,
>
>I'm looking for some help. Thanx in advance.
>
>When I make a request to IIS for JSP file, I've got an error message and
>in the event log : [jk_isapi_plugin.c (420)]: HttpFilterProc
>[/admin/index.jsp] is not a servlet url
>
>**************************************************************
>The complete description follow from the windows log
>And my installation process :
>**************************************************************
>04/04/2005,14:18:03,Apache Jakarta
>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (429)]:
>HttpFilterProc check if [/Jakarta/isapi_redirector2.dll] is pointing to
>the web-inf directory
>04/04/2005,14:18:03,Apache Jakarta
>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (420)]:
>HttpFilterProc [/Jakarta/isapi_redirector2.dll] is not a servlet url
>04/04/2005,14:18:03,Apache Jakarta
>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (308)]: In
>HttpFilterProc Virtual Host redirection of s0058 : 80
>04/04/2005,14:18:03,Apache Jakarta
>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (252)]:
>HttpFilterProc started
>04/04/2005,14:18:03,Apache Jakarta
>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (429)]:
>HttpFilterProc check if [/jsp-examples/jsp2/el/basic-comparisons.jsp] is
>pointing to the web-inf directory
>04/04/2005,14:18:03,Apache Jakarta
>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (340)]:
>HttpFilterProc [/jsp-examples/jsp2/el/basic-comparisons.jsp] is a servlet
>url - should redirect to lb
>04/04/2005,14:18:03,Apache Jakarta
>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (308)]: In
>HttpFilterProc Virtual Host redirection of s0058 : 80
>04/04/2005,14:18:03,Apache Jakarta
>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (252)]:
>HttpFilterProc started
>04/04/2005,14:17:47,Apache Jakarta
>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (429)]:
>HttpFilterProc check if [/admin/index.jsp] is pointing to the web-inf
>directory
>04/04/2005,14:17:47,Apache Jakarta
>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (420)]:
>HttpFilterProc [/admin/index.jsp] is not a servlet url
>04/04/2005,14:17:47,Apache Jakarta
>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (308)]: In
>HttpFilterProc Virtual Host redirection of s0058 : 80
>04/04/2005,14:17:47,Apache Jakarta
>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (252)]:
>HttpFilterProc started
>04/04/2005,14:17:47,Apache Jakarta
>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (429)]:
>HttpFilterProc check if [/admin/index.jsp] is pointing to the web-inf
>directory
>04/04/2005,14:17:47,Apache Jakarta
>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (420)]:
>HttpFilterProc [/admin/index.jsp] is not a servlet url
>04/04/2005,14:17:47,Apache Jakarta
>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (308)]: In
>HttpFilterProc Virtual Host redirection of s0058 : 80
>04/04/2005,14:17:47,Apache Jakarta
>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (252)]:
>HttpFilterProc started
>
>
>
>
>*** SOFT RELEASE ***
>My server : Windows server 2003
>My Web server : IIS 6.0
>My Tomcat server : 5.0.28
>My JDK : JDK 1.4.2
>My redirector : JK2
>
>*** MY ACTIONS ***
>**************************************************************
>* ==> 1 - Tests IIs and Tomcat without the connector :
>**************************************************************
>open url : http://localhost => IIs respond good
>open url : http://localhost:8080/ and
>http://localhost:8080/jsp-examplessample, works good
>**************************************************************
>* ==> 2 - Configuring the connector in tomcat's server.xml :
>**************************************************************
><Server port="8005" shutdown="SHUTDOWN" debug="0">
> <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener"
> debug="0"/>
> <Listener
>className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener"
> debug="0"/>
>
> <!-- Global JNDI resources -->
> <GlobalNamingResources>
>
> <!-- Test entry for demonstration purposes -->
> <Environment name="simpleValue" type="java.lang.Integer" value="30"/>
>
> <Resource name="UserDatabase" auth="Container"
> type="org.apache.catalina.UserDatabase"
> description="User database that can be updated and saved">
> </Resource>
> <ResourceParams name="UserDatabase">
> <parameter>
> <name>factory</name>
> <value>org.apache.catalina.users.MemoryUserDatabaseFactory</value>
> </parameter>
> <parameter>
> <name>pathname</name>
> <value>conf/tomcat-users.xml</value>
> </parameter>
> </ResourceParams>
>
> </GlobalNamingResources>
>
> <Service name="Catalina">
>
> <!-- Define a non-SSL Coyote HTTP/1.1 Connector on the port specified
> during installation -->
> <Connector port="8080"
> maxThreads="150"
> minSpareThreads="25"
> maxSpareThreads="75"
> enableLookups="false"
> redirectPort="8443"
> acceptCount="100"
> debug="9"
> connectionTimeout="20000"
> disableUploadTimeout="true" />
>
> <!-- Define the top level container in our container hierarchy -->
> <Engine name="Catalina" defaultHost="localhost" debug="9">
>
> <!-- The request dumper valve dumps useful debugging information
>abou
> <!-- Global logger unless overridden at lower levels -->
> <Logger className="org.apache.catalina.logger.FileLogger"
> prefix="catalina_log."
> suffix=".txt"
> timestamp="true"/>
>
> <!-- Because this Realm is here, an instance will be shared globally
>-->
>
> <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
> debug="0"
> resourceName="UserDatabase"/>
>
> <Host name="localhost" debug="0" appBase="webapps"
> unpackWARs="true" autoDeploy="true"
> xmlValidation="false" xmlNamespaceAware="false">
>
> <Logger className="org.apache.catalina.logger.FileLogger"
> directory="logs"
> prefix="localhost_log."
> suffix=".txt"
> timestamp="true"/>
>
> </Host> </Engine> </Service></Server>
>**************************************************************
>* ==> 3 - Installing the Isapi filter :
>**************************************************************
>I copy the file in ht directory :
>c:\Tomcat5\bin\win32\i386\isapi_redirector2.dll
>
>where CATALINA_HOME = c:\Tomcat5
>**************************************************************
>* ==> 4 - Uddating the windows registry for ISAPI filter :
>**************************************************************
>[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi
>Redirector\2.0]
>"serverRoot"="C:\\Tomcat5\\"
>"extensionUri"="/jakarta/isapi_redirector2.dll"
>"workersFile"="C:\\Tomcat5\\conf\\workers2.properties"
>"logLevel"="DEBUG"
>
>**************************************************************
>* ==> 5 - Configuring Tomcat Workers (Workers2.properties file)
>**************************************************************
># Setup the windows application logging for the ISAPI filter
>[logger.win32]
>level=DEBUG
>
># Defines a load balancer named lb. Use even if you only have one machine.
>[lb:lb]
>
># communication channel settings
>[channel.socket:localhost:8009]
>host=localhost
>port=8009
>
># SHared Memory file settings
>[shm]
>file=C:/Tomcat5/conf/jk2.shm
>size=1000000
>
># Declare a Tomcat worker and assign it the above declared communication
>channel.
>[ajp13:localhost:8009]
>channel=channel.socket:localhost:8009
>group=lb
>
># URI mappings for jsp-examples web application context
># Requests for any web component(indicated by the wild card *) are
>dispatched to
># Tomcat.
>[uri:/jsp-examples/*]
>info= Mapping for jsp-examples context of tomcat
>group=lb
>
>**************************************************************
>* ==> 6 - configuring the jk2.properties
>**************************************************************
>
>channelSocket.address=localhost
>channelSocket.port=8009
>shm.file=C:/Tomcat5/conf/jk2.shm
>
>**************************************************************
>* ==> Creating virtual directory under IIS
>**************************************************************
>Every thing indicates it's ok : green arrow, and the virtual directory is
>called : "jakarta"
>
>**************************************************************
>* ==> Adding the ISAPI filter to IIS
>**************************************************************
>With the Allow green flag
>
>
>
>
>
>
>
>
>
>Thanx for any help, links etc...
>
>Best regards
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org