something strange need help

2002-05-16 Thread Geoff Peters
Geoff Peters, BScFE, AIT Phone : (441) 296-9640 Applications DeveloperFax: (441) 292-1509 Logic Communications E-mail : [EMAIL PROTECTED] 12 Par-La-Ville Road WWW: http://www.logic.bm Hamilton, Bermuda HM JX -- To unsubscribe, e-mail: mailto:[EMAIL

RE: uploading files software

2002-05-17 Thread Geoff Peters
If you are referring to the com.oreilly package I have used it successfully for a personal application, it works quite well, I'm not sure of any file size restriction though Problems with multi file upload though, as you need to have multiple File controls on your HTML form (i.e. 3

Bypassing user role assignment???

2002-06-04 Thread Geoff Peters
- any thoughts? Thanks Geoff Geoff Peters, BScFE, AIT Phone : (441) 296-9640 Applications DeveloperFax: (441) 292-1509 Logic Communications E-mail : [EMAIL PROTECTED] 12 Par-La-Ville Road WWW: http://www.logic.bm Hamilton, Bermuda HM JX -- To unsubscribe

RE: Bypassing user role assignment???

2002-06-04 Thread Geoff Peters
, is to create your own realm by extending JDBC Realm and overriding the hasRole() method. -Ursprüngliche Nachricht- Von: Geoff Peters [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 4. Juni 2002 13:19 An: [EMAIL PROTECTED] Betreff: Bypassing user role assignment??? Does anyone

RE: Bypassing user role assignment???

2002-06-04 Thread Geoff Peters
user a role is automatically created for them with the role of default role. Then you don't have to change anything or rewrite the hasRole() method. -Original Message- From: Geoff Peters [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 04, 2002 1:36 PM To: Tomcat Users List Subject: RE

RE: CrossContext

2002-06-05 Thread Geoff Peters
I take it from her 400 emails that she does not know who we are. -Original Message- From: anette mysel [mailto:[EMAIL PROTECTED]] Sent: June 5, 2002 12:06 PM To: Tomcat Users List Subject: Re: CrossContext PLEASE REMOVE ME FROM YOUR MAILING LIST. I DO NOT KNOW YOU.

RE: Help! I am so stuck. Tomcat NT credential

2002-06-06 Thread Geoff Peters
an authentication set up against an Access database, really straightforward... http://jakarta.apache.org/tomcat/tomcat-4.0-doc/realm-howto.html Geoff Geoff Peters, BScFE, AIT Phone : (441) 296-9640 Applications DeveloperFax: (441) 292-1509 Logic Communications E-mail

RE: Help! I am so stuck. Tomcat NT credential

2002-06-06 Thread Geoff Peters
. Bao-Ha Dam Bui [EMAIL PROTECTED] S. Jude Medical, Inc 651.765.1018 -Original Message- From: Geoff Peters [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 06, 2002 11:46 AM To: Tomcat Users List Subject: RE: Help! I am so stuck. Tomcat NT credential You can either use the tomcat-users.xml

RE: Help! I am so stuck. Tomcat NT credential

2002-06-06 Thread Geoff Peters
should ask.) Thanks again. Bao-Ha Dam Bui [EMAIL PROTECTED] S. Jude Medical, Inc 651.765.1018 -Original Message- From: Geoff Peters [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 06, 2002 11:46 AM To: Tomcat Users List Subject: RE: Help! I am so stuck. Tomcat NT credential You can

Tomcat Unexplained Shutdown

2002-06-07 Thread Geoff Peters
I am running Tomcat 4.0.2 on Windows NT 4.0, it is running a web based faxing application that users can attach a document to send to a server process that sends it as an attachment. This is done using servlets. Every so often, if a user uploads an attachment the server doesn't like, it shuts

Tomcat Unexplained Shutdown

2002-06-11 Thread Geoff Peters
-Original Message- From: Geoff Peters Sent: June 7, 2002 11:12 AM To: Tomcat Users List Subject: Tomcat Unexplained Shutdown I am running Tomcat 4.0.2 on Windows NT 4.0, it is running a web based faxing application that users can attach a document to send to a server process

RE: Tomcat Unexplained Shutdown

2002-06-11 Thread Geoff Peters
server - If behind a web server which one, and which connector in which version do you use ? - Do you use any library that includes native libraries ? - e.g. JDBC Driver -Ursprngliche Nachricht- Von: Geoff Peters [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 11. Juni 2002 13:34

RE: Tomcat Unexplained Shutdown

2002-06-11 Thread Geoff Peters
- I bet the driver is not thread safe. So if tomcat is trying to serve 2 different requests concurrently, it may be dying in native odbc code. -Tim Geoff Peters wrote: Here are the uncompiled servlets (the ones that would possibly cause the shutdowns) - if you need the associated jar file let me

RE: Tomcat Unexplained Shutdown

2002-06-11 Thread Geoff Peters
microsoft. (they licensed it from merant) http://msdn.microsoft.com/downloads/sample.asp?url=/MSDN-FILES/027/001/7 79/msdncompositedoc.xmlframe=true I don't think that the IIS is a cause in your case. My second guess is to try the JDK from IBM -Ursprngliche Nachricht- Von: Geoff Peters

RE: Tomcat Unexplained Shutdown

2002-06-11 Thread Geoff Peters
they are shared between two concurrent requests to the same servlet. - Maybe you should use Throwable instead of Exception try { } catch {Throwable ex} } This way you will have also control about the Errors that might occur. -Ursprngliche Nachricht- Von: Geoff Peters [mailto:[EMAIL

RE: Tomcat Unexplained Shutdown

2002-06-11 Thread Geoff Peters
(Although I personally don't like it much it might be good enough for you: No Views, No Subselects) http://www.mysql.com/downloads/mysql-max-3.23.html - postgreSQL (I like it more, but it's much harder to get started, esp. under windows) -Ursprngliche Nachricht- Von: Geoff Peters [mailto

RE: Tomcat Unexplained Shutdown

2002-06-11 Thread Geoff Peters
down Tomcat. Cheers, Larry -Original Message- From: Geoff Peters [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 8:13 AM To: Tomcat Users List Subject: RE: Tomcat Unexplained Shutdown Here are the uncompiled servlets (the ones that would possibly cause the shutdowns

RE: Book recommendation

2002-06-21 Thread Geoff Peters
I've got the James Goodwill book - it is good for a beginner to Tomcat and servlet / jsp technology, very easy to follow and well written - but not a lot of detail on specific tweaking / configuration issues. There is a new Tomcat book being published this month or next month (can't remember)

tomcat manager question

2003-01-10 Thread Geoff Peters
to do. Thanks!! Geoff Geoff Peters, BScFE, AIT Phone : (441) 296-9640 Applications DeveloperFax: (441) 292-1509 Logic Communications E-mail : [EMAIL PROTECTED] 12 Par-La-Ville Road WWW: http://www.logic.bm Hamilton, Bermuda HM JX -- To unsubscribe, e

tomcat manager question

2003-01-13 Thread Geoff Peters
want to do. Thanks!! Geoff Geoff Peters, BScFE, AIT Phone : (441) 296-9640 Applications DeveloperFax: (441) 292-1509 Logic Communications E-mail : [EMAIL PROTECTED] 12 Par-La-Ville Road WWW: http://www.logic.bm Hamilton, Bermuda HM JX -- To unsubscribe, e

wrong realm being used

2003-01-13 Thread Geoff Peters
to do. Thanks!! Geoff Geoff Peters, BScFE, AIT Phone : (441) 296-9640 Applications DeveloperFax: (441) 292-1509 Logic Communications E-mail : [EMAIL PROTECTED] 12 Par-La-Ville Road WWW: http://www.logic.bm Hamilton, Bermuda HM JX -- To unsubscribe, e

RE: Can't find servlet

2003-01-13 Thread Geoff Peters
John - You solved another one of my problems that I wasn't even sure that I had! (did that make sense??) If I uncomment that servlet-mapping block for the invoker my servlet works, if not, my servlet throws the servlet not available error. The funny thing is I have declared all of my servlets

RE: Opinions of available Tomcat books

2003-01-13 Thread Geoff Peters
Bill - I recently purchased Mastering Tomcat Development (Wiley)by Peter Harrison and Ian McFarland, and Professional Apache Tomcat - WROX (9 authors). The Goodwill book was the first one I purchased, and it was good for initial setup and basic application deployment, however as Subir said once

RE: Can't find servlet

2003-01-13 Thread Geoff Peters
-param for this. Every servlet can then get it by doing getServletContext().getInitParameter(driver); You don't need to declare your servlets in $CATALINA_HOME/conf/web.xml, only in your own webapp's web.xml. Yoav Shapira Millennium ChemInformatics -Original Message- From: Geoff Peters

RE: Can't find servlet

2003-01-13 Thread Geoff Peters
implications. I'm more sys-admin than developer, so there's probably more to it that one of the real developers on this list can explain. John -Original Message- From: Geoff Peters [mailto:[EMAIL PROTECTED]] Sent: Monday, January 13, 2003 4:19 PM To: Tomcat Users List Subject: RE: Can't

RE: servlet with Tomcat

2003-01-14 Thread Geoff Peters
Nicola - Read the thread from yesterday with the titles Can't find servlet - I had the exact same problem, it has to do with the invoker servlet - you need to add specific mappings in your web.xml file for each servlet, and disable the mappings for the invoker servlet under /conf/web.xml, it is

context-param

2003-01-15 Thread Geoff Peters
it by doing getServletContext().getInitParameter(driver); You don't need to declare your servlets in $CATALINA_HOME/conf/web.xml, only in your own webapp's web.xml. Yoav Shapira Millennium ChemInformatics -Original Message- From: Geoff Peters [mailto:[EMAIL PROTECTED]] Sent: Monday

RE: tomcat-server

2003-01-24 Thread Geoff Peters
How about a metric adjustable wrench? -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Friday, January 24, 2003 10:04 AM To: 'Tomcat Users List' Subject: RE: tomcat-server LOL I used to run a pizza joint. I loved sending the new guy to one of the other stores in

debugging help

2003-01-31 Thread Geoff Peters
I am trying to configure a new realm for MySQL, and I am finding debuggin problems at this point is next to impossible and very frustrating. When I try to start Tomcat, the console window pops up for a second, an exception message is thrown and the window closes before I can read it. The log

RE: debugging help

2003-01-31 Thread Geoff Peters
-Original Message- From: Geoff Peters [mailto:[EMAIL PROTECTED]] Sent: Friday, January 31, 2003 6:52 AM To: [EMAIL PROTECTED] Subject: debugging help I am trying to configure a new realm for MySQL, and I am finding debuggin problems at this point is next to impossible and very

MySQL/Tomcat startup problem

2003-01-31 Thread Geoff Peters
Hello again - I have spent most of the day on this and don't seem to be getting anywhere, searched the archives here and the java.sun.com forums to no avail. Running Tomcat 4.1.18 on my dev box Win2K Server, running MySQL 3.23.49 on the same network on a Redhat 7.3 install. I am simply trying

RE: MySQL/Tomcat startup problem

2003-01-31 Thread Geoff Peters
To: 'Tomcat Users List' Subject: RE: MySQL/Tomcat startup problem Try using an amp; in place of the ; in your connectionURL: connectionURL=jdbc:mysql://javadev.logic.bm/steve?user=useramp;password=pa ssword -Original Message- From: Geoff Peters [mailto:[EMAIL PROTECTED]] Sent: Friday

[OFFTOPIC] MySQL Exception - Need Suggestions

2003-02-03 Thread Geoff Peters
to download and update MySQL? Thanks, Geoff Geoff Peters, BScFE, AIT Phone : (441) 296-9640 Applications DeveloperFax: (441) 292-1509 Logic Communications E-mail : [EMAIL PROTECTED] 12 Par-La-Ville Road WWW: http://www.logic.bm Hamilton, Bermuda HM JX

JDBC Realm Authentication Problem

2003-02-06 Thread Geoff Peters
/ Logger className=org.apache.catalina.logger.FileLogger prefix=tomcat_MailApp_log. suffix=.txt timestamp=true / /Host /Engine /Service /Server Geoff Peters, BScFE, AIT Phone : (441) 296-9640 Applications DeveloperFax: (441) 292

RE: MemoryRealm

2003-02-06 Thread Geoff Peters
James - If you can find it the WROX book (Professional Apache Tomcat) - ISBN 1-86100-773-6 has pretty good examples of everything - I used it today to help me debug a JDBC realm, it is pretty good step by step instruction Geoff -Original Message- From: James R. Marcus

RE: JDBC Realm Authentication Problem

2003-02-07 Thread Geoff Peters
=tomcat_MailApp_log. suffix=.txt timestamp=true / /Host /Engine /Service /Server Geoff Peters, BScFE, AIT Phone : (441) 296-9640 Applications DeveloperFax: (441) 292-1509 Logic Communications E-mail : [EMAIL PROTECTED] 12 Par-La-Ville Road WWW: http

RE: COMMUNICATION LINK FAILURE

2003-02-07 Thread Geoff Peters
Laxmikanth - I was getting the exact same exception about a week ago, I spent a lot of time playing with MySQL and TOmcat, came to discover that it was something to so with the server where MYSQL was residing, my network admin saw the requests form TOmcat hitting the box, but it was not

RE: JTHOWTO

2003-02-12 Thread Geoff Peters
Too funny John! -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 12, 2003 4:37 PM To: 'Tomcat Users List' Subject: RE: JTHOWTO Steve ON Excuse me, Mr. Ricker, I don't believe we have ever met before, but if we have and I have forgotten *please*

RE: JDBC Realm problem

2003-02-18 Thread Geoff Peters
Gregg - Are Tomcat and MySQL on the same box? I had some previous issues with not being able to reach the box, also had to do a lot of friggin with the permissions in MySQL. I am assuming you have granted permission to 'uname' @ 'localhost' Here is a copy of my server.xml as is right now and

default document question

2003-02-19 Thread Geoff Peters
Dumb question here, but how do I change the default document in a webapp from index.html in Tomcat Standalone 4.1.18? Thanks, Geoff - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: default document question

2003-02-19 Thread Geoff Peters
-cowbell.html/welcome-file welcome-fileindex.jsp/welcome-file welcome-fileindex.html/welcome-file welcome-fileindex.htm/welcome-file /welcome-file-list For more detail see section 9.9 of the Servlet 2.3 Spec from sun. -Tim Geoff Peters wrote: Dumb question here, but how do I change

config help

2003-07-23 Thread Geoff Peters
performance over this 3-4 hour period?? Application is a series of MySQL based reports (all servlets), containing several select statements and using the MySQL JDBC driver. Thanks for any advice! Geoff Geoff Peters, SCJPPhone : (441) 296-9640 Applications DeveloperFax: (441) 292

RE: config help

2003-07-23 Thread Geoff Peters
. e.g. if your max number of connections is, 170 (like mine) then set your initial pool size to 140-150 so that there is practically no connection opening/closing done by your program while it's running. Andoni. - Original Message - From: Geoff Peters [EMAIL PROTECTED] To: [EMAIL PROTECTED

RE: config help

2003-07-23 Thread Geoff Peters
not expect heavy traffic. --- Geoff Peters [EMAIL PROTECTED] wrote: Andoni - thanks for the advice - someone else just mentioned the same thing in a reply (Riaan) - setting the datasource connection pool parameter - where would this parameter go? Is it a parameter at the server level config

RE: config help

2003-07-23 Thread Geoff Peters
practice to use this anyway, even if you do not expect heavy traffic. --- Geoff Peters [EMAIL PROTECTED] wrote: Andoni - thanks for the advice - someone else just mentioned the same thing in a reply (Riaan) - setting the datasource connection pool parameter - where would this parameter go

heap size

2003-07-23 Thread Geoff Peters
server.xml. Remove all unneeded webapps (examples, docs, etc.) from tomcat. If you're using a logging system that allows this configuration, turn off debug-level statements. Yoav Shapira Millennium ChemInformatics -Original Message- From: Geoff Peters [mailto:[EMAIL PROTECTED] Sent: Wednesday

RE: heap size

2003-07-23 Thread Geoff Peters
Thanks Yoav - one last dumb question and I will leave you alone! So by adding that to my environment variables list, Tomcat knows to add it as a startup parameter for Java? Or do I need to specify something else in the setclasspath.bat file as well?? Is there an easy way to check the JVM to see

[OT] - Excellent API

2003-03-13 Thread Geoff Peters
Waayy off topic here, just wanted to pass along a link to a very useful and well built Java API for reading from and writing to Excel spreadsheets, works like a charm. I was so impressed I had to pass it along to someone! http://www.andykhan.com/ Geoff

RE: Server.xml

2003-03-17 Thread Geoff Peters
Sandra - I have had similar experiences with similar frustrating results, and it always seems to be placement of the Context /Context tags - for some reason sometimes you need closing /Context tags, other times you don't, I can't seem to figure out when to use them and when not to, so I end up

Slightly OT: SocketException with MySQL

2003-04-01 Thread Geoff Peters
I am using Tomcat 4.1.18, MySQL 3.23, newest driver, running on Linux 7.3. Problem is similar to others who have posted on this subject, just want some advice (can't seem to get a definite answer). I'm not using connection pooling. If I walk away and leave the server running for several

Weird occurrence - thoughts??

2003-04-02 Thread Geoff Peters
Ok here is a new one to me - on my dev box (WIn 2K server, Tomcat 4.1.18), plugging along this morning, not working with config files at all, when I get the servlet not available message, on servlets and .html pages. Can't start anything from the manager, Tomcat will restart, but still cannot

RE: Weird occurrence - thoughts??

2003-04-02 Thread Geoff Peters
I would agree that (surprisingly?) it is probably a windows issue, but no to both of your suggestions, it is completely sitting on the local file system, and I didn't manually change permissions on that folder - however if it happens again I will check and see if they were changed somehow.

RE: Weird occurrence - thoughts??

2003-04-02 Thread Geoff Peters
(File.java:1313) Either that, or you ran out of swap and/or temp disk space. John On Wed, 2 Apr 2003 10:37:50 -0400, Geoff Peters [EMAIL PROTECTED] wrote: Ok here is a new one to me - on my dev box (WIn 2K server, Tomcat 4.1.18) , plugging along this morning, not working with config files