checking to see if JSP has changed

2001-05-10 Thread William Au
Is there a way to configure Tomcat 3.2.1 so that it only check to see if a JSP has changed (and therefore needs to be recompiled) at a certain time interval instead of on every request? Bill

Tomcat 3.2 availability

2000-10-24 Thread William Au
Any idea when the release build of Tomcat 3.2 will be available? Bill

ContextManager:SocketException reading request, ignored???

2000-12-04 Thread William Au
I just finished building the production release of Tomcat 3.2. Everything seems to work but I keep getting the following Java exception. I have been told this is caused by the client disconnecting too soon. But I am the only one accessing the server, and I know for sure that I did not hit the "s

problem with max_threads > 100

2000-12-08 Thread William Au
I am getting the following exceptions when I set the max_threads parameter to 256. I am using Tomcat 3.2 standalone with the PoolTcpConnector. I looked at the source code of jasper.runtime.JspFactoryImpl and discovered that it is hard-coding 100 to be the size of a SimplePool it uses internally.

NullPointerException

2000-12-11 Thread William Au
I am getting the following with Tomcat 3.2 but things seem to work. Should I worry? java.lang.NullPointerException at java.lang.Throwable.fillInStackTrace(Native Method) at java.lang.Throwable.fillInStackTrace(Compiled Code) at java.lang.Throwable.(Compiled Code) a

Re: Status of overall Tomcat performance

2000-12-27 Thread William Au
I have found that Tomcat 3.2.1 is much faster than 3.1. Have not try 4.0 though. Bill Charles Forsythe wrote: > I've read several places (see link below) that "Tomcat is the slowest > Servlet Engine you can run." Is this still true? What are the > prospects for Tomcat 4.0 improving speed? >

anyone using ajp13 protocol with mod_jk?

2000-12-28 Thread William Au
Is anyone actually using the ajp13 protocol with mod_jk? I tried it but had to switch back to ajp12. It seems faster but less reliable. I am getting the following error messages in mod_jk.log. All these messages occur multiple times. They only occur when I use the ajp13 protocol. In mod_jk.lo

Re: anyone using ajp13 protocol with mod_jk?

2001-01-02 Thread William Au
on setting ownership recursively to me everything > with ajp13 seems to be working well. > > -- > Tom Woteki, a.k.a. Dr. Wo > mail to:<[EMAIL PROTECTED]> > 202-544-2743 (fax) > > From: William Au <[EMAIL PROTECTED]> > > Reply-To: [EMAIL PROTECTED] >

Re: Tomcat 4 performance issues - Trying Tomcat 4.1.3 Beta

2002-06-21 Thread William Au
So how is the performance of Tomcat 4.1.3 comparing to 4.0? Bill "Shapira, Yoav" wrote: > Howdy, > I know you already solved the problem (was userid). > > As an aside, it's a bad idea to unpack 3rd party jars. You probably > want to rename classes12.zip to classes12.jar so tomcat will pick it

NullPointerException

2001-03-12 Thread William Au
I am running Tomcat 3.2.1 standalone. I am getting a ton of errors in tomcat.log: 2001-03-12 12:12:57 - ContextManager: Error reading request, ignored - java.lang.NullPointerException at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(Compiled Code) at org.

Re: NullPointerException

2001-03-14 Thread William Au
I changes my max_thread from 50 to 10 and the exceptions went away. But I am not happy with the performance of 10 threads. How high can I go? What is the default value if none is specified in server.xml? Bill > I am running Tomcat 3.2.1 standalone. I am getting a ton of errors in > tomcat.lo

Re: NullPointerException

2001-03-14 Thread William Au
Basically, you have to test each one for x.equals(null) before > proceeding. > > A shot in th dark, but at least a reply, right? > > mfs > > Bryan Murtha wrote: > > > I've posted this same question several times and no one has ever bothered to > > reply. I gu

turn off HTTP session at server level

2001-03-14 Thread William Au
I am running Tomcat 3.2.1. Is there any way to turn off HTTP sessions at the server level? I want to avoid putting the page directive <%@ page session="false" %> in every single one of my page. Bill - To unsubscribe, e-mail:

Re: Linux-Tomcat-ThreadPool NullpointerException

2001-03-16 Thread William Au
I saw exactly the same thing when I ran a load test on tomcat 3.2.1 wth jdk 1.2.2_07. What's your Tomcat max_thread set to? I changed it to 10 and the problem went away. But I am not happy with the performance with only 10 threads. Bill Bill Graham wrote: > I'm just getting started with Tomc

calling RequestDispatcher.forward() after RequestDispatcher.include()

2001-03-21 Thread William Au
I am running Tomcat 3.2.1. I am getting the following error. javax.servlet.ServletException: Cannot forward as OutputStream or Writer has already been obtained My code is quite simple. The jsp that I am including, example1.jsp, does not write anything to the output buffer. <% RequestDispatche

handling Exception from RequestDispatcher.include() in a JSP

