Tomcat 5.0 Windows service memory configuration

2003-12-30 Thread David Frankson
I didn't receive an answer to this, so I'm re-asking. How do I increase the JVM max heap size for the windows service for Tomcat 5.0? The faqs and documentation only mention Tomcat 4.x, and the registry settings look different than the Tomcat 4 service. Someone mentioned the information I seek i

Re: How to: Tomcat 5.0.16 as Windows Service

2003-12-28 Thread David Frankson
I pulled down a snapshop of the tomcat source, and I couldn't find the procrun.h file. Could someone create some docs on configuring the new Tomcat 5 service, and place it where some newbs can find? Thanks - Original Message - From: "Bill Barker" <[EMAIL PROTECTED]> To: <[EMAIL PROT

Tomcat 5.0 Windows service memory configuration

2003-12-26 Thread David Frankson
How do I increase the JVM max heap size for the windows service for Tomcat 5.0? The faqs and documentation only mention Tomcat 4.x, and the registry settings look different than the Tomcat 4 service. Dave - To unsubscribe,

Re: tomcat 4.0/ Apache1.3.22 problem

2002-01-07 Thread David Frankson
Do you happen to know the text of the original message? - Original Message - From: "Mita Solanky" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, January 07, 2002 4:11 AM Subject: tomcat 4.0/ Apache1.3.22 problem > Hi > > I saw your message on tomc

Re: AW: Java program interferring with Tomcat

2001-11-19 Thread David Frankson
> Not with SQL Server. If thread A has a write lock on a table, thread b will > wait until the write is completed before reading. If thread A is in a > transaction that is long running then a perfectly funcitoning application > can seem to hang. Its also possible that some form of infinite loop

Re: AW: Java program interferring with Tomcat

2001-11-19 Thread David Frankson
Only Tomcat hangs, the other program continues on. I thought a database deadlock only happens when both threads are trying to write and holding a lock on each other's data? The external java process is read-only. How do you do a thread-dump on when you are running Tomcat as a service on Win

Java program interferring with Tomcat

2001-11-19 Thread David Frankson
I have a server running Tomcat 4.0 on Win2k with the Sun VM JRE 1.3.1. At 11am each day I have a commandline Java program scheduled to run using Window's scheduler. When this program runs, Tomcat becomes unresponsive. The process appears to still be running, but I need to restart it to g

Tomcat under a high load

2001-11-15 Thread David Frankson
I am experiencing problems with Tomcat under a heavy load, and I'm hoping someone has dealt with this before. I am using Tomcat 4.0 on a server with heavy traffic. Randomly under these conditions users get a "Page can not be displayed" error, yet the server's 4 cpus are not completely m

JDBC tyrex pool with JNetDirect JDBC drivers

2001-10-23 Thread David Frankson
I'm struggling to get the JDBC-JNDI-Tyrex connection pool working with the Netdirect JDBC driver and I keep getting a cast exception error java.lang.ClassCastException: tyrex.jdbc.xa.EnabledDataSource I configured the JBDC according to the Tomcat 4.0 docs, but I must be missing something...

Re: Tomcat Hanging

2001-10-01 Thread David Frankson
Do a thread dump on the hanging process. Its CTRL-BREAK on a windows machine, I'm not sure of the Solaris equivalent command. It will likely show a few objects waiting indefinitely for some resource. In my experience it has always been my own code that trips up tomcat. Dave - Origina

Re: How to give timeouts to threads ?

2001-09-26 Thread David Frankson
ubject: RE: How to give timeouts to threads ? > For me a timeout you can put in server.xml would be enough :-) > > -Original Message- > From: David Frankson [mailto:[EMAIL PROTECTED]] > Sent: September 26 2001 16:49 > To: [EMAIL PROTECTED] > Subject: Re: How to give time

Re: How to give timeouts to threads ?

2001-09-26 Thread David Frankson
A ctrl-break thread dump will show you which threads are hung. The solution is to fix the sloppy servlet that causes it. I used to have major stability problems with Tomcat until I discovered the problems in my own code. Killing errant threads would be a cool feature, but is it possible?

Tomcat 4.0 and JCE 1.2.1

2001-09-24 Thread David Frankson
Has anyone been able to get Tomcat 4.0 and Java Cryptography Extension 1.2.1 to work together? I have an application that uses the jce and runs fine on Tomcat 3.2.3 w/ jdk1.3.1. When I moved it over to 4.0, I got the exception: "Cannot set up certs for trusted CAs". I dug through the sun fo