Why is 5.5.12 alpha?

2005-10-06 Thread Ronald Klop
Hello, I searched the mail archives for the voting of 5.5.12 alpha to see the reason why it is marked as alpha but I couldn't find the mails. Can somebody tell me why it is alpha? It contains some bugfixes which might help me in my clustered application, but I'm afraid of other known bugs,

exception in session handling

2005-10-06 Thread Ronald Klop
Hello, Is it normal that the session is invalidated before the valueUnbound handlers are called? Ronald. java.lang.IllegalStateException: getId: Session already invalidated at org.apache.catalina.cluster.session.DeltaSession.getId(DeltaSession.java:335) at

Re: exception in session handling (extra info)

2005-10-06 Thread Ronald Klop
I'm testing 5.5.12 here on java 1.5 on linux 2.6. My SessionList is a list of session id's which I keep to count the sessions. Ronald. On Thu Oct 06 15:19:00 CEST 2005 Tomcat Users List tomcat-user@jakarta.apache.org wrote: Hello, Is it normal that the session is invalidated before the

Re: Tomcat/MySQL Application Update

2005-08-10 Thread Ronald Klop
Sounds like something WebStart can do very nice for you. Create a java app, which installs a .war file in the right location. Add a .war file as a resource to the webstart application. Put the webstart app in the startup-folder of windows. Or let the webstart app launch the Tomcat. You can

Re: Generic Types support in Tomcat?

2005-08-09 Thread Ronald Klop
Tomcat 5.5.10 has an update JDT compiler from Eclipse 3.1. This understands Java 5. You can also configure that you compile with the sun compiler. Ronald. On Mon Aug 08 23:25:27 CEST 2005 Tomcat Users List tomcat-user@jakarta.apache.org wrote: Hi All, Easiest part of this question is simply

Re: HTTP/1.1 GZIP compression and its impact on server

2005-08-09 Thread Ronald Klop
This is untrue at least in Tomcat 5. But why don't you try it instead of having discussions about it? Use a network sniffer to check what the server is sending over the wire. Ronald. On Tue Aug 09 10:05:19 CEST 2005 Tomcat Users List tomcat-user@jakarta.apache.org wrote: I thought our

Re: Sharing server information across a cluster ?

2005-08-09 Thread Ronald Klop
Jini? JavaSpaces? Put your data in a database? Maybe the ServletContext is already clustered in Tomcat 5.5.x? JMS? There is more than Tomcat out there. Ronald. On Tue Aug 09 15:59:58 CEST 2005 Tomcat Users List tomcat-user@jakarta.apache.org wrote: Hello, we're currently setting up a

Re: URLConnection.getOutputStream().write() fails

2005-08-08 Thread Ronald Klop
Did you try URLConnection.setDoOutput(true)? Ronald. On Wed Aug 03 23:52:45 CEST 2005 Tomcat Users List tomcat-user@jakarta.apache.org wrote: PROBLEM: Trying to write to URL via URLConnection.getOutputStream().write() fails. In the main method below, the code attempts to write some bytes

Re: user logins and the back button

2005-08-03 Thread Ronald Klop
Do you use form-authentication or http-authentication? If the authentication is with a form the forward button wil show you the form in step 5. Ronald. On Wed Aug 03 15:56:11 CEST 2005 Tomcat Users List tomcat-user@jakarta.apache.org wrote: I have the following scenario that I am testing.

Re: HTTP/1.1 GZIP compression and its impact on server

2005-07-29 Thread Ronald Klop
are compressed already in themselves. Regards Srikanth On 7/26/05, Ronald Klop [EMAIL PROTECTED] wrote: If you have enough bandwidth yourself, the big win is in the saved bandwidth on the client-side and that is what your customers like. The browser wil act quicker because it has more data to render

NoSuchElementException

2005-07-26 Thread Ronald Klop
I get this running Tomcat 5.5.9 on JDK 1.5 on Linux 2.6.x. The toArray makes an array of the 'attributes' attribute of the session. But fails to do so. Should I synchronize all access to the session or is this something inside Tomcat or maybe inside Java? I looked at both the source of Tomcat

Re: HTTP/1.1 GZIP compression and its impact on server

2005-07-26 Thread Ronald Klop
I'm using this in a 4-node cluster serving about 30 req/s. And didn't really notice any difference in cpu usage. (I think generating my pages use more cpu-power than compressing them.) Ronald. On Tue Jul 26 08:33:07 CEST 2005 Tomcat Users List tomcat-user@jakarta.apache.org wrote: Hi all,

