I am running a standalone tomcat 6.0.18 on a centOS 5.3 system. Is it a good
idea to install the Apache Portable Runtime? Would I see performance
increase? And, are there any drawbacks/cons to doing so?
Thanks for any advice you might have on this -
John
--
View this message in context:
I wanted to add a little clarity to my question: I am not using SSL or
serving any significant amount of static content - just good ol fashioned
Jsp/Jstl's with a standalone tomcat (no Apache). A very svelt and simple web
app that I am designing for performance.
Given that, is it still a
Running tomcat 6.0.18 server.xml has the following listener's enabled by
default:
!--APR library loader. Documentation at /docs/apr.html --
Listener className=org.apache.catalina.core.AprLifecycleListener
SSLEngine=on /
!--Initialize Jasper prior to webapps are loaded. Documentation at
mgainty wrote:
Do I need these listeners or can I remove some/all of them?
DONT_NEEDIf No Apr then remove AprLifecycleListener
DONT_NEEDIf No Jsp then remove JasperListener
DONT_NEEDIf No MBean then remove ServerLifecycleListener
DONT_NEEDIf No JNDI then remove
Thanks Tim. Your bonus point approach is quite slick and tidy..I am quite
tempted to go that route. Of course that now begs me to overthink this and
wonder if there is any performance difference between having the web.xml
filter-mapping do the logic or embedding that logic in the filter
I have set up an Access Log in Tomcat 6. Can someone tell me how to limit
access logging to only .jsp's and .html pages?
I have read numerous posts and it is amazing how many responses there are to
similiar questions that all point to the 'condition' parameter
documentation...which I have
Thanks for your help. I do understand now the concept. I am quite surprised
however how much code it actually took. Here is my filter configuration that
is working correctly.
This configuration basically filters out everything I don't want in my
access logs, including a couple of redundant
It took me quite a while but I finally got a tomcat startup script working
using jsvc to start as a tomcat user running on port 80.
Are there any drawbacks/cons to this method as opposed to NOT using jsvc and
instead running tomcat on 8080 and having the firewall redirect to this
port? Does
Marcus Better wrote:
Tomcat in Debian (and Ubuntu) also runs with jsvc as a non-root user by
default, you can have a look at their startup scripts too.
Where would I look to find such scripts?
Thanks
--
View this message in context:
I am going to be deploying a webapp on CentOS (Spring/Hibernate/Tomcat) that
is JSP based and has hardly any static content..I am planning to start out
with 1 tomcat server and 1 db server.
I think that I do not need an apache front end and can simply run tomcat
standalone. Is this a bad idea?
George Sexton wrote:
Use JSVC to run tomcat on Port 80 without having it run as root. Unpack
the source for jsvc from the bin directory and compile it.
Thank you for your comments. I would love to simply run tomcat on port 80 as
tomcat user. I have not yet discovered how to do this and
I will be deploying a spring/hibernate web app using Tomcat 6, dbcp and
MySql5.1. I must decide on my initial tomcat dedicated deployment server
configuration and am looking for some advice:
(I am starting with one dedicated Tomcat server..will scale in time)
Based on budget, the affordable
I am setting up a CentOS 5 server running tomcat and wanted to know whether
the best practice is to leave the Tomcat logfiles in their default location:
/usr/share/apache-tomcat-6.0.18/logs
or whether I should place them in another directory like /var/log/tomcat.
Is this possible, and/or
Caldarale, Charles R wrote:
Isn't this a very standard thing to do?
No; one normally deploys webapps under the Host appBase.
- Chuck
Ok, I would like to follow the normal, best practices way. If you will
indulge me one more try:
What is the best way to configure/deploy an app so that
I am setting up apache 2.2 and tomcat 6 on XP. I have apache handling all
requests and forwarding JSPs to Tomcat like so:
(From apache/conf/httpd.conf:)
LoadModulejk_module C:/Program Files/Apache Software
Foundation/Apache2.2/modules/mod_jk.so
JkWorkersFile C:/Program
I appreciate your great advice, and I will look into that. However, I fear
that my confusion is even more basic - as I have not set up tomcat before.
How should I set up my webApp so that when I call http://localhost/index.jsp
in my browser tomcat serves up the index.jsp from my webApp dir:
Let me try to be more clear: Lets forget about Apache, that is not the issue:
Assuming tomcat is running standalone on port 80, how do I set it up so that
when I call
http://localhost/index.jsp
Tomcat defaults to serving my custom app located at:
C:/myApp/web/index.jsp
as opposed to what it is
Caldarale, Charles R wrote:
From: johnrock [mailto:johnpi...@yahoo.com]
Subject: Re: setup default webapp in tomcat 6 and apache
Assuming tomcat is running standalone on port 80, how do I
set it up so that when I call
http://localhost/index.jsp
Tomcat defaults to serving my custom app
I am trying to get apache2.2 to connect with Tomcat 6 both running on one XP
machine. Apache starts fine on its own, but when I add these lines to
httpd.conf, apache fails to start:
LoadModulejk_module C:/Program Files/Apache Software
Foundation/Apache2.2/modules/mod_jk.so
...
But at least there are 9,999,999 other users who share my shame!
Thanks so much!
John
awarnier wrote:
johnrock wrote:
[...]
Maybe you are just the (guess) 10 millionth user to get hit by the
stupid stupid idea of someone in the distant past to allow spaces in
file paths ?
Try
I am trying to figure out the best way to configure tomcat 6 to work under
apache2.2 running on XP. I have seen a way to 'auto configure' the jk
connector, and another way to manually configure it in the httpd.conf file.
It seems the auto configure is easier, but are there important advantages
21 matches
Mail list logo