Re: Tomcat dies suddenly

2010-02-05 Thread chadwickbailey71
There is no hardware restrictions in 64-bit mode. use 64-bit Linux, this will fix the problem - Learn an http://automatedsocialnetworking.com/ Automated Social Marketing technique WITHOUT Spending More than 5 Minutes Per Month at your Computer :working: -- View this message in context

Re: Parameters disappear from PUTs

2010-02-05 Thread chas
I believe that via a post on another list I have discovered the source of the trouble: According to the servlet specification... The following are the conditions that must be met before post form data will be populated to the parameter set: 1. The request is an HTTP or HTTPS request. 2. The HTTP

Re: Apache / mod_proxy / Tomcat

2010-02-05 Thread Bill Barker
"André Warnier" wrote in message news:4b6ca79c.3090...@ice-sa.com... Farid Izem wrote: Hi, I have setup an Apache Web Server in front of a Tomcat Web Container. Basically, All request are handle by Apache and passed to Tomcat using mod_proxy_ajp Apache is binded on the IP address of the com

Re: [Fwd: Re: Parameters disappear from PUTs]

2010-02-05 Thread chas
Are you serious? I don't generate request headers. The browser does. And they do so identically whether the HTTP method is PUT or POST and whether it's an XMLHttpRequest or not. And I suspect that they've been doing so pretty much since Marc Andreesen was still in Champaign-Urbana and Mosaic was s

Re: Active DataSource Connection count never decreasing with PostgreSQL [RESOLVED]

2010-02-05 Thread Alexander Hartner
Thanks guys. It turns out that there was a connection leak. I just needed to wait for the entire pool to fill up with "Active" connection and then I got the abandoned messages. On 4 Feb 2010, at 05:30, Caldarale, Charles R wrote: >> From: Alexander Hartner [mailto:a...@j2anywhere.com] >> Subj

Re: Tomcat dies suddenly

2010-02-05 Thread Carl
Jonathon, I have yet to do any sampling, I have been visually monitoring the servers with the VisualJVM, the Slackware system monitor, top and vmstat. I was using JMeter to stress test the application. The old server is Slackware 12.1 (32 bit), Tomcat 5.5, Java 1.5.0_01. The new servers are

Re: [Fwd: Re: Parameters disappear from PUTs]

2010-02-05 Thread Hassan Schroeder
On Fri, Feb 5, 2010 at 4:13 PM, wrote: > PUT /json/members/1b35d32f-714d-4393-b8c2-b4805e0c7a13 HTTP/1.1 > Host: localhost:12344 > User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; > rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7 > Accept: text/html,application/xhtml+xml,application/x

Re: [Fwd: Re: Parameters disappear from PUTs]

2010-02-05 Thread chas
REST -- REpresentational State Transfer -- is an architectural style that was developed by Roy Fielding with HTTP, but which is independent of HTTP. No changes need to be made to HTTP to implement REST -- you just need to implement HTTP correctly. There's a pretty good article on Wikipedia about RE

Re: [Fwd: Re: Parameters disappear from PUTs]

2010-02-05 Thread chas
> Could you please be clear when you say "entity headers": do you mean > HTTP headers? I have a Tomcat 6.0.20 install right in front of me that > definitely does allow the servlet (in my case, a simple JSP that dumps > requests) to read the HTTP headers. HTTP GET parameters are also > correctly pr

Re: Tomcat dies suddenly