Re: HTTP/1.1 GZIP compression and its impact on server

2005-07-26 Thread Ronald Klop
If you have enough bandwidth yourself, the big win is in the saved bandwidth on the client-side and that is what your customers like. The browser wil act quicker because it has more data to render in a shorter time. On Tue Jul 26 12:46:07 CEST 2005 Tomcat Users List

Re: generate image by servlet for large amount of requests

2005-07-11 Thread Ronald Klop
We resize our images using Tomcat. The resized images are cached on the local disk with a nigthly cron, which removes unused files older than x days. Just try it and see what the load is. If the load is very high, buy more servers with a loadbalancer. Ronald. On Fri Jul 08 17:32:03 CEST 2005

RE: ClientAbortException: java.net.SocketException: Connection reset by peer: socket write error

2005-06-28 Thread Ronald Klop
This exception means the client (browser) has closed the connection before Tomcat send all its data. If the application works you should ignore this. My log is full of it. It also happens if you download something large from Tomcat and click cancel during the download. Ronald. On Tue Jun 28

NoSuchElementException in cluster in 5.0.28

2005-06-22 Thread Ronald Klop
Hello, This exception is thrown in the clustering of Tomcat 5.0.28. The fun part is, that the user is seeing this stacktrace in his browser. java.util.NoSuchElementException java.util.LinkedList.remove(LinkedList.java:644) java.util.LinkedList.removeFirst(LinkedList.java:134)

Re: Running tomcat on Debian Sarge

2005-06-09 Thread Ronald Klop
Just install the Tomcat jars and read the Tomcat docs. We are running Tomcat on Debian also. And probably Debian has got some packages of tomcat. Ronald. On Wed Jun 08 23:13:06 CEST 2005 Tomcat Users List tomcat-user@jakarta.apache.org wrote: All, Anybody here who knows a foolproof site for

Re: Urgent: how to detect client has closed connection

2005-06-07 Thread Ronald Klop
, Thanks for your help. I checked the code. I use default out.. and it indeed was using javax.servlet.jsp.JspWriter, but it does not throw an IOException. Do you know why? Thanks in advance... Luke From: Ronald Klop [EMAIL PROTECTED] Reply-To: Tomcat Users List tomcat-user

Re: Urgent: how to detect client has closed connection

2005-06-01 Thread Ronald Klop
What Writer are you using? If you do response.getWriter() you will get a PrintWriter and the docs tell you that PrintWriter doesn't throw exceptions, so your app keeps printing to the writer after an error. (A closed connection is an IOException.) If you use the default out property of a jsp

Re: 5.5 FreeBSD Port

2005-05-20 Thread Ronald Klop
You can try to mail the port maintainer of the tomcat5 port. See /usr/ports/www/jakarta-tomcat5/Makefile. If you have issues about jdk 1.5 on bsd being flaky, please post them on [EMAIL PROTECTED] Ronald. On Fri May 20 11:06:03 CEST 2005 Tomcat Users List tomcat-user@jakarta.apache.org wrote: Hi

Re: Can a client recapture a session in Tomcat 4.1

2005-05-13 Thread Ronald Klop
Yes. You only have to sent the right cookie header to the server. And if the browser exits the right header info is lost. So, if you create a browser which doesn't loose cookie info, you are done. This has nothing to do with which server you are running. For php, asp or anything else it works

Fatal: Stack size too small. Use 'java -Xss' to increase default stack size.

2005-04-11 Thread Ronald Klop
Hello, My Tomcat logs this in catalina.out. Fatal: Stack size too small. Use 'java -Xss' to increase default stack size. I don't see a stack trace, so I can't figure out what is really going wrong here. My current setup is jdk 1.4.2_08 on linux 2.6.x with Tomcat 5.0.28. We are using these

Re: SystemThreadList.java update?

2005-02-01 Thread Ronald Klop
Hello, I use the attached .jsp to view all the threads. Ronald. On Fri Jan 28 12:33:10 CET 2005 Tomcat Users List tomcat-user@jakarta.apache.org wrote: There is a June 2002 mail thread that discusses "How to list all Threads in the JVM?". It includes a handy Java class that is supposed to return

Re: Running lots of virtual hosts on tomcat

