RE: Feasibility question

2002-07-08 Thread Steve Ahlstrom
No problem if you use cookies. -Original Message- From: Iain Downie [mailto:[EMAIL PROTECTED]] Sent: Monday, July 08, 2002 8:12 AM To: [EMAIL PROTECTED] Subject: Feasibility question Hi List, relatively new to Tomcat, so excuse the possible repetition / naivety of this posting. We

RE: Error: 500 (Response has already been committed) !!!

2002-07-08 Thread Steve Ahlstrom
Another cause can be demonstrated with the following scriptlet code ... if (session.getAttribute(articles) == null) { response.sendRedirect(controllerServlet/home); } if (session.getAttribute(siteState) == null) { response.sendRedirect(controllerServlet/home); } The

RE: Mac OS X, Tomcat 4.0.4, MySql configuration denies access

2002-07-07 Thread Steve Ahlstrom
2.0.8 is a very old driver. The current version is 2.0.14 I don't know how you granted permissions, but do something like ... (assuming root for username and admin for password) ... start mysql, then grant all on *.* to [EMAIL PROTECTED] identified by admin; Then use mysql and select * on

Front-ending Tomcat 4.04 with Apache 1.3 with RH7.3

2002-07-07 Thread Steve Ahlstrom
After spending a frustrating hour on the jakarta site looking for info, can anyone point me to documenation on how to front end Tomcat 4.04 with Apache 1.3 under Red Hat 7.3 or give me step by step instructions? I've installed mod_jk-1.3-1.0-1.4.0.2. I'm supposed to run tomcat with the jkconf

RE: Mac OS X, Tomcat 4.0.4, MySql configuration denies access

2002-07-07 Thread Steve Ahlstrom
I'm using Linux, not OSX, so there will likely be differences, but shouldn't be too much as OSX is Mach/BSD based. I'm using connection pooling, so I've got commons-collections.jar, commons-dbcp.jar, commons-pool.jar as well as mm.mysql-2.0.14-bin.jar in $CATALINA_HOME/common/lib. I connect to

RE: Pooled JDBC Connections

2002-07-06 Thread Steve Ahlstrom
After much head scratching and misleading messages in the archive, lots of trial and error, and several bouts of cussing, I got pooling to work last night (using Tomcat 4.04 and mySQL). You need a jdbc driver (I'm using mm.mysql-2.0.14-bin.jar, obviously for mySQL). You also need

DBCP -- where?

2002-07-05 Thread Steve Ahlstrom
Ok, I'm dense ... where can I get the commons-dbcp.jar ? -Original Message- From: Jacob Kjome [mailto:[EMAIL PROTECTED]] Sent: Monday, July 01, 2002 9:41 PM To: Tomcat Users List Subject: Tomcat-4.1.6 and DBCP issue? Hi, I'm just checking to confirm whether others that used DBCP

RE: How can I map all requests to a single servlet?

2002-06-12 Thread Steve Ahlstrom
I'd use a front controller pattern. All your requests would have an action at the end (ex, http://www.site.com/controllerServlet/do-something, http://www.site.com/controllerServlet/do-something-else, etc.) Your servlet then routes you to a requestprocessor class which strips off the action then

Deploying a war

2002-06-09 Thread Steve Ahlstrom
Is there a how-to on deploying a war file to Tomcat? My war deploys correctly with Weblogic and HPAS. I haven't found step by step instructions in the Tomcat doc on how to do this (and what xml files to modify). Same question with setting up a connection pools and datasources. Thanks in