2010-02-05 Thread Jonathan Mast
Hi Carl, I've skimmed thru all your posts, please excuse me if these questions are redundant. You've mentioned VisualJVM, JMeter, and Slackware monitoring tools, it seems to me that you are using these to occasionally to monitor you Tomcat instance, when things seem to be going badly (thats my per

Re: Apache / mod_proxy / Tomcat

2010-02-05 Thread André Warnier
Farid Izem wrote: Hi, I have setup an Apache Web Server in front of a Tomcat Web Container. Basically, All request are handle by Apache and passed to Tomcat using mod_proxy_ajp Apache is binded on the IP address of the computer, tomcat is binded on localhost:8009 When i take a look at the tomcat

Re: [Fwd: Re: Parameters disappear from PUTs]

2010-02-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chas, On 2/5/2010 2:45 PM, c...@munat.com wrote: > So for Tomcat to unilaterally strip the entity-headers from a PUT request > while passing only the optional entity-body seems just, well, wrong to me. Could you please be clear when you say "entity h

RE: Apache / mod_proxy / Tomcat

2010-02-05 Thread Caldarale, Charles R
> From: Farid Izem [mailto:farid.i...@gmail.com] > Subject: Apache / mod_proxy / Tomcat > > I have setup an Apache Web Server in front of a Tomcat Web Container. > Basically, All request are handle by Apache and passed to Tomcat using > mod_proxy_ajp If you're passing all requests through to Tomc

Apache / mod_proxy / Tomcat

2010-02-05 Thread Farid Izem
Hi, I have setup an Apache Web Server in front of a Tomcat Web Container. Basically, All request are handle by Apache and passed to Tomcat using mod_proxy_ajp Apache is binded on the IP address of the computer, tomcat is binded on localhost:8009 When i take a look at the tomcat manager, i see that

Re: [Fwd: Re: Parameters disappear from PUTs]

2010-02-05 Thread André Warnier
c...@munat.com wrote: ... So for Tomcat to unilaterally strip the entity-headers from a PUT request while passing only the optional entity-body seems just, well, wrong to me. For this reason, I'm guessing it's a bug. Hi. Just to situate things, I am not one of the Tomcat developers, merely a

RE: [Fwd: Re: Parameters disappear from PUTs]

2010-02-05 Thread Caldarale, Charles R
> From: c...@munat.com [mailto:c...@munat.com] > Subject: RE: [Fwd: Re: Parameters disappear from PUTs] > > Read the entire section before you comment! Sorry, I hadn't done that. As I said before, I believe your interpretation is correct. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL

RE: [Fwd: Re: Parameters disappear from PUTs]

2010-02-05 Thread chas
Sorry, but no. There is no ambiguity, unless you try really hard to introduce one with thesaurus firmly in hand. Read the entire section before you comment! >From Section 9.6: "The fundamental difference between the POST and PUT requests is reflected in the different meaning of the Request-URI. T

RE: [Fwd: Re: Parameters disappear from PUTs]

2010-02-05 Thread Caldarale, Charles R
> From: c...@munat.com [mailto:c...@munat.com] > Subject: Re: [Fwd: Re: Parameters disappear from PUTs] > > RFC 2616 is quite clear on this topic, IMO. Maybe not. > The POST method is used "to request that the origin server accept the > *entity* enclosed in the request as a new ***subordinate***

Re: [Fwd: Re: Parameters disappear from PUTs]

2010-02-05 Thread chas
Re PUT, a little research will show that this has been a hot topic for several years now, at least since Elliotte Rusty Harold's controversial "Why REST Failed" post in 2006. RFC 2616 is quite clear on this topic, IMO. The POST method is used "to request that the origin server accept the *entity*

Re: Heap size rule for Tomcat 5.5

2010-02-05 Thread evebill8
Cool! I just want to confirm if the rule is right. My IT guy also does not believe it. Billy Christopher Schultz-2 wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Evebill8, > > On 2/5/2010 1:08 AM, evebill8 wrote: >> I heard the rule to set the Tomcat's heap size is 2/3 of t

RE: Missing files for mod_jk

2010-02-05 Thread Caldarale, Charles R
> From: André Warnier [mailto:a...@ice-sa.com] > Subject: Re: Missing files for mod_jk > > And why is this thread entitled "Missing files for mod_jk" ? > Did we hijack something ? No, that was the OP's original subject line, where he apparently misinterpreted a 502 status. - Chuck THIS COMMU

Re: Missing files for mod_jk

2010-02-05 Thread André Warnier
And why is this thread entitled "Missing files for mod_jk" ? Did we hijack something ? - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Missing files for mod_jk

2010-02-05 Thread André Warnier
Caldarale, Charles R wrote: From: Alexander Diedler [mailto:adied...@tecracer.de] Subject: AW: Missing files for mod_jk Sorry, it is 1024 KB, sure, just to fast tipped into the keyboard. So again, why did you change it from the default? worker.list= worker3,loadbalancer,jkstatus I see no d

Re: Web resource By-pass

2010-02-05 Thread Mihalakakos, Demetri
Thank you all for your quick reply. I will evaluate all suggestions given and possibly find the best fit. Demetri On 05/02/10 10:53 AM, "Christopher Schultz" wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 2/5/2010 10:42 AM, André Warnier wrote: > 2) try to organise the fi

