hi,
you dont have a connector in server.xml for jk requests ...
you need to have ajp connector, defined something like this :

  <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
               port="8009" minProcessors="5" maxProcessors="75"
               enableLookups="true" redirectPort="8443"
               acceptCount="10" debug="0" connectionTimeout="0"
               useURIValidationHack="false"
              
protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/>

you have defiend

worker.ajp13.port=8009


to use port 8009 so that should fit.

hope it helps.
-reynir.net


[EMAIL PROTECTED] wrote:

>Hi,
>
>I'm looking for some help, again.... Thanx in advance.
>******************************
>**** 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 : 1.2.8
>*****************************
>After the last mail exchange, I delete my jk2 connector and config. But 
>all over the web I find only some help for an installation of Tomcat 4.x 
>and IIS.
>
>With tomcat 5.0.28, the path for the samples directory and servlets are 
>not the same. But even with some modifications in the 
>"uriworkermap.properties", I've got an error "the page cannot be found"...
>
>URL test :
>http://localhost/jsp-examples/index.html
>
>I'll try too with the data from "http://www.reynir.net/java/greinar/nr/52
>", without any results...
>
>*** 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-examples/index.html, works good
>
>**************************************************************
>*  ==> 2 - Installing the Isapi filter :
>**************************************************************
>I copy the file in ht directory : 
>c:\Tomcat5\bin\win32\i386\isapi_redirect.dll
>
>where CATALINA_HOME = c:\Tomcat5 and JAVA_HOME = c:\JDK
>**************************************************************
>*  ==> 3 - Uddating the windows registry for ISAPI filter :
>**************************************************************
>[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi 
>Redirector\1.0]
>"extension_uri"="/jakarta/isapi_redirect.dll"
>"log_file"="c:\\Tomcat5\\logs\\isapi.log"
>"worker_file"="c:\\Tomcat5\\conf\\workers.properties)"
>"worker_mount_file"="c:\\Tomcat5\\conf\\uriworkermap.properties"
>"log_level"="debug"
>
>**************************************************************
>* ==> 4 - Configuring Tomcat Workers (workers.properties file)
>**************************************************************
>worker.ajp13.type=ajp13
>worker.ajp13.lbfactor=1
>worker.loadbalancer.type=lb
>worker.loadbalancer.balanced_workers=ajp13
>worker.tomcat_home=C:\Tomcat5\
>worker.java_home=C:\JDK
>ps=\
>worker.list=ajp13
>worker.ajp13.port=8009
>worker.ajp13.host=127.0.0.1
>
>**************************************************************
>* ==> 5 - configuring the uriworkermap.properties
>**************************************************************
>/jsp-examples=ajp13
>/jsp-examples/*=ajp13
>/jsp-examples/*.jsp=ajp13
>/servlets-examples/*=ajp13
>/tomcat-docs=ajp13
>/tomcat-docs/*=ajp13
>/*.jsp=ajp13
>
>**************************************************************
>* ==> 6 - Creating virtual directory under IIS
>**************************************************************
>Every thing indicates it's ok : green arrow, and the virtual directory is 
>called : "jakarta"
>
>**************************************************************
>* ==> 7 - Adding the ISAPI filter to IIS
>**************************************************************
>With the Allow green flag
>
>**************************************************************
>* ==>  8 - 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>
>
>
>
>
>
>
>
>Thanx for any help, links etc...
>
>Best regards
>  
>


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

Reply via email to