RE: Change Max Post Size

2006-02-15 Thread Carl Olivier
Hi. Its done in the Connector tag within the /conf/server.xml - see the docs for the exact attribute but I believe it's the maxPostSize attribute. Regards, Carl -Original Message- From: Diwan, Dronesh (Genworth, Contractor) [mailto:[EMAIL PROTECTED] Sent: 15 February 2006 16:01 To: use

RE: Using Tomcat 5.5 as a standalone web server

2006-01-11 Thread Carl Olivier
### "Adam Johnston" <[EMAIL PROTECTED]> wrote message to "George Sexton" <[EMAIL PROTECTED]>, "Tomcat Users List" ### ### this is reply for: RE: Using Tomcat 5.5 as a standalone web server ### > Thanks George and to Tim for his answer also - George's example seems > to be a reliable indicator of

RE: question

2006-01-03 Thread Carl Olivier
Hi. A lot of people on this forum Top Post. Is this really such a big issue? -Original Message- From: Rafal Zawadzki [mailto:[EMAIL PROTECTED] Sent: 03 January 2006 16:26 To: Tomcat Users List Subject: Re: question ### [EMAIL PROTECTED] wrote message to "Tomcat Users List" ### ### thi

Season's Greetings

2005-12-23 Thread Carl Olivier
Greetings to all Tomcat folk! For all of you that celebrate Chrsitmas - a very merry one indeed! A big thank you to all the Tomcat contributors - for all the great work and effort being done in such a selfless way! I, for one, really appreciate your efforts! Regards, Carl

RE: java.lang.OutOfMemoryError: PermGen space

2005-12-22 Thread Carl Olivier
Greetings. AFAIK PermGenSpace is not TC related - its within the JVM and is where permanent memory related loads go - which includes classes loaded by ClassLoaders. Additionally - AFAIK this PermGenSpace does NOT get cleared by the Garbage collector - and only a restart of the JVM will rid you of

RE: setup for web designers?

2005-12-13 Thread Carl Olivier
I would agree with Chuck - Tomcat standalone has been a far better and robust solution for since 5.0.18 was released - and hoping it will improve (actually am sure it will) with 5.5.x! I did use TC 3 and 4 with Apache - which was never ideal or stable (maybe my fault that) - but TC 5+ is really g

RE: Securing File System Resources ?

2005-12-12 Thread Carl Olivier
Hi. I have used option 1 in your list with no problem. Others seem ok, but I have not tried them - have an innate paranoia about proxies I guess. Rgds, Carl -Original Message- From: Dov Rosenberg [mailto:[EMAIL PROTECTED] Sent: 13 December 2005 00:10 To: WebObjects Dev; Tapestry users

RE: Question related to adding new services dynamically

2005-12-09 Thread Carl Olivier
Hi. Not sure if it is the most "approved" option, but there is a priveleged attribute in the which when set to true (privileged="true") gives the classloader (and your classes) access to the tomcat/catalina internals - thus no need for your "hacking" etc. Just a thought. Regards, Carl -O

RE: Why only one Connector per Service?

2005-12-09 Thread Carl Olivier
-Original Message- From: Carl Olivier [mailto:[EMAIL PROTECTED] Sent: 09 December 2005 15:26 To: 'Tomcat Users List' Subject: RE: Why only one Connector per Service? Hi. You can specify an address/port configuration per connector (yes you can have multiple) for a single ser

RE: Why only one Connector per Service?

2005-12-09 Thread Carl Olivier
Hi. You can specify an address/port configuration per connector (yes you can have multiple) for a single service. E.g. As long as each BIND event for that service is unique per connector (on an address/port basis) you are fine. Remember that all Hosts within that Engine/Service will be acce

RE: Howto delete a file with a servlet???

2005-12-07 Thread Carl Olivier
Hi. Solution 2 - 1 is not a great idea! Also, try something like: String fileName = request.getParameter("Id") + ".xml"; File toDel = new File("c:\\", fileName); //get some info out.println("File exists:" + toDel.exists()); out.println("File is readOnly: " + !toDel.canWrite()); If (toDel.exists(

RE: Howto delete a file with a servlet???

2005-12-07 Thread Carl Olivier
Hi. Solution 2 - 1 is not a great idea! Also, try something like: String fileName = request.getParameter("Id") + ".xml"; File toDel = new File("c:\\", fileName); //get some info out.println("File exists:" + toDel.exists()); out.println("File is readOnly: " + !toDel.canWrite()); If (toDel.exists(

RE: Tomcat 5.0.18 crashes everyday

2005-12-07 Thread Carl Olivier
Hi. I would suggest settings some JVM memory switches, for example: -XX:+UseParallelGC (you have multiple processors?) -XX:+DisableExplicitGC (in case code is calling System.gc()) -Xss128k(Small native thread stack size mem allocations) Also - you will notic

RE: Did any one get TomCat5.0.28 + IIS 5 + JK1.2 work

2005-12-06 Thread Carl Olivier
Hi. My experience - after trying Apache with jk and jk2 - as well as with IIS with the ISAPI filter - is simply to use Tomcat stand alone! I have had excellent performance from 5.0.28 for a good couple of months - and am currently in the process of upgrading to 5.5.x (in testing env's at this sta

RE: problem loading class in TomCat

2005-12-06 Thread Carl Olivier
Hi Camilla. Is there any chance you could zip up your webapp's ROOT folder and send it over? Would be happy to take a closer look if there isn't anything sensitive in there! Regards, Carl -Original Message- From: Camila Kozlowski Della Corte [mailto:[EMAIL PROTECTED] Sent: 06 Decembe

RE: SSL InvalidKeystore Format?

2005-12-05 Thread Carl Olivier
e wheel, being able to convert between keystore/PEM(RSA) encoded private key/certificates with a simple java app might be better than forcing peeps to learn how to install/configure OpenSSL on their respective platforms. -rOcK -----Original Message- From: Carl Olivier [mailto:[EMAIL PROTECTED] S

RE: SSL InvalidKeystore Format?

2005-12-05 Thread Carl Olivier
Hi Nate. I am not sure if this is relevant, but think it is - the private keys, CSRs and certificates I am using with tomcat (as per my email from yesterday -- although I have not posted my mechanism for exporting PFX and PEM certificates -with Private Keys etc) have been used as is imported into

RE: SSL InvalidKeystore Format?

2005-12-04 Thread Carl Olivier
Greetings. Not sure if this will help, but I spent a lot of time fighting with certificates for use with Tomcat - from CSRs to issued certificates from the CAs - as well as using PFX files as exported from other webservers etc.. I have however got it working great, and thought to give you my step

RE: How much memory will Tomcat 5.5/Java 5 support?

2005-12-03 Thread Carl Olivier
in our case). What gains/loss do you see over using -XX:AggressiveHeap (dynamic, adjustible settings) vs hard coding fixed settings like you suggest? -rOcK -Original Message- From: Carl Olivier [mailto:[EMAIL PROTECTED] Sent: Saturday, December 03, 2005 7:43 AM To: 'Tomcat Users

RE: How much memory will Tomcat 5.5/Java 5 support?

2005-12-03 Thread Carl Olivier
Hi Joe. Well, heres how I run it - and remember this is all dependent on the beakdown of requirements of the following: 1. Web app memory needs - how memory intensive are your web apps within Tomcat going to be? 2. Concurrent connections (tcp threads) for incoming requests - how busy will the w

RE: How much memory will Tomcat 5.5/Java 5 support?

2005-12-03 Thread Carl Olivier
Hi. Are you running a 64bit or 32bit OS? If 32bit the JVM will not be able to assign higher that 2gb for a single process (which includes system overheads etc). You will need to move to a 64bit OS to be able to create higher Heap. I would check your OS memory/kernel/process memory documentation

RE: memory limit for tomcat?

2005-12-02 Thread Carl Olivier
I would alos suggest leaving an equal amount (or thereabouts) of RAM to the OS for native allocation. I found - after months of fighting, that assigning too much to the JVM heap can also have detrimental effects. Another thing to look at is to drop the native stack size allocated to threads - the

RE: ssl deployment recommendations

2005-11-26 Thread Carl Olivier
I concur. I use tomcat without Apache and mod_jk due to the fact that in my testing it worked far better! SSL no problem either! Rgds, Carl -Original Message- From: Hassan Schroeder [mailto:[EMAIL PROTECTED] Sent: 26 November 2005 19:05 To: Tomcat Users List Subject: Re: ssl deployme

RE: Filters

2005-11-25 Thread Carl Olivier
ading config from file or database). If you are using mod_jk then you might have to change your mapping in to tomcat. I've been implementing this by using filters for a long time, never had problems with it. hope it helps - -reynir Carl Olivier wrote: > Greetings. > > I have a

Filters

2005-11-25 Thread Carl Olivier
Greetings. I have a questions regarding Filter servlets. If a request is made for a non-existent/non *.jsp or servlet URI - will the Filter be instantiated? Reason I ask is because I want to interect old bookmarked requests for an old site - which has been migrated to a new tomcat based JSP site

RE: JDK Date version 49.0 vs 48.0 problem

2005-11-22 Thread Carl Olivier
. Regards, Carl -Original Message- From: Carl Olivier [mailto:[EMAIL PROTECTED] Sent: 22 November 2005 20:33 To: 'Tomcat Users List' Subject: RE: JDK Date version 49.0 vs 48.0 problem It appears you are running the 1.4 javac using 1.5 rt.jar library. Ensure that you have you

RE: JDK Date version 49.0 vs 48.0 problem

2005-11-22 Thread Carl Olivier
It appears you are running the 1.4 javac using 1.5 rt.jar library. Ensure that you have your compiler (JDK home) set up correctly. Regards, Carl -Original Message- From: Daxin Zuo [mailto:[EMAIL PROTECTED] Sent: 22 November 2005 20:26 To: Tomcat Users List Subject: JDK Date version 49

RE: Tomcat on Mac

2005-11-08 Thread Carl Olivier
thing like that in easily? Thanks. Carl -Original Message- From: Edoardo Panfili [mailto:[EMAIL PROTECTED] Sent: 08 November 2005 16:37 To: Tomcat Users List Subject: Re: Tomcat on Mac Carl Olivier ha scritto: > Greetings. > > Ok, well I can verify that it breaks every tim

RE: Tomcat on Mac

2005-11-08 Thread Carl Olivier
have it. I am using jfreechart 0.9.20. Regards, Carl -Original Message- From: Edoardo Panfili [mailto:[EMAIL PROTECTED] Sent: 08 November 2005 15:50 To: Tomcat Users List Subject: Re: Tomcat on Mac Carl Olivier ha scritto: > Greetings. > > I am having a problem with my Tomc

Tomcat on Mac

2005-11-08 Thread Carl Olivier
Greetings. I am having a problem with my Tomcat server (5.0.28) running on Mac XServe. Not sure if anyone here can help, but trying my luck... output from /usr/bin/sw_vers below: ProductName:Mac OS X Server ProductVersion: 10.4.2 BuildVersion: 8C47 java - version output: java versio

RE: Tomcat WAP/WML

2005-11-08 Thread Carl Olivier
teway. The mobile operator's have them and they proxy the browser request :) You just need to make sure the wml you vend is valid and sent with the correct mime type and the operator's gateway will do the rest (conversion to wmlc, a wbxml tokenized version of the markup). HTH, Jon Car

RE: Tomcat WAP/WML

2005-11-08 Thread Carl Olivier
Thanks! Appreciate that. -Original Message- From: t.n.a. [mailto:[EMAIL PROTECTED] Sent: 08 November 2005 11:54 To: Tomcat Users List Subject: Re: Tomcat WAP/WML Carl Olivier wrote: >Hi. > >Thanks for the info - but I was actually wonderin about the whole WAP >gateway

RE: Tomcat WAP/WML

2005-11-08 Thread Carl Olivier
stack and send to the web server? Thanks. Carl -Original Message- From: t.n.a. [mailto:[EMAIL PROTECTED] Sent: 08 November 2005 11:44 To: Tomcat Users List Subject: Re: Tomcat WAP/WML Carl Olivier wrote: >Greetings > >This may be a very stupid question, but I am busy researchin

Tomcat WAP/WML

2005-11-08 Thread Carl Olivier
Greetings This may be a very stupid question, but I am busy researching serving WML content to WAP devices - from my existing Tomcat (5.0.28) server - from existing web apps - as the content is shared - standard HTML/HTTP via JSP - would like to provide a WAP/WML access point to the same site/cont