Re: RE: Re: : tomcat error 404

2011-10-24 Thread Dave Filchak
As I said, I have been trying to crash learn. I am not, I repeat not, a tomcat user but willing to try and learn. It is not always clear to us who have not been doing this for a long time. Try to be patient with us I did actually move the context to META-INF. Cheers, Dave On 22/07/64 2:59 PM

Re: Re: : tomcat error 404

2011-10-24 Thread Dave Filchak
Humm, well I did the whole export CLASSPATH thing. So I should just have to place them in my apps lib directory, as shown below, and it should load automagically? Dave On 22/07/64 2:59 PM, Pid wrote: On 24/10/2011 00:18, Dave Filchak wrote: I upload the JavaMail and JAF libs to /home

Re: Re: : tomcat error 404

2011-10-23 Thread Dave Filchak
:662) Everything looks OK as far as I can tell under catalina.out. On 22/07/64 2:59 PM, Pid wrote: On 23/10/2011 19:57, Dave Filchak wrote: I know this is probably screwed up now so I appreciate the help I have had so far and would seriously appreciate any input as to how to straighten this out and

Re: Re: : tomcat error 404

2011-10-23 Thread Dave Filchak
Yes ... can't find him. On 22/07/64 2:59 PM, Pid wrote: On 23/10/2011 19:57, Dave Filchak wrote: Please contact Nick should any questions or issues arise about this application. Have you tried contacting '

Re: Re: : tomcat error 404

2011-10-23 Thread Dave Filchak
So where should the Context be? On 22/07/64 2:59 PM, Pid wrote: Don't put a Context in server.xml. That is a massive can of worms all on its own. On 23/10/2011 19:57, Dave Filchak wrote: /> The above won't work, it should really stop Tomcat from starting. Wrong:

Re: Re: tomcat error 404

2011-10-23 Thread Dave Filchak
Hi Pid, On 22/07/64 2:59 PM, Pid * wrote: On 23 Oct 2011, at 17:21, Dave Filchak wrote: Ok, perhaps this will be more helpful. To follow is the way the db connection is set up now, and I am not sure it is correct because, as I understand it, you are supposed to add a context to the

Re:: tomcat error 404

2011-10-23 Thread Dave Filchak
screwed up now so I appreciate the help I have had so far and would seriously appreciate any input as to how to straighten this out and get the connection to the database functional. I really need to get the site up and running today. Thanks for your consideration and your time. Dave On

Re: Re: Re: tomcat error 404

2011-10-23 Thread Dave Filchak
nutshell, the only reference to a database connection is in the environment.xml file. Dave On 22/07/64 2:59 PM, Dave Filchak wrote: Hi André, Sorry about the comments. Wasn't thinking. So, I did find that one of the closing comment tags in my web.xml was entered as ==>. Fixing that gave

Re: Re: tomcat error 404

2011-10-22 Thread Dave Filchak
Notepad++ in Google) 3) what happens when, in your browser, you enter the URL : http://your-host-name:8180 ? (replace your-host-name by .. your real host name (or its IP address)) Dave Filchak wrote: Hello Charles, Hopefully this helps and it is not too much info. Dave On 22/07/64 2:59

Re: RE: tomcat error 404

2011-10-22 Thread Dave Filchak
Hello Charles, Hopefully this helps and it is not too much info. Dave On 22/07/64 2:59 PM, Caldarale, Charles R wrote: From: Dave Filchak [mailto:sub...@zuka.net] Subject: tomcat error 404 I am receiving a HTTP Status 404 error. Can you tell if the 404 is coming from Tomcat or httpd? Well, I

tomcat error 404

2011-10-21 Thread Dave Filchak
Folks, I know I have asked about this site befor with a number of problems and one of the suggestions was to find the original programmer for help. Well I cannot find him ... he is not available unfortunately. I was originally getting some except errors but now, after my host "turned off" my serve

database error

