Re: Keeping tomcat up-to-date on linux

2010-05-20 Thread Harry Metske
I agree with Hassan, our reasons to use the tar.gz install method : * in most serious Tomcat environments you need more control over the installation and configuration than the distro managed version offers. * most distro's (especially RHEL) are lagging behind, so you don't get the latest stuff

Re: HELP with my first webapp thats live!

2010-05-20 Thread Yucca Nel
Yes you idiot it's easy to point me to google to google for a jsf tutorial. wELL they are all broken as is tomcat. During development I tested a hundred times and it worked on my machine. I used relativ links through combinations of command links and outputlinks and they still work. But online

Re: Keeping tomcat up-to-date on linux

2010-05-20 Thread Yucca Nel
Here is th most basic layout of my table banner that uses outputlink tgs. on my development rig each link works 100% each time I click it. %@ taglib prefix=h uri=http://java.sun.com/jsf/html; % %@ taglib prefix=f uri=http://java.sun.com/jsf/core; % %-- Created by IntelliJ IDEA. User: owner

Re: Question on workers.properties file

2010-05-20 Thread André Warnier
Ok then. I am not familiar with IIS, but try the following : In the AJP Connector of Tomcat, in server.xml, add the attribute tomcatAuthentication=false. Then try again in your servlet with getRemoterUser(). If that does not work, then we wiil have to find an easy way to dump the HTTP request

Re: HELP with my first webapp thats live!

2010-05-20 Thread André Warnier
Well ok then, here are two more tips for you : 1) do not hijack threads 2) http://www.catb.org/~esr/faqs/smart-questions.html Yucca Nel wrote: Yes you idiot it's easy to point me to google to google for a jsf tutorial. wELL they are all broken as is tomcat. During development I tested a

Re: Keeping tomcat up-to-date on linux

2010-05-20 Thread Pid *
You're making a massive assumption that anyone here has the expertise you need. This is the Tomcat support community, and we're usually enthusiastic about helping people with Tomcat problems. Your problem isn't, at first glance, a Tomcat problem. Almost, if not all of your recent problems have

Re: Tomat monitoring

2010-05-20 Thread Ozgur Ozdemircili
Hi, It seems ok yet the latest release was in 2006. Anyone using Java melody Jconsole in production? Salut! Özgür Özdemircili http://www.acikkod.org Code so clean you could eat off it On Wed, May 19, 2010 at 7:59 PM, zigg...@gmail.com wrote: I use tomcat probe Try it its quite good

Re: Tomcat 6.0.20 unable to create new native thread

2010-05-20 Thread andreas müller
Original-Nachricht Datum: Wed, 19 May 2010 13:42:28 +0100 Von: Peter Crowther peter.crowt...@melandra.com An: Tomcat Users List users@tomcat.apache.org Betreff: Re: Tomcat 6.0.20 unable to create new native thread On 19 May 2010 13:26, tom...@habmalnefrage.de wrote:

Re: Tomat monitoring

2010-05-20 Thread Leon Rosenberg
Hello, never heard of javamelody before, but it looks like nagios ;-) Jconsole is definitely not a tool for monitoring. regards Leon On Thu, May 20, 2010 at 11:58 AM, Leon Rosenberg rosenberg.l...@googlemail.com wrote: Hello, never heard of javamelody before, but it looks like nagios ;-)

Re: Tomat monitoring

2010-05-20 Thread Ozgur Ozdemircili
Hi, It really seems like snmp monitoring software yet gives statistics about Jvm. And yes Jconsole is a monitoring tool Anyone that has used them in prod environement? http://en.wikipedia.org/wiki/JConsole Özgür Özdemircili http://www.acikkod.org Code so clean you could eat off it On Thu,

Re: Tomat monitoring

2010-05-20 Thread Leon Rosenberg
On Thu, May 20, 2010 at 12:11 PM, Ozgur Ozdemircili ozgur.ozdemirc...@gmail.com wrote: Hi, It really seems like snmp monitoring software yet gives statistics about Jvm. And yes Jconsole is a monitoring tool than we have different understanding of what a monitoring tool is ;-) but that's

RE: C3p0 datasource

