You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Stéphane Laurencelle <st...@momentum-tech.ca> on 2017/02/28 16:23:07 UTC

[users@httpd] RE : [users@httpd]

Hello Eric,

when i look at apachectl -M, i don't see the ajp module load but i see the proxy_mod module
and when i try i get an error 404 in the apache log.

i don't know where to look to debug the module not loading in apache.

Stephane



________________________________________
De : Eric Covener [covener@gmail.com]
Envoyé : 28 février 2017 10:54
À : users@httpd.apache.org
Objet : Re: [users@httpd]

On Tue, Feb 28, 2017 at 10:45 AM, Stéphane Laurencelle
<st...@momentum-tech.ca> wrote:
> even if i uncomment the line in httpd.conf file for enabling the module it
> don't seem to load

What do you observe exactly?

--
Eric Covener
covener@gmail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: [users@httpd]

Posted by "saikiran.m29@wipro.com" <sa...@wipro.com>.
compile with JK connector


Best Regards
   Saikiran M



DO BUSINESS BETTER
CONSULTING | SYSTEM INTEGRATION | BUSINESS PROCESS SERVICES










-----Original Message-----
From: Stéphane Laurencelle [mailto:stephane.laurencelle@momentum-tech.ca]
Sent: Tuesday, February 28, 2017 9:53 PM
To: users@httpd.apache.org
Subject: [users@httpd] RE : [users@httpd]

** This mail has been sent from an external source **

Hello Eric,

when i look at apachectl -M, i don't see the ajp module load but i see the proxy_mod module and when i try i get an error 404 in the apache log.

i don't know where to look to debug the module not loading in apache.

Stephane



________________________________________
De : Eric Covener [covener@gmail.com]
Envoyé : 28 février 2017 10:54
À : users@httpd.apache.org
Objet : Re: [users@httpd]

On Tue, Feb 28, 2017 at 10:45 AM, Stéphane Laurencelle <st...@momentum-tech.ca> wrote:
> even if i uncomment the line in httpd.conf file for enabling the
> module it don't seem to load

What do you observe exactly?

--
Eric Covener
covener@gmail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


[users@httpd] RE : [users@httpd] RE : [users@httpd]

Posted by Stéphane Laurencelle <st...@momentum-tech.ca>.
Hello Éric

 here is what i see when i use mod_jk module instead of the proxy_mod_ajp module

[Tue Feb 28 13:34:09.137 2017] [23245:140478953539328] [debug] ajp_process_callback::jk_ajp_common.c (2135): (ajp13instance9) AJP13 protocol: Reuse is OK
[Tue Feb 28 13:34:09.137 2017] [23245:140478953539328] [debug] ajp_reset_endpoint::jk_ajp_common.c (851): (ajp13instance9) resetting endpoint with socket 15
[Tue Feb 28 13:34:09.137 2017] [23245:140478953539328] [debug] ajp_done::jk_ajp_common.c (3287): recycling connection pool for worker ajp13instance9 and socket 15
[Tue Feb 28 13:34:09.137 2017] [23245:140478953539328] [debug] jk_handler::mod_jk.c (2979): Service finished with status=404 for worker=ajp13instance9



Stéphane 



________________________________________
De : Stéphane Laurencelle [stephane.laurencelle@momentum-tech.ca]
Envoyé : 28 février 2017 13:13
À : users@httpd.apache.org
Objet : [users@httpd] RE : [users@httpd] RE : [users@httpd]

What i have done is in the http.conf file uncomment both lines

LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_ajp_module modules/mod_proxy_ajp.so

after that in my httpd-vhosts.conf file that is use for my different vhost define on this server i add those line for testing ajp call :


<Location /exemples>
  ProxyPreserveHost On
  ProxyPass ajp://servername:ajpport/exemples
  ProxyPassReverse ajp://servername:ajpport/exemples
  Require all granted
</Location>

<Location /exemples/>
  ProxyPreserveHost On
  ProxyPass ajp://servername:ajpport/exemples/
  ProxyPassReverse ajp://servername:ajpport/exemples/
  Require all granted
</Location>


and when i try to access this page i got a 404 error

Stephane


________________________________________
De : Eric Covener [covener@gmail.com]
Envoyé : 28 février 2017 12:20
À : users@httpd.apache.org
Objet : Re: [users@httpd] RE : [users@httpd]