2001-03-21 Thread William Au
I am about to give up on using multiple RequestDispatcher.forward() calls or using include() then followed by a forward() in a JSP because I can't make things work no matter what I try. I guess I will have to use multiple include(). That seems to work as long as there are no exceptions being thr

Re: calling RequestDispatcher.forward() after RequestDispatcher.include()

2001-03-23 Thread William Au
call out.flush() in the java code it generates for JSP. Isn't that a bug? Bill William Au wrote: > I am running Tomcat 3.2.1. > > I am getting the following error. > > javax.servlet.ServletException: Cannot forward as OutputStream or Writer > has already been obtained >

Re: jndi versus database connection pooling

2002-03-14 Thread William Au
I could not find any documentation on how to manage the connection pool that comes with Tomcat 4. I want to do things like setting the minimum and maximum of connections and timeout value. I don't think this information has been posted on this mailing list either. Bill Mark Muffett wrote: > T

Tomcat 4.0.3 and PoolMan 2.0.4

2002-04-11 Thread William Au
Anyone using Tomcat 4.0.3 with PoolMan 2.0.4? The Tomcat stop script can't shutdown Tomcat after I added a DataSource into poolman.xml. Any idea how I can solve this? Bill -- To unsubscribe: For additional commands: Troubles with the lis

Tomcat 3.x vs 4.0 - HTTP header names

2001-09-26 Thread William Au
I just noticed that in Tomcat 4.0, the HTTP header names as obtained by request.getHeaderNames() are all lower case, even if the original header names being sent are all upper case or mixed case. It seems to me the Tomcat 4.0 is converting the header names to all lower case. Tomcat 3.x perserver

Tomcat 4.0 Tyrex configuration

2001-10-18 Thread William Au
I am running Tomcat 4.0 and would like to use the bundled Tyrex for database connection pooling. I followed the Tomcat documentation and was able to make things work. But how do I configure Tyres with additional parameters like the maximum number of connections in the pool? Bill

Re: [tyrex-dev] Tomcat 4.0 Tyrex configuration

2001-10-19 Thread William Au
Riad, Thanks for the info. I am using Tyrex with Tomcat 4.0. I do not see any Tyrex configuration file in the download of Tomcat 4.0. Where should this file be if I am to create one? Is there any documentation on how to use and configure Tyrex with Tomcat 4.0? Things seem to work but it is no

Tomcat 3 vs 4 performace

2001-09-11 Thread William Au
How does Tomcat 4.0 compare to 3.2 in terms of performance? 3.3 has better performance than 3.2. Is that a worthwhile update or should I skip to and go to 4.0 directly? Bill

Multiple Tomcat instances on one machine

2001-01-11 Thread William Au
I would like to run multiple Tomcat instances on one machine, each using a different port number. Do I need to have a seperate, full copy ofTOMCAT_HOME for each instance? Or can I just have one common set of binaries with multiple server.xml and other configuration files? Bill ---

Re: Multiple Tomcat instances on one machine

2001-01-11 Thread William Au
directory as a sibling > to the "conf" directory to hold webapps. I guess that you can > also point multiple instances to the same docBase - but > haven't tried it. > > Cheers, > > Simon > > -Original Message- > > From: William Au [SMTP:[EMAIL PR

precompile JSP with jspc & picking up changes in JSP source

2001-01-16 Thread William Au
I noticed that if I precompile JSP with jspc and setup servlet mapping in web.xml, changes to the original JSP file will not be picked up by Tomcat. Can I have both or are they mutually exclusive? Bill - To unsubscribe, e-mai

accessing configuration info in server.xml?

2001-01-16 Thread William Au
Is there anyway for a JSP or servlet running under Tomcat to ask for configuration information set inside server.xml? Bill - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

Re: Multiple Tomcat instances on one machine

2001-01-17 Thread William Au
e server.xml to indicate where the webapp's files are, but I guess you could create a webapps directory as a sibling to the "conf" directory to hold webapps. I guess that you can also point multiple instances to the same docBase - but haven't tried it. Cheers, Simon > -Or

native_lib in jni_server.xml

2001-01-17 Thread William Au
The native_lib parameter in my jni_server.xml has an value that is Windows specific. What should it be for Solaris? Bill - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comman

Re: Multiple Tomcat instances on one machine

2001-01-17 Thread William Au
that by setting the workDir attribute for the ContextManager in server.xml. But now I need to customize the other configuration files in conf for each instance. By the way, I am running Tomcat 3.2.1 on Solaris 7. Bill Kitching Simon wrote: > > -Original Message- > > From: Will

dtd for Tomcat 3.2.1's server.xml

2001-01-22 Thread William Au
Is the dtd for Tomcat 3.2.1's server.xml available somewhere? Bill - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

Re: accessing configuration info in server.xml?

2001-01-22 Thread William Au
han" wrote: > William Au wrote: > > > Is there anyway for a JSP or servlet running under Tomcat to ask for > > configuration information set inside server.xml? > > Not directly (although of course you could parse it yourself). > > Is there something in particular you