2010-05-20 Thread Woude, Alexander van der
Hello Charles, I use C3P0 0.9.1. The JVM is Sun JDK 1.6.0_18 (64 bit) Platform RH Enterprise linux 5 The full stacktrace is : javax.naming.NamingException: Could not create resource factory instance [Root exception is java.lang.IllegalAccessException: Class

Re: Tomat monitoring

2010-05-20 Thread Daniel Savard
So, decipher how the jconsole can be used as a monitoring tool? My belief is it can be used to provide snmp agent services, but I have no experience with it and I am curious to hear from others about it. Daniel Savard 2010/5/20, Leon Rosenberg rosenberg.l...@gmail.com: On Thu, May 20, 2010 at

RE: C3p0 datasource

2010-05-20 Thread Woude, Alexander van der
hahaha I already tried that. FAIL - Encountered exception javax.naming.NamingException: No set method found for property: driverClassName and removing that just gives another error too. Thanks :-) Van: Pid [...@pidster.com] Verzonden: woensdag 19

Re: Question on workers.properties file

2010-05-20 Thread savoym
Thanks again for the reply. I do already have the tomcatAuthentication=false setting as you stated below and I had tried the getRemoteUse() from the HttpRequestServlet but that unfortunately did not work unless I did something wrong. I will try again but I do not think that is working.

Re: Tomcat 6.0.20 unable to create new native thread

2010-05-20 Thread André Warnier
Andreas, I believe that what several people here are trying to tell you, is that you are apprently starting a massive amount (*) of threads, on a 32-bit machine where the JVM cannot address more than 2 GB or so anyway. In addition, you have a problem with a webapp leaving connections

Re: Question on workers.properties file

2010-05-20 Thread André Warnier
savoym wrote: Thanks again for the reply. I do already have the tomcatAuthentication=false setting as you stated below and I had tried the getRemoteUse() from the HttpRequestServlet but that unfortunately did not work unless I did something wrong. I will try again but I do not think that is

Re: Tomat monitoring

2010-05-20 Thread Ozgur Ozdemircili
Are we loosing the subject here a bit? While mentioning the monitoring I refer to JVM monitoring. Heap usage etc. not the snmp monitoring. Özgür Özdemircili http://www.acikkod.org Code so clean you could eat off it On Thu, May 20, 2010 at 12:32 PM, Daniel Savard daniel.sav...@gmail.comwrote:

Re: mod_jk session stickiness on failover

2010-05-20 Thread JohnRiley
Hi, Thanks for all answers. I created a custom Valve for this purpose and it seems to work great in early testing. Hopefully we can configure this easier in a future version of tomcat. Many thanks! /Johan Rainer Jung-3 wrote: On 19.05.2010 20:12, JohnRiley wrote: Ok, even if I execute

Re: Question on workers.properties file

2010-05-20 Thread savoym
My understanding is that IIS+ jk redirector is suppose to give us windows authentication what I cannot find either on the IIS website or the Apache Tomcat Connector website is HOW one gets to the authentication properties. I've read the HOW to get it setup but that is as far as it goes on the

Re: Tomat monitoring

2010-05-20 Thread Leon Rosenberg
Hello Ozgur, check this out please: http://test.anotheria.net/moskitodemo/mui/mskShowAllProducers this is the demo version of moskito. regards Leon On Thu, May 20, 2010 at 1:24 PM, Ozgur Ozdemircili ozgur.ozdemirc...@gmail.com wrote: Are we loosing the subject here a bit? While mentioning

Re: Question on workers.properties file

2010-05-20 Thread André Warnier
Hi. I am a bit busy right now, and I'll have more time tonight to answer. But in short, if you are using jCIFS until now, then Jespa is really a drop-in replacement. You get the user-id via getRemoteUser() just the same way. Only web.xml changes, the application does not, as far as I know. But

Re: Question on workers.properties file

2010-05-20 Thread savoym
The issue is that we do not currently use web.xml to set the particulars for JCIFS. A wrapper was built by our former team lead who has now left the company and Michael Allen had stated that we had to use the settings as he has it in his doc in order for JESPA to work. As I stated previously,

