RE: General errors in virtual host setup

2009-05-14 Thread Caldarale, Charles R
> From: Dave Filchak [mailto:sub...@zuka.net] > Subject: Re: General errors in virtual host setup > > So I suppose this is a good step forward ... yes? Yes, but as we mentioned before, the problem may come back on the next reboot. It wouldn't surprise me at all that there&#x

Re: General errors in virtual host setup

2009-05-14 Thread Dave Filchak
André Warnier wrote: Dave, from the whole collection of recent messages, it very much looks to me as if you are effectively trying to run 2 Tomcats on this machine, and that they somehow conflict in terms of ports, maybe in terms of which applications they run, etc.. A while ago, you mentione

RE: General errors in virtual host setup

2009-05-14 Thread Caldarale, Charles R
> From: Dave Filchak [mailto:sub...@zuka.net] > Subject: Re: General errors in virtual host setup > > Can I just kill all java pids and then restart the version of tomcat I > know I installed? Yes, but if there's an /etc/init.d script for the one you don't want, it will

Re: General errors in virtual host setup

2009-05-14 Thread Dave Filchak
Caldarale, Charles R wrote: From: Dave Filchak [mailto:sub...@zuka.net] Subject: Re: General errors in virtual host setup I can now connect to my default site as long as I add the port into the url. However, I have changed the port to 8081 and the connector port to 8010. I did this because when

RE: General errors in virtual host setup

2009-05-14 Thread Caldarale, Charles R
> From: Dave Filchak [mailto:sub...@zuka.net] > Subject: Re: General errors in virtual host setup > > I can now connect to my default site as long as I add the port into the > url. However, I have changed the port to 8081 and the connector port to > 8010. I did this because wh

Re: General errors in virtual host setup

2009-05-14 Thread André Warnier
Dave Filchak wrote: ... The site root is in /web/exodus.zuka.net/docs. I have added a ROOT directory to this. I have moved my exodus.war file into this ROOT directory. When I restart tomcat, the WAR file is not unpacked. I have verified the site by creating an index.htm file and then changing

Re: General errors in virtual host setup

2009-05-14 Thread André Warnier
Dave, from the whole collection of recent messages, it very much looks to me as if you are effectively trying to run 2 Tomcats on this machine, and that they somehow conflict in terms of ports, maybe in terms of which applications they run, etc.. A while ago, you mentioned another server, for

Re: General errors in virtual host setup

2009-05-13 Thread Dave Filchak
Dave Filchak wrote: Dave Filchak wrote: I am going to step away from this for about an hour to get a break and something to eat. Just a bit before I do: tomcat was installed as a service and when I restart the service, I get these errors. However, when I go to /opt/tomcat/bin/shutdown.sh and

Re: General errors in virtual host setup

2009-05-13 Thread Dave Filchak
Dave Filchak wrote: I am going to step away from this for about an hour to get a break and something to eat. Just a bit before I do: tomcat was installed as a service and when I restart the service, I get these errors. However, when I go to /opt/tomcat/bin/shutdown.sh and then startup.sh, I d

Re: General errors in virtual host setup

2009-05-13 Thread Dave Filchak
I am going to step away from this for about an hour to get a break and something to eat. Just a bit before I do: tomcat was installed as a service and when I restart the service, I get these errors. However, when I go to /opt/tomcat/bin/shutdown.sh and then startup.sh, I do not appear to get

Re: General errors in virtual host setup

2009-05-13 Thread Dave Filchak
Dave Filchak wrote: André Warnier wrote: Dave Filchak wrote: When I ran the url and said that it timed out ... what it actually eventually popped up was: Bad Gateway The proxy server received an invalid response from an upstream server. Maybe this gives us a hint? To me, it just makes it

RE: General errors in virtual host setup

2009-05-13 Thread Caldarale, Charles R
> From: Dave Filchak [mailto:sub...@zuka.net] > Subject: Re: General errors in virtual host setup > > No chance that these missing ports are caused by the firewall? Not likely; they should still show up in netstat. > These are all internal ... yes? No - only the shutdown p