On Tue, Feb 28, 2017 at 11:23 AM, Stéphane Laurencelle
<st...@momentum-tech.ca> wrote:
> when i look at apachectl -M, i don't see the ajp module load but i see the proxy_mod module
> and when i try i get an error 404 in the apache log.
>
> i don't know where to look to debug the module not loading in apache.


If you uncommented a LoadModule for the AJP module, it wasn't in a
conf file being read by Apache.


--
Eric Covener
covener@gmail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


[users@httpd] RE : [users@httpd] RE : [users@httpd] RE : [users@httpd]

Posted by Stéphane Laurencelle <st...@momentum-tech.ca>.
Hello Eric,

Inever had a startup problem before.

At first i try with mod_jk just like it was install and configure on apache 2.2 + tomcat 7 environment and i got those type of error on the new environment so someone suggest me to try with proxy_mod_ajp.

What i did but when i'm verifying the module load by apache i don't see the proxy_mod_ajp module load.

So my question is how can i make it wotrk with proxy_mod_ajp or if it's simple to try to solve my issue with mod_jk ?

regards,

Stephane




________________________________________
De : Eric Covener [covener@gmail.com]
Envoyé : 28 février 2017 13:48
À : users@httpd.apache.org
Objet : Re: [users@httpd] RE : [users@httpd] RE : [users@httpd]

On Tue, Feb 28, 2017 at 1:13 PM, Stéphane Laurencelle
<st...@momentum-tech.ca> wrote:
> after that in my httpd-vhosts.conf file that is use for my different vhost define on this server i add those line for testing ajp call :


So you no longer have a startup error about loaded modules. How do you
know you're hitting the right vhost?

--
Eric Covener
covener@gmail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] RE : [users@httpd] RE : [users@httpd]

Posted by Eric Covener <co...@gmail.com>.
On Tue, Feb 28, 2017 at 1:13 PM, Stéphane Laurencelle
<st...@momentum-tech.ca> wrote:
> after that in my httpd-vhosts.conf file that is use for my different vhost define on this server i add those line for testing ajp call :


So you no longer have a startup error about loaded modules. How do you
know you're hitting the right vhost?

-- 
Eric Covener
covener@gmail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


[users@httpd] RE : [users@httpd] RE : [users@httpd]

Posted by Stéphane Laurencelle <st...@momentum-tech.ca>.

What i have done is in the http.conf file uncomment both lines

LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_ajp_module modules/mod_proxy_ajp.so

after that in my httpd-vhosts.conf file that is use for my different vhost define on this server i add those line for testing ajp call :


<Location /exemples>
  ProxyPreserveHost On
  ProxyPass ajp://servername:ajpport/exemples
  ProxyPassReverse ajp://servername:ajpport/exemples
  Require all granted
</Location>

<Location /exemples/>
  ProxyPreserveHost On
  ProxyPass ajp://servername:ajpport/exemples/
  ProxyPassReverse ajp://servername:ajpport/exemples/
  Require all granted
</Location>


and when i try to access this page i got a 404 error

Stephane


________________________________________
De : Eric Covener [covener@gmail.com]
Envoyé : 28 février 2017 12:20
À : users@httpd.apache.org
Objet : Re: [users@httpd] RE : [users@httpd]

On Tue, Feb 28, 2017 at 11:23 AM, Stéphane Laurencelle
<st...@momentum-tech.ca> wrote:
> when i look at apachectl -M, i don't see the ajp module load but i see the proxy_mod module
> and when i try i get an error 404 in the apache log.
>
> i don't know where to look to debug the module not loading in apache.


If you uncommented a LoadModule for the AJP module, it wasn't in a
conf file being read by Apache.


--
Eric Covener
covener@gmail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] RE : [users@httpd]

Posted by Eric Covener <co...@gmail.com>.
On Tue, Feb 28, 2017 at 11:23 AM, Stéphane Laurencelle
<st...@momentum-tech.ca> wrote:
> when i look at apachectl -M, i don't see the ajp module load but i see the proxy_mod module
> and when i try i get an error 404 in the apache log.
>
> i don't know where to look to debug the module not loading in apache.


If you uncommented a LoadModule for the AJP module, it wasn't in a
conf file being read by Apache.


-- 
Eric Covener
covener@gmail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org