Re: Tomat monitoring

2010-05-20 Thread Daniel Savard
We are not talking about SNMP monitoring, but about SNMP as a tool to interface between monitoring of the JVM and applications and a centralized manager or integration with a manager of managers in an enterprise-wide picture. Daniel Savard 2010/5/20 Ozgur Ozdemircili ozgur.ozdemirc...@gmail.com:

Re: Question on workers.properties file

2010-05-20 Thread André Warnier
savoym wrote: The issue is that we do not currently use web.xml to set the particulars for JCIFS. A wrapper was built by our former team lead who has now left the company and Michael Allen had stated that we had to use the settings as he has it in his doc in order for JESPA to work. As I

Re: Question on workers.properties file

2010-05-20 Thread savoym
I have not checked that. I will try that today. Don't know where you are located in the world but it's about 7:35AM where I am in the state of Texas - USA Thanks again for all your help. awarnier wrote: savoym wrote: The issue is that we do not currently use web.xml to set the

Tomcat NTLM authentication

2010-05-20 Thread dB .
Forgive me for shameless advertising. This should be useful to lots of people. We've published a free Tomcat 6 Negotiate authenticator based on JNA that supports the Negotiate protocol, including Kerberos and the much requested NTLM. This is equivalent to checking the Integrated Authentication

RE: Tomcat NTLM authentication

2010-05-20 Thread Jason Pyeron
-Original Message- From: dB. Sent: Thursday, May 20, 2010 8:42 Subject: Tomcat NTLM authentication Forgive me for shameless advertising. This should be useful to lots of people. We've published a free Tomcat 6 Negotiate authenticator based Apache License? on JNA that

Question regarding IIS Windows Authentication using Tomcat Connector

2010-05-20 Thread Savoy, Melinda
I have a Java web app whereby we have been using the JCIFS open source authentication package that uses NTLMv1 over the past 5 years and it's been working great. However, some of our users are now using Windows 7 that does not accept NTLMv1 authentication and now I'm looking at IIS in order to

RE: Tomcat NTLM authentication

2010-05-20 Thread dB .
Eclipse Public License http://waffle.codeplex.com/license I am happy to attach another license to this if there're any real issues with it. dB. @ dblock.org Moscow|Geneva|Seattle|New York -Original Message- From: Jason Pyeron [mailto:jpye...@pdinc.us] Sent: Thursday, May 20, 2010

RE: Question regarding IIS Windows Authentication using Tomcat Connector