Re: Tomcat dies suddenly

2010-02-05 Thread Carl
Chris, I agree but this seemed like a low risk change. I also understand that changing too many things at once sometimes confuses the issue. Thanks, Carl - Original Message - From: "Christopher Schultz" To: "Tomcat Users List" Sent: Friday, February 05, 2010 10:48 AM Subject: Re

Re: Tomcat dies suddenly

2010-02-05 Thread Carl
Peter, OK, I raised the value from 1024 to 4096. Thanks for the tip... we'll see over the next 10 days if it had any impact. Carl - Original Message - From: "Peter Crowther" To: "Tomcat Users List" Sent: Friday, February 05, 2010 10:29 AM Subject: Re: Tomcat dies suddenly On 5 F

Re: Heap size rule for Tomcat 5.5

2010-02-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Evebill8, On 2/5/2010 1:08 AM, evebill8 wrote: > I heard the rule to set the Tomcat's heap size is 2/3 of the memory. I agree with Chuck: this sounds like malarkey. Whoever told you that doesn't know what they're talking about. The rule for any Java

Re: Tomcat IllegalStateException when load is high

2010-02-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alex, On 2/5/2010 3:24 AM, alex_m wrote: > I'm having a problem when running a JSP/Struts application on tomcat 5.5-25 > and Java 1.6_10. > > When the load gets high on Java process i get an error: > > at java.lang.IllegalStateException: Cannot crea

Re: Web resource By-pass

2010-02-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 2/5/2010 10:42 AM, André Warnier wrote: > 2) try to organise the files on your site, in such a way that you can > detect in your filter, by the URL alone, what is supposed to be static > content and what not. Or, better yet, only map the fi

RE: Missing files for mod_jk

2010-02-05 Thread Caldarale, Charles R
> From: Alexander Diedler [mailto:adied...@tecracer.de] > Subject: AW: Missing files for mod_jk > > Sorry, it is 1024 KB, sure, just to fast tipped into the keyboard. So again, why did you change it from the default? > worker.list= worker3,loadbalancer,jkstatus I see no declarations for worker3

Re: Tomcat dies suddenly

2010-02-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Carl, On 2/5/2010 10:16 AM, Carl wrote: > Do you see any harm in just doubling the number (to 2048) just to see if > it has an impact? We would expect to see an OOME (strange, I know) if you were running out of file descriptors. - -chris -BEGIN

RE: Updating CRL in Tomcat 6 without taking it down

2010-02-05 Thread Jeffrey Janner
Praveen Pat said: The problem I have is how to update the CRL. If I do not update the CRL, Tomcat does not let any of my users in. It blocks all the users. To update the CRL, I have to stop the Tomcat, and I am trying to avoid it. Reply: Call me naive, but if nobody can get in, what is wrong w

Re: Web resource By-pass

2010-02-05 Thread André Warnier
Mihalakakos, Demetri wrote: Hi, I have a question about the best way of doing something. I'm writing an application where all requests would get routed to a Filter (mapping: "/*"). So when I get a requests like "/some/page/in/the/web/" (which does not actually live in the file system) I woul

AW: Missing files for mod_jk

2010-02-05 Thread Alexander Diedler
Hi, >That's a problem - or a typo. A 1 GB thread stack size is not possible. >Assuming you meant 1024 KB, why did you think it necessary to change it from >the default? Sorry, it is 1024 KB, sure, just to fast tipped into the keyboard. # List the workers name worker.list= worker3,loadbalancer

RE: Tomcat dies suddenly

2010-02-05 Thread Caldarale, Charles R
> From: André Warnier [mailto:a...@ice-sa.com] > Subject: Re: Tomcat dies suddenly > > > (Like the man said, "Who would ever need more than 64k?") > > He had an excuse though : Java wasn't invented yet. To say nothing of the bloatware produced by the company started by "the man" - which needs a

