RE: Tomcat 5 Dies...

2004-11-25 Thread Carl Olivier
Increase the number of allowed file handles in your OS kernel settings. Google that for your particular OS. Carl -Original Message- From: Quinton Delpeche [mailto:[EMAIL PROTECTED] Sent: Thursday, November 25, 2004 12:09 PM To: [EMAIL PROTECTED] Subject: Tomcat 5 Dies... Okay, I

RE: Tomcat 5.5.4 - classes in classpath not being released

2004-11-23 Thread Carl Olivier
in classpath not being released On Mon, 22 Nov 2004 16:37:39 +0200, Carl Olivier [EMAIL PROTECTED] wrote: Ooppps. Sorry -meant 300 seconds! I think this could be improved, but the penalty will stay significant. antiJARLocking prevents locking through usage of getResource on the classloader (where

RE: How to disable directory listing

2004-11-23 Thread Carl Olivier
Yes there is. In the $CATALINA_HOME/conf/web.xml Change the init paramter listings to false see below: init-param param-namelistings/param-name param-valuefalse/param-value /init-param Regards, Carl -Original Message- From: Lee Chin Khiong

RE: Too many jars

2004-11-23 Thread Carl Olivier
Place your JARs in the WEB-INF/lib directory of your web app - or if they are shared in the /common/lib (5.x) location of Tomat. These locations are scanned and used automagically by Tomcat when doing classloading. You may want to check out the tomcat architecture descriptions for the version of

RE: Tomcat 5.5.4 - classes in classpath not being released

2004-11-22 Thread Carl Olivier
Hi. Further to my email below, I have noticed that it happens after the first time I re-deoply classes - i.e. after the first context reload... Carl -Original Message- From: Carl Olivier [mailto:[EMAIL PROTECTED] Sent: Monday, November 22, 2004 8:50 AM To: Tomcat Users List Subject

RE: Tomcat 5.5.4 - classes in classpath not being released

2004-11-22 Thread Carl Olivier
on the antiJARLocking or antiResourceLocking features of Tomcat 5.5.x (they are Context attributes, use either one but not both at the same time). Yoav Shapira http://www.yoavshapira.com -Original Message- From: Carl Olivier [mailto:[EMAIL PROTECTED] Sent: Monday, November 22, 2004 3:45 AM

RE: Tomcat 5.5.4 - classes in classpath not being released

2004-11-22 Thread Carl Olivier
-Original Message- From: Carl Olivier [mailto:[EMAIL PROTECTED] Sent: Monday, November 22, 2004 3:45 AM To: Tomcat Users List Subject: RE: Tomcat 5.5.4 - classes in classpath not being released Hi. Further to my email below, I have noticed that it happens after the first time I re-deoply

RE: Tomcat 5.5.4 - classes in classpath not being released

2004-11-22 Thread Carl Olivier
Shapira http://www.yoavshapira.com -Original Message- From: Carl Olivier [mailto:[EMAIL PROTECTED] Sent: Monday, November 22, 2004 9:37 AM To: Tomcat Users List Subject: RE: Tomcat 5.5.4 - classes in classpath not being released Hectic. When it says startup performance penalties its

RE: Tomcat 5.5.4 - classes in classpath not being released

2004-11-22 Thread Carl Olivier
Ooppps. Sorry -meant 300 seconds! -Original Message- From: Carl Olivier [mailto:[EMAIL PROTECTED] Sent: Monday, November 22, 2004 4:37 PM To: Tomcat Users List Subject: RE: Tomcat 5.5.4 - classes in classpath not being released Hectic. When it says startup performance penalties its

RE: help with out of memory error

2004-11-22 Thread Carl Olivier
Greetings. I would suggest using the following switch in your startup - you can research and tweak as required: -Xss512k I have had the same problem you are having on a number of occassions - where the JVM mem usage is NOT high, and the machine apparently has enough RAM allocated. After

RE: help with out of memory error

2004-11-22 Thread Carl Olivier
Oh another thing: C:\j2sdk1.4.2_04\jre\bin\client\jvm.dll Should read: C:\j2sdk1.4.2_04\jre\bin\server\jvm.dll So as not to cause a problem with the -server switch Carl -Original Message- From: Stephen Charles Huey [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 23, 2004 12:56 AM

Tomcat 5.5.4 - classes in classpath not being released

2004-11-21 Thread Carl Olivier
Greetings. Having the following problem using Tomcat 5.5.4 under JDK 1.5: After running my webapp for a bit in a development environment, I want to copy new and replacement classes to the webapp classes location, but sometimes (about 50/50) I cannot overrite/delete some of the classes - as the

RE: Problem with ssl

2004-11-21 Thread Carl Olivier
Hi. Thanks. Just cannot seem to see that attribute in the docs? Maybe I am just blind! :) Carl -Original Message- From: Bill Barker [mailto:[EMAIL PROTECTED] Sent: Saturday, November 20, 2004 9:42 PM To: [EMAIL PROTECTED] Subject: Re: Problem with ssl Carl Olivier [EMAIL

RE: SSL

2004-11-19 Thread Carl Olivier
this security constraint at the context definition level ? Richard -Message d'origine- De : Carl Olivier [mailto:[EMAIL PROTECTED] Envoyé : vendredi 19 novembre 2004 07:10 À : Tomcat Users List Objet : RE: SSL Alternatively, if you wish to accept HTTP connections, but redirect (forced

RE: SSL

2004-11-19 Thread Carl Olivier
CONFIDENTIAL /transport-guarantee /user-data-constraint /security-constraint -Original Message- From: Carl Olivier [mailto:[EMAIL PROTECTED] Sent: Friday, November 19, 2004 2:11 PM To: Tomcat Users List Subject: RE: SSL

RE: Problem with ssl

2004-11-19 Thread Carl Olivier
Greetings. Where is this specified? In which element? Thanks! Carl -Original Message- From: Bill Barker [mailto:[EMAIL PROTECTED] Sent: Saturday, November 20, 2004 4:42 AM To: [EMAIL PROTECTED] Subject: Re: Problem with ssl [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]

RE: SSL

2004-11-18 Thread Carl Olivier
Alternatively, if you wish to accept HTTP connections, but redirect (forced to https) you could add a security-constraint to your webapps /WEB-INF/web.xml - before the /web-app: security-constraint web-resource-collection web-resource-nameHTTP to

keystore manipulation

2004-11-15 Thread Carl Olivier
Greetings. I think I asked a similar question on this list a while ago - but did not get a response - so here goes one last time. I am importing/generating new certificates into the keystore that is set as the truststore for the JVM that runs Tomcat - via the javax.net.ssl.trustStore System

RE: Buffering and redirection to the errorPage

2004-11-11 Thread Carl Olivier
Greetings. Maybe I should rephrase my question. I do know how and why the behaviour is as it is... Rephrased question: In earlier versions of tomcat - if an exception was thrown and bubbled up before the response was committed, it was redirected to the error page. No problem. If the reponse

RE: http request sent to https port

2004-11-11 Thread Carl Olivier
Hi. Your HTTP Connector will default to 443 as the redirectPort. You then also must have a HTTPS Conntector listening on 443 in the same engine/service as the HTTP connector (i.e. the host must be accessible on both). The redirectPort will be used if you have a security-constraint specified in

Compression - problematic?

2004-11-10 Thread Carl Olivier
Greetings. I am trying out the compression feature on the HTTP Connector in Tomcat 5.0.27 and 5.0.28. I have simply set the connector attribute compression=on - everything else like buffering, socketBuffer etc has been left as default. The default list of MIME types to compress I have also

Buffering and redirection to the errorPage

2004-11-10 Thread Carl Olivier
Greetings. I have a question with regards buffering of output and subsequent errorPage redirection. Maybe I am missing something. The default buffer size for a JSP page response is 8kb. If an exception is thrown AFTER 8kb has been written (and the initial chunks has been committed) then the

RE: OutOfMemoryError: unable to create new native thread

2004-10-29 Thread Carl Olivier
Hi. No problem! :) Reduced Maintenance is definitely one reason. Another reason is that I generally share a connector on the same port/protocol - and place all of these in a Service / The other connectors are all for HTTPS sites - each running on the same port but bound to different Ips. I

OutOfMemoryError: unable to create new native thread

2004-10-28 Thread Carl Olivier
Greetings. I am periodically having to restart a normally very stable tomcat 5 instance due to: OutOfMemoryError: unable to create new native thread Now, as far as I understand the following are the reasons for this: - Actually ran out of memory - Hit max # of threads allowed to run (OS

RE: OutOfMemoryError: unable to create new native thread

2004-10-28 Thread Carl Olivier
Hi Yoav. Thanks for the response. I believe I have found the issue. Apparently Windows NT/2000 defaults to a 1mb virtual thread stack size per thread unless otherwise stated. In addition a maximum of 2gb of thread stack space per process is allowed by Windows (not sure if this can be changed

keystore manipulation

2004-10-06 Thread Carl Olivier
Greetings. Not sure if this is the right place to ask, but I reckon someone here will have some ideas! So here goes... I don't suppose anyone on the list knows of a way to dynamically (from code) reload a previously loaded keystore (e.g. one used with the system property:

Getting a handle to a Container/Catalina/Embedded instance

2004-07-29 Thread Carl Olivier
Greetings.. Not sure this is possible, but here goes: I want to be able to get a handle to the Catalina/Embedded instance in a standard Tomcat standalone implementation. I will deploy a webapp to the server/webapps location and mount it to a host which runs in its own service for security

RE: Getting a handle to a Container/Catalina/Embedded instance

2004-07-29 Thread Carl Olivier
-Original Message- From: Carl Olivier [mailto:[EMAIL PROTECTED] Sent: Thursday, July 29, 2004 11:47 AM To: Tomcat Users List Subject: Getting a handle to a Container/Catalina/Embedded instance Greetings.. Not sure this is possible, but here goes: I want to be able to get a handle

RE: Max possible ram usage

2004-07-21 Thread Carl Olivier
In addition, you also need to ensure that there is enough RAM left for the OS to use when assigning native heap. AFAIK the general rul of thumb is to have the same anount of RAM you assign to the JAVA HEAP left to the OS for the native heap. Carl -Original Message- From: Ralph Einfeldt

RE: can a virtual host have its own privatly used SSL certificate ?

2004-07-15 Thread Carl Olivier
Actually, you can as far as I know. What is required is a dedicated IP per virtual host. In the tomcat configuration you would add a SSL Connector / per virtual host, on port 443 (for example) eah bound to a separate IP - each with its own keystore - containing the cert for the relevant virtual

RE: can a virtual host have its own privatly used SSL certificate ?

2004-07-15 Thread Carl Olivier
Hi. OK, thanks! My terminology bad! Carl -Original Message- From: Graham Leggett [mailto:[EMAIL PROTECTED] Sent: 15 July 2004 03:16 PM To: Tomcat Users List Subject: Re: can a virtual host have its own privatly used SSL certificate ? Carl Olivier wrote: Actually, you can as far

RE: Memory settings and thread management

2004-07-15 Thread Carl Olivier
Greetings. Try the following settings: -Xms220m -Xmx1024m To allow for memory allocation on the native heap. Have you looked at your SHM* settings for the Linux kernel? Carl -Original Message- From: Jim Van Fleet [mailto:[EMAIL PROTECTED] Sent: 15 July 2004 05:08 PM To: [EMAIL

RE: Tomcat - Win2k service - GC output

2004-07-15 Thread Carl Olivier
Hi. If you are using JSDK 1.4.x use the following VM flag: -Xloggc:normal.gc This will create and write GC log entries to the following location on your windows server: [WINDOWS_SYSTEM_DIR]\system32\normal.gc Regards, Carl -Original Message- From: Pooleery, Manoj [mailto:[EMAIL

RE: Tomcat - Win2k service - GC output

2004-07-15 Thread Carl Olivier
Pooleery. -Original Message- From: Carl Olivier [mailto:[EMAIL PROTECTED] Sent: Thursday, July 15, 2004 11:17 AM To: Tomcat Users List Subject: RE: Tomcat - Win2k service - GC output Hi. If you are using JSDK 1.4.x use the following VM flag: -Xloggc:normal.gc This will create and write

RE: Is there such a beast ? (virtual directories)

2004-07-13 Thread Carl Olivier
Inside a host you could add a context path=/images docBase=/usr/local/somewhere / Regards, Carl -Original Message- From: Mike Curwen [mailto:[EMAIL PROTECTED] Sent: 13 July 2004 05:13 PM To: [EMAIL PROTECTED] Subject: Is there such a beast ? (virtual directories) Hello all, I had a

RE: jspc

2004-06-25 Thread Carl Olivier
Hi. In addition to sacing resources on the webserver it also allows you to run your tomcat server (the live one) without javac being on the machine - which is a security step. Carl -Original Message- From: Paul Wallace [mailto:[EMAIL PROTECTED] Sent: 25 June 2004 03:38 AM To: Tomcat

RE: how to check if a String is empty?

2004-06-24 Thread Carl Olivier
There is a trim() funtion in java.lang.String ? -Original Message- From: Marten Lehmann [mailto:[EMAIL PROTECTED] Sent: 24 June 2004 06:20 PM To: 'Tomcat Users List' Subject: how to check if a String is empty? Hello, maybe this is not the perfect group for my question, but as my

RE: Tomcat 4.1.24 stops responding due to attack

2004-06-22 Thread Carl Olivier
Hi. I had this problem myself - and I have found that there is a potential memory leak in the JK connector code (in the mod and the Java implementation?). My solution was to remove Apache and go solo with Tomcat 5.0.25 (will keep upgrading though). My problem has gone away! Tomcat stays up

RE: AW: How can I add Host without restarting Tomcat?

2004-06-22 Thread Carl Olivier
- it can dynamically add hosts. Looks at its codes. Go from there. -Original Message- From: Carl Olivier [mailto:[EMAIL PROTECTED] Sent: Monday, June 21, 2004 7:00 AM To: 'Tomcat Users List' Subject: RE: AW: How can I add Host without restarting Tomcat? Hmmm Is it possible

RE: Load-balancing with MS IIS and tomcat 5

2004-06-21 Thread Carl Olivier
To unsubscribe, e-mail: [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 21 June 2004 08:50 AM To: [EMAIL PROTECTED] Subject: Re: Load-balancing with MS IIS and tomcat 5 i have no idea what you are talking about i just want to get

RE: AW: How can I add Host without restarting Tomcat?

2004-06-21 Thread Carl Olivier
Hmmm Is it possible to prgramatically init and start a new StandardHost? I have code that deploys the context for a new Host and writes the Host block into the server.xml - now I want to be able to programatically init and start the new host - making it available WITHOUT having to do a server

mod_jk2 memory leak?

2004-06-18 Thread Carl Olivier
or not. Anyway, any pointers would be welcome! Regards, Carl Olivier - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Tomcat Stand-alone

2004-06-18 Thread Carl Olivier
, software, same TC, same sites/hosts/context) and this does NOT happen there? Any assistance would be much appreciated! Regards, Carl Olivier - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: Tomcat Stand-alone

2004-06-18 Thread Carl Olivier
Users List Subject: RE: Tomcat Stand-alone Hi, The problem is not related to the one you saw, they just share the same generic error. Please submit a Bugzilla item for this. Yoav Shapira Millennium Research Informatics -Original Message- From: Carl Olivier [mailto:[EMAIL PROTECTED

RE: Tomcat Stand-alone

2004-06-18 Thread Carl Olivier
Hi, The problem is not related to the one you saw, they just share the same generic error. Please submit a Bugzilla item for this. Yoav Shapira Millennium Research Informatics -Original Message- From: Carl Olivier [mailto:[EMAIL PROTECTED] Sent: Friday, June 18, 2004 7:55 AM

RE: Tomcat Stand-alone

2004-06-18 Thread Carl Olivier
an implementation, and an implementation jar. This separation, along with coding for JDK 1.5's JMX Remote, will be done in the tomcat 5.1 release branch I think. Yoav Shapira Millennium Research Informatics -Original Message- From: Carl Olivier [mailto:[EMAIL PROTECTED] Sent: Friday, June 18

RE: HOW-TO : Mail session and authentication password

2004-06-17 Thread Carl Olivier
Hi. I extended an javax.mail.Authenticator to set username and password for SMTP authentication: private static class SMTPAuthenticator extends Authenticator { String username, password; SMTPAuthenticator( String username, String password )

Jasper2 fork

2004-06-17 Thread Carl Olivier
Greetings. Quick question re the jasper2 (org.apache.jasper.servlet.JspServlet) fork init param. The default of the fork setting is true, however the Tomcat 5 binary (and I think source) distribution ships with this init-param set to false. Now the reason I am curious about this shipping with

Apache and Tomcat - Apache.exe application error

2004-06-16 Thread Carl Olivier
Greetings. I am having a problem with Apache 2.0.49 causing an Application Error on Windows. I know this is the tomcat list - but the issue ony crops up when using mod_jk2 with Tomcat - so I am posting here in case anyone has any ideas?! I have also posted a bug report on the HTTPD bugzilla. I

Server Specs

2004-06-15 Thread Carl Olivier
(upto 2GB and will assign 1.5GB to Tomcat). Are there other settings I am missing? Is the Garbage collector causing the trouble? I know that this is very subjective situation but I am going completely mad! I appreciate any feedback and suggestions! Best regards, Carl Olivier

RE: Server Specs

2004-06-15 Thread Carl Olivier
Hi Jeff. Thanks for the response, but I am using the Type 4 JDBC driver for SQL 2000 from MS, not DBCP. Thansks though! Carl -Original Message- From: Jeff Hoffmann [mailto:[EMAIL PROTECTED] Sent: 15 June 2004 04:31 PM To: Tomcat Users List Subject: Re: Server Specs Carl Olivier

RE: Apache/tomcat serving weird pages

2004-06-12 Thread Carl Olivier
I have had similar problems. What version of Tomcat are you using? It could be that your mod_jk2.so is not of the correct version. If you are using TC 5.0.19 you should be using jk2.04 Carl -Original Message- From: Mike DiChiappari [mailto:[EMAIL PROTECTED] Sent: 12 June 2004 01:02

jk2 error explanations

2004-06-11 Thread Carl Olivier
Greetings. Could anyone tell me what these error messages mean (I know they indicate problems connecting to the AJP worker and Tomcat) - but is there a list of what the status codes etc actually indicate? [Fri Jun 11 16:18:54 2004] [error] ajp13.service() Error forwarding ajp13:localhost:8009 1

RE: jk2 error explanations

2004-06-11 Thread Carl Olivier
And this one too: [Fri Jun 11 16:20:59 2004] [error] mod_jk2.handler() Error connecting to tomcat 3, status 200 Thanks -Original Message- From: Carl Olivier [mailto:[EMAIL PROTECTED] Sent: 11 June 2004 04:21 PM To: '[EMAIL PROTECTED]' Subject: jk2 error explanations Greetings. Could

RE: jk_nt_service.exe

2004-06-10 Thread Carl Olivier
You are welcome! Carl -Original Message- From: Ben Souther [mailto:[EMAIL PROTECTED] Sent: 10 June 2004 04:20 PM To: Tomcat Users List Subject: Re: jk_nt_service.exe Thank you, Carl. It's working. On Wednesday 09 June 2004 10:33 am, Carl Olivier wrote: Hey. I think you should

RE: No response from Tomcat 5 with IIS

2004-06-09 Thread Carl Olivier
Hi. (B (BAre you doing any database work? Is it possible that you have a database (Block happening in the middle of a transaction? (B (BCarl (B (B-Original Message- (BFrom: George [mailto:[EMAIL PROTECTED] (BSent: 09 June 2004 02:33 AM (BTo: Tomcat Users List (BSubject: RE: No

RE: jk_nt_service.exe

2004-06-09 Thread Carl Olivier
Hey. I think you should check: http://www.alexandriasc.com/software/JavaService/index.html Regards, Carl -Original Message- From: Ben Souther [mailto:[EMAIL PROTECTED] Sent: 09 June 2004 04:27 PM To: Tomcat Users List Subject: jk_nt_service.exe Is jk_nt_service still available?

SSL and starting tomcat - issues

2004-06-05 Thread Carl Olivier
Greetings. I am having some weird error when starting tomcat - the exception in the logs is: WARNING: Error registering contexts java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.nextEntry(HashMap.java:782) at

RE: SSL and starting tomcat - issues

2004-06-05 Thread Carl Olivier
, Carl -Original Message- From: Carl Olivier [mailto:[EMAIL PROTECTED] Sent: 05 June 2004 03:57 PM To: '[EMAIL PROTECTED]' Subject: SSL and starting tomcat - issues Greetings. I am having some weird error when starting tomcat - the exception in the logs is: WARNING: Error registering

RE: SSL and starting tomcat - issues

2004-06-05 Thread Carl Olivier
(hosts) running on the same IP - but SOME on the same IP running HTTPS) a good time to use Apache in front of Tomcat over jk? Thanks Carl -Original Message- From: Carl Olivier [mailto:[EMAIL PROTECTED] Sent: 05 June 2004 04:02 PM To: 'Tomcat Users List' Subject: RE: SSL and starting

RE: SSL and starting tomcat - issues

2004-06-05 Thread Carl Olivier
. Michael - Original Message - From: Carl Olivier [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, June 05, 2004 6:56 AM Subject: SSL and starting tomcat - issues Greetings. I am having some weird error when starting tomcat - the exception in the logs is: WARNING: Error

RE: SSL and starting tomcat - issues

2004-06-05 Thread Carl Olivier
ta -Original Message- From: Michael Mehrle [mailto:[EMAIL PROTECTED] Sent: 05 June 2004 05:26 PM To: Tomcat Users List Subject: Re: SSL and starting tomcat - issues FYI: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22388 - Original Message - From: Carl Olivier [EMAIL

RE: registering Tomcat as service

2004-05-28 Thread Carl Olivier
Hi. On this subject - in the older Tomcat service executable (specifically jk_nt_service.exe for TC 3) the executable was pointed at a wrapper.properties file. This wrapper.properties provided the means to add new -X and -D properties to the executable without having to re-install the service as

RE: registering Tomcat as service

2004-05-28 Thread Carl Olivier
to the service. Add/Remove as needed. Jake Quoting Carl Olivier [EMAIL PROTECTED]: Hi. On this subject - in the older Tomcat service executable (specifically jk_nt_service.exe for TC 3) the executable was pointed at a wrapper.properties file. This wrapper.properties provided the means

RE: mod_jk problems - Need help!

2004-05-27 Thread Carl Olivier
to Tomcat 5.0.24 using mod_jk2.04. I then rebuilt the mod_jk2.so using the source provided with the TC 5.0.24 source bundle (which seems to be mod_jk2.05 dev. This did not sort the problem out at all. Does anyone have ANY ideas? Thanks and regards, Carl Olivier -Original Message- From: Carl

Tomcat 5.0.24 startup errors

2004-05-25 Thread Carl Olivier
ideas? Regards, Carl Olivier - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Tomcat 5.0.24 startup errors

2004-05-25 Thread Carl Olivier
-Original Message- From: Carl Olivier [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 25, 2004 5:30 AM To: '[EMAIL PROTECTED]' Subject: Tomcat 5.0.24 startup errors Greetings. I recently upgraded to TC 5.0.24 on Windows XP Pro, using the packaged tomcat5.exe and service.bat to install the TC service

RE: Tomcat 5.0.24 startup errors

2004-05-25 Thread Carl Olivier
Service), restart tomcat, and let us know what happens. Yoav Shapira Millennium Research Informatics -Original Message- From: Carl Olivier [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 25, 2004 9:16 AM To: 'Tomcat Users List' Subject: RE: Tomcat 5.0.24 startup errors Hi Yoav. Clean

RE: PrintWriter performance

2004-05-25 Thread Carl Olivier
I would definitely use the second option. If you wanted the first I would also change it to be: PrintWriter out = response.getWriter(); StringBuffer ret = ; for (count = 0; rs.next(); count++) ret.append(rs.getString(column_name)); // result of db query

RE: PrintWriter performance

2004-05-25 Thread Carl Olivier
Oops: StringBuffer ret = new StringBuffer(); ;) -Original Message- From: Carl Olivier [mailto:[EMAIL PROTECTED] Sent: 25 May 2004 03:43 PM To: 'Tomcat Users List' Subject: RE: PrintWriter performance I would definitely use the second option. If you wanted the first I would also

TEI and custom tag class - Classloading issues

2004-05-25 Thread Carl Olivier
Greetings. I have sent a number of posts on an issue I have been experiencing in TC 5 (5.0.19 and now 5.0.24) regarding classloading of TEI classes (one in one or two instances custom tag classes). Yoav asked me to try and create a WAR with the problem existing within the WAR. I have failed to

RE: TEI and custom tag class - Classloading issues

2004-05-25 Thread Carl Olivier
(ChannelSocket.java:626) at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:807) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav a:644) at java.lang.Thread.run(Thread.java:534) Regards, Carl -Original Message- From: Carl

mod_jk problems - Need help!

2004-05-07 Thread Carl Olivier
, and this problem is starting to impact negatively on my business - hence the length and almost desparate email! I look forward to any assistance possible! Best regards, Carl Olivier - To unsubscribe, e-mail: [EMAIL PROTECTED

RE: mod_jk problems - Need help!

2004-05-07 Thread Carl Olivier
=28758 Any input would still be appreciated! Best regards, Carl -Original Message- From: Carl Olivier [mailto:[EMAIL PROTECTED] Sent: 07 May 2004 01:53 PM To: '[EMAIL PROTECTED]' Subject: mod_jk problems - Need help! Greetings. Having a problem with mod_jk2 in some instances. Am

RE: mod_jk2 - Win32 Alias problems

2004-05-04 Thread Carl Olivier
Greetings. I assume from the lack of response my post (below) that no one else has encountered these problems? Should I report both as bugs on Bugzilla? Regards, Carl -Original Message- From: Carl Olivier [mailto:[EMAIL PROTECTED] Sent: 03 May 2004 05:47 PM To: '[EMAIL PROTECTED

ping

2004-05-04 Thread Carl Olivier
Anyone getting these? Carl

JK AJP Connectors

2004-05-04 Thread Carl Olivier
Greetings all. I would appreciate some advise on an issue I am experiencing. The problem is as follows: Firstly, lets set the stage: Server: Windows 2000 Server 1GB RAM Tomcat 5.0.19 Apache 2.0.46 mod_jk2 My configurations are: 40 VirtualHosts in Apache with the matching 40 Tomcat Hosts

mod_jk2 - Win32 Alias problems

2004-05-03 Thread Carl Olivier
Greetings. Having a (couple of) problem(s) with the latest mod_jk2 build (which I am compiling myself with VisualC++ 6 - as well as trying the precompiled binary - same behaviour). I tried to see if there were any other posts regarding this issue - could not find any! The first problem is

RE: FW: Os X

2004-04-12 Thread Carl Olivier
Erm, the .java file is incorrectly named: HttpSessionAttruteListener.java Should matcht he class declaration: HttpSessionAttributeListener.java (the missing i) Carl -Original Message- From: Andrew Robinson [mailto:[EMAIL PROTECTED] Sent: 11 April 2004 09:44 PM To: 'Tomcat Users

RE: Howto run tomcat 4.06 as windows service

2004-04-08 Thread Carl Olivier
Hi. Visit: http://www.alexandriasc.com/software/JavaService/index.html Download the free JavaService wrapper - read the docs and use it to easily install a service for your tomcat 4 (in fact they have a batch file in their distro that is pre-done for TC4!) Regards, Carl -Original

RE: Tomcat 5 out of memory

2004-04-08 Thread Carl Olivier
Hi - maybe try the incremental GC (JVM Hotspot switch: -Xincgc). Carl -Original Message- From: Angelov, Rossen [mailto:[EMAIL PROTECTED] Sent: 08 April 2004 12:17 AM To: 'Tomcat Users List' Subject: Tomcat 5 out of memory Hi, We are having problems with Tomcat when restarting the

RE: Issues in tomcat 5.0.19

2004-04-07 Thread Carl Olivier
-Original Message- From: David Rees [mailto:[EMAIL PROTECTED] Sent: 07 April 2004 08:59 AM To: Tomcat Users List Subject: Re: Issues in tomcat 5.0.19 Carl Olivier wrote, On 4/6/2004 10:30 AM: Could the problem be that too many high processor-requirement threads are being started

RE: measure memory

2004-04-07 Thread Carl Olivier
Try: Runtime runtime = Runtime.getRuntime(); long totalMemory = runtime.totalMemory(); long freeMemory = runtime.freeMemory(); Also Thread counting: ThreadGroup group = Thread.currentThread().getThreadGroup(); while (group.getParent() != null) group = group.getParent(); int activeCount

TEI Classloading

2004-04-07 Thread Carl Olivier
exists and the exception is thrown - working on it! Any thoughts will be appreciated. Carl Olivier Director tel +27 21 7955197 fax +27 21 7955212 cell +27 82 7729753 [EMAIL PROTECTED] www.zero-one.co.za developers of the future 01 zero one

RE: 5.0.19 - won't start on anything other thatn *nix

2004-04-06 Thread Carl Olivier
Add the commons-launcher.jar commons-logging-api.jar Jars into the bootstrap classpath to get Tomcat5.0.19 started properly on Win systems. Regards, Carl -Original Message- From: Alistair Young [mailto:[EMAIL PROTECTED] Sent: 06 April 2004 11:57 AM To: Tomcat Users List Subject: Re:

Issues in tomcat 5.0.19

2004-04-06 Thread Carl Olivier
$ControlRunnable.run(ThreadPool.jav a:688) at java.lang.Thread.run(Thread.java:534) I look forward to any assistance that you may be able to give! Regards, Carl Olivier - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: Tomcat 5.X - Apache2.X - Mod-JK2

2004-04-06 Thread Carl Olivier
Hi. That is apprently when jk is trying to register the request with JMX. You can disable that (and hence stop the error message) by adding the following line at the end if your jk2.properties: request.registerRequests=false With regards problems and stability the most stable I have been able

RE: Tomcat Java OutOfMemory Error

2004-04-06 Thread Carl Olivier
Hi. When using the jk_nt_service.exe you need to setup the wrapper.properties file. The very last line is where you set any additional VM parameters - use that. Thus you would change it from: wrapper.cmd_line=$(wrapper.javabin) -classpath $(wrapper.class_path) $(wrapper.startup_class) -config

RE: Issues in tomcat 5.0.19

2004-04-06 Thread Carl Olivier
you something to try emulate the TEI problem (probably tomorrow). Thanks a stack for your help so far - I will try some of your suggestions. Regards, Carl Olivier -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: 06 April 2004 04:53 PM To: Tomcat Users List Subject

RE: Issues in tomcat 5.0.19

2004-04-06 Thread Carl Olivier
! Regards, Carl -Original Message- From: Carl Olivier [mailto:[EMAIL PROTECTED] Sent: 06 April 2004 06:01 PM To: 'Tomcat Users List' Subject: RE: Issues in tomcat 5.0.19 Hi Yoav. Thanks for your response - was hoping someone would wade through my rather lengthy email! Anyway, just some

InProcess Workers

2002-09-24 Thread Carl Olivier
Greetings. I havea Tomcat 3.2.3 running behind Apache 1.3.20. I use mod_jk to pass request from Apache to Tomcat. I have multiple virtual hosts set up, and each host uses its own worker. From what I understand this means that each host has its own JVM of sorts? Is this correct? If so, is