2010-05-20 Thread dB .
I just posted about this :) Instead of using IIS, you should take a look at the Waffle Tomcat Authenticator (http://waffle.codeplex.com). Currently it stores a Generic principal with the user's FQN and all local/domain groups, but that can certainly be extended to a much richer principal with

RE: Keeping tomcat up-to-date on linux

2010-05-20 Thread Caldarale, Charles R
From: Pid * [mailto:p...@pidster.com] Subject: Re: Keeping tomcat up-to-date on linux Your problem isn't, at first glance, a Tomcat problem. Almost, if not all of your recent problems have been to do with JSF. You will be more likely to find the specific help you need elsewhere. Probably

RE: Tomat monitoring

2010-05-20 Thread Martin Gainty
you might want to consider an API for java based SNMP agents http://www.snmp4j.org/index.html does this help? Martin Gainty __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie

RE: Tomat monitoring

2010-05-20 Thread Caldarale, Charles R
From: Ozgur Ozdemircili [mailto:ozgur.ozdemirc...@gmail.com] Subject: Re: Tomat monitoring It seems ok yet the latest release was in 2006. Due to the inertness of Lambda Probe, there's a fork of it still being updated and developed by a different set of people:

RE: Tomat monitoring

2010-05-20 Thread Caldarale, Charles R
From: Daniel Savard [mailto:daniel.sav...@gmail.com] Sent: 2010 May 20, Thursday 05:32 To: Tomcat Users List Subject: Re: Tomat monitoring So, decipher how the jconsole can be used as a monitoring tool? My belief is it can be used to provide snmp agent services, but I have no experience

RE: Question regarding IIS Windows Authentication using Tomcat Connector

2010-05-20 Thread Savoy, Melinda
I did see your post from Nabble and I appreciate it. I will hopefully get an opp to try it today if I cannot get an answer to my issue. A few questions on your post below, and pardon my ignorance, but what is a user's FQN, are you stating that Waffle does NOT provide a user id from the

Mike Wilde is out of the office.

2010-05-20 Thread Michael Wilde
I will be out of the office starting 20/05/2010 and will not return until 25/05/2010. If you have any urgent production Healthcare issues please contact Iain B Miller or Tam Kyle. If urgent please raise an incident in the TST DBAMR USD queue.

Re: Tomcat NTLM authentication

2010-05-20 Thread Mark Thomas
On 20/05/2010 13:48, dB. wrote: Eclipse Public License http://waffle.codeplex.com/license I am happy to attach another license to this if there're any real issues with it. There are. Sort of. The ASF can't include source code that is EPL licensed in Apache products. However, the bugzilla

Re: Tomat monitoring

2010-05-20 Thread Mark H. Wood
On Thu, May 20, 2010 at 01:24:04PM +0200, Ozgur Ozdemircili wrote: Are we loosing the subject here a bit? While mentioning the monitoring I refer to JVM monitoring. Heap usage etc. not the snmp monitoring. SNMP can be used to monitor just about anything that is measurable, so long as you find

Re: Keeping tomcat up-to-date on linux

2010-05-20 Thread Mark H. Wood
On Thu, May 20, 2010 at 02:03:24PM +1200, Dale Ogilvie wrote: Hi, The current release is 6.0.26, March 2010. RHEL5.x is running with Tomcat 5.5. Fedora 12 is on 6.0.20, June 2009 vintage. Ubuntu 10.04 is on 6.0.24 from Jan 2010. Gentoo doesn't.have.versions.anymore is on 6.0.26

Re: multiple form submits

2010-05-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pid, On 5/17/2010 4:43 PM, Pid wrote: On 17/05/2010 21:07, Christopher Schultz wrote: Karthik, On 5/13/2010 3:45 AM, Karthik Nanjangude wrote: Question : My web application uses href css based image's for transferring the request from 1

RE: Question regarding IIS Windows Authentication using Tomcat Connector

2010-05-20 Thread dB .
FQN = fully qualified name (it's unambiguous, usually machine-name\username or domain-name\username). It's there and returned by the Waffle tomcat authenticator. But names may change (people get married, groups renamed), so Windows has a concept of SID, it's a binary identifier (S-xyz), that

RE: Tomcat NTLM authentication

2010-05-20 Thread dB .
You have my explicit +1 to take this code and use/include it in Tomcat. dB. @ dblock.org Moscow|Geneva|Seattle|New York -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Thursday, May 20, 2010 9:29 AM To: Tomcat Users List Subject: Re: Tomcat NTLM authentication

Re: multiple form submits

2010-05-20 Thread Hassan Schroeder
On Thu, May 20, 2010 at 7:01 AM, Christopher Schultz ch...@christopherschultz.net wrote: UserVisitor is  clicking the image based href  MULTIPLE TIMES I'd love to hear some clever solutions to this problem. Create a unique value in a hidden field in each displayed form. Have a servlet filter

Re: Tomcat NTLM authentication

2010-05-20 Thread Mark Thomas
On 20/05/2010 15:11, dB. wrote: You have my explicit +1 to take this code and use/include it in Tomcat. Cheers. Looking at this is on my todo list. There is also another enhancement in BZ that covers SPNEGO. I'm not sure either solution is exactly what I am looking for since my (maybe

RE: Question regarding IIS Windows Authentication using Tomcat Connector

2010-05-20 Thread Savoy, Melinda
Thanks for the reply. 2 more questions if you don't mind: 1. Just wanted to confirm that Waffle does support NTLMv2? We do not use Kerberos on our network. 2. Are the web.xml settings required? Again, we have our own custom security package and it is defined in the web.xml file.

RE: Tomcat 6.0.20 unable to create new native thread

2010-05-20 Thread Caldarale, Charles R
From: andreas müller [mailto:tom...@habmalnefrage.de] Subject: Re: Tomcat 6.0.20 unable to create new native thread Is there any way to calculate the max threadcount our system can handle? Other than by experimentation, not that I'm aware of. Or is there any way to expand the thread

RE: Question regarding IIS Windows Authentication using Tomcat Connector

2010-05-20 Thread dB .
1. Yes. It will support whatever your Windows box supports since it calls the native Windows API. Smartcards, retinal scans, etc. 2. They are not, your code should be fine. dB. @ dblock.org Moscow|Geneva|Seattle|New York -Original Message- From: Savoy, Melinda

Re: multiple form submits

2010-05-20 Thread Pid
On 20/05/2010 15:01, Christopher Schultz wrote: Pid, On 5/17/2010 4:43 PM, Pid wrote: On 17/05/2010 21:07, Christopher Schultz wrote: Karthik, On 5/13/2010 3:45 AM, Karthik Nanjangude wrote: Question : My web application uses href css based image's for transferring the request

Is Tomcat Connector for IIS (isapi_redirect.dll) tested/supported on W2k8 64-bit?

2010-05-20 Thread Ganesan, Chandru
Hi Please see the email below for the problem description. 1. Is isapi_redirect.dll tested/supported on Windows 2008 64-bit? 2. I'm able to successfully hit the tomcat server when IIS 7 is configured to run in 32-bit mode on Win2k8 (64-bit). IIS trace shows following error when I

Re: Is Tomcat Connector for IIS (isapi_redirect.dll) tested/supported on W2k8 64-bit?

2010-05-20 Thread André Warnier
Hi. If you are using isapi_redirect.dll together with a 64-bit IIS, then you probably need a 64-bit isapi_redirect.dll. Is that what you are using ? Ganesan, Chandru wrote: Hi Please see the email below for the problem description. 1. Is isapi_redirect.dll tested/supported on

RE: Tomat monitoring

2010-05-20 Thread Lewis, David
I work in technical support for CA Wily Introscope and our software monitors pretty much anything running in a JVM as well as the JVM and underlying OS health itself. Just depends how many JVMs you intend to be monitoring and what budget you have as I think most of our customers would be

RE: Is Tomcat Connector for IIS (isapi_redirect.dll) tested/supported on W2k8 64-bit?

2010-05-20 Thread Ganesan, Chandru
Absolutely, Yes. The same configuration works fine when I run IIS 7 in 32-bit mode with 32-bit isapi_redirect.dll. However it fails when I use 64-bit (amd64) isapi_redirect.dll with IIS 64-bit mode. Thanks Chandru Ganesan -Original Message- From: André Warnier

RE: HELP with my first webapp thats live!

2010-05-20 Thread Caldarale, Charles R
From: Yucca Nel [mailto:yucca...@live.co.za] Subject: RE: HELP with my first webapp thats live! Could anyone explain how i configure Tomcat to use my deployed war as default when domain receives a request? Read the FAQ:

Streaming text files to user

2010-05-20 Thread Roman Sokolyuk
Hi, Could someone please point me to some information? I am having difficulty finding what I need on Google. I want to embed links in my page that, when clicked on will download a text file form the file system onto users desktop - stream it. However, if possible I want to avoid writing a

Re: HELP with my first webapp thats live!

2010-05-20 Thread André Warnier
Caldarale, Charles R wrote: From: Yucca Nel [mailto:yucca...@live.co.za] Subject: RE: HELP with my first webapp thats live! Could anyone explain how i configure Tomcat to use my deployed war as default when domain receives a request? Read the FAQ:

Re: Streaming text files to user

2010-05-20 Thread Ken Bowen
In case what the OP wants is for a zip of the text file (from his file system) to end up on the user's desk top, here is today's top Google hit on servlet mime type zip: http://www.javaside.com/u_zipservlet.html --Ken On May 20, 2010, at 3:11 PM, André Warnier wrote: Roman Sokolyuk

Re: Streaming text files to user

2010-05-20 Thread André Warnier
Ken Bowen wrote: In case what the OP wants is for a zip of the text file (from his file system) to end up on the user's desk top, here is today's top Google hit on servlet mime type zip: http://www.javaside.com/u_zipservlet.html I am not sure that this is what the OP wanted, but that servlet

user cancels download attachment

2010-05-20 Thread Ðavîd Låndïs
Tomcat 6.0.20 Java 1.6.0_20-b02 Linux 2.6.32-22 I have a servlet that writes CSV content to the HTTPServletResponse. It uses Content-disposition of attachment and ContentType text/x-csv. The servlet creates a PrintWriter something like (pseudo code): new PrintWriter(new

how to return a zipped file so that the browser will unzip it ?

2010-05-20 Thread André Warnier
Hi. This is not really a Tomcat question, rather something one should be able to do with Tomcat, but I-don't-know-how kind of thing. It was inspired by this servlet : http://www.javaside.com/u_zipservlet.html The question is : Suppose that to gain space on my Tomcat server and to speed up

RE: user cancels download attachment

2010-05-20 Thread Caldarale, Charles R
From: Ðavîd Låndïs [mailto:dlan...@gmail.com] Subject: user cancels download attachment Tomcat 6.0.20 Java 1.6.0_20-b02 Linux 2.6.32-22 I can't answer your question (at least not yet), but one more piece of information is needed: do you have anything front-ending Tomcat, such as httpd,

RE: how to return a zipped file so that the browser will unzip it ? [OT]

2010-05-20 Thread Jason Pyeron
Read the HTTP rfc, more details inline... -Original Message- From: André Warnier Sent: Thursday, May 20, 2010 16:04 Subject: how to return a zipped file so that the browser will unzip it ? Hi. This is not really a Tomcat question, rather something one should be able to do with

Re: user cancels download attachment

2010-05-20 Thread Ðavîd Låndïs
It is standalone. Thanks. On Thu, May 20, 2010 at 4:07 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Ðavîd Låndïs [mailto:dlan...@gmail.com] Subject: user cancels download attachment Tomcat 6.0.20 Java 1.6.0_20-b02 Linux 2.6.32-22 I can't answer your question (at least

Re: user cancels download attachment

2010-05-20 Thread Jorge Medina
I would be interested on the answer when the server is front-ended with httpd. I currently have a web services application (using SOAP with attachments) and I would also benefit from getting a IOException (like the Broken pipe) to terminate processing as soon as possible. On Thu, May 20, 2010 at

Re: Question on workers.properties file

2010-05-20 Thread Rainer Jung
Hi André, Melinda and everyone else, On 20.05.2010 14:31, André Warnier wrote: savoym wrote: I Rainer Jung is around, he may tell us if my assumptions are correct, that IIS+redirector also sends the IIS user-id to Tomcat, if there is any. If not, then tonight I might be able to send you a

Re: Problem using response.sendRedirect to redirect to URL that includes ñ or tilde

2010-05-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 5/18/2010 4:18 AM, André Warnier wrote: Among other bizarre things, it does mean that in a URL, one has to encode the hostname using one method, and the rest of the URL using another method. As if encoding issues were not already

Re: [OT] how to return a zipped file so that the browser will unzip it ?

2010-05-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, I'll be a little more detailed than Jason's response... On 5/20/2010 4:04 PM, André Warnier wrote: The question is : Suppose that to gain space on my Tomcat server and to speed up content delivery, I have a whole bunch of files in one of

Re: multiple form submits

2010-05-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hassan, On 5/20/2010 10:31 AM, Hassan Schroeder wrote: On Thu, May 20, 2010 at 7:01 AM, Christopher Schultz ch...@christopherschultz.net wrote: UserVisitor is clicking the image based href MULTIPLE TIMES I'd love to hear some clever

Re: multiple form submits

2010-05-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pid, On 5/20/2010 11:51 AM, Pid wrote: On 20/05/2010 15:01, Christopher Schultz wrote: That's fine, but the onclick handler doesn't do anything but disable itself upon the first click. It doesn't need to; after the scriptlet completes it'll

Re: [OT] how to return a zipped file so that the browser will unzip it ?

2010-05-20 Thread André Warnier
Christopher Schultz wrote: ... I wonder if a patch could be written for the DefaultServlet to do something like this: if compression has been enabled on the Connector, the request is for file foo, and foo.gz exists in the same location, use the foo.gz file as source instead of compressing on

Re: user cancels download attachment

2010-05-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ðavîd, (Wow, that's a lot of accented characters! Congratulations on probably having a lot of forms on the web misinterpret your name! There's more below.) On 5/20/2010 4:07 PM, Caldarale, Charles R wrote: From: Ðavîd Låndïs

Re: Tomcat 6.0.20 unable to create new native thread

2010-05-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter, On 5/19/2010 8:42 AM, Peter Crowther wrote: On 19 May 2010 13:26, tom...@habmalnefrage.de wrote: java.lang.OutOfMemoryError: unable to create new native thread OK, so one possibility is that the Windows thread table is full. :) -

Re: user cancels download attachment

2010-05-20 Thread Ðavîd Låndïs
I think it is streaming although it does use a buffered writer like I mentioned before. Basically, I: generate a line of data, write to the print writer and then repeat (pseudo code): printWriter.write(data); The PrintWriter flushes itself along the way and I can see the Firefox progress bar

Way to record what URL an error originated from in my localhost file?

2010-05-20 Thread laredotornado
Hi, I'm using Tomcat 6.0.26 on Mac 10.3.6. In our localhost file, we often get exceptions that resemble ... SEVERE: Servlet.service() for servlet jsp threw exception java.lang.NullPointerException at org.apache.jsp.play.music.news.details_jsp._jspService(details_jsp.java:456)

Re: Keeping tomcat up-to-date on linux

2010-05-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hassan, On 5/19/2010 11:07 PM, Hassan Schroeder wrote: On Wed, May 19, 2010 at 7:39 PM, Dale Ogilvie dale.ogil...@trimble.co.nz wrote: I'm hoping for something a bit more distro managed. Presumably your method means you have to maintain your

RE: Keeping tomcat up-to-date on linux

2010-05-20 Thread Dale Ogilvie
* We are serious about our tomcat install, and find configuration file and jvm tweaks about all we need to do. * Agreed that most distro's (apart from the rolling release ones such as gentoo, arch) are lagging behind. This is the problem in my view. * I would rather delegate the responsibility

Re: Keeping tomcat up-to-date on linux

2010-05-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dave, On 5/19/2010 11:55 PM, Dale Ogilvie wrote: Yes, the release gap is an issue for me as well. Hence this email trail :-) Parallelism is achieved for us for other software by package updating the test/dev server and testing that prior to

Re: Keeping tomcat up-to-date on linux

2010-05-20 Thread André Warnier
Hi. I think in all of this, you may be overlooking one element : the distributions you seem to be talking about are free, and made by volunteers who donate their time. That includes Tomcat. There are other distributions which are not free, where the people making them actually get paid for

RE: Question on workers.properties file

2010-05-20 Thread Savoy, Melinda
Ranier, Thank you so much for your response. I will am out of town until Monday but I will try it then. Again, many thanks. Regards. From: Rainer Jung [rainer.j...@kippdata.de] Sent: Thursday, May 20, 2010 15:55 To: Tomcat Users List Subject: Re:

RE: Keeping tomcat up-to-date on linux

2010-05-20 Thread Caldarale, Charles R
From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: Keeping tomcat up-to-date on linux In my country, there is a proverb : if you receive a horse (as a present, for free), then you should not check his teeth. Slightly different in English-based cultures: Don't look a gift horse in the

Re: user cancels download attachment

2010-05-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ðavîd, On 5/20/2010 5:30 PM, Ðavîd Låndïs wrote: I think it is streaming although it does use a buffered writer like I mentioned before. Sure, but if you use a buffered writer to simply dump a huge byte array, that's not exactly streaming. What I

Re: Re: multiple form submits

2010-05-20 Thread Terence M. Bandoian
How about the following? When the form is submitted, display a page without a submit button that 1) indicates the form is being processed and 2) submits the form data for actual processing. -Terence Bandoian Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pid,