2005-01-19 Thread Ronald Klop
RJ, I think with a filter we can do our own version of mod_vhost. But for reloading the classes/jsps it needs two instances of Tomcat (maybe on the same machine) with a loadbalancer to update one without interrupting the user. Or is the compiler build into Tomcat 5.5 fast enough (and without

Re: Tomcat Requirements?

2004-11-30 Thread Ronald Klop
Is the system using swap? You should tune the java app (Tomcat) to not use more memory than is available without swapping. Ronald. On Mon Nov 29 20:43:07 CET 2004 Chris Cherrett [EMAIL PROTECTED] wrote: I have a client who is claiming that my software is slowing down. I cannot determine why this

Re: HTTP Compression

2004-11-24 Thread Ronald Klop
I think two things are mixed here. Compression and port value are different things. BTW: we use compression=on. I like using defaults as long as they work. Ronald. On Tue Nov 23 17:49:20 CET 2004 deepak shripat mane [EMAIL PROTECTED] wrote: For client purpose u have to specify port value so must

Re: Does Tomcat Rollback transactions automatically.

2004-11-24 Thread Ronald Klop
Do not mix webserver and database logic. Tomcat does only webserving. Ronald. On Tue Nov 23 22:35:06 CET 2004 Shilpa Nalgonda [EMAIL PROTECTED] wrote: Hi , I am using Tomcat 4.1.30, and using datasource to get the Connection from Pool. When there is an exception in the database operations, the

Re: NoSuchElementException in cluster

2004-11-22 Thread Ronald Klop
: Ronald Klop To: Filip Hanik - Dev Sent: Friday, November 19, 2004 10:44 AM Subject: Re: NoSuchElementException in cluster Yes, but we never change the session. It only holds the User object, which is set at login. I have looked at the tomcat code. This session replication is not thread safe

Re: high traffic Tomcat sites out there?

2004-11-22 Thread Ronald Klop
On Mon Nov 22 11:55:08 CET 2004 LAM Kwun Wa Joseph [EMAIL PROTECTED] wrote: For my Tomcat cluster I'm looking for an upper limit on the estimation of how much traffic it may face. Say, would thousands of HTTP req/s be too 'astronomical' for a 4-node Dual P4 Xeon cluster to achieve? (I'm talking

mod_jk / sticky_session / fallback question

2004-11-19 Thread Ronald Klop
Hello, I'm searching the internet for this question, but can't find the answer. If I use mod_jk with sticky_session=true and session replication between to tomcat nodes. Does mod_jk send the session to another server if the 'sticky' server fails? Ronald.

Re: NoSuchElementException in cluster

2004-11-19 Thread Ronald Klop
Hello, I found these two bug reports, looking similar to my issue below. http://issues.apache.org/bugzilla/show_bug.cgi?id=27104 http://issues.apache.org/bugzilla/show_bug.cgi?id=31328 Are there any comments/ideas on this for version 5.0.x? Ronald. On Tue Nov 16 18:23:14 CET 2004 Ronald Klop

NoSuchElementException in cluster

2004-11-16 Thread Ronald Klop
Hello, I'm seeing these exceptions on one of my 2 nodes. The memory cosumption of this server is now growing for a couple of hours, but I cannot tell if that is related with this. I removed the server from the worker list of mod_jk so it is still in the cluster, but not receiving any requests

Re: NoSuchElementException in cluster

2004-11-16 Thread Ronald Klop
Sorry, I'm using Tomcat 5.0.28. Somebody upgraded the boxes. On Tue Nov 16 16:43:29 CET 2004 Ronald Klop [EMAIL PROTECTED] wrote: Hello, I'm seeing these exceptions on one of my 2 nodes. The memory cosumption of this server is now growing for a couple of hours, but I cannot tell

Re: Tomcat and -server option

2004-11-15 Thread Ronald Klop
System.getProperty(...); java.vm.name=Java HotSpot(TM) Client VM (I'm not running with -server option...) Ronald. On Wed Nov 10 19:28:39 CET 2004 Mufaddal Khumri [EMAIL PROTECTED] wrote: Hi, I have specified the -server option in my catalina.sh using JAVA_OPTS. JAVA_OPTS=-server

Re: Tomcat and -server option

2004-11-15 Thread Ronald Klop
You are running Mac OS X. Does Apple support the Server Hotspot version? Maybe it falls back to client by default. Ronald. On Fri Nov 12 22:08:42 CET 2004 Mufaddal Khumri [EMAIL PROTECTED] wrote: Hi, I have: JAVA_OPTS=-server -Djava.awt.headless=true -Xms1g -Xmx1g -Dfile.encoding=ISO-8859-1 in

Re: Tomcat and -server option

2004-11-15 Thread Ronald Klop
java.library.path=/usr/local/j2sdk1.4.2_05/jre/lib/i386/client:... ^^ java.vm.name=Java HotSpot(TM) Client VM ^^ Ronald. On Wed Nov 10 19:28:39 CET 2004 Mufaddal Khumri [EMAIL PROTECTED] wrote: Hi, I have

exception in clustering

2004-11-09 Thread Ronald Klop
Hello, I've a cluster of two nodes with 5.0.25 running on Linux. Everythings works fine for most of the day, but we are now getting this a lot on one server. After shutting down this server, the other one still runs. Nov 9, 2004 4:50:24 PM org.apache.catalina.cluster.tcp.TcpReplicationThread run

Re: exception in clustering

2004-11-09 Thread Ronald Klop
normal, this shows that a connection was broken between one server and the other, you need to figure out why it breaks? restart? network? Filip - Original Message - From: Ronald Klop [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, November 09, 2004 10:02 AM Subject: exception

Re: RE:how to set encoding parameter in Tomcat4...

2004-11-02 Thread Ronald Klop
I set request.setCharacterEncoding(...) before handling the request. My Tomcat-5 doesn't pick up the content-type of the request from a browser, because browsers do not send content encoding as http headers. Maybe xmlRPC does the same. I recommend you to use a network sniffer for looking what

proxy support and X-Forwarded-For

2004-10-28 Thread Ronald Klop
Hallo, Does Tomcat support the headers: X-Forwarded-For, X-Forwarded-Host and X-Forwarded-Server when running behind a proxy? And if not, would this be a nice feature? I'm running Tomcat 5.0.25 behind Apache 1.3/mod_proxy and doesn't look like Tomcat uses these headers. Any thoughts? I'm willing

Re: AW: proxy support and X-Forwarded-For

2004-10-28 Thread Ronald Klop
On Thu Oct 28 19:50:35 CEST 2004 Steffen Heil [EMAIL PROTECTED] wrote: Hi Does Tomcat support the headers: X-Forwarded-For, X-Forwarded-Host and X-Forwarded-Server when running behind a proxy? I'm running Tomcat 5.0.25 behind Apache 1.3/mod_proxy and doesn't look like Tomcat uses these headers.

voting for 5.0.29?

2004-10-27 Thread Ronald Klop
Sorry if I missed something, but what was the result of the vote if 5.0.29 is stable or beta? Does somebody has a link to the mail thread? Ronald.

Re: which Linux Platform is best for Tomcat?

2004-10-26 Thread Ronald Klop
My company is running a 2-node cluster of Tomcat 5.0.25 on Debian Woody (custom upgraded kernel 2.4 and 2.6) with about 70 requests/sec. Recently we started upgrading some test machines to Debian Sarge, which still runs very well. Ronald. On Tue Oct 26 15:27:44 CEST 2004 sudip shrestha [EMAIL

Race condition in session handling?

2004-10-25 Thread Ronald Klop
Hello, I get this stacktrace when using Tomcat 5.0.25, Java 1.4.2 on Linux. java.util.NoSuchElementException java.util.HashMap$HashIterator.nextEntry(HashMap.java:785) java.util.HashMap$KeyIterator.next(HashMap.java:818) java.util.AbstractCollection.toArray(AbstractCollection.java:174)

unsetting characterEncoding?

2004-10-12 Thread Ronald Klop
Hello, Is it possible to unset the character encoding for some requests. I call setCharacterEncoding(windows-1252) for every request in a filter. But now my image/jpeg servlets add charset to the content-type. If I now call setCharacterEncoding(null) in my image-servlet it doesn't unset the

Re: Multiple arguments in a GET URL

2004-10-04 Thread Ronald Klop
You should escape the value of mainFrame, so the webserver will not parse it in index.jsp. Ronald. On Fri Oct 01 19:34:04 CEST 2004 [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I am attempting to redirect to a URL that is similar to the following

RE: Multiple arguments in a GET URL

2004-10-04 Thread Ronald Klop
You better escape the value than replacing one character. This doesn't solve your issue on the long run. See java.net.URLEncoder. String args = mainFrame= + URLEncoder(url, UTF-8); Ronald. On Mon Oct 04 04:34:05 CEST 2004 [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Eric: Thanks for your help. Now

Re: 'referer' header contains Servlet path, not referrer

2004-09-10 Thread Ronald Klop
You can send this back to the browser. body onload='alert(you have an error.); history.go(-1);'/body On Fri Sep 10 12:51:42 CEST 2004 Keith Hankin [EMAIL PROTECTED] wrote: My code is in the Servlet, and I can't access Javascript within the Servlet. - Original Message - From: Tim Funk

Re: AW: ThreadPool: Pool exhausted with 100 threads

2004-09-08 Thread Ronald Klop
we'll be switching to 5.0.28 after some initial testing. Any further suggestions more than welcome Thanks again, Matt --- Ronald Klop [EMAIL PROTECTED] wrote: So, this is an error from the ThreadPool and not from java or the OS. The errors I got we're errors from the OS because of a limited nr

Re: AW: ThreadPool: Pool exhausted with 100 threads

2004-09-07 Thread Ronald Klop
r feedback, we plan onupgrading to 4.x or 5.0 but not sure which is theright choice.Thanks,Matt--- Ronald Klop [EMAIL PROTECTED] wrote: On Mon Sep 06 00:40:14 CEST 2004 Matt Robinson [EMAIL PROTECTED] wrote: Steffen,Many thanks for the response. The reason we stuck with 3.2.4 was because of

Re: AW: ThreadPool: Pool exhausted with 100 threads

2004-09-06 Thread Ronald Klop
On Mon Sep 06 00:40:14 CEST 2004 Matt Robinson [EMAIL PROTECTED] wrote: Steffen, Many thanks for the response. The reason we stuck with 3.2.4 was because of stability. However, as we have become more successful our systems have been receiving heavier loads and thus, the Threadpool exhausted

Re: AW: ThreadPool: Pool exhausted with 100 threads

2004-09-06 Thread Ronald Klop
On Mon Sep 06 00:40:14 CEST 2004 Matt Robinson [EMAIL PROTECTED] wrote: Steffen, Many thanks for the response. The reason we stuck with 3.2.4 was because of stability. However, as we have become more successful our systems have been receiving heavier loads and thus, the Threadpool exhausted

Re: Tomcat Server Status

2004-08-31 Thread Ronald Klop
Look at the http://your-hostname/manager/html webapp. See also: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/manager-howto.html Ronald. On Tue Aug 31 12:54:51 CEST 2004 Kashif Siddiqui [EMAIL PROTECTED] wrote: Hi all, I am sucessfully running Tomcat server, now I want to know that is there

Re: Tomcat Server Status

2004-08-31 Thread Ronald Klop
On Tue Aug 31 13:14:22 CEST 2004 Kashif Siddiqui [EMAIL PROTECTED] wrote: Thank you very much for guidance, but this page don't show StartTime/UpTime of Tomcat Server... http://localhost:/manager/html Is there any way to get it. I use a ServletContextListener for this. It has a 'static long

Re: How do I get an intermediary proxy from caching?

2004-08-31 Thread Ronald Klop
Yes. To be precise: you have to set the headers before Tomcat flushes its outputbuffer for the first time. To be save, just set headers, than output html. Ronald, On Tue Aug 31 20:10:13 CEST 2004 [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Must you do this as one of the first things you do, before

Re: Changing session-cookie(JSESSIONID) name in tomat

2004-08-23 Thread Ronald Klop
Use grep JSESSIONID * and build your own Tomcat. Ronald. On Mon Aug 23 18:26:55 CEST 2004 Dineshram Villuri [EMAIL PROTECTED] wrote: Hi, Is there a way we can change JSESSIONID name? I mean can we have a different cookie name to store sessionid? If yes how I can configure it in tomcat. I have two

Bug in deploying .war with Tomcat Manager.

2004-08-13 Thread Ronald Klop
Hello, I've tried this on FreeBSD 5 with Tomcat 5.0.27 and on Windows XP with Tomcat 5.0.24. Both using JDK 1.4.2. I made a war file of my webapp with the name crm.war. The war file contains this context.xml in the META-INF directory. ?xml version='1.0' encoding='utf-8'? Context docBase=crm.war

Re: Wildcard virtual hosts help

2004-07-16 Thread Ronald Klop
You can use a default host if I remember correct. All hosts which don't have there own mapping will be handled by the default host. Ronald. On Thu Jul 15 22:11:03 CEST 2004 Cott Lang [EMAIL PROTECTED] wrote: I have a specific problem that requires that I map hundreds of thousands (yes, hundreds

Anybody using compressableMimeTypes?

2004-07-13 Thread Ronald Klop
Hello, I'm using the Connector options compression=on and compressableMimeTypes=text/html,text/xml,text/plain,text/javascript,text/css. But it looks like Tomcat is just using its defaults for compressableMimeTypes. Does anybody experience the same thing? I filed a bugreport on this earlier this

Re: compressableMimeTypes (extra info)

2004-07-07 Thread Ronald Klop
I forgot to mention I'm running Tomcat 5.0.25 on Debian Linux with Sun JDK 1.4.2. Ronald. On Tue Jul 06 15:39:27 CEST 2004 Ronald Klop [EMAIL PROTECTED] wrote: Hello, I have put this in my server.xml. compression=on compressableMimeTypes=text/html,text/xml,text/plain,text/javascript,text/css

compressableMimeTypes

2004-07-06 Thread Ronald Klop
Hello, I have put this in my server.xml. compression=on compressableMimeTypes=text/html,text/xml,text/plain,text/javascript,text/css But it does not compress text/javascript and text/css. (It does compress text/html.) Is this setting ignored? Not implemented yet? I don't have the source at hand,

Re: Tomcat on FreeBSD

2004-06-28 Thread Ronald Klop
You can also try this question on [EMAIL PROTECTED] or [EMAIL PROTECTED] Did you use the ports version of tomcat5? If not, please do. Does it work if you first install jdk14 and then tomcat5. I think the port will notice that jdk14 is already installed. If no jdk is installed I think it will try

Re: RE: Klaus-Dieter -V715101- Ackermann/Volksfuersorge/AMComNET/DE ist außer Haus.

2004-06-28 Thread Ronald Klop
It is a german out-of-office message. On Mon Jun 28 18:43:56 CEST 2004 Guy [EMAIL PROTECTED] wrote: What is this crap? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, June 28, 2004 12:19 PM To: Tomcat Users List Subject: Klaus-Dieter -V715101-

Re: HTTP header for dynamic pdf and IE6

2004-06-07 Thread Ronald Klop
Is it possible that IE saves the document in the cache than starts acrobat with the filename in the cache and than removes the file because you set no-cache and expire options before acrobat can open it? Ronald. On Sat Jun 05 11:52:03 CEST 2004 Dean A. Hoover [EMAIL PROTECTED] wrote: I have a

default for reloadable setting

2004-06-02 Thread Ronald Klop
Hello, The docs on http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/context.html do not mention the default setting of reloadable. Does anybody know what it is? Greetings, Ronald.

maxPostSize and file upload

2004-06-02 Thread Ronald Klop
Hello, Does the maxPostSize setting for the Connector in server.xml affect the max. size of a file upload? Ronald.

Re: maxPostSize and file upload

2004-06-02 Thread Ronald Klop
Veniamin Fichin [EMAIL PROTECTED] wrote: Ronald Klop wrote: Does the maxPostSize setting for the Connector in server.xml affect the max. size of a file upload? Since file upload occurs with POST method, yes it restricts upload file size

Re: maxPostSize and file upload

2004-06-02 Thread Ronald Klop
knows about this maybe the docs can be updated to be more verbose about this. Ronald. On Wed Jun 02 15:44:24 CEST 2004 Veniamin Fichin [EMAIL PROTECTED] wrote: Ronald Klop wrote: Is it possible that this does not work? The docs (http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/ajp.html) say

RE: Found a racing condition?

2004-05-26 Thread Ronald Klop
Shapira, Yoav [EMAIL PROTECTED] wrote: Hi, I don't think that's a race condition (it's race, not racing, by the way ;)). But I'm curious to hear your reasoning as to why you suspect that? Yoav Shapira Millennium Research Informatics -Original Message- From: Ronald Klop [mailto:[EMAIL

Found a racing condition?

2004-05-25 Thread Ronald Klop
Today I got this when doing a request during Tomcat startup. Can it be a racing condition? Greetings, Ronald. INFO: Starting Coyote HTTP/1.1 on port 8080 May 25, 2004 1:37:14 PM org.apache.coyote.tomcat5.CoyoteAdapter service SEVERE: An exception or error occurred in the container during the

Re: Tomcat for FreeBSD

2004-04-13 Thread Ronald Klop
If you have installed the FreeBSD ports collection (which you probably have), than do this: cd /usr/ports/www/jakarta-tomcat5 make make install make clean The 'make' command wil show some settings, which may be readable depending on how fast your computer scrolls text. Greetings, Ronald. On

upload file with non-ascii characters in name

2004-04-09 Thread Ronald Klop
Hello, When I run Tomcat on Windows and upload (with IE)a file with non-ascii characters in the filename it goes well.But when I run Tomcat on Linux and do the same upload it doesn't recognize the non-ascii characters and prints them as squares or question mark. Does anybody have experience with

5.0.19 docs about new clustering config?

2004-03-02 Thread Ronald Klop
Hello, Are there (up-to-date) docs about the new clustering config in 5.0.19? Some attributes are not in the example config (like 'name') and the documents arn't very clear if it's still needed or not. Greetings, Ronald.

Re: Do servlet threads ever die?

2004-03-02 Thread Ronald Klop
On Tue Mar 02 04:02:30 CET 2004 Christopher Schultz [EMAIL PROTECTED] wrote: Ken, Problem: I call native code (Tcl) from my servlet. Tcl's thread model forces me to run Tcl only on the thread that created the Tcl interpreter. So now how do I cleanup these interpreters? The cleanup code needs to

Re: [ANN] Apache Tomcat 5.0.19 Stable and Tomcat 4.1.30 Stable released

2004-02-23 Thread Ronald Klop
On Mon Feb 23 10:38:08 CET 2004 Remy Maucherat [EMAIL PROTECTED] wrote: The Tomcat Team announces the immediate availability of Apache Tomcat 5.0.18 Stable and Tomcat 4.1.30 Stable. I think you copy-and-pasted a little to much. The subject and body don't match 5.0.19 - 5.0.18. The website is

RE: [ANN] Apache Tomcat 5.0.19 Stable and Tomcat 4.1.30 Stable released

2004-02-23 Thread Ronald Klop
On Mon Feb 23 14:44:30 CET 2004 Shapira, Yoav [EMAIL PROTECTED] wrote: Howdy, I think you copy-and-pasted a little to much. The subject and body don't match 5.0.19 - 5.0.18. The website is wrong about this also. Where's the website wrong? Yoav Shapira  

Re: Installing tomcat 5 on BSD 5

2004-02-13 Thread Ronald Klop
The native JDK 1.4 is doing very well (and is fast) on FreeBSD. If you have the time to compile it I would suggest you try that one. I'm using it a lot, without problems. See also the [EMAIL PROTECTED] for more info about this. Greetings, Ronald. On Thu Feb 12 13:50:41 CET 2004 Thomas Cherry

mail.jar and activation.jar in Tomcat 4.1.29

2003-11-26 Thread Ronald Klop
Hello, Why is mail.jar and activation.jar added in Tomcat 4.1.29 in common/lib? My webapp uses it's own mail.jar (1.3.1 in stead of 1.2) and activation.jar and everything doesn't work anymore. I think this is a major 'API' change for a minor release. For what are these api's used by

RE: mail.jar and activation.jar in Tomcat 4.1.29

2003-11-26 Thread Ronald Klop
in common/lib before. FYI, I also use mail 1.3.1 by putting it in WEB-INF/lib (which overrides common/lib in the classloader hierarchy) without a problem. Yoav Shapira Millennium ChemInformatics -Original Message- From: Ronald Klop [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 26

bug in JDBCStore in 4.1.27

2003-09-09 Thread Ronald Klop
Hello, Is anybody interested to fix BUG# 19034 (InvalidClassException in StoreBase.java)? http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19034 It is still in there and generates a lot of errors if I update my web-application. Greetings, Ronald.

can't display jsp compile errors when using error-page.

2003-07-14 Thread Ronald Klop
Hello, If I use error-page in web.xml, jsp compile and runtime errors are going to the error handler. If you use errorPage='error.jsp' only runtime errors are handled by my error page. I put this in my web.xml: error-page

Re: can't display jsp compile errors when using error-page.

2003-07-14 Thread Ronald Klop
idea to maybe make your own exceptions that trigger the error page. Abid -Original Message- From: Ronald Klop [mailto:[EMAIL PROTECTED] Sent: 14. juli 2003 15:02 To: [EMAIL PROTECTED] Subject: can't display jsp compile errors when using error-page. Hello, If I use error-page in web.xml, jsp

Re: Looking for suggestions or pointers ..

2003-07-14 Thread Ronald Klop
See javax.servlet.ServletContextListener. A context is destroyed and initialized when Tomcat is reloaded. You can define a context listener in WEB-INF/web.xml: listener listener-classbla.bla.MyContextListener/listener-class /listener Works very well for my applications. Note: Take a look

tag and method overloading

2003-06-04 Thread Ronald Klop
Hello, Is it possible to overload a method of a tag. In JSP: String arg1 = bla; int arg2 = 5; mytag name=%= arg1 % / mytag name=%= arg2 % / In the class: public void setName(String s) { ... } public void setName(int i) { ... } I get errors like: can't find setter method for String. Is this

Re: tag and method overloading

2003-06-04 Thread Ronald Klop
Ronald Klop wrote: Hello, Is it possible to overload a method of a tag. In JSP: String arg1 = bla; int arg2 = 5; mytag name=%= arg1 % / mytag name=%= arg2 % / In the class: public void setName(String s) { ... } public void setName(int i) { ... } I get errors like: can't find setter method

gzip compression in Coyote on 4.1.24

2003-04-01 Thread Ronald Klop
Hello, Sorry if this is send twice, but I think my previous mail got lost in cyberspace somewhere. (Can't even find it in my Sent-box.) I'm trying to use gzip compression with tomcat 4.1.24. And it doesn't work, because it checks if content-type is 'text/html', but this fails if the

gzip compression in Coyote from 4.1.24

2003-04-01 Thread Ronald Klop
Hello, Can somebody confirm if gzip compression works in Tomcat 4.1.24? I have found that it is not working if the Content-Type contains extra info like ';charset=us-ascii'. The only bug reports I can find about this are: 18073 (made by myself) and 2820 [1]. I am wondering if other people are

GZIP support in Coyote HTTP/1.1?

2003-03-17 Thread Ronald Klop
? Greetings, Ronald Klop. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

nullpointerexception jdbcstore

2002-09-18 Thread Ronald Klop
. - -- ~ Ronald Klop ~ Amsterdam, The Netherlands -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.7 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE9iDvAPgc4rWsY77MRArISAKCyQnZyRmoil/S3zAGR1INvXdwUqwCeKSph uJnpOsKzMvPwsH7mL4XZZi8= =+F8J -END PGP SIGNATURE

Re: nullpointerexception jdbcstore

2002-09-18 Thread Ronald Klop
. I have found more bugs which are easy to fix (NPE-stuff, etc.), but I don't want to spent time for fixing it if the fixes aren't used (or rejected with good reasons). Ronald Klop. | | Ronald Klop [EMAIL PROTECTED] | 09/18/2002 01:39 AM | Please respond to Tomcat Users List

Re: Does Tomcat require restart when chaning classes?

2002-09-13 Thread Ronald Klop
for any |errors or omissions in the contents of this message, which arise as a |result of e-mail transmission. If verification is required please |request a hard-copy version. | | | - -- ~ Ronald Klop ~ Amsterdam, The Netherlands -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.7 (FreeBSD) Comment

Re: Problem running Tomcat 4.0.4 under JDK 1.4.1

2002-09-06 Thread Ronald Klop
PROTECTED] For additional commands, e-mail: mailto:tomcat-user- [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- Ronald Klop Amsterdam, The Netherlands -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED

Re: Problem running Tomcat 4.0.4 under JDK 1.4.1

2002-09-06 Thread Ronald Klop
and removing every class file that is linked to my source. I've also downgraded to JDK 1.4.0 so that I minimise my problems. I'll let you know if this is the solution. Donie -Original Message- From: Ronald Klop [mailto:[EMAIL PROTECTED]] Sent: 06 September 2002 11:28 To: Tomcat Users

Re: Running a long transaction with tomcat but responding to userqui ckly

2002-09-06 Thread Ronald Klop
. Thanks for any solutions Donie -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- Ronald Klop Amsterdam, The Netherlands -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto

NullPointerException in JDBCStore

2002-09-03 Thread Ronald Klop
) { ; } try { -preparedLoadSql.close(); +if (preparedLoadSql != null) +preparedLoadSql.close(); } catch (SQLException e) { ; } -- Ronald Klop Amsterdam, The Netherlands