Bonjour,
je vous explique la situation:
je viens de terminer une application JEE et je l'ai hebergé sous un serveur fedora.
tout d'abord le chargement de l'application est super lent malgrès que lorsque je la teste sur ma machine(moins performante ça marche à merveille).En plus si je charge l'application depuis localhost comme ceci ça marche bien aussi:
192.168.1.77:8082 (sachant que mon tomcat est sur le num 8082)
Outre après la visite de 2 clients, apache se plante et l'application n'est plus accessible en affichant que :
Server temporary indisponible
et dans mes logs j'ai ceci:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Python/2.5 mod_perl/2.0.3 Perl/v5.8.8 configured -- resuming normal operations
[Sat Feb 15 08:45:44 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Feb 15 08:45:44 2014] [notice] Digest: generating secret for digest authentication ...
[Sat Feb 15 08:45:44 2014] [notice] Digest: done
[Sat Feb 15 08:45:47 2014] [notice] mod_python: Creating 4 session mutexes based on 2048 max processes and 0 max threads.
[Sat Feb 15 08:45:47 2014] [notice] mod_python: using mutex_directory /tmp 
[Sat Feb 15 08:45:47 2014] [notice] Apache/2.2.4 (Unix) DAV/2 mod_jk/1.2.31 mod_auth_pgsql/2.0.3 PHP/5.2.6 mod_python/3.3.1 Python/2.5 mod_perl/2.0.3 Perl/v5.8.8 configured -- resuming normal operations
[Sat Feb 15 10:03:57 2014] [notice] caught SIGTERM, shutting down
[Sat Feb 15 10:03:57 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Feb 15 10:03:57 2014] [notice] Digest: generating secret for digest authentication ...
[Sat Feb 15 10:03:57 2014] [notice] Digest: done
[Sat Feb 15 10:03:57 2014] [notice] mod_python: Creating 4 session mutexes based on 2048 max processes and 0 max threads.
[Sat Feb 15 10:03:57 2014] [notice] mod_python: using mutex_directory /tmp 
[Sat Feb 15 10:03:57 2014] [notice] Apache/2.2.4 (Unix) DAV/2 mod_jk/1.2.31 mod_auth_pgsql/2.0.3 PHP/5.2.6 mod_python/3.3.1 Python/2.5 mod_perl/2.0.3 Perl/v5.8.8 configured -- resuming normal operations

aparement j'ai du me tromper dans ma config apache
voici ce que j'ai ajouté dans mon fichier httpd.conf
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
JkMount /usr/share/apache-tomcat-7.0.47/monsite.com/target/ mytomcat
JkMount /target/*.xhtml mytomcat   
  JkMount /target/*.jsp mytomcat
 
 
 
<VirtualHost *:80>
  ServerName www.monsite.com
  DocumentRoot /usr/share/apache-tomcat-7.0.47/monsite.com
 
 
  JkMount /target/*.xhtml mytomcat   
  JkMount /target/*.jsp mytomcat
 
 
  #JkMount /examples/*.jsp mytomcat 
  #JkUnMount /examples/servlet/* mytomcat
</VirtualHost>
voici mon fichier workers.properties
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
workers.tomcat_home=/usr/share/apache-tomcat-7.0.47
workers.java_home=/usr/java/jdk1.6.0_03
 
ps=/
worker.list=mytomcat
worker.mytomcat.type=ajp13
worker.mytomcat.host=192.168.10.77
worker.mytomcat.port=8008
worker.mytomcat.lbfactor=1
et j'ai définie le port 8008 comme port ajp
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
 <!-- Define an AJP 1.3 Connector on port 8008 -->
    <Connector port="8008" protocol="AJP/1.3" redirectPort="8443" />

Merci de m'aider