Context reloads dropping CachedRowSet from HttpSession afteracceptChanges() call.

2002-12-05 Thread Steven Elliott
anybody had a problem like this and/or know where I can begin to look? Any help would be appreciated and please mail me directly as well as the list since I am on the digest. TIA, Steven Elliott <[EMAIL PROTECTED]> Systems Integrator Interactive Tecnologia, Lda. LisbonPortugal tel: +351

JSP and MAC line breaks

2002-08-27 Thread Steven Elliott
The following is a post from Larry Issacs re: TC 4.0.1 which had a bug in Jasper that was stripping the "\r" from the line terminator. Which version of TC are you having problems with? __ From: Larry Isaacs <[EMAIL PROTECTED]> Date: 2002-03-28 14:58:58 T

Re: Altering file extensions

2002-07-12 Thread Steven Elliott
From: Jim Bartram <[EMAIL PROTECTED]> Date: Thu, 11 Jul 2002 21:16:30 -0700 To: [EMAIL PROTECTED] Subject: Altering file extensions > > I'm using Tomcat 4.0 in a very simple way, hosting some straightforward > .jsp files. Instead of the client seeing files served with the *.jsp > extension, I'

Re: measuring round trip time

2002-06-12 Thread Steven Elliott
On 12/06/02 17:03, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > From: [EMAIL PROTECTED] > Date: Wed, 12 Jun 2002 17:32:19 +0200 > To: [EMAIL PROTECTED] > Subject: measuring round trip time > > Hi All > > I would like to measure the round trip time for packets from tomcat to a > client (and

Servlet init() callin twice on startup. PLease help.

2002-04-30 Thread Steven Elliott
-Original Message- From: IvanLatysh [mailto:[EMAIL PROTECTED]] Sent: 29 April 2002 19:17 To: Tomcat Apache Subject: Servlet init() callin twice on startup. PLease help. > > I have servlet that executing on start up. > And when I see log - i can see that servlet was started twice. > I

Re: Tomcat 4.0.3 on MacOSX

2002-04-18 Thread Steven Elliott
On 19/04/02 2:00, "[EMAIL PROTECTED]" Randy Phillips <[EMAIL PROTECTED]> wrote: > > I am running Tomcat as a standalone service on MacOSX. I can reach the > default page at http://localhost:8080/ and I have compiled my first hello > world servlet so everything appears to be working. > > However

Re: Mysql pooling datasource in tomcat 4

2002-04-16 Thread Steven Elliott
original message > From: Daryn Nakhuda <[EMAIL PROTECTED]> > Date: Mon, 15 Apr 2002 11:43:57 -0700 (PDT) > To: [EMAIL PROTECTED] > Subject: Mysql pooling datasource in tomcat 4 > > > Has any one had success creating a pooling datasource for mysql in tomcat > 4? > > I was able

DBCP Pool Collections problems on TC4.0.3

2002-04-11 Thread Steven Elliott
Craig I hope you or Ralph can help me out. I would like to replace Tyrex with the DBCP but I cannot seem to get the factory to work and the exceptions are happenning in the Service invoker. My server.xml looks like the following (please forgive the wrap: factory

Re: global singleton across multiple engines?

2002-04-11 Thread Steven Elliott
On 11/04/02 7:25, "[EMAIL PROTECTED]" Ray Tayek wrote: ... > a different class loader. he claims that if i put the class to be shared in > the server_root/classes, then it wll be found. this does not seem to work ... Try putting the singleton in $CATALINA_HOME/common/classes Steven ///* * VTV

Re: How can I automatically start a servlet in a specific time?

2002-04-11 Thread Steven Elliott
On 11/04/02 7:25, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > From: Kelly Prudente Pereira [mailto:[EMAIL PROTECTED]] > Sent: quarta-feira, 10 de Abril de 2002 23:04 > To: '[EMAIL PROTECTED]' > Subject: How can I automatically start a servlet in a specific time? > > > Can anyone answer my

Re: Singleton pattern using Servlet init() and - Solved

2002-03-31 Thread Steven Elliott
For the record the problem of multiple instances of a singleton being instantiated at application startup was related to a misconfiguration of Virtual Hosts in my server.xml file. The host appBase was incorrectly set for all my virtual hosts allowing them access to the web.xml file of other virtu

Re: Singleton pattern using Servlet init() and ?

2002-03-30 Thread Steven Elliott
On 29/03/02 22:04, "Wil Doane" <[EMAIL PROTECTED]> wrote: > Steven- > > I've focused on enforcing Singleton on the DATA MODEL ONLY by using a > minimal MVC structure... I couldn't care less how many instances of > the controller accessing my data model exist, so long as they all > access the sam

Singleton pattern using Servlet init() and ?

2002-03-29 Thread Steven Elliott
I have tried just about every way I know or can invent but cannot seem to put my head around the problem of implementing a single instance of my servlet and using . If I put my Singleton servlet in my application directory and in the WEB.XML file direct it to it gets instantiated and initialized

Passing a Tomcat JNDI context to a jCrontab task

2002-03-28 Thread Steven Elliott
Apologies if this is too off topic. I am looking at using the jCrontab servlet to do some task scheduling most of which has to do with mailing reports generated from data in the application's database. Although I could do this using the Class.forName() paradigm I would like to use the same Datas

DBCP, Pool and Collections - Further thoughts

2002-03-25 Thread Steven Elliott
In my servlet I changed the Datasource reference to a BasicDataSource reference. Now when I try to lookup the BasicDataSource with the following call: BasicDataSource bds = (BasicDataSource) envCtx.lookup("jdbc/EmployeeDB"); I get the same error reported in my previous post but with a Root Cau

Re: Tomcat on Mac OS X, please help!

2002-03-25 Thread Steven Elliott
Apologies for not including this in my original reply. Here are the lines in the $CATALINA_HOME/examples/WEB.XML file that should be on or about lines 68 - 73. If you comment these out exceptions for filters.SetCharacterEncodingFilter should disappear (even if you leave in the declaration for th

Commons Collections, Pool and DBCP - IllegalStateException

2002-03-24 Thread Steven Elliott
Craig, I had the chance today to follow your instruction for installation of the Commons project Collections, Pool and DBCP. I downloaded the March 24 nightly of each and moved the appropriate jars into the $CATALINA_HOME/common/lib directory. I changed the Resource-params as indicated to:

Re: Tomcat on Mac OS X, please help!

2002-03-24 Thread Steven Elliott
On 23/03/02 14:55, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > From: [EMAIL PROTECTED] > Date: 22 Mar 2002 23:27:40 -0800 > To: [EMAIL PROTECTED] > Subject: Re: Tomcat on Mac OS X, please help! > > Went rooting around in my logs and found this in localhost_examples_log... > > 2002-03-23 02

MacOS X - Changing JAVA_OPTS for 8859_1 encoding

2002-03-18 Thread Steven Elliott
From: Dave Makower <[EMAIL PROTECTED]> > > I think the correct syntax would be: > > JAVA_OPTS="-Dfile.encoding=8859_1" > > The quotes aren't really important, but the -D is. If that was just a typo > in your message, then I'm not really sure what the problem is. But if that > was actually wh

UNIX JAVA_OPTS variables syntax quaestion

2002-03-17 Thread Steven Elliott
I am not a shell expert but none of the following settings from the terminal (tcsh) invoking the startup.sh are working: setenv JAVA_OPTS file.encoding=Latin-1 setenv JAVA_OPTS -Dfile.encoding=Latin-1 setenv JAVA_OPTS -Dfile.encoding=\"Latin-1\" If I go in and manually replace $JAVA_O

MacOS X - Changing JAVA_OPTS for 8859_1 encoding

2002-03-17 Thread Steven Elliott
Sorry if this is off topic but I know there are OSX, Tomcat users here who may be able to shed some light on my problem. The problem has to do with ASCII characters >128 for locale character support such as tilde, circumflex, etc. while running Tomcat (4.0.3) on MacOS 10.1.3 w/ java version 1.3.1

Managing Tomcat(4.0.x) JNDI JDBC pool resources - Craig?

2002-03-16 Thread Steven Elliott
Apologies in advance if this has already been answered in another thread but my searches have turned up numerous references to JNDI & pooling & JDBC - etc. but only one post mentioned managing container (Tomcat) pool resources and that question went unanswered as far as I could tell. Nor did I fi

[TC4.01] Session Not Established on Mac IE?

2002-03-06 Thread Steven Elliott
ned from HttpSession.getId() and (from the browser side) the JSESSIONID returned from the JavaScript document.cookie are exactly the same. The same test might give you some insight. HTH Steven Elliott <[EMAIL PROTECTED]> Systems Integrator Interactive Tecnologia, Lda. Lisbon

Re: getParameterMap() question

2002-02-06 Thread Steven Elliott
> From: August Detlefsen <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > Date: Wed, 6 Feb 2002 12:25:25 -0800 (PST) > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: Re: getParameterMap() question > > All request parameters are Strings: > > public java.lang.String getParameter(java.lang

Re: getParameterMap() question

2002-02-06 Thread Steven Elliott
Never mind. I should know an array when I see one 8ยง. Apologies for the extra traffic Steven -- To unsubscribe: For additional commands: Troubles with the list:

getParameterMap() question

2002-02-06 Thread Steven Elliott
Sorry if this is somewhat offtopic but maybe some experts here can help clear this up for me. I would like to use the ServletRequest.getParameterMap() in a JSP page using the request object. I post a form in the previous page using the POST method and the request in processed with the following

getPathTranslated - Bug?

2002-01-11 Thread Steven Elliott
t;C:\Tomcat_401\webapps\upload\moreInformation" In both cases the url is: http://localhost/upload/servlet/HelloWorld/moreInformation?name=value Thanks for your help Steven Elliott //* Steven Elliott <[EMAIL PROTECTED]> Head of Technology VTV Learning Corporation

getPathTranslated ?

2002-01-08 Thread Steven Elliott
27;m a little puzzled and I haven't seen anything mentioned in the archives about this behaviour and I don't know if it is to be expected? Steven Elliott //* Steven Elliott <[EMAIL PROTECTED]> Head of Technology VTV Learning Corporation Los Angel

Re: browsing web pages served by Tomcat 3.2.3 using a MACINTOSH ?

2001-09-05 Thread Steven Elliott
No problem with a Mac. Either 9.x or OS X with IE 5.x work fine. As a matter of fact I've got Tomcat 4.0b7 running on one OS X 10.0.4 machine. I'd recheck your code. HTH //* Steven Elliott <[EMAIL PROTECTED]> Head of Technology VTV Learning Corporation Los An

Re: Catalina New Features: Startup as root

2001-08-31 Thread Steven Elliott
>>> Steven Elliott wrote: >>> Anyone got this to work via inetd? Don't mean to be stupid >>> but I have no >>> idea what *JavaService or equivalent* is.<8( >> jean-frederic clere wrote: >> >> jakarta-tomcat-service? > Stev

Re: Catalina New Features: Startup as root

2001-08-30 Thread Steven Elliott
ice*? Can it make coffee? Still a little unclear on how to get this to work with inetd? //* Steven Elliott <[EMAIL PROTECTED] Head of Technology VTV Learning Corporation Los Angeles - Boston - Lisbon (http://www.vtvLearning.com/)

Catalina New Features: Startup as root

2001-08-30 Thread Steven Elliott
root) when started by JavaService or equivalent service managers. - Anyone got this to work via inetd? Don't mean to be stupid but I have no idea what *JavaService or equivalent* is.<8( //* Steven Elliott <[EMAIL PROTECTED] Head of Technology VTV Learning

"web-app" not getting declared SAXParseException - 4.0-b6

2001-08-09 Thread Steven Elliott
SDK 1.3 *** Catalina.out *** Starting service Tomcat-Standalone Apache Tomcat/4.0-b6 PARSE error at line 1 column -1 org.xml.sax.SAXParseException: Element type "web-app" is not declared. Starting service Tomcat-Apache Apache Tomcat/4.0-b6 TIA Steven Elliott

Documentation for Tomcat 4.0

2001-07-27 Thread Steven Elliott
(Tomcat v.4) I would really, really appreciate it. TIA Steven Elliott <[EMAIL PROTECTED]> Systems Integrator Interactive Tecnologia, Lda. LisbonPortugal tel: +351 21 440 8090 fax: +351 21 441 7242 --