RE: Keeping tomcat up-to-date on linux

2010-05-20 Thread Dale Ogilvie
My intent is purely to find the best solution for an up-to-date tomcat on linux. If we have to pay for an up-to-date tomcat on linux we will. Indeed we would prefer to roll up the cost for up-to-date tomcat in our current commercial distro fees. From responses it seems: 1. that there is no

Re: multiple form submits

2010-05-20 Thread André Warnier
Just some comments.. How about the following? When the form is submitted, display a page without a submit button that 1) indicates the form is being processed and 2) submits the form data for actual processing. And in the meantime, where is the page with the form with the data that has to

Re: Way to record what URL an error originated from in my localhost file?

2010-05-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dave, On 5/20/2010 5:30 PM, laredotornado wrote: Is there a way to configure Tomcat to record what the URL was in the browser when this error occurred? Do you have any error-page elements in your web.xml? Do you have custom error pages? If you do,

Re: Keeping tomcat up-to-date on linux

2010-05-20 Thread André Warnier
Dale Ogilvie wrote: ... A free gift can vary greatly in it's final value, depending on it's actual usefulness and how many hidden costs it brings with it. I think that now you are *really* pushing it. People have been blacklisted from this list, and have had their Tomcat download license

Re: user cancels download attachment

2010-05-20 Thread Ðavîd Låndïs
Thanks again for the info, Chris. Please excuse the formatting, I am attempting to respond inline to the points below. On Thu, May 20, 2010 at 6:16 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ðavîd, On 5/20/2010 5:30 PM, Ðavîd

