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 wrote: Hello, Is it normal that the session is invalidated before the valueUnbound handlers

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

Why is 5.5.12 alpha?

2005-10-06 Thread Ronald Klop
known bugs, because it is called alpha. Ronald.

Re: Tomcat/MySQL Application Update

2005-08-10 Thread Ronald Klop
even add Tomcat to webstart, so Tomcat updates are distributed automaticly. Ronald. On Wed Aug 10 01:56:43 CEST 2005 Tomcat Users List wrote: We have a servlet that is run locally on about 20 laptops. I am currently manually updating the application on each laptop about once per month. Can

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 wrote: Hello, we're currently setting up a Tomcat 5.5.9 cluster and

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 wrote: I thought our discussion on GZIP is a

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 wrote: Hi All, Easiest part of this question is simply does tomcat (5.5.7) support

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 wrote: PROBLEM: Trying to write to URL via URLConnection.getOutputStream().write() fails. In the main method below, the code attempts to write some bytes to HYPERLINK "http://loca

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 wrote: I have the following scenario that I am testing. 1. Go to www.yahoo.com(or

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

2005-07-29 Thread Ronald Klop
work in pre-mozilla/pre-ie-5.5 at all. Ronald. On Fri Jul 29 04:20:35 CEST 2005 Tomcat Users List wrote: thanx for ur help i will go forward in using GZIP for my application. can you tell me what would be the ideal page (or image or what ever it may be) size over which we can apply comp

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 wrote: It will eat up CPU,

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 wrote: Hi all, Iam planning to t

NoSuchElementException

2005-07-26 Thread Ronald Klop
of Tomcat and Java and it can be solved in a lot of ways. Ronald. java.util.NoSuchElementException java.util.HashMap$HashIterator.nextEntry(HashMap.java:790) java.util.HashMap$KeyIterator.next(HashMap.java:823) java.util.AbstractCollection.toArray(AbstractCollectio

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

JAAS

2005-07-11 Thread ronald
I've been trying to get the JavaWorld example located at http://www.javaworld.com/javaworld/jw-03-2005/jw-0307-captcha.html On tomcat v5.5.9 (JDK 1.5) on Linux without any luck. It goes through the authentication process and reports it's assigned the anonymous principle but when I go to access the

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
this? Greetings, Ronald.

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 wrote: All, Anybody here who knows a foolproof site for setting up tomcat under

Re: Urgent: how to detect client has closed connection

2005-06-07 Thread Ronald Klop
Sorry, But I have no more suggestions. I would have to debug it myself than and don't have the time for that. Maybe somebody else on the list can tell you more. Maybe posting some snippets of code helps. Ronald. On Thu Jun 02 22:25:12 CEST 2005 lapson lee <[EMAIL PROTECTED]>

Re: Urgent: how to detect client has closed connection

2005-06-01 Thread Ronald Klop
a jsp page you get a JspWriter which does throw exeptions on error. Ronald. On Tue May 31 19:42:30 CEST 2005 Tomcat Users List wrote: Hey guys, I have a problem right now. I wrote a Jsp page to keep sending data to client browser. However, no exception was thrown when I use out.print() to

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 wrote: Hi - I was just wondering if

Re: Can a client recapture a session in Tomcat 4.1

2005-05-13 Thread Ronald Klop
works the same. Ronald. On Thu May 12 16:57:29 CEST 2005 Tomcat Users List wrote: Can a client recapture his Tomcat session after he has accidentally closed the browser, provided that the session object still exists on the server? Would this be a browser-specific thing? After all, I guess I'd ne

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

2005-04-11 Thread Ronald Klop
bapp with 2500 users logged in for 8 hours a day (so sessions live long). Ronald.

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 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 all sorts of info

Re: Running lots of virtual hosts on tomcat

2005-01-19 Thread Ronald Klop
memory leaks enough) to run it on a production machine. Ronald. On Wed Jan 19 15:37:30 CET 2005 Tomcat Users List wrote: Hi, Our web department is thinking about moving from coldfusion to tomcat. Currently we have about 400 websites using apache's mod_vhost module. This works great. The only

jsp+bean (tomcat) Sample Code

2004-12-23 Thread Ronald Andia
*** Your mail has been scanned by InterScan. ***-*** Hi, I am developing a new application using jsp+bean with tomcat 5. I don't have problems whit forms, but I don't know if bean is a good architecture for reports...(using the bean to access the database)...

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 determi

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 operation

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 speci

Re: high traffic Tomcat sites out there?

2004-11-22 Thread Ronald Klop
we are using Tomcat 5.0.28, JDK 1.4.2, Debian Sarge (linux 2.6.x), Apache 1.3.x/mod_jk 1.2.6. Ronald.

Re: NoSuchElementException in cluster

2004-11-22 Thread Ronald Klop
Thanks. How bad is it that I get these errors now? Wil I loose sessions? Ronald. On Fri Nov 19 20:34:21 CET 2004 Filip Hanik - Dev <[EMAIL PROTECTED]> wrote: I've updated the delta request to avoid these errors in the next release of tomcat5.0 and tomcat 5.5 Filip - Origi

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

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-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

NoSuchElementException in cluster

2004-11-16 Thread Ronald Klop
uests anymore. Any ideas about the exceptions. Are they harmless? Can they be related to a constantly growing amount of in-use memory? I'm running Tomcat 5.0.25 on Linux 2.4 and 2.6 with JDK 1.4.2. It runs very well most of the time. Ronald. SEVERE: Unable to perform replicati

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,

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

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_OP

Re: exception in clustering

2004-11-09 Thread Ronald Klop
Yes, I understand that, but I was wondering if there is more experience with using a cluster under load. I am thinking about timeout settings? Or maybe something else. I have everything as default now. Ronald. On Tue Nov 09 17:21:47 CET 2004 Filip Hanik - Dev <[EMAIL PROTECTED]> wrote:

exception in clustering

2004-11-09 Thread Ronald Klop
ead.java:534) Can I solve this by tweaking some timeouts? I'm about to upgrade to 5.0.28 soon. Is this going to help? Ronald.

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