RE: General errors in virtual host setup

2009-05-13 Thread Caldarale, Charles R
> From: Dave Filchak [mailto:sub...@zuka.net] > Subject: Re: General errors in virtual host setup > > Well the exodus app does use a database but the connection stuff > is in an environment.xml file. Then exodus must be managing its own connections. You likely do not need a e

RE: General errors in virtual host setup

2009-05-13 Thread Caldarale, Charles R
> From: Dave Filchak [mailto:sub...@zuka.net] > Subject: Re: General errors in virtual host setup > > SEVERE: Catalina.start > LifecycleException: Protocol handler initialization failed: > java.net.BindException: Address already in use:8080 This looks like you already have

Re: General errors in virtual host setup

2009-05-13 Thread Dave Filchak
Caldarale, Charles R wrote: From: Dave Filchak [mailto:sub...@zuka.net] Subject: Re: General errors in virtual host setup OK .. I have moved it into our web directory at /web/exodus.zuka.net/docs/ROOT/ And what did you set the exodus.zuka.net appBase to? It should be "

RE: General errors in virtual host setup

2009-05-13 Thread Caldarale, Charles R
> From: Dave Filchak [mailto:sub...@zuka.net] > Subject: Re: General errors in virtual host setup > > OK .. I have moved it into our web directory at > /web/exodus.zuka.net/docs/ROOT/ And what did you set the exodus.zuka.net appBase to? It should be "/web/exodus.zuka.net/

Re: General errors in virtual host setup

2009-05-13 Thread Dave Filchak
André Warnier wrote: Dave Filchak wrote: When I ran the url and said that it timed out ... what it actually eventually popped up was: Bad Gateway The proxy server received an invalid response from an upstream server. Maybe this gives us a hint? To me, it just makes it even more confusing.

Re: General errors in virtual host setup

2009-05-13 Thread Dave Filchak
Caldarale, Charles R wrote: O.k., then leave the extra element there. However, redefine its appBase to be somewhere else; it doesn't have to be under the Tomcat directory tree, and it *must not* be under any other appBase. 2) Do you want the exodus webapp to be the default webapp for

Re: General errors in virtual host setup

2009-05-13 Thread Dave Filchak
André Warnier wrote: Dave Filchak wrote: When I ran the url and said that it timed out ... what it actually eventually popped up was: Bad Gateway The proxy server received an invalid response from an upstream server. Maybe this gives us a hint? To me, it just makes it even more confusing.

RE: General errors in virtual host setup

2009-05-13 Thread Caldarale, Charles R
> From: Dave Filchak [mailto:sub...@zuka.net] > Subject: Re: General errors in virtual host setup > > > It's really, really bad form to write into the webapps directory; > > you need to move the logging area to somewhere else. > > Can I simply change the path? I

Re: General errors in virtual host setup

2009-05-13 Thread Dave Filchak
Indeed, strange. There is also port 8005 missing, which should be the Tomcat shutdown connector. Where is it ? I see it here: Sorry ... ignore this comment. At one point in the past we had changed this port as part of an attempt at better security. I just did not read close enough t

Re: General errors in virtual host setup

2009-05-13 Thread André Warnier
Dave Filchak wrote: When I ran the url and said that it timed out ... what it actually eventually popped up was: Bad Gateway The proxy server received an invalid response from an upstream server. Maybe this gives us a hint? To me, it just makes it even more confusing. ;-) Please confirm, t

Re: General errors in virtual host setup

2009-05-13 Thread André Warnier
Dave Filchak wrote: André Warnier wrote: Dave Filchak wrote: netstat -an | grep LISTEN tcp0 0 66.207.212.58:800.0.0.0:* LISTEN Apache, listening on just one IP address ? tcp0 0 :::8009 :::* LISTEN Ok, that seems to be the f

Re: General errors in virtual host setup