startup class in Tomcat

2001-01-23 Thread William Au
Besides setting load-on-startup in the web.xml file, is there another way to have a startup class define in Tomcat? ( ie I want a class to run whenever Tomcat is started) Bill - To unsubscribe, e-mail: [EMAIL PROTECTED] For add

Re: startup class in Tomcat

2001-01-23 Thread William Au
The way I understand it, load-on-startup will only work on a servlet, and only the init() method is called. What I have now is a generic Java class. So I will have to convert it into a servlet and put most of the code inside init(). I was just trying to see if I can use my class as-is. Bill Mi

Re: Benchmarking

2001-01-24 Thread William Au
Don't you mind sharing your results with the Tomcat users community by posting them to this mailing list? Bill Oleg Timofeyev wrote: > Hey guys, > > Well now that I installed TOMCAT, ORION and JRUN I would like to benchmark > those. Anyone knows of good benchmarking solutions for java servers,

Re: dtd for Tomcat 3.2.1's server.xml

2001-01-24 Thread William Au
advantage of using XML? Since my experience with it > > is very limited, I'm probably missing something important here. > > > > Cheers, > > > > Alex. > > > > "Craig R. McClanahan" wrote: > > > > > William Au wrote: &g

Re: API for org.apache.* classes

2001-01-26 Thread William Au
I find them under $TOMCAT_HOME/webapps/ROOT/javadoc. I am using the source distribution. Not sure if this is true for the binary distribution as well. Bill Ratnadeep Bhattacharjee wrote: > Hello, > > Could someone please tell me where I could find the javadocs for the > org.apache.* classes. I

checking and recompiling JSPs

2001-02-01 Thread William Au
Does Tomcat check the timestamp of a JSP on each request to see if it needs to be recompiled? Is there anyway to turn this off on a production site where the JSPs are not changing? Bill - To unsubscribe, e-mail: [EMAIL PROTECT

Re: checking and recompiling JSPs

2001-02-01 Thread William Au
I played with the reloadable flag in the context in sever.xml. It only affects my servlets but seems to have no effect on my JSPs. I think the reloadable flag only affects classes in WEB-INF/classes. That would explain why it doesn't work on JSP. Can anyone confirm that? Bill "Morahg, Yoav" wr

RequestDispatcher.forward() in Tomcat 3.2.1

2001-02-15 Thread William Au
Is there any way in Tomcat 3.2.1 for the control to return to a servlet after its call to RequestDispatcher.forward() is completed? That is the behavior of WebLogic 5.1.0. I want my code to work on the same way running under both. I am aware of the RequestDispatcher.include() method. Bill

Re: RequestDispatcher.forward() in Tomcat 3.2.1

2001-02-16 Thread William Au
t that was forwarded to did not change the response. Is multiple forward within a servlet not supported/allowed? Bill "Craig R. McClanahan" wrote: > William Au wrote: > > > Is there any way in Tomcat 3.2.1 for the control to return to a servlet > > after its > > call

JSP quoting and escape conventions

2001-02-20 Thread William Au
I am having trouble with quoting in scripting elements with Tomcat 3.2.1. "%\>" does not work for quoting "%>" as defined in section 2.4 for JSP 1.1 spec. Any way to get around it? Bill - To unsubscribe, e-mail: [EMAIL PROTEC

Re: JSP quoting and escape conventions

2001-02-20 Thread William Au
I was inside a scriplet, setting up a string that contains the character "%>": <% String foo = "testing %\>"; %> I ended up doing: <% String foo = "testing %" + ">"; %> But the first code segment should work according to the JS

Re: JSP quoting and escape conventions

2001-02-20 Thread William Au
owever, it seems to me in Tomcat, the translation happens first so the following invalid java code is generated: String foo = "testing %\>"; Bill "Craig R. McClanahan" wrote: > William Au wrote: > > > I was inside a scriplet, setting up a string that co

JNDI DataSource lookup and Tomcat 3.2.1

2001-02-22 Thread William Au
I want to use JNDI DataSource lookup with Tomcat 3.2.1. I am going to need a JNDI service provider. I see that a few different ones are available form java.sun.com. Is there a particular one that works best with Tomcat? Bill --

starting additional "services" with Tomcat

2001-03-02 Thread William Au
I am using Tomcat 3.2.1 on Solairs. I have some Java code to start a RMI registry that I want to make available to all webapps. In stead of having to run yet another process, I want it to run inside Tomcat's JVM. What is the best way to do this? Can I add an entry in server.xml to cause Tomca

pre-initialize SecureRandom

2001-03-06 Thread William Au
Is there any way to use to pre-initialize the secure random number generator used by Tomcat to generate session id? Bill - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

disbale sessions in Tomcat

2001-03-06 Thread William Au
Is there a way to disable sessions in Tomcat? Do I just remove the entries for the request.SessionInterceptor and session.StandardSessionInterceptor from server.xml? Bill - To unsubscribe, e-mail: [EMAIL PROTECTED] For addition