Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 74992 invoked from network); 15 Jul 2003 14:15:42 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 15 Jul 2003 14:15:42 -0000 Received: (qmail 2911 invoked by uid 97); 15 Jul 2003 14:18:12 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@nagoya.betaversion.org Received: (qmail 2904 invoked from network); 15 Jul 2003 14:18:11 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 15 Jul 2003 14:18:11 -0000 Received: (qmail 72050 invoked by uid 500); 15 Jul 2003 14:15:03 -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 71985 invoked from network); 15 Jul 2003 14:15:02 -0000 Received: from unknown (HELO JTURNER) (207.86.123.243) by daedalus.apache.org with SMTP; 15 Jul 2003 14:15:02 -0000 Received: from JTURNER ([127.0.0.1]) by JTURNER with Microsoft SMTPSVC(5.0.2195.5329); Tue, 15 Jul 2003 10:15:02 -0400 MIME-Version: 1.0 To: Tomcat Users List Subject: Re: JK2 problems References: Message-ID: Content-Type: text/plain; charset=iso-8859-15; format=flowed From: John Turner Date: Tue, 15 Jul 2003 10:15:01 -0400 In-Reply-To: User-Agent: Opera7.03/Win32 M2 build 2670 X-OriginalArrivalTime: 15 Jul 2003 14:15:02.0064 (UTC) FILETIME=[7B223B00:01C34ADB] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I've worked with Cobalts, but it has been a couple of years. If you changed it in your auto generated file, did you restart Apache? This link might be of some help: http://www.spaceprogram.com/knowledge/tomcat4_on_cobalt_setup.html John On Tue, 15 Jul 2003 16:09:23 +0200, Werner van Mook wrote: > Call me stupid if you wish, > > Where do I have to change the JkLogLevel ? > I did it in the auto generated file without restarting tomcat ( then it > will be overwritten. I know) > > I do not have apachectl on my machine. so I can't do a config test. > Sorry. > > If I want this I have to reinstall Apache. > I don't know how that is going to affect my Cobalt machine? > Do you know sun cobalt? It's a completely pre-configured web server. > It can be very usefull if you have only static webpages or if you want to > use asp/perl. > > For java well I don't know jet. > > Werner > > On Tuesday, July 15, 2003, at 03:47 PM, John Turner wrote: > >> >> Sounds like you have more than one copy of Apache running, and the copy >> of Apache you are modifying isn't the running copy. >> >> Also, change your JkLogLevel to "info". >> >> Also, please post the output of "apachectl configtest". >> >> John >> >> On Tue, 15 Jul 2003 15:44:24 +0200, Werner van Mook >> wrote: >> >>> Hi John, >>> >>> Thanx for your response. >>> >>> I did all that is in your HOWTO. >>> I still have no luck with it. >>> >>> I downloaded : mod_jk-1.3-eapi.so from jakarta.apache....etc and >>> renamed it to mod_jk.so. >>> >>> Could you please have look ? >>> Or some else of course. >>> >>> >>> This is a piece of my localhost_log file : >>> >>> 2003-07-15 15:17:02 StandardHost[www.connecties.com]: Installing web >>> application at context path /Friss from URL file:/usr/jakarta-tomcat- >>> 4.1.24/webapps/Friss >>> 2003-07-15 15:17:02 WebappLoader[/Friss]: Deploying class repositories >>> to work directory /usr/jakarta-tomcat- >>> 4.1.24/work/Standalone/www.connecties.com/Friss >>> 2003-07-15 15:17:02 WebappLoader[/Friss]: Deploy class files /WEB- >>> INF/classes to /usr/jakarta-tomcat-4.1.24/webapps/Friss/WEB-INF/classes >>> 2003-07-15 15:17:03 ContextConfig[/Friss]: Configured an authenticator >>> for method FORM >>> 2003-07-15 15:17:03 StandardManager[/Friss]: Seeding random number >>> generator class java.security.SecureRandom >>> 2003-07-15 15:17:03 StandardManager[/Friss]: Seeding of random number >>> generator has been completed >>> 2003-07-15 15:17:03 StandardWrapper[/Friss:default]: Loading container >>> servlet default >>> 2003-07-15 15:17:03 StandardWrapper[/Friss:invoker]: Loading container >>> servlet invoker >>> >>> Here are some parts of the auto generated mod_jk conf file : >>> >>> ######### Auto generated on Tue Jul 15 15:16:47 CEST 2003########## >>> >>> >>> LoadModule jk_module /etc/httpd/modules/mod_jk.so >>> >>> >>> JkWorkersFile "/usr/jakarta-tomcat-4.1.24/conf/jk/workers.properties" >>> JkLogFile "/usr/jakarta-tomcat-4.1.24/logs/mod_jk.log" >>> >>> JkLogLevel emerg >>> >>> >>> >>> >>> ServerName www.connecties.com >>> . >>> . >>> . >>> >>> #################### www.connecties.com:/Friss #################### >>> >>> # Static files >>> Alias /Friss "/usr/jakarta-tomcat-4.1.24/webapps/Friss" >>> >>> >>> Options Indexes FollowSymLinks >>> DirectoryIndex index.html index.htm index.jsp >>> >>> >>> >>> # Deny direct access to WEB-INF and META-INF >>> # >>> >>> AllowOverride None >>> deny from all >>> >>> >>> >>> AllowOverride None >>> deny from all >>> >>> >>> JkMount /Friss/login/j_security_check ajp13 >>> JkMount /Friss/klanten/Login ajp13 >>> JkMount /Friss/admin/Werktijden ajp13 >>> JkMount /Friss/admin/UpdateExpertise ajp13 >>> JkMount /Friss/admin/Logout ajp13 >>> JkMount /Friss/kapper/Confirm ajp13 >>> JkMount /Friss/klanten/Datum ajp13 >>> JkMount /Friss/Store ajp13 >>> JkMount /Friss/klanten/Kapper ajp13 >>> JkMount /Friss/Tijd ajp13 >>> JkMount /Friss/klanten/StoreNaw ajp13 >>> JkMount /Friss/*.jsp ajp13 >>> JkMount /Friss/klanten/Behandeling ajp13 >>> JkMount /Friss/admin/Personeel ajp13 >>> JkMount /Friss/klanten/Naw ajp13 >>> JkMount /Friss/admin/OpeningsTijden ajp13 >>> JkMount /Friss/admin/Behandel ajp13 >>> . >>> . >>> . >>> >>> >>> substitute the 3 dots with the 'standard' tomcat webapps. >>> >>> I added this to my httpd.conf : >>> >>> LoadModule jk_module modules/mod_jk.so >>> >>> and at the end : >>> >>> Include /usr/jakarta-tomcat-4.1.24/conf/auto/mod_jk.conf >>> >>> >>> Starting tomcat.........wait 10 or more seconds ........ start apache >>> >>> If I try to get to www.connecties.com/Friss I still get a 404 file not >>> found. >>> >>> In the error log file for apache it says : >>> >>> [Tue Jul 15 15:36:22 2003] [crit] (98)Address already in use: >>> make_sock: could not bind to port 80 >>> >>> I can still go to www.connecties.com (which is a normal website with >>> some static pages). >>> >>> >>> Kind regards, >>> >>> Werner van Mook >>> Java Lead Developer / Trainer >>> Connecties Voor Internet >>> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org > > -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org