2004-11-02 Thread Ronald Klop
what bytes are really send over the wire between the application and the server and tomcat and the database. Ronald. http://jakarta.apache.org/tomcat/tomcat-4.1-doc/servletapi/javax/servlet/ServletRequest.html#setCharacterEncoding(java.lang.String) On Mon Nov 01 20:48:07 CET 2004 Shilpa Nalgonda &l

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

2004-10-28 Thread Ronald Klop
orwarded-Host and X-Forwarded-Server as Apache fills them with the same value in my case. Ronald.

proxy support and X-Forwarded-For

2004-10-28 Thread Ronald Klop
'm willing to try to implement these if it is needed by more people. Ronald.

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 <[EM

Race condition in session handling?

2004-10-25 Thread Ronald Klop
) javax.servlet.http.HttpServlet.service(HttpServlet.java:810) It is probably caused by my code in which the login screen and logout action are conflicting, but I would expect to get this exception from Tomcat. Any thoughts? Ronald.

unsetting characterEncoding?

2004-10-12 Thread Ronald Klop
x27;t unset the charset. How can I do this? Ronald. PS: I know it is not necessary, because the browser will ignore this parameter to content-type, but is just saves those extra bytes. :-)

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 PR

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 http://www.mysite.com/ind

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

2004-09-10 Thread Ronald Klop
You can send this back to the browser. 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" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]

Re: AW: ThreadPool: Pool exhausted with 100 threads

2004-09-08 Thread Ronald Klop
the URL's which are being processed. Very helpfull. But as far as I now Tomcat 3 doesn't support filters. Greetings, Ronald. On Tue Sep 07 23:18:39 CEST 2004 Matt Robinson <[EMAIL PROTECTED]> wrote: Ronald, Thanks this is quite helpful - using your jsp I can see where we hit

Re: AW: ThreadPool: Pool exhausted with 100 threads

2004-09-07 Thread Ronald Klop
I use a jsp which I will attach. It shows all running threads and threadgroups by there name. It gave me some usefull insight in the inner workings of Tomcat. Ronald.   On Tue Sep 07 07:08:10 CEST 2004 Matt Robinson <[EMAIL PROTECTED]> wrote: Ronald,The exact error message is "

Re: AW: ThreadPool: Pool exhausted with 100 threads

2004-09-06 Thread Ronald Klop
t What OS are you running? Last week I tweaked glibc of debian 3.0 to support more threads, because the defaults are quite low for heavily threaded programs. Ronald.

Re: AW: ThreadPool: Pool exhausted with 100 threads

2004-09-06 Thread Ronald Klop
t How many threads do you have when it is exhausted and what is the error message you get? We are running Tomcat 5 with about hundred threads quite ok here. Tomcat 5 is much more efficient, so it can help you to try it out. Ronald.

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 fir

Re: Tomcat Server Status

2004-08-31 Thread Ronald Klop
#x27;static long startTime = System.currentTimeMillis();' or something like that. I can query this from a jsp or servlet. Ronald.

Re: Tomcat Server Status