Re: Tomcat dies suddenly

2010-02-05 Thread Peter Crowther
On 5 February 2010 15:16, Carl wrote: > Do you see any harm in just doubling the number (to 2048) just to see if it > has an impact? I wouldn't expect any problems, but I don't know your server as well as you do. Just don't hold me responsible if your Tomcat fails / the dog eats the hamster / so

RE: Unix creates the catalina.out but on Windows it does not

2010-02-05 Thread Caldarale, Charles R
> From: André Warnier [mailto:a...@ice-sa.com] > Subject: Re: Unix creates the catalina.out but on Windows it does not > > What is still not quite clear to me upon consulting that page, is how > to provide the following service parameters : You can do it /when installing the service/, by editing

Re: Web resource By-pass

2010-02-05 Thread Pid
On 05/02/2010 14:59, Mihalakakos, Demetri wrote: Hi, I have a question about the best way of doing something. I'm writing an application where all requests would get routed to a Filter (mapping: "/*"). So when I get a requests like "/some/page/in/the/web/" (which does not actually live in th

Re: Tomcat dies suddenly

2010-02-05 Thread Carl
Peter, Do you see any harm in just doubling the number (to 2048) just to see if it has an impact? Thanks, Carl - Original Message - From: "Peter Crowther" To: "Tomcat Users List" Sent: Friday, February 05, 2010 9:58 AM Subject: Re: Tomcat dies suddenly On 5 February 2010 14:41,

Re: Unix creates the catalina.out but on Windows it does not

2010-02-05 Thread André Warnier
Caldarale, Charles R wrote: ... The stdout/stderr files for Tomcat as a Windows service are in Tomcat's logs directory, under the names stdout_MMdd.log and stderr_MMdd.log, respectively. Thanks for provoiding that clarification, and sorry for my approximative explanation. These may

RE: Missing files for mod_jk

2010-02-05 Thread Caldarale, Charles R
> From: Alexander Diedler [mailto:adied...@tecracer.de] > Subject: AW: Missing files for mod_jk > Thread stack size : 1024 MB That's a problem - or a typo. A 1 GB thread stack size is not possible. Assuming you meant 1024 KB, why did you think it necessary to change it from the default? Use

Web resource By-pass

2010-02-05 Thread Mihalakakos, Demetri
Hi, I have a question about the best way of doing something. I'm writing an application where all requests would get routed to a Filter (mapping: "/*"). So when I get a requests like "/some/page/in/the/web/" (which does not actually live in the file system) I would forward to a Servlet or han

Re: Tomcat dies suddenly

2010-02-05 Thread Peter Crowther
On 5 February 2010 14:41, Carl wrote: > Bill, > > ulimit -a shows the following: [...] > open files                      (-n) 1024 [...] > This looks fine except the 'open files'.  I don't think we would exceed that > number but it might be possible. Note that a socket uses a file descriptor in U

RE: Unix creates the catalina.out but on Windows it does not

2010-02-05 Thread Caldarale, Charles R
> From: André Warnier [mailto:a...@ice-sa.com] > Subject: Re: Unix creates the catalina.out but on Windows it does not > > Tomcat itself does not write to "catalina.out". > Tomcat runs inside a JVM, and through the JVM, it may write some > messages to STDOUT and STDERR. Actually, Tomcat doesn't w

AW: Missing files for mod_jk

2010-02-05 Thread Alexander Diedler
Hello, No problem for more information: tomcat6w.exe: java options: -XX:+UseParallelGC Initial memory pool: 256 MB Maximum memory pool : 1024 MB Thread stack size : 1024 MB httpd.conf: (Only changes from default value): ThreadLimit 1920 ThreadsPerChild 1920 MaxRequestsPerChild 0 Include http-vhost

RE: Missing files for mod_jk

2010-02-05 Thread Caldarale, Charles R
> From: Alexander Diedler [mailto:adied...@tecracer.de] > Subject: AW: Missing files for mod_jk > > Some additional information.. in Cataling Log we can see: > SCHWERWIEGEND: Error allocating socket processor > java.lang.OutOfMemoryError: unable to create new native thread This is not a heap usag

