Re: MySQL DBCP Connection Example?

2008-10-20 Thread Pid
Markus Schönhaber wrote: Martin Gainty: Im not baiting you but rebutting your wrong answer to davids right answer you pick fights with people and state what they say is wrong without doing any research Oh, please, this is ridiculous! You are wrong - as you are so often. And all the foot

RE: MySQL DBCP Connection Example?

2008-10-19 Thread Martin Gainty
22:37:45 -0400 From: [EMAIL PROTECTED] To: users@tomcat.apache.org Subject: Re: MySQL DBCP Connection Example? -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin, Martin Gainty wrote: getting tired ot correcting these emails..david i From: [EMAIL PROTECTED] To: users

Re: MySQL DBCP Connection Example?

2008-10-19 Thread Markus Schönhaber
Martin Gainty: Im not baiting you but rebutting your wrong answer to davids right answer you pick fights with people and state what they say is wrong without doing any research Oh, please, this is ridiculous! You are wrong - as you are so often. And all the foot stamping of yours won't

Re: MySQL DBCP Connection Example?

2008-10-18 Thread Mark Thomas
Martin Gainty wrote: getting tired ot correcting these emails..david i Chris is correct in this case. It is you who is in error Martin. From: [EMAIL PROTECTED] To: users@tomcat.apache.org Subject: Re: MySQL DBCP Connection Example? David, David Smith wrote: As an alternative to storing

Re: MySQL DBCP Connection Example?

2008-10-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin, Martin Gainty wrote: getting tired ot correcting these emails..david i From: [EMAIL PROTECTED] To: users@tomcat.apache.org Subject: Re: MySQL DBCP Connection Example? David, David Smith wrote: As an alternative to storing webapps

Re: MySQL DBCP Connection Example?

2008-10-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, David Smith wrote: As an alternative to storing webapps in tomcat's webapps directory, you could place a Context ... ... /Context xml fragment in a file in conf/Catalina/localhost with docBase and path properly set. docBase:yes path:no

RE: MySQL DBCP Connection Example?

2008-10-17 Thread Martin Gainty
getting tired ot correcting these emails..david i From: [EMAIL PROTECTED] To: users@tomcat.apache.org Subject: Re: MySQL DBCP Connection Example? -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, David Smith wrote: As an alternative to storing webapps in tomcat's webapps

Re: MySQL DBCP Connection Example?

2008-10-17 Thread David Smith
Very true ... I've been working way too much lately. --David Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, David Smith wrote: As an alternative to storing webapps in tomcat's webapps directory, you could place a Context ... ... /Context xml fragment in

MySQL DBCP Connection Example?

2008-10-15 Thread Tim Potter
I am attempting to setup a tomcat mysql connection in order to allow users to write jsp webapps that can use a mysql database backend. I have understood that this page seems to be a walkthrough on how to set this up, and I'm running into problems in the MySQL DBCP Example section.

Re: MySQL DBCP Connection Example?

2008-10-15 Thread David Smith
It'd be helpful if you could post that file. Sanitize it for db usernames and passwords, but post it so we can see what it looks like. Also, run it through an XML validator to see if there's any issues. Netbeans has one built-in. --David Tim Potter wrote: I am attempting to setup a

Re: MySQL DBCP Connection Example?

2008-10-15 Thread Tim Potter
These are my web.xml, context.xml, and test.jsp files (truncated). Let me know if there are any other files you would like to see. [EMAIL PROTECTED]:~$ cat /usr/local/tomcat/conf/web.xml ?xml version=1.0 encoding=ISO-8859-1? !-- Licensed to the Apache Software Foundation (ASF) under one or

Re: MySQL DBCP Connection Example?

2008-10-15 Thread David Smith
I think I see your problem. Don't modify the default web.xml file or the default context.xml file unless you really have good reason to. Instead, your webapp should be layed out similar to this, per the servlet spec: DBTest - test.jsp - WEB-INF - web.xml - lib

Re: MySQL DBCP Connection Example?

2008-10-15 Thread Tim Potter
David, Thanks for your input, I can test that out, but that would be a different direction than I think I want to go. I have running an apache web server that users access home directories (mod_user) in order to run thier primarily php scripted web pages, but some would like the option of jsp.

RE: MySQL DBCP Connection Example?

2008-10-15 Thread Caldarale, Charles R
From: Tim Potter [mailto:[EMAIL PROTECTED] Subject: Re: MySQL DBCP Connection Example? I can test that out, but that would be a different direction than I think I want to go. I don't think David was strong enough in his recommendations: you may not ever add additional Context elements

Re: MySQL DBCP Connection Example?

2008-10-15 Thread David Smith
The servlet spec was designed around webapps being completely self-contained packages of pages and logic. I'm sure there are people on this list who what you are looking for ... I haven't. Maybe they can chime in here. As an alternative to storing webapps in tomcat's webapps directory, you