Re: Tomcat on a machine with multiple ip addresses

2010-05-13 Thread John Moore
Dave Filchak wrote: Due to a hard drive failure, I am needing to move some websites to a machine that has Tomcat already running on it with Apache as the front end. I was unable to get the sites working using the Apache instance that was already there so, I do this a lot lately, it seems..

RE: looking for a web usesage / analytics package

2009-04-29 Thread John Moore
Webalizer. It's not java based but simple to use. It works with tomcat as well as apache and IIS should you ever have to go down one of those roads. -Original Message- From: Andrew Davidson [mailto:a...@santacruzintegration.com] Sent: Wednesday, April 29, 2009 3:00 PM To:

Re: Configuration Quandary - Servicing static page from app root

2008-11-29 Thread John Moore
Sure would appreciate some feedback or ideas on this... Please..!! John.. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Configuration Quandary - Servicing static page from app root

2008-11-29 Thread John Moore
Kees Jan Koster wrote: Have you looked at Apache's mod_rewrite at all? I sounds like that module might help. Yes, I was going there next, but I was hoping there was a Jk/virtual host configuration I was missing.. I don't like configurations scattered all over the place.. makes management

Configuration Quandary - Servicing static page from app root

2008-11-26 Thread John Moore
OS - CentOS 4.7 Tomcat - apache-tomcat-5.5.23.tar.gz Apache - httpd-2.0.59.tar.gz (compiled on that machine) Connector - tomcat-connectors-1.2.21-src.tar.gz (compiled on that machine) I'm trying to serve a static page (which will redirect elsewhere but that is not the issue) that will be found

Re: Tomcat to Apache connection dies

2008-03-29 Thread John Moore
Rainer, Thanks for taking the time to outline the differences.. hmmm.. maybe that needs to be somewhere in the docs page..G Anyway, I have upgraded to the latest and made the suggested changes so I will monitor the situation for now and hope that I'm now moving down the right path..

Re: Tomcat to Apache connection dies