2004-08-31 Thread Ronald Klop
Look at the http:///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 any

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.

Bug in deploying .war with Tomcat Manager.

2004-08-13 Thread Ronald Klop
nybody use this? Is this a known problem? Greetings, Ronald.

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 (ye

Anybody using compressableMimeTypes?

2004-07-13 Thread Ronald Klop
bugreport on this earlier this week, but am looking for more info. I'm using Tomcat 5.0.25 in a standalone environment (no apache in front of it). Greetings, Ronald.

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/plai

compressableMimeTypes

2004-07-06 Thread Ronald Klop
#x27;t have the source at hand, so I can't check it myself. Greetings, Ronald.

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- Ackermann

Re: Tomcat on FreeBSD

2004-06-28 Thread Ronald Klop
jdk13 first, because that is the only 'licensed by Sun' version for FreeBSD for now. But I'm not really sure about this. I do have jdk14 and tomcat5 running here. Greetings, Ronald. On Mon Jun 28 09:37:06 CEST 2004 "Sergey Velikanov [UzPAK]" <[EMAIL PROTECTED]> w

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]>

Re: maxPostSize and file upload

2004-06-02 Thread Ronald Klop
t if somebody 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-

Re: maxPostSize and file upload

2004-06-02 Thread Ronald Klop
Is it possible that this does not work? The docs (http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/ajp.html) say that the default is 2MB, but I can download much larger files. Is this a bug or a feature? By the way: I upload using commons-fileupload. Ronald. On Wed Jun 02 14:04:45 CEST 2004

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.

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.

RE: Found a racing condition?

2004-05-26 Thread Ronald Klop
I don't know why it is a race condition. The error just happened once and I could not reproduce it. But I don't know enough about the internals of Tomcat to what really happens there. Just mailed it, so somebody who knows can do something with (or not). Ronald. On Tue May 25 14:50:06

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, R

upload file with non-ascii characters in name

2004-04-09 Thread Ronald Klop
with this? Greeting, Ronald.? java-src/jspc ? web/test.html ? web/WEB-INF/jsp/forms/maintenance Index: java-src/nl/base/rela/entities/Hour.java === RCS file: /var/cvs/crm/java-src/nl/base/rela/entities/Hour.java,v retrieving revisio

RE: caching static objects

2004-03-23 Thread Ronald Wildenberg
rmation you can look at the HTTP/1.1 RFC at: ftp://ftp.isi.edu/in-notes/rfc2616.txt and search for the text 'Cache-Control'. Regards, Ronald. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Filters and load-on-startup

2004-03-16 Thread Ronald Wildenberg
ad order: listeners, filters, servlets (Servlet Specification 2.4). So any filters should be loaded before any servlets, regardless of load-on-startup value. Regards, Ronald. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: How can I get a method to be called every 60 seconds in Tomca t?

2004-03-16 Thread Ronald Wildenberg
> I want to get a method to automatically get called every 60 > seconds in Tomcat. The method reset() will reset monitoring > information. How can I do this? > java.util.Timer and java.util.TimerTask Reg

RE: Passing init params to a listener?

2004-03-15 Thread Ronald Wildenberg
fy initialization parameters for individual listeners. The syntax you use is even illegal. I do not really see why this should not be possible, since all other web components (servlets, filters) can be parameterized, but that may be something for a future

RE: Setting page content Type

2004-03-12 Thread Ronald Wildenberg
have variables as attributes, since the value of these variables can never be known at the time the page is translated to a servlet. Regards, Ronald. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Dump HTTP Request and Response Headers

2004-03-12 Thread Ronald Wildenberg
hows you the headers that are sent and received by the browser. Undoubtedly for IE there exist similar tools. Regards, Ronald. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: redirect and request´s attributes doubts

2004-03-12 Thread Ronald Wildenberg
from the server (status code 3xx), with the location to redirect to. The client then creates a _new_ request for the new url and sends it to the server. The server creates a new HttpServletRequest object for you that has nothing to do with the old o

RE: release method in taglib

2004-03-11 Thread Ronald Wildenberg
entation object automatically, so you don't have to call this yourself. Multiple invocations on doStartTag and doEndTag may have occurred before this method is called (for example when multiple tags of the same type occur on a page

RE: Tomcat Realm Authentication + Storing Objects In The Session

