Hallo André and thanks for your fast reponse,

im sorry i didn't provide any more info on that.

We've installed manually, i downloaded the tomcat from the apache website
(we've got some picky customers and we've made some stable experiences with
that tomcat version, hence we didnt install it via apt-get).
I managed to figure out, that some part of the configuration used in the
web.xml/server.xml was responsible for the creation of that many WEB-INF
folders.  I did all the configuration manually, following resources like
http://corfield.org/entry/Railo_on_Tomcat__multiweb stated here.

We got 7 websites running and when i reduced it to 1 site, the startup time
went from 350s to barely 1 minute.
But still, 1 minute is quite a long time for a server startup.
Right now im configuring the "prepacked" Railo Server with Tomcat and try
to get some more info on how to properly configure our own Tomcat.

regards,

René



On Wed, Aug 13, 2014 at 5:55 PM, André Warnier <a...@ice-sa.com> wrote:

> 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-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>


-- 

René Scheffler

Auszubildender

Fon:    +49 30 609 8790 14
Office: +49 30 609 8790 0
Mobil:  +49 176 207 970 42


E-Mail: rene.scheff...@pixeltex.com

Internet: http://www.PIXELTEX.com <http://www.pixeltex.com/>


PIXELTEX GmbH, Albrechtstrasse 18, 10117 Berlin, Germany

Registergericht: Amtsgericht Charlottenburg, HRB 142440 B

Geschäftsführer: Louis Brauer

Reply via email to