Re: Tomcat dies suddenly

2010-02-05 Thread Carl
Bill, ulimit -a shows the following: core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited file size (blocks, -f) unlimited pending signals (-i) 40960 max locked memory (kbytes, -l) 64 max memory size (kbytes, -m) unlimi

Re: Tomcat dies suddenly

2010-02-05 Thread Bill Stoddard
On 2/5/10 6:31 AM, Carl wrote: Mark, Since I don't understand what is causing the problem, all information is helpful and I appreciate you taking time to think about what could be wrong. Could one of the log files written by Tomcat be bumping into your file size ulimit? ulimit -a to check

Re: Unix creates the catalina.out but on Windows it does not

2010-02-05 Thread André Warnier
Karthik Nanjangude wrote: Hi Please validate the same O/s Windows NT 2006 / Unix JDK 1.5 TOMCAT 6.0.20 / 6.0.24 ( *.zip) Problem 1) Same Tomcat installed server on Unix creates the "catalina.out" but on Windows it does not Why ?. 2) Know How to use JConsole but need additional info How to

AW: Missing files for mod_jk

2010-02-05 Thread Alexander Diedler
Some additional information.. in Cataling Log we can see: SCHWERWIEGEND: Error allocating socket processor java.lang.OutOfMemoryError: unable to create new native thread at java.lang.Thread.start0(Native Method) at java.lang.Thread.start(Thread.java:597) at org.apache.tomcat.util.net.AprEndpoint

Missing files for mod_jk

2010-02-05 Thread Alexander Diedler
Hello, We connect an apache 2.2.14 to a Tomcat 6.0.20. From time to time our cluster throws 502 in the Apache Accesslog. everything is ok-... xxx.xxx.108.1 - - [04/Feb/2010:21:16:57 +0100] "GET /public/frame_doc_index.html?med_id=119638 HTTP/1.1" 200 771 xxx.xxx.108.1 - - [04/Feb/2010:21:16:5

Re: Tomcat dies suddenly

2010-02-05 Thread Carl
Mark, Since I don't understand what is causing the problem, all information is helpful and I appreciate you taking time to think about what could be wrong. 1. The application runs fine on an older system. Do we have the glibc and kernel versions for all systems? The old system: P4. 1GB memory

Unix creates the catalina.out but on Windows it does not

2010-02-05 Thread Karthik Nanjangude
Hi Please validate the same O/s Windows NT 2006 / Unix JDK 1.5 TOMCAT 6.0.20 / 6.0.24 ( *.zip) Problem 1) Same Tomcat installed server on Unix creates the "catalina.out" but on Windows it does not Why ?. 2) Know How to use JConsole but need additional info How to monitor the Connection po

Re: Tomcat Security

2010-02-05 Thread Bill Barker
wrote in message news:fb91a4c0c0682.4b6a8...@quicknet.nl... We are running a few web applications on Tomcat 6 on a Windows Server 2003 system in a Windows 2003 Active Directory Forest. How to make the Tomcat environment secure (hardening)? I read about security manager, but how to add the w

Re: Updating CRL in Tomcat 6 without taking it down

2010-02-05 Thread Bill Barker
"Praveen Pat" wrote in message news:4457dc171002041505p239b835p5107c8efa8f1d...@mail.gmail.com... Hello: I am running Tomcat 6 in SSL mode with ClientAuth=true. Here are my Connector Properties: The problem I have is how to update the CRL. If I do not update the CRL, Tomcat does not let a

Re: JSF files with IIS

2010-02-05 Thread langdon4487
Ok, here's how this works. IIS natively supports nothing other than serving static files and execute add-ons. This applies to all IIS versions. Ability to use dynamic scripting frameworks like ASP, ASP.Net, PHP, JSP, Perl, etc are all add-ons as far as IIS is concerned. Windows Server 2003 bund

Tomcat IllegalStateException when load is high

2010-02-05 Thread alex_m
Hi all! I'm having a problem when running a JSP/Struts application on tomcat 5.5-25 and Java 1.6_10. When the load gets high on Java process i get an error: at java.lang.IllegalStateException: Cannot create a session after the response has been committed at org.apache.catalina.connector.Request