Call for help about the problem java.lang.OutOfMemoryError: unable to create new native thread in Tomcat5.5.26

2009-11-30 Thread Peter Chen
Hello everyone, I meet one problem of OutOfMemoryError when I am running the Tomcat5.5.26, the following is the detail of stack information. Nov 29, 2009 12:41:16 AM org.apache.tomcat.util.threads.ThreadPool$ControlRunnable run SEVERE: Caught exception (java.lang.OutOfMemoryError: unable to

RE: AJP with HTTPD - Buffer Size on long URLs

2009-11-30 Thread Looijmans, Mike
The RFC specs a maximum URL size of 4k. That should be enough for everybody. Note that you can mix and match as required: Use the URL portion of your request to identify the target of the request, and put the additional data in the POST body. -Original Message- From: André Warnier

Re: AJP with HTTPD - Buffer Size on long URLs

2009-11-30 Thread André Warnier
Looijmans, Mike wrote: The RFC specs a maximum URL size of 4k. Where precisely did you find that ? As per my own memory, it is not as clear as that. But in various places, it warns against too long URLs, not so much because of the httpd server itself, but because intermediate agents may have

RE: AJP with HTTPD - Buffer Size on long URLs

2009-11-30 Thread Looijmans, Mike
Looijmans, Mike wrote: The RFC specs a maximum URL size of 4k. Where precisely did you find that ? RFC2068 (old HTTP/1.1 spec) This message and attachment(s) are intended solely for use by the addressee and may contain information that is privileged, confidential or otherwise exempt

Re: Call for help about the problem java.lang.OutOfMemoryError: unable to create new native thread in Tomcat5.5.26

2009-11-30 Thread Pid
On 30/11/2009 08:04, Peter Chen wrote: Hello everyone, I meet one problem of OutOfMemoryError when I am running the Tomcat5.5.26, the following is the detail of stack information. Nov 29, 2009 12:41:16 AM org.apache.tomcat.util.threads.ThreadPool$ControlRunnable run SEVERE: Caught exception

Call for help about the problem java.lang.OutOfMemoryError: unable to create new native thread in Tomcat5.5.26

2009-11-30 Thread Peter Chen
Hi everyone, I meet one problem of OutOfMemoryError when I am running the Tomcat5.5.26. The OS is Solaris 10 sparc, and the JVM version is 1.5.0.12, and following is the detail of stack information. Nov 29, 2009 12:41:16 AM org.apache.tomcat.util.threads.ThreadPool$ControlRunnable run SEVERE:

Basic and Form Authentication

2009-11-30 Thread Anthony Jay
Hi, Is is possible to have an application that serves content protected by BASIC and FORM based auth? i.e. JSP protected by FORM Servlets that process XML use http BASIC? I could deploy seperate apps for each type but I would then lose access to application specific information e.g.

Re: Call for help about the problem java.lang.OutOfMemoryError: unable to create new native thread in Tomcat5.5.26

2009-11-30 Thread André Warnier
Pid wrote: On 30/11/2009 09:39, Peter Chen wrote: Hi everyone, ... Please stop replying to Andre's message in the Tomcat 5.17 crashes too often thread and just deleting the subject line contents of the message. You may well be completely ignored after this. Peter, on a list server

How to solve the problem java.lang.OutOfMemoryError: unable to create new native thread in Tomcat5.5.26

2009-11-30 Thread Peter Chen
Hi, I meet one problem of OutOfMemoryError when I am running the Tomcat5.5.26. The OS is Solaris 10 sparc, and the JVM version is 1.5.0.12, and following is the detail of stack information. Nov 29, 2009 12:41:16 AM org.apache.tomcat.util.threads.ThreadPool$ControlRunnable run SEVERE:

Re: Basic and Form Authentication

2009-11-30 Thread André Warnier
Anthony Jay wrote: Hi, Is is possible to have an application that serves content protected by BASIC and FORM based auth? i.e. JSP protected by FORM Servlets that process XML use http BASIC? There is a rather extensive description available here :

Re: How to solve the problem java.lang.OutOfMemoryError: unable to create new native thread in Tomcat5.5.26

2009-11-30 Thread André Warnier
Peter Chen wrote: Hi, I meet one problem of OutOfMemoryError when I am running the Tomcat5.5.26. The OS is Solaris 10 sparc, and the JVM version is 1.5.0.12, and following is the detail of stack information. ... SEVERE: Caught exception (java.lang.OutOfMemoryError: unable to create

Re: How to solve the problem java.lang.OutOfMemoryError: unable to create new native thread in Tomcat5.5.26

2009-11-30 Thread Peter Crowther
2009/11/30 Peter Chen peter.c...@aicent.com: I meet one problem of OutOfMemoryError when I am running the Tomcat5.5.26. The OS is Solaris 10 sparc, and the JVM version is 1.5.0.12, and following is the detail of stack information. SEVERE: Caught exception (java.lang.OutOfMemoryError: unable

RE: How to solve the problem java.lang.OutOfMemoryError: unable to create new native thread in Tomcat5.5.26

2009-11-30 Thread Looijmans, Mike
SEVERE: Caught exception (java.lang.OutOfMemoryError: unable to create new native thread) executing org.apache.tomcat.util.net.leaderfollowerworkerthr...@958b36, ... Has anyone met this problem? Please give me some advice, thanks in advance. Well, it seem that you are

Re: Basic and Form Authentication

2009-11-30 Thread Mark Thomas
Anthony Jay wrote: Hi, Is is possible to have an application that serves content protected by BASIC and FORM based auth? i.e. JSP protected by FORM Servlets that process XML use http BASIC? The Servlet spec does not support this. There is a maximum of one login method allowed per web

Re: How to solve the problem java.lang.OutOfMemoryError: unable to create new native thread in Tomcat5.5.26

2009-11-30 Thread Rainer Frey (Inxmail GmbH)
On Monday 30 November 2009 10:57:04 Peter Chen wrote: Hi, I meet one problem of OutOfMemoryError when I am running the Tomcat5.5.26. The OS is Solaris 10 sparc, and the JVM version is 1.5.0.12, and following is the detail of stack information. Nov 29, 2009 12:41:16 AM

Re: How to access JNDI resources on Tomcat level

2009-11-30 Thread vramanaj
Hi, I am facing problem with configuring JNDI DataSources for Josso project in Tomcat 6. Getting the following errors in tomcat log when i am trying to access the application. Defined resource in conf/Catalina/localhost/webapp.xml. And res-reference in the application's web.xml. Nov 30, 2009

Re: FarmWarDeployer Tomcat 6.0.18 on REL

2009-11-30 Thread samk
See Thread at: http://www.techienuggets.com/Detail?tx=83985 Posted on behalf of a User I have the same issue, seems there is something wrong with this object, and you do have an error message in your logs, it's SEVERE: FarmWarDeployer can only work as host cluster subelement!. According to

RE: AJP with HTTPD - Buffer Size on long URLs

2009-11-30 Thread Caldarale, Charles R
From: Looijmans, Mike [mailto:mike.looijm...@oce.com] Subject: RE: AJP with HTTPD - Buffer Size on long URLs Looijmans, Mike wrote: The RFC specs a maximum URL size of 4k. Where precisely did you find that ? RFC2068 (old HTTP/1.1 spec) Citing an obsoleted RFC is a bit odd.

Re: Newbie Question

2009-11-30 Thread Chinmoy Chakraborty
Thanks a lot for your reply guyz...I will give it a shot... Thanks, Chinmoy On Fri, Nov 27, 2009 at 5:41 PM, Mark Thomas ma...@apache.org wrote: Chinmoy Chakraborty wrote: Hi All, I am trying to understand basic architecture of tomcat server and also started to look into the code.

Easy Way to Upgrade Tomcat Versions?

2009-11-30 Thread Thomas Moorer
Hi All, I have been thinking about upgrading my Tomcat 6.0.16 instance to the latest 6.0.20. I have been thinking about the best way to do that. I have modified several config and shell files and suppose I could just copy those to the 6.0.20 instance, but then I began to wonder if I could just

Re: How to access JNDI resources on Tomcat level

2009-11-30 Thread Pid
On 30/11/2009 13:46, vramanaj wrote: Hi, I am facing problem with configuring JNDI DataSources for Josso project in Tomcat 6. Getting the following errors in tomcat log when i am trying to access the application. Defined resource in conf/Catalina/localhost/webapp.xml. And res-reference in the

Re: AJP with HTTPD - Buffer Size on long URLs

2009-11-30 Thread André Warnier
Caldarale, Charles R wrote: From: Looijmans, Mike [mailto:mike.looijm...@oce.com] Subject: RE: AJP with HTTPD - Buffer Size on long URLs Looijmans, Mike wrote: The RFC specs a maximum URL size of 4k. Where precisely did you find that ? RFC2068 (old HTTP/1.1 spec) Citing an obsoleted RFC

Re: Easy Way to Upgrade Tomcat Versions?

2009-11-30 Thread Pid
On 30/11/2009 16:02, Thomas Moorer wrote: Hi All, I have been thinking about upgrading my Tomcat 6.0.16 instance to the latest 6.0.20. I have been thinking about the best way to do that. I have modified several config and shell files and suppose I could just copy those to the 6.0.20 instance,

RE: Easy Way to Upgrade Tomcat Versions?

2009-11-30 Thread George Sexton
-Original Message- From: Pid [mailto:p...@pidster.com] Sent: Monday, November 30, 2009 10:17 AM To: users@tomcat.apache.org Subject: Re: Easy Way to Upgrade Tomcat Versions? On 30/11/2009 16:02, Thomas Moorer wrote: Hi All, I have been thinking about upgrading my Tomcat

Re: Easy Way to Upgrade Tomcat Versions?

2009-11-30 Thread Tobias Crefeld
Am Mon, 30 Nov 2009 08:02:41 -0800 (PST) schrieb Thomas Moorer tcm...@yahoo.com: I have been thinking about upgrading my Tomcat 6.0.16 instance to the latest 6.0.20. I have been thinking about the best way to do that. I have modified several config and shell files and suppose I could just

Re: Importing CERTIFICATE into Java Keystore

2009-11-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Stephen, On 11/20/2009 3:05 AM, Stephen . wrote: I got the LDAP connection working on my IDM. Test Connection Succeeded Glad to hear it. However, when I try to create a new User on the LDAP Resource, I get the following error :

Re: Basic and Form Authentication

2009-11-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Anthony, On 11/30/2009 4:53 AM, Anthony Jay wrote: Is is possible to have an application that serves content protected by BASIC and FORM based auth? As Mark points out, the servlet spec says not in the same webapp. Tomcat implements the

Re: AJP with HTTPD - Buffer Size on long URLs

2009-11-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mike, On 11/30/2009 3:10 AM, Looijmans, Mike wrote: The RFC specs a maximum URL size of 4k. That should be enough for everybody. ...along with 640k of regular memory. I'll let you read André's and Chuck's harangues about your dubious recollection

Re: Easy Way to Upgrade Tomcat Versions?

2009-11-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tobias, On 11/30/2009 1:30 PM, Tobias Crefeld wrote: Am Mon, 30 Nov 2009 08:02:41 -0800 (PST) schrieb Thomas Moorer tcm...@yahoo.com: I have been thinking about upgrading my Tomcat 6.0.16 instance to the latest 6.0.20. I have been thinking

Re: Char Encoding text streams on Tomcat 5.5 and Linux

2009-11-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Juha, On 11/28/2009 12:31 PM, Juha Laiho wrote: Dan Bagley wrote: In the failing environment I have the following env settings LANG=en_GB.UTF-8 the successful env is set to LANG=en_UK I'm pretty certain that is the reason for the

Re: Char Encoding text streams on Tomcat 5.5 and Linux

2009-11-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 11/27/2009 11:05 AM, André Warnier wrote: A bit more detail : in java, if you open a text input stream without specifying in which encoding it is, it will default to the platform encoding, which in this case is the locale setting of the

Re: Tomcat does not respect the HTTP RFCs !

2009-11-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pid, On 11/28/2009 8:03 AM, Pid wrote: On 28/11/2009 12:56, André Warnier wrote: ;-) I just wanted, once, to use a subject line with capitals and an exclamation mark. It seems however that in this particular case, neither Tomcat nor Apache

Re: Tomcat does not respect the HTTP RFCs !

2009-11-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 11/29/2009 2:00 PM, Warnier wrote: But is is interesting to see how in the end, a document such as RFC2616 which is meant to specify a relatively strict set of rules, and of which I am sure the phrasing is examined carefully and

Re: How to solve the problem java.lang.OutOfMemoryError: unable to create new native thread in Tomcat5.5.26

2009-11-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 11/30/2009 5:37 AM, André Warnier wrote: Peter Chen wrote: Hi, I meet one problem of OutOfMemoryError when I am running the Tomcat5.5.26. The OS is Solaris 10 sparc, and the JVM version is 1.5.0.12, and following is the detail of

Re: Use java 1.5 apps with tomcat 6

2009-11-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 To whom it may concern, On 11/26/2009 5:47 AM, Jimmy Spam wrote: I'm using opensuse official package. Maybe I should try the official tomcat build and test it. The programmers says that they need jre 1.5 since his apps doesn't have tested on

Re: Preventing httpd from accessing WEB-INF contents

2009-11-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jonathan, On 11/25/2009 11:13 AM, Jonathan Mast wrote: Can someone please provide the magical httpd config-cantation that will block httpd from accessing anything in WEB-INF directories? Directory /path/to/webapp/WEB-INF Order deny,allow

Re: Char Encoding text streams on Tomcat 5.5 and Linux

2009-11-30 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, That applies also to webapps which read posted input, unless you are careful. No! The default encoding for servlets is ISO-8859-1 unless the client specifies the encoding (which many do not). The value for

Re: How to access JNDI resources on Tomcat level

2009-11-30 Thread vramanaj
Still getting the same error after changing Data Source name to 'jdbc/DefaultDS'. Added resource link in webapp.xml. Error : Error During Lookup Name jdbc is not bound in this Context Are there any extra customizations required for Josso+Tomcat6?

RE: How to solve the problem java.lang.OutOfMemoryError: unable to create new native thread in Tomcat5.5.26

2009-11-30 Thread Peter Chen
The memory given to the JVM is $JAVA_OPTS -Xms512m -Xmx1024m The memory of the Solaris system is: Memory size: 4096 Megabytes The result of executing command ulimit -a is as follows: -bash-3.00$ ulimit -a core file size(blocks, -c) unlimited data seg size (kbytes, -d) unlimited

RE: AJP with HTTPD - Buffer Size on long URLs

2009-11-30 Thread Looijmans, Mike
I stand corrected. What I do recall is that in the 1999's I was forced to build an HTTP/1.1 server from scratch (in objective-C) and, when faced with the question at what point in reading the URI should I give up and decide this is not a HTTP request?, I found 4k to be the 'correct' answer. Since