2004-03-10 Thread Ronald Wildenberg
ner for this? It is called right after a session is created (and when it's destroyed again). I'm not sure though whether there's enough information in the HttpSession object for you to be able to grab something from the database at the time HttpSessionListener.ses

RE: Tomcat 4.1 hangs on File Reading

2004-03-10 Thread Ronald Wildenberg
ing line = null; while ((line = bfFile.readLine()) != null) { LoginLog logEntry = getLogEntry(line); // Create log entry from the line just read. log.add(logEntry); } There is no need to use 'bfFile.ready()'. This method only checks whether the call to a

RE: HttpServletResponse.sendRedirect() closes the stream

2004-03-10 Thread Ronald Wildenberg
the side effect of committing the response and terminating it. If the response is terminated, its related OutputStream is closed, so it can not be closed again. > > Thanks > Surendra > Regards, Ronald. - To unsu

Re: Do servlet threads ever die?

2004-03-02 Thread Ronald Klop
llo, I use a webstart app with JINI for these things. Very easy. I can start a server on any host by webstart and it automaticly connects to the webserver by JINI. You can also create a Thread of your own in the Tomcat server, which you control yourself, but indeed. If you native code crashes, your server crashes. Ronald.

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: [ANN] Apache Tomcat 5.0.19 Stable and Tomcat 4.1.30 Stable released

2004-02-23 Thread Ronald Klop
ttp://jakarta.apache.org/site/news.html#20040223.1 But I see it's fixed already. Greetings, Ronald.

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

2004-02-23 Thread Ronald Klop
The website is wrong about this also. Greetings, Ronald.

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 C

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

2003-11-26 Thread Ronald Klop
I have made handlers for multipart/related, etc. for use in a web based mailclient. This gives a lot of trouble with ClassLoaders. Removing mail.jar and activation.jar from common/lib solves the problem. And I'm 100% sure, that I've never had to do that before 4.1.29. Greetings, Ro

mail.jar and activation.jar in Tomcat 4.1.29

2003-11-26 Thread Ronald Klop
api's used by Tomcat? I can't think of anything that a webserver does with mail. Greetings, Ronald.

RE: Request Too Large

2003-09-15 Thread Welch, Ronald P
Chanan, What version of Tomcat are you working with? Ron --=-=-=-=-=-=-=-=-oOo-=-=-=-=-=-=-=-=-- mailto:[EMAIL PROTECTED]Phone:(607)770-3701 BAE SYSTEMS Controls600 Main St Johnson City, NY 13790-1888 --=-=-=-=-=-=-=-=-=

RE: jk_ajp12_worker.lo unknown file type.

2003-09-11 Thread Welch, Ronald P
Johan, What compiler / linker are you using? I built jk2 rather than jk on Solaris 8 rather than 9, but in doing so I found that it was much happier building with the GNU compiler and linker than the ones that come with Solaris. I hope this helps. Ron --=-=-=-=-=-=-=-=-oOo===

RE: Building/using JK2 - linking problem

2003-09-10 Thread Welch, Ronald P
Nikola, I had similar problems with loading shared libraries until I recompiled jk2 after configuring it with the "./configure --with-apxs=/some/path/to/apache2/bin/apxs" command suggested in John Turner's "Solaris 8 + Tomcat HOWTO", which is, BTW, and excellent resource. I have been able to get e

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

RE: Inquiry received

2003-09-05 Thread Welch, Ronald P
1377732 is the latest Windchill config id I have. It should be the same config id for the gateway, I assume. --=-=-=-=-=-=-=-=-oOo-=-=-=-=-=-=-=-=-- mailto:[EMAIL PROTECTED]Phone:(607)770-3701 BAE SYSTEMS Controls600 Main St Johnson City,

Tomcat/Apache2/JNI on Solaris Again

2003-08-29 Thread Welch, Ronald P
Has anyone been able to get Apache2 to start Tomcat 4.1.x on Solaris? There was a thread subject on this back in February, but there was no resolution that I can find. I am getting the following errors: [Fri Aug 29 12:47:25 2003] [error] env.createBean2(): Factory error creating channel.jni:jni (

Can't create resource Tomcat 4.0.6

2003-07-28 Thread Ronald van Aken
Dear list, I tried finding the awnser in the list already but can tackle this problem. I use 4.0.6 for development and 4.1 tomcat for production. I use a JNDI resource to connect to a MS SQL database which works good under 4.1 but under 4.0.6 I get an error Cannot create resource. I adapted some

Re: Looking for suggestions or pointers ..

2003-07-14 Thread Ronald Klop
be very easy to use also for clean up. Greetings, Ronald. On Monday 14 July 2003 10:14, Mufaddal Khumri wrote: > The problem: > > We have some codebase that uses a legacy connection pool manager (cpm) > to manage database connections with mysql. The very first time the > login.j

  1   2   >