basic help with tomcat5

2008-10-28 Thread Tim Potter
Currently, I am trying to get an instance of tomcat running on a FC6 box. [EMAIL PROTECTED] ~]$ /usr/sbin/httpd -version Server version: Apache/2.2.3 Server built: Sep 11 2006 09:43:05 [EMAIL PROTECTED] ~]$ java -version java version "1.6.0_10" Java(TM) SE Runtime Environment (build 1.6.0_10-b33

Re: MySQL DBCP Connection Example?

2008-10-15 Thread Tim Potter
gs to the DBCP to function. Thanks and I appreciate the instructions! Tim Potter On Wed, Oct 15, 2008 at 6:00 PM, David Smith <[EMAIL PROTECTED]> wrote: > I think I see your problem. Don't modify the default web.xml file or the > default context.xml file unless you real

Re: MySQL DBCP Connection Example?

2008-10-15 Thread Tim Potter
} On Wed, Oct 15, 2008 at 2:11 PM, David Smith <[EMAIL PROTECTED]> wrote: > 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&

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. http://tomca

Re: Tomcat and apache and jk_mod HowTo

2008-10-10 Thread Tim Potter
> the way you have it configured.. test.jsp would only render if implemented = > in the 'ROOT' webapp of TC > > I would suggest implementing a test webapp where the exact physical location of test.jsp would be > $CATALINA_HOME/webapps/test/test.jsp > > Regards/ > Martin Ok, that works fine, howeve

Re: Tomcat and apache and jk_mod HowTo

2008-10-10 Thread Tim Potter
On Fri, Oct 10, 2008 at 1:20 PM, Tim Potter <[EMAIL PROTECTED]> wrote: > On Fri, Oct 10, 2008 at 12:16 PM, Rainer Jung <[EMAIL PROTECTED]>wrote: > >> I also added >> modJk="/usr/lib/apache2/mod_jk.so" >>> workersConfig="/etc/apache2

Re: Tomcat and apache and jk_mod HowTo

2008-10-10 Thread Tim Potter
On Fri, Oct 10, 2008 at 12:16 PM, Rainer Jung <[EMAIL PROTECTED]>wrote: > I also added > modJk="/usr/lib/apache2/mod_jk.so" >> workersConfig="/etc/apache2/workers.properties" /> between and >> in the conf/server.xml file >> > > The listeners are only needed if you want Tomcat to generate a mod

Re: Tomcat and apache and jk_mod HowTo

2008-10-10 Thread Tim Potter
> > I attempted these changes and stopped tomcat and apache, then started apache > > and got the following error: > > > > [EMAIL PROTECTED]:~$ sudo /etc/init.d/apache2 start > > * Starting web server apache2 > > Syntax > > error on line 2 of /etc/apache2/conf.d/workers.properties: > > Invalid comma

Tomcat and apache and jk_mod HowTo

2008-10-10 Thread Tim Potter
Hello all, Be kind, this is my first mailing to the usergroup. I am implementing a webserver for a group use, where most of the group will be creating web pages with php and jsp connections. This server is running Ubuntu Gutsy (7.10) and may be updated to Hardy shortly. In the mean time, cur