2011-09-18 Thread Dave Filchak
Hello, I had email a while ago asking for help with some errors I was getting with an application that I inherited which was working OK but was getting a few errors after moving it to a new server. I am not a tomcat person in that I do not know a lot about it but do know my way around a serve

Re: Re: Application error after move of site

2011-08-09 Thread Dave Filchak
On 22/07/64 2:59 PM, Pid wrote: On 08/08/2011 13:46, Dave Filchak wrote: Hi, I had to switch hosts and one of the sites that I inherited is a tomcat site. After the move most of the site is fine but on a number of links, I get the following error: Error reading properties file: Please check

Application error after move of site

2011-08-08 Thread Dave Filchak
Hi, I had to switch hosts and one of the sites that I inherited is a tomcat site. After the move most of the site is fine but on a number of links, I get the following error: Error reading properties file: Please check the following: 1. That you have downloaded the JAXP (XML) API from JavaSoft a

Re: Re: 503 error - service not available

2011-08-04 Thread Dave Filchak
hen I try to shut it down. I hope I am giving you useful information. As I said, I am not an experienced tomcat admin. I inherited this site and am just trying to learn. Wish ?I didn't have to learn under these circumstances. Thanks Dave Igor On Thu, Aug 4, 2011 at 12:28 PM, Dave Filc

503 error - service not available

2011-08-03 Thread Dave Filchak
Not sure what happened here. The app was working just fine until today. I am getting a 503 Service temporarily unavailable error when trying to connect to a tomcat site using Apache as the front end and mod_jk connectors. I have verified that tomcat is running on the correct ports using:netst

Re: General config errors

2009-05-14 Thread Dave Filchak
Caldarale, Charles R wrote: From: Dave Filchak [mailto:sub...@zuka.net] Subject: Re: General config errors When I add the second host (the exodus app) and restart tomcat and run netstat -pan | grep LISTEN | grep tcp again, port 8009 no longer shows up and neither does the new port for the

Re: General config errors

2009-05-14 Thread Dave Filchak
Caldarale, Charles R wrote: From where? The Tomcat web site, or a 3rd-party repackage? tomcat website/ every time I add a second host to server.xml, it kills the connector port. What does "kills the connector port" mean? I've never seen an error message or log entry with those

General config errors

2009-05-14 Thread Dave Filchak
Further to my ongoing troubles, I decided to reinstall tomcat and java. Then I configured a single default host which basically ran the default apps/examples that come with tomcat, using the default tomcat port of 8080 and the connector port of 8009. That is all good. However, every time I add

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: Basic Java questions

2009-05-14 Thread Dave Filchak
Ken Bowen wrote: Hard to say about everything. But /opt/java/bin/java in your path is very suspicious. Check whether that is in fact the executable itself by just trying to execute /opt/java/bin/java It might be that you need /opt/java/bin in the path instead. This has been fixed. I als

Re: Basic Java questions

2009-05-14 Thread Dave Filchak
Ken Bowen wrote: Below... On May 14, 2009, at 2:49 PM, Dave Filchak wrote: ls -l /opt/java/bin/java -rwxr-xr-x 1 root root 50810 Mar 9 15:37 /opt/java/bin/java Per my earlier message, this is (part of) your problem. /opt/java/bin/java is an executable, but what should be on your path

Re: What is the difference?

2009-05-14 Thread Dave Filchak
André Warnier wrote: I'm frustrated. For once there was a question which was right at my level, you guys all beat me to answer it. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail:

What is the difference?

2009-05-14 Thread Dave Filchak
Curious, What is the difference between java -version and java version? In the first case I get: java -version java version "1.6.0_13" Java(TM) SE Runtime Environment (build 1.6.0_13-b03) Java HotSpot(TM) 64-Bit Server VM (build 11.3-b02, mixed mode) In the second, I get: java version Excepti

Re: Basic Java questions

