I know it's incorrect, but it works fine both the way (of course just one at
time)
that's why I cannot understand the behaveour
Simo

> -----Messaggio originale-----
> Da: Jacob Kjome [mailto:[EMAIL PROTECTED]
> Inviato: domenica 9 marzo 2003 9.15
> A: Tomcat Users List
> Oggetto: Re: Solved my problems with apache to tomcat integration
> through mod_jk
>
>
>
>  >Then I noticed one thing...
>  >in the how to John says nothing about configuring connectors, but in the
>  >default server.xml there is Coyote/JK2 configured....
>  >but mod_jk should be used with the normal AJP connector.
>
> This is incorrect.  The CoyoteConnector is a complete replacement for the
> AJP13Connector and both mod_jk and jk2 work just fine with it.
>
> Jake
>
> At 12:13 AM 3/9/2003 +0100, you wrote:
> >Dear all,
> >I finally solved my problem with apache to tomcat integration.
> >I followed John Turner's HOW-To, my solution was not running...
> >
> >The main problem was that I was not using a domain name, but
> just fake name
> >because I was testing inside a lan with no DNS inside, so I just put in
> >hosts file the correspondance to the IP.
> >Inside httpd.conf and server.xml I used piyolinux when I had to specify a
> >server name (and this was the hostname too)
> >
> >then in the hosts files I put those lines to reach the linux box
> >192.168.1.55    piyolinux
> >
> >but on my server host I put
> >127.0.0.1               piyolinux
> >
> >But the problem is that this way apache traslated the name
> piyolinux that is
> >inside the mod_jk.conf to 127.0.0.1 and so when a request arrive to the
> >192.x IP it doesn't match with the virtualhost defined in
> mod_jk.conf so he
> >tells me that the /examples dir doesn't exists
> >
> >Then I noticed one thing...
> >in the how to John says nothing about configuring connectors, but in the
> >default server.xml there is Coyote/JK2 configured....
> >but mod_jk should be used with the normal AJP connector.
> >
> >I tried with both connector configured and the integration works fine
> >anyway.
> >Does anybody can explain this to me, because this seems strange
> >
> >
> >     <!-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 -->
> >
> >     <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"/>
> >
> >     <!-- Define an AJP 1.3 Connector on port 8009 -->
> >
> >     <Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
> >                port="8009" minProcessors="5" maxProcessors="75"
> >                acceptCount="10" debug="0"/>
> >
> >Thank you all
> >Simone (now happier becuase this works :-)
> >
> >-------------------------
> >Simone Chiaretta
> >www.piyosailing.com/S
> >Any sufficiently advanced technology is indistinguishable from magic
> >
> >
> >---------------------------------------------------------------------
> >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