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

heap size

2003-07-23 Thread Geoff Peters
vices from 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:[E

RE: config help

2003-07-23 Thread Geoff Peters
is significant. I would say it is probably a good 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 t

RE: config help

2003-07-23 Thread Geoff Peters
ficant. I would say it is probably a good 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 c

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 PROTE

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: 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

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.

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

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 hours,

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 tags - for some reason sometimes you need closing 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 fiddling around with var

[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: default document question

2003-02-19 Thread Geoff Peters
index.html index.htm 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 the default document in a webapp from >"index.html" in Tomcat Standalone 4.1.18? &g

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: 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 fu

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 Excuse me, Mr. Ricker, I don't believe we have ever met before, but if we have and I have forgotten *please* excuse m

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 acceptin

RE: JDBC Realm Authentication Problem

2003-02-07 Thread Geoff Peters
directory="logs" prefix="gpeters_access_log." >> suffix=".txt" >> pattern="common" resolveHosts="false"/> >> >> > directory="logs" prefix="gpeters_log." suffix=".

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 [mailto:[E

JDBC Realm Authentication Problem

2003-02-06 Thread Geoff Peters
SERVER.XML: Geoff Peters, BScFE, AIT Phone : (441

[OFFTOPIC] MySQL Exception - Need Suggestions

2003-02-03 Thread Geoff Peters
somewhere before I try 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 Hami

RE: MySQL/Tomcat startup problem

2003-01-31 Thread Geoff Peters
Friday, January 31, 2003 2:21 PM To: 'Tomcat Users List' Subject: RE: MySQL/Tomcat startup problem Try using an & in place of the ; in your connectionURL: connectionURL="jdbc:mysql://javadev.logic.bm/steve?user=user&password=pa ssword" > -Original Message-

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 t

RE: debugging help

2003-01-31 Thread Geoff Peters
p.jar;server/catalina.jar" org.apache.catalina.startup.Bootstrap start HTH, Matt > -----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 fo

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 fil

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

tomcat-user@jakarta.apache.org

2003-01-15 Thread Geoff Peters
. 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: G

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 i

RE: Can't find servlet

2003-01-13 Thread Geoff Peters
n 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 find servlet > > > John - You solved another one of my problems that I wasn't

RE: Can't find servlet

2003-01-13 Thread Geoff Peters
ust one context-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 >-----Ori

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 o

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

wrong realm being used

2003-01-13 Thread Geoff Peters
r, which I don't 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

tomcat manager question

2003-01-13 Thread Geoff Peters
r, which I don't 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

tomcat manager question

2003-01-10 Thread Geoff Peters
r, which I don't 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

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) -

RE: Tomcat Unexplained Shutdown

2002-06-11 Thread Geoff Peters
e job of taking 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 (th

RE: Tomcat Unexplained Shutdown

2002-06-11 Thread Geoff Peters
mysql (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) > -Ursprüngliche Nachricht- &

RE: Tomcat Unexplained Shutdown

2002-06-11 Thread Geoff Peters
e 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. > -Ursprüngliche Nachricht- > Von: Geoff Peter

RE: Tomcat Unexplained Shutdown

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

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 fi

RE: Tomcat Unexplained Shutdown

2002-06-11 Thread Geoff Peters
lone or behind a web 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 > -Ursprüngliche Nachricht----- > Von: Geoff Peters [mailto:[EMAIL PROTECTED]] > Gesendet:

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 that

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 d

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

2002-06-06 Thread Geoff Peters
ght I 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 Yo

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

2002-06-06 Thread Geoff Peters
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 either use the tomcat-user

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

2002-06-06 Thread Geoff Peters
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: 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. TAHNK

RE: Bypassing user role assignment???

2002-06-04 Thread Geoff Peters
way when you create a new 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

RE: Bypassing user role assignment???

2002-06-04 Thread Geoff Peters
I see, 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 assign

Bypassing user role assignment???

2002-06-04 Thread Geoff Peters
ther - 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 unsu

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 uploa

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:[EM