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)

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

Re: MySQL DBCP Connection Example?

2008-10-15 Thread Tim Potter
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 really have good reason to. Instead

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,

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 command

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 Listener className=org.apache.jk.config.ApacheConfig modJk=/usr/lib/apache2/mod_jk.so workersConfig=/etc/apache2/workers.properties / between /Host and /Engine in the conf/server.xml file The listeners are

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 Listener className=org.apache.jk.config.ApacheConfig modJk=/usr/lib/apache2/mod_jk.so workersConfig=/etc/apache2/workers.properties

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, however that