2008-03-20 Thread John Moore
Caldarale, Charles R wrote: From: John Moore [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat to Apache connection dies Ok, I assume you mean the APR connector is the mod_jk.so which is on the Apache side only.. ? No - the APR connector is a replacement for the pure Java HTTP/AJP ones

Re: Tomcat to Apache connection dies

2008-03-18 Thread John Moore
Rainer Jung wrote: The question was aimed at the Tomcat side. There are connectors on the Tomcat side, responsible for handling the incoming traffic. If you are using the Linux default, pure Java, then it is the Coyote connector and you will get an info message during startup, that Tomcat

Tomcat to Apache connection dies

2008-03-17 Thread John Moore
Problem: The communication via mod_jk between Apache and Tomcat appears to suddenly become exhausted and cease to be available. Versions: apache-tomcat-5.5.23.tar.gz httpd-2.0.59.tar.gz tomcat-connectors-1.2.21-src.tar.gz managerx-5.5-1.7.2 CentOS 4.6 (final) Symptom: Apache suddenly

Re: Tomcat to Apache connection dies

2008-03-17 Thread John Moore
Rainer Jung wrote: Please have a look at your mod_jk log file and look for '[error]' messages. Around the error messages there should also be additional info messages giving some mor einfo about the root cause. mod_jk.log is empty. OK, you could switch to mod_jk 1.2.26 so we don't have to

Re: Tomcat to Apache connection dies

2008-03-17 Thread John Moore
Rainer Jung wrote: Which connector do you use? The usual Coyote (Jav) connector, or the native APR connector (also called tcnative)? Hmm.. good question.. I follow the directions, compile and it (make install) puts the mod_jk.so in the ../apache/modules directory. I would guess it is the

Re: Tomcat to Apache connection dies

2008-03-17 Thread John Moore
Martin Gainty wrote: pls post the mod_jk.log Thank you for taking an interest.. Unfortunately the log is empty.. Rainer suggested that I needed to set the log level or that something was wrong in that area as well. John..

RE: Best Linux distribution

2007-11-14 Thread John Moore
Sure to be a dicey question to raise in a public forum. Mostly, I find, it comes to personal preference of what and how you like to manage your servers and apps. We use RHEL for servers running applications covered by service contracts. For everything else (web, applications, development, db,

RE: Apache/Tomcat/mod_jk over WAN

2007-11-12 Thread John Moore
, November 12, 2007 4:32 PM To: Tomcat Users List Subject: Re: Apache/Tomcat/mod_jk over WAN Hi John, John Moore schrieb: I have a cluster of Tomcat 5.5 servers that are running Apache 2.2 to serve static content; mod_jk 1.2.25 connector is used. I am considering adding apache servers in separate

Re: Tomcat6 Manager App HOW-TO

2007-07-16 Thread John Moore
Caldarale, Charles R wrote: From: John Moore [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat6 Manager App HOW-TO I also gather that you should copy the manager directory into each webapp..??? Not required, but it's an alternative to creating manager.xml files under each conf/Catalina

Re: Tomcat6 Manager App HOW-TO

2007-07-15 Thread John Moore
Caldarale, Charles R wrote: From: John Moore [mailto:[EMAIL PROTECTED] Subject: Tomcat6 Manager App HOW-TO It appears that the instruction to add (paths corrected) Context path=/manager privileged=true docBase=/usr/local/tomcat/webapps/manager /Context is wrong (based on message from

Re: Tomcat6 Manager App HOW-TO

2007-07-15 Thread John Moore
Caldarale, Charles R wrote: The only part that I find somewhat misleading is the following: There are two ways to configure the Manager web application Context: * Install the manager.xml context configuration file in the $CATALINA_HOME/conf/[enginename]/[hostname] folder. *

Tomcat6 Manager App HOW-TO

2007-07-14 Thread John Moore
I would appreciate some clarifications/advice on this How-To.. It appears that the instruction to add (paths corrected) Context path=/manager privileged=true docBase=/usr/local/tomcat/webapps/manager /Context is wrong (based on message from Charles Caldarale on 5/16/2007) So.. in reading

Useless use of AllowOverride.. Mod_jk.conf

2007-05-05 Thread John Moore
In my latest install of Tomcat with Apache I'm getting this warning (decided to download all of the latest and greatest for this new machine.. ) [warn] - Useless use of AllowOverride in line... About 6-7 times.. ..and points to line numbers in the mod.jk.conf file that is auto-generated by

Re: How does one configure Plain host domain url to run web app?

2007-04-07 Thread John Moore
Folks, I found the solution and it was embarrassingly simple.. (an often occurrence..) All I had to do was set the DocumentRoot to where I wanted the index.html to be run from. (I found it when I was deleting all of the various test settings, Directory tags, Aliaes, redirects and left the

Re: How does one configure Plain host domain url to run web app?

2007-03-16 Thread John Moore
Rashmi Rubdi wrote: You are right, the set-up I've mentioned only works for one application. Perhaps you want to configure multiple virtual hosts. I already use virtual hosts.. There's an example on that here:

Re: How does one configure Plain host domain url to run web app?

2007-03-13 Thread John Moore
Rashmi Rubdi wrote: I think an application runs on the root context / by default, if it's configured this way in server.xml : Engine name=Catalina defaultHost=localhost Host name=localhost appBase=webapps/projectname Context path= docBase=C:\dev\projects\projectname reloadable=true

Re: How does one configure Plain host domain url to run web app?

2007-03-13 Thread John Moore
[EMAIL PROTECTED] wrote: Hi John, Ok, I'm going to try show you how I think about this stuff... and I'm often wrong ;) Dont use a redirect... it goes back to the browser and its not cool. Firstly make a servlet and have a look at the CONTEXT.XML file under META-INF Thank you for taking

Re: How does one configure Plain host domain url to run web app?

2007-03-13 Thread John Moore
Caldarale, Charles R wrote: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Subject: Re: How does one configure Plain host domain url to run web app? Dont use a redirect... it goes back to the browser and its not cool. Nothing wrong with redirects. They're quite appropriate to allow

Re: How does one configure Plain host domain url to run web app?

2007-03-13 Thread John Moore
Hassan Schroeder wrote: On 3/13/07, John Moore [EMAIL PROTECTED] wrote: Problem with this an your solution is that is it messy.. Front-ending Tomcat with Apache is messy :-) Really.. Why.. ?? - To start a new topic

Re: How does one configure Plain host domain url to run web app?

2007-03-13 Thread John Moore
Thank you for replying.. This is one webapp among many on this server.. So if I understand you correctly this will not be possible.. If I have miss understood.. could you clarify..?? John.. Rashmi Rubdi wrote: If you place your application as ROOT.war , directly under Tomcat's webapps

How does one configure Plain host domain url to run web app?

2007-03-12 Thread John Moore
(Tomcat 4.x) I have the following url that runs an application (pseudo url for discussion only) http://www.mydomain.com/mysite/thecontext works fine.. I would like to configure it so that.. http://www.mydomain.com gets me to the same place.. I can place a redirect html page at

RE: Session not sticky in 5.5 with load balancer

2005-11-17 Thread John Moore
Nick, I think you want to use balanced_workers not balance_workers. Here's a snippit from our workers.properties. worker.list=lbcon # ww1 worker.ww1.port=8009 worker.ww1.host=192.168.X.Y worker.ww1.type=ajp13 worker.ww1.lbfactor=1 worker.ww1.cachesize=20 worker.ww1.local_worker=0 # ww2

RE: barring :8080 to the outside world

2005-10-28 Thread John Moore
and conf/Catalina/www.xyz.org. John Moore -Original Message- From: Christoph P. Kukulies [mailto:[EMAIL PROTECTED] Sent: Friday, October 28, 2005 8:35 AM To: tomcat-user@jakarta.apache.org Subject: barring :8080 to the outside world I'm a bit concerned that I find the customers' site I'm