Re: tomcat error 404

2011-10-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dave, On 10/23/2011 12:20 PM, 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: Re: : tomcat error 404

2011-10-24 Thread Tim Watts
On Mon, 2011-10-24 at 12:41 -0400, Dave Filchak wrote: > 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? > Indeed it should. No need to monkey with CLASSPATH. You may need to

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: : tomcat error 404

2011-10-23 Thread Pid
On 24/10/2011 00:18, Dave Filchak wrote: > I upload the JavaMail and JAF libs to > /home/##/public_html/WEB-INF/lib/ and added them to my $CLASSPATH I > now get the following: How did you add them to the classpath? Tomcat automatically loads Jars & resources found in its various lib & classes

RE: : tomcat error 404

2011-10-23 Thread Caldarale, Charles R
> From: Pid [mailto:p...@pidster.com] > Subject: Re: : tomcat error 404 > Apparently I'm rusty too... :s Time flies when you're having bugs... - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the int

Re: : tomcat error 404

2011-10-23 Thread Pid
On 24/10/2011 00:07, Caldarale, Charles R wrote: >> From: Dave Filchak [mailto:sub...@zuka.net] >> Subject: Re: Re: : tomcat error 404 > >> So where should the Context be? > > Apparently, you haven't read the 5.5 docs. To quote: Apparently I'm rusty t

RE: Re: : tomcat error 404

2011-10-23 Thread Caldarale, Charles R
> From: Dave Filchak [mailto:sub...@zuka.net] > Subject: Re: Re: : tomcat error 404 > So where should the Context be? Apparently, you haven't read the 5.5 docs. To quote: "For Tomcat 5, unlike Tomcat 4.x, it is NOT recommended to place elements directly in the server.

Re: Re: : tomcat error 404

2011-10-23 Thread Dave Filchak
The logs, at least the catalina.err and catalina.out files do not say anything much, at least as far as an error goes. I cannot find any other log files specific only to this app so they appear not to be working. I only see this in catalina.err in the last while: Oct 23, 2011 2:59:10 PM org.ap

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 'Nick'? p --

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: /> Right:

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 server.x

Re: : tomcat error 404

2011-10-23 Thread Pid
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 get the connection to the database functional. I > really need to get the site up and runnin

Re: : tomcat error 404

2011-10-23 Thread Pid
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 'Nick'? p signature.asc Description: OpenPGP digital signature

Re: : tomcat error 404

2011-10-23 Thread Pid
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: >username="#_#" > password="#" > driverClassName="com.mysql.jdbc.Driver" > > url="jdbc:mysql://localhost:33

Re: : tomcat error 404

2011-10-23 Thread Pid
On 23/10/2011 19:57, Dave Filchak wrote: > My environment.xml file @ /home/##/public_html/WEB-INF/conf/ Once again: this is not a Tomcat configuration file, it's application specific. p signature.asc Description: OpenPGP digital signature

Re:: tomcat error 404

2011-10-23 Thread Dave Filchak
Alright well, I am having a hell of a time getting this to work. I am adding all my pertinent xml files so that maybe someone has some time to help me get this straightened out. I know everyone is busy and it is Sunday so I'll let it sit after this but at this point, I have pages that work but

Re: tomcat error 404

2011-10-23 Thread Pid *
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 server.xml ... not recommended in the last 2 majo

Re: Re: Re: tomcat error 404

2011-10-23 Thread Dave Filchak
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 server.xml file defining the db connection through jdbc/mysql ( which I am not sure of the format yet )

Re: Re: tomcat error 404

2011-10-22 Thread Dave Filchak
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 me some progress in that the site's homepage now comes up. However, I now get the following error when clicking on a few links, which obvious

Re: tomcat error 404

2011-10-22 Thread André Warnier
Hi. One thing at a time.. 1) When you send XML configuration files, please remove everything that is a comment. XML files are already being wrapped by the email program, and are difficult to read as it is. Having plenty of comments in them in addition makes is really a hassle to figure out wh

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

RE: tomcat error 404

2011-10-21 Thread Caldarale, Charles R
> 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? > I have verified that tomcat and apache are running. By "apache" [sic], I presume you mean httpd. How did you verify the