Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 16117 invoked from network); 10 Nov 2004 23:39:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 10 Nov 2004 23:39:15 -0000 Received: (qmail 30994 invoked by uid 500); 10 Nov 2004 23:38:28 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 30939 invoked by uid 500); 10 Nov 2004 23:38:28 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 30884 invoked by uid 99); 10 Nov 2004 23:38:27 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=LINES_OF_YELLING,LINES_OF_YELLING_2,NORMAL_HTTP_TO_IP X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [81.255.54.11] (HELO mx.laposte.net) (81.255.54.11) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 10 Nov 2004 15:38:26 -0800 Received: from [192.168.0.1] (82.252.190.35) by mx.laposte.net (7.0.028) (authenticated as guillaume.alleon) id 416DEBA20157A85E for tomcat-user@jakarta.apache.org; Thu, 11 Nov 2004 00:38:23 +0100 Message-ID: <4192A668.9040102@laposte.net> Date: Thu, 11 Nov 2004 00:38:16 +0100 From: Guillaume Alleon User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Apache/Tomcat problem References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I 'm back. I did start httpd then tomcat. I did test jsp-examples through 'http://192.168.0.3:8080/jsp-examples' and it works Then I did 'http://192.168.0.3/jsp-examples and I get a : 503 Service Temporarily Unavailable The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later. Any ideas ? Here are my conf files: ----------------------------------------------------------------------- JK2.PROPERTIES ----------------------------------------------------------------------- ## THIS FILE MAY BE OVERRIDEN AT RUNTIME. MAKE SURE TOMCAT IS STOPED ## WHEN YOU EDIT THE FILE. ## COMMENTS WILL BE _LOST_ ## DOCUMENTATION OF THE FORMAT IN JkMain javadoc. # Set the desired handler list # handler.list=apr,request,channelJni handler.list=apr,channelUnix,request # # Override the default port for the socketChannel # channelSocket.port=8019 # Default: # channelUnix.file=${jkHome}/work/jk2.socket channelUnix.file=/usr/localhot/jakarta-tomcat-5.0.28/work/jk2.socket # Just to check if the the config is working # shm.file=${jkHome}/work/jk2.shm # In order to enable jni use any channelJni directive # channelJni.disabled = 0 # And one of the following directives: # apr.jniModeSo=/opt/apache2/modules/mod_jk2.so # If set to inprocess the mod_jk2 will Register natives itself # This will enable the starting of the Tomcat from mod_jk2 # apr.jniModeSo=inprocess serverRoot=/etc/httpd apr.NativeSo=/usr/lib/httpd/modules/libjkjni.so ----------------------------------------------------------------------- WORKER2.PROPERTIES ----------------------------------------------------------------------- # workers2.properties # Shared memory handling. Needs to be set. [shm] info=coreboard. Required for reconfiguration and statu with multiprocess servers file=/usr/local/jakarta-tomcat-5.0.28/logs/jk2.shm size=1048576 debug=0 disabled=0 # UNIX domain socket [channel.un:/usr/local/jakarta-tomcat-5.0.28/work/jk2.socket] tomcatId=localhost:8009 debug=0 # define the worker [ajp13:/usr/local/jakarta-tomcat-5.0.28/work/jk2.socket] channel=channel.un:/usr/local/jakarta-tomcat-5.0.28/work/jk2.socket # Announce a "status" worker [status:status] info=Status worker. Displays runtime information. [uri:/jkstatus/*] group=status:status # Uri mapping [uri:/jsp-examples/*] # Uri mapping for gridsphere [uri:/gridsphere/*] [uri:/vqwiki/*] >Yup > >LoadModule jk2_module modules/mod_jk2.so > > >-----Original Message----- >From: Guillaume Alleon [mailto:guillaume.alleon@laposte.net] >Sent: November 10, 2004 5:07 PM >To: Tomcat Users List >Subject: Re: Apache/Tomcat problem > > >Phillip Qin wrote: > > > >>jk2_module is correct. >> >>Have you link the libapr-0.so.0? >> >>What is your LoadModule in httpd.conf? >> >> >> >> >OK, you give me the hint, I had to put 'jk2_module' instead of 'mod_jk2' >in myLoadModule. >At least httpd starts, I may me back for configuration file problems. >Thanks > > > >>-----Original Message----- >>From: Guillaume Alleon [mailto:guillaume.alleon@laposte.net] >>Sent: November 10, 2004 4:01 PM >>To: tomcat-user@jakarta.apache.org; users@httpd.apache.org >>Subject: Apache/Tomcat problem >> >> >>Hi, >>I have a Linux FC1 machine running httpd (see conf below) >>I have now a tomcat applocation that I want to access through httpd >>since only the port 80 is open >>to this machine. >>Therefore, I did install "jakarta-tomcat-connectors-jk2-2.0.4-src" & >>"jakarta-tomcat-5.0.28". >>Trying apachectl configtest I got the following error: >> >>Syntax error on line 199 of /etc/httpd/conf/httpd.conf: >>Can't locate API module structure `mod_jk2' in file >>/etc/httpd/modules/mod_jk2.so: /usr/lib/libapr-0.so.0: undefined symbol: >>mod_jk2 >> >>line 199 is the fresh addition of : >>LoadModule mod_jk2 modules/mod_jk2 >> >>Doing an "nm" on /etc/httpd/modules/mod_jk2.so does not show any >>'mod_jk2' but a 'jk2_module'... >> >>Do you know about this problem ? >>Thanks >> >>------ >> >> >>Server version: Apache/2.0.51 >>Server built: Oct 3 2004 10:35:33 >>Server's Module Magic Number: 20020903:9 >>Architecture: 32-bit >>Server compiled with.... >>-D APACHE_MPM_DIR="server/mpm/prefork" >>-D APR_HAS_SENDFILE >>-D APR_HAS_MMAP >>-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled) >>-D APR_USE_SYSVSEM_SERIALIZE >>-D APR_USE_PTHREAD_SERIALIZE >>-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT >>-D APR_HAS_OTHER_CHILD >>-D AP_HAVE_RELIABLE_PIPED_LOGS >>-D HTTPD_ROOT="/etc/httpd" >>-D SUEXEC_BIN="/usr/sbin/suexec" >>-D DEFAULT_PIDLOG="logs/httpd.pid" >>-D DEFAULT_SCOREBOARD="logs/apache_runtime_status" >>-D DEFAULT_LOCKFILE="logs/accept.lock" >>-D DEFAULT_ERRORLOG="logs/error_log" >>-D AP_TYPES_CONFIG_FILE="conf/mime.types" >>-D SERVER_CONFIG_FILE="conf/httpd.conf" >> >> >>--------------------------------------------------------------------- >>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org >>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org >> >> >> >> >> >> >> >> > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org >For additional commands, e-mail: tomcat-user-help@jakarta.apache.org > > >!DSPAM:419290f2327091545416499! > > > --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org