RE: Way to record what URL an error originated from in my localhost file?

2010-05-20 Thread Leo Donahue - PLANDEVX
-Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Thursday, May 20, 2010 3:34 PM To: Tomcat Users List Subject: Re: Way to record what URL an error originated from in my localhost file? Valve

RE: Way to record what URL an error originated from in my localhost file?

2010-05-20 Thread Leo Donahue - PLANDEVX
-Original Message- From: Leo Donahue - PLANDEVX [mailto:leodona...@mail.maricopa.gov] Sent: Thursday, May 20, 2010 3:57 PM To: 'Tomcat Users List' Subject: RE: Way to record what URL an error originated from in my localhost file? Very nice example, thanks Chris. Where is

RE: user cancels download attachment

2010-05-20 Thread Caldarale, Charles R
From: Ðavîd Låndïs [mailto:dlan...@gmail.com] Subject: Re: user cancels download attachment I was hoping Tomcat would have some way of knowing that it was cancelled and close it. Look at the API spec for PrintStream: Methods in this class never throw I/O exceptions. However, you can use

Re: user cancels download attachment

2010-05-20 Thread Ðavîd Låndïs
Thanks a lot for checking that. I had already tried that actually and checkError is false. PrintWriter just sets a flag when there is an exception and then that method you reference returns the value of that flag. I set a breakpoint right in that class and it keeps writing with no internal