2009-05-13 Thread Dave Filchak
André Warnier wrote: Dave Filchak wrote: netstat -an | grep LISTEN tcp0 0 66.207.212.58:800.0.0.0:* LISTEN Apache, listening on just one IP address ? tcp0 0 :::8009 :::* LISTEN Ok, that seems to be the first AJP connector t

Re: General errors in virtual host setup

2009-05-13 Thread André Warnier
By the way, the missing 8005 listening port probably explains this previous exception : May 13, 2009 3:02:39 PM org.apache.catalina.startup.Catalina stopServer SEVERE: Catalina.stop: java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) I beli

Re: General errors in virtual host setup

2009-05-13 Thread Dave Filchak
When I ran the url and said that it timed out ... what it actually eventually popped up was: Bad Gateway The proxy server received an invalid response from an upstream server. Maybe this gives us a hint? Dave - To unsubscrib

Re: General errors in virtual host setup

2009-05-13 Thread André Warnier
Dave Filchak wrote: netstat -an | grep LISTEN tcp0 0 66.207.212.58:800.0.0.0:* LISTEN Apache, listening on just one IP address ? tcp0 0 :::8009 :::* LISTEN Ok, that seems to be the first AJP connector tcp0 0

Re: General errors in virtual host setup

2009-05-13 Thread Dave Filchak
Caldarale, Charles R wrote: From: Dave Filchak [mailto:sub...@zuka.net] Subject: General errors in virtual host setup This reflected the paths in the new server. It's generally bad form for a webapp to know where it's deployed, indicating some degree of laziness or ignorance on the part

Re: General errors in virtual host setup

2009-05-13 Thread Dave Filchak
André Warnier wrote: Dave Filchak wrote: André Warnier wrote: Something doesn't square : this : Dave Filchak wrote: Ok, so we assume your tomcat's CATALINA_HOME and CATALINA_BASE are both /usr/opt/tomcat, and below that you have directories like - bin - conf - webapps - logs right ? Cor

RE: General errors in virtual host setup

2009-05-13 Thread Caldarale, Charles R
> From: Dave Filchak [mailto:sub...@zuka.net] > Subject: General errors in virtual host setup > > This reflected the paths in the new server. It's generally bad form for a webapp to know where it's deployed, indicating some degree of laziness or ignorance on the part of the webapp developer. H

Re: General errors in virtual host setup

2009-05-13 Thread André Warnier
Dave Filchak wrote: André Warnier wrote: Something doesn't square : this : Dave Filchak wrote: Ok, so we assume your tomcat's CATALINA_HOME and CATALINA_BASE are both /usr/opt/tomcat, and below that you have directories like - bin - conf - webapps - logs right ? Correct. and this :

Re: General errors in virtual host setup

2009-05-13 Thread Dave Filchak
André Warnier wrote: Something doesn't square : this : Dave Filchak wrote: Ok, so we assume your tomcat's CATALINA_HOME and CATALINA_BASE are both /usr/opt/tomcat, and below that you have directories like - bin - conf - webapps - logs right ? Correct. and this : Starting Razuna Tomc

Re: General errors in virtual host setup

2009-05-13 Thread André Warnier
Something doesn't square : this : Dave Filchak wrote: Ok, so we assume your tomcat's CATALINA_HOME and CATALINA_BASE are both /usr/opt/tomcat, and below that you have directories like - bin - conf - webapps - logs right ? Correct. and this : Starting Razuna Tomcat: Using CATALINA_BAS

Re: General errors in virtual host setup

2009-05-13 Thread Dave Filchak
André Warnier wrote: Trying to provide some limited help peppered across your message.. First I created a war file of the site pages using java -cvf exodus.war * That was more likely "jar -cvf exodus.war *", right ? Errr ... yes correct. I then put the war file inside my webapps direct

Re: General errors in virtual host setup

2009-05-13 Thread André Warnier
Trying to provide some limited help peppered across your message.. Dave Filchak wrote: A few days ago, a number of you helped me get tomcat up and running with the example files shipped with the default install of tomcat. Just as a reminder, I am on CentOS 5.4/64 bit system using jdk1.6.1_13, a