Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DDFBC1132C for ; Wed, 13 Aug 2014 15:56:26 +0000 (UTC) Received: (qmail 51547 invoked by uid 500); 13 Aug 2014 15:56:22 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 51475 invoked by uid 500); 13 Aug 2014 15:56:22 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 51464 invoked by uid 99); 13 Aug 2014 15:56:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Aug 2014 15:56:22 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of aw@ice-sa.com designates 212.85.38.231 as permitted sender) Received: from [212.85.38.231] (HELO tor.combios.es) (212.85.38.231) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Aug 2014 15:56:15 +0000 Received: from [192.168.245.214] (HSI-KBW-46-237-206-233.hsi.kabel-badenwuerttemberg.de [46.237.206.233]) (Authenticated sender: andre.warnier@ice-sa.com) by tor.combios.es (Postfix) with ESMTPA id 078F43C2890 for ; Wed, 13 Aug 2014 17:56:19 +0200 (CEST) Message-ID: <53EB8A89.6010903@ice-sa.com> Date: Wed, 13 Aug 2014 17:55:53 +0200 From: =?UTF-8?B?QW5kcsOpIFdhcm5pZXI=?= Reply-To: Tomcat Users List User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Help me to understand why Tomcat is creating random WEB-INF folders. References: <53EB86B8.60601@ice-sa.com> In-Reply-To: <53EB86B8.60601@ice-sa.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org André Warnier wrote: > Rene Scheffler wrote: >> Hey! >> >> I installed apache-tomcat-7.0.47 on debian and also installed and >> configured railo 4.1.1.009. >> I added the servlet for CFML and now i ended up with lots of WEB-INF >> directories in my tomcat directory and the subdirectories. >> A find gives me the following output : >> ./lib/WEB-INF >> ./bin/WEB-INF >> ./work/WEB-INF >> ./logs/WEB-INF >> ./temp/WEB-INF >> ./conf/WEB-INF >> ./default/examples/WEB-INF >> ./default/WEB-INF >> ./default/manager/WEB-INF >> ./default/host-manager/WEB-INF >> ./default/ROOT/WEB-INF >> ./default/docs/appdev/sample/web/WEB-INF >> ./default/docs/WEB-INF >> ./webapps/WEB-INF >> ./webapps/ROOT/WEB-INF >> >> The tomcat takes quite a while (350s) to start up and this is really >> starting to annoy me. So, whats this and what are some common settings to >> achieve a faster start up of the tomcat? >> > > Here is a 3-part response, each part to be considered separately : > > 1) a "WEB-INF" sub-directory, is a normal sub-directory of any "web > application". > So, *some* of the ones which you list above, are expected and normal. > (Like ./webapps/ROOT/WEB-INF for example) > But, for example, it is not expected to have a > (tomcat_dirrectory)/bin/WEB-INF directory. > > 2) it looks very much as if the installation script used for whatever > you added to Tomcat, did not do its job correctly, and added a "WEB-INF" > directory "everywhere", even where it should not have done that. > Can you de-install that package, and see if it removes all these things ? > If not, then I would suggest to remove Tomcat completely (and all the > subdirectories and links which the package installed just about > everywhere), and start anew. > A question : did you also use a Debian package (with apt-get e.g.) to > install CFML ?) > > 3) the question of Tomcat taking a long time to start may be due to all > the unexpected stuff above. So I would keep that question for later, > when your installation is clean again. > Addendum : Installing packages like Tomcat etc. via the Debian "apt-get" is nice and easy. But 1) the version of Tomcat that you get that way, is generally not the most recent one 2) Debian packages have a tendency to install things all over the place, with lots of symlinks between these places (/etc/tomcat, /var/lib/tomcat, /usr/share/tomcat, etc..) 3) if you then use an installation script for some add-on, which is not really designed to understand this Debian layout, you probably get a mess like the one you mentioned. In that case, it may be better to install the latest Tomcat from the official Tomcat website version, which installs everything in one directory (like /usr/local/tomcat or similar), and then install the add-ons "by hand" there also. But then of course, you are on your own for startup scripts etc.. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org