RE: user cancels download attachment

2010-05-20 Thread Caldarale, Charles R
From: Ðavîd Låndïs [mailto:dlan...@gmail.com] Subject: Re: user cancels download attachment I will try to debug deeper down into the platform. What connector are you using? Blocking, NIO, or APR? I suppose it is possible there is something else buffering it, but I don't think it is a

Re: user cancels download attachment

2010-05-20 Thread Ðavîd Låndïs
On Thu, May 20, 2010 at 9:51 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Ðavîd Låndïs [mailto:dlan...@gmail.com] Subject: Re: user cancels download attachment I will try to debug deeper down into the platform. What connector are you using?  Blocking, NIO, or APR?

newbie logging question: JULI or log4j or both?

2010-05-20 Thread Johan Martinez
Hi, I am a developer and new to tomcat administration. I had to look into admin side for some urgent need. Following are my basic questions. I am not sure how is container is configured. How do I find out if I am using JULI or log4j for logging? I see configuration files for both of them. Does

RE: newbie logging question: JULI or log4j or both?

2010-05-20 Thread Caldarale, Charles R
From: Johan Martinez [mailto:jmart...@gmail.com] Subject: newbie logging question: JULI or log4j or both? I am a developer and new to tomcat administration. Tomcat version? JVM version? Platform? (Always provide the basics when making inquiries.) How do I find out if I am using JULI or