2009-05-14 Thread Dave Filchak
André Warnier wrote: Dave Filchak wrote: In trying to troubleshoot my ongoing issues with deploying a Tomcat app, I have been trying to track down any duplicate java/tomcat installs. I made some changes I thought would work and now when I issue the command: which java, I get: /usr/bin

Basic Java questions

2009-05-14 Thread Dave Filchak
In trying to troubleshoot my ongoing issues with deploying a Tomcat app, I have been trying to track down any duplicate java/tomcat installs. I made some changes I thought would work and now when I issue the command: which java, I get: /usr/bin/which: no java in (/opt/java/bin/java:/usr/kerbe

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-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

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

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 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 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 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 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

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 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 o

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 -

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 : Start

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

General errors in virtual host setup

2009-05-13 Thread Dave Filchak
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, apache tomcat 6.0.18. I was going through this exercise because I was given a tomcat ba

Re: Configuration help with tomcat connectors

2009-05-10 Thread Dave Filchak
Caldarale, Charles R wrote: From: Dave Filchak [mailto:sub...@zuka.net] Subject: Re: Configuration help with tomcat connectors If I set it up as localhost now, what is the impact if, in the future, I need to add other hosts? One must be the defaultHost, so its name is irrelevant other

Re: Configuration help with tomcat connectors

2009-05-09 Thread Dave Filchak
Charles, Caldarale, Charles R wrote: WARNING: [SetPropertiesRule]{Server/Service/Engine/Host} Setting property 'appbase' to 'webapps' did not find a matching property. The above is due to the invalid element in server.xml. I have removed the offending element but I am still getti

Re: Configuration help with tomcat connectors

2009-05-09 Thread Dave Filchak
Charles, Caldarale, Charles R wrote: It's not necessary to change the name (or the defaultHost) if you only have one element, so I'd recommend changing both back to localhost. You only need multiple names if you are serving multiple domains that have separate sets

Re: Configuration help with tomcat connectors

2009-05-09 Thread Dave Filchak
André Warnier wrote: André, Thanks very much for taking the time to write this very helpful and detailed response. I truly appreciate it. I have basically come to terms with most of the theory in what you are saying here and slowly the light is coming on. ... BUT I have managed to

Re: Configuration help with tomcat connectors

2009-05-09 Thread Dave Filchak
Caldarale, Charles R wrote: From: Dave Filchak [mailto:sub...@zuka.net] Subject: Re: Configuration help with tomcat connectors So, can you clarify what you mean by standalone? Not front-ended by httpd or other web server. Right now it is running on port 8080 and I have other sites

Re: Configuration help with tomcat connectors

2009-05-09 Thread Dave Filchak
Caldarale, Charles R wrote: From: Dave Filchak [mailto:sub...@zuka.net] Subject: Re: Configuration help with tomcat connectors So, I am told there will be static content as well as JSP pages. Tomcat does an excellent job of serving static content all by itself. Unless you

Re: Configuration help with tomcat connectors

2009-05-09 Thread Dave Filchak
André Warnier wrote: Hi. Just for a start, add a line after this one : > # Send JSPs for context /jsp-examples to worker named default > JkMount /jsp/*.jsp worker1 JkMount /jsp worker1 and just try again (after restarting Apache) Note : I also think you've got way too many workers there, includ

Re: Configuration help with tomcat connectors

2009-05-09 Thread Dave Filchak
Caldarale, Charles R wrote: From: Dave Filchak [mailto:sub...@zuka.net] Subject: Configuration help with tomcat connectors I have been trying to set up tomcat with apache 2.2 for the last few days and have been unsuccessful in getting the connectors working with the supplied example files

Configuration help with tomcat connectors

2009-05-08 Thread Dave Filchak
Hello all. My name is Dave and I am new to this list and new to tomcat. I have been trying to set up tomcat with apache 2.2 for the last few days and have been unsuccessful in getting the connectors working with the supplied example files. It should be noted that accessing the tomcat server on