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

Reply via email to