[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

mod_jk malfunzionante



Salve,

Da qualche giorno mod_jk ha smesso di funzionare a dovere.
Non è stato fatto alcun cambiamento di configurazione o aggiornamento ma (mi rendo conto che è assurdo) tutto di un tratto non è più possibile connettersi alle pagine presenti nelle cartelle dentro webapps ad esclusione di examples.

Ho controllato i file di configurazione e mi sembrano esatti, li posto in fondo alla mail. La cosa assurda è che sia commentando i pezzi relativi ad examples sia eliminando direttamente i file di configurazione relativi il risultato non cambia.

Inoltre ho anche qualche problema di dns in quanto la cartella examples la visualizzo solo da localhost:8080/examples e non dal dns pubblico.

Ciao

Enrico

Debian lenny

uname -a
Linux xen7 2.6.18-6-686 #1 SMP Tue Jun 17 21:31:27 UTC 2008 i686 GNU/ Linux

Apache 2.2.3-4
Tomcat 6
mod_jk 1.2.18

/etc/apache/httpd.conf
  # Load mod_jk module
  # Update this path to match your modules location
  LoadModule    jk_module  /etc/apache2/modules/mod_jk.so
# Declare the module for <IfModule directive> (remove this line on Apache 2.x)

  # Where to find workers.properties
# Update this path to match your conf directory location (put workers.properties next to httpd.conf)
  JkWorkersFile /etc/apache/workers.properties
  # Where to put jk shared memory
# Update this path to match your local state directory or logs directory
  JkShmFile     /var/log/apache2/mod_jk.shm
  # Where to put jk logs
# Update this path to match your logs directory location (put mod_jk.log next to access_log)
  JkLogFile     /var/log/apache2/mod_jk.log
  # Set the jk log level [debug/error/info]
  JkLogLevel    debug
  # Select the timestamp log format
  JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
# Send everything for context /examples to worker named worker1 (ajp13)
  #JkMount /examples/* worker1
  JkMount /etl/gui/* worker1

/etc/apache/workers.properties
workers.tomcat_home=/usr/local/tomcat
workers.java_home=/usr/lib/jvm/java-1.5.0-sun
ps=/
worker1.list=ajp13
worker1.ajp13.host=localhost
worker1.ajp13.port=8009
worker1.ajp13.type=ajp13



Reply to: