Re: log4j - Class.forname - black magie

2005-12-22 Thread Boris Unckel
Good Morning, Philippe LEGAY wrote: Hello I succeed by black magie to have log via log4j under tomcat 5.5.9. So when a call my servlet, I have some trace into a file (/tmp/phl.log). I said black magie, because I had a lot of problems to put the log4.jar in the right place. Now, I have

Re[2]: [mod_jk] concurrency control problem

2005-12-22 Thread Grzegorz Tańczyk
Hello Mladen, Thursday, December 22, 2005, 8:43:42 AM, you wrote: MT Grzegorz Tańczyk wrote: Hello My configuration is: - single machine with Slackware 10 - apache 2.0.55 with worker MPM - tomcat 5.5.4 - mod_jk 1.2.15 Here is my apache-tomcat configuration

RE: ServletContextListener - how to detect http path of web application?

2005-12-22 Thread Iain.Shepherd
Frank, Martin, I can't get a HttpServletRequest from Filter.init. I can get a ServletContext... but I can also get that from a ServletContextListener. So I can throw away this silly Filter now. One reason a filter would be better is you can fully construct the URL dynamically,

Re: [mod_jk] concurrency control problem

2005-12-22 Thread Mladen Turk
Grzegorz Tańczyk wrote: Hello Mladen, MT Perhaps posting workers.properties would help. worker.w1.type=ajp13 worker.w1.host=localhost worker.w1.port=8000 worker.w1.cachesize=200 worker.w1.cache_timeout=300 worker.w1.socket_timeout=300 worker.w1.socket_keepalive=0 worker.w1.recycle_timeout=100

Stats on Tomcat installations

2005-12-22 Thread DeFreitas, Nigel
Are there any stats on how many folks use Tomcat (vs. other options) in enterprise production environments? Nigel

Re: Stats on Tomcat installations

2005-12-22 Thread Tim Funk
I don't know of many publicly available stats. Gartner might be of help. Tomcat is embedded as the web server for many packaged applications (COTS - commercial of the shelf software) which are web based. So while an Enterprise might say they don't use tomcat - if they use COTS software thats

RE: Tomcat undeploys application(context)

2005-12-22 Thread BATCHELOR, SCOTT \(CONTRACTOR\)
Darius, I just ran across your message. I have to assume that this is normal behavior as I have asked this question at least twice before with no response. If you have found otherwise please let us all know. -Original Message- From: Darius [mailto:[EMAIL PROTECTED] Sent: Wednesday,

RE: Stats on Tomcat installations

2005-12-22 Thread DeFreitas, Nigel
Thanks. How about performance stats? Thanks. -Original Message- From: George Sexton [mailto:[EMAIL PROTECTED] Sent: Thursday, December 22, 2005 9:52 AM To: 'Tomcat Users List' Subject: RE: Stats on Tomcat installations I've noticed that HP seems to use tomcat for their printer

how to turn off logging

2005-12-22 Thread Mario Ernst
hi, I need to stop all logging actions to start tomcat from a non writable medium (CD). What's the easiest way to do this? Thanks and regards ;-) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Access static content (logs folder) ?

2005-12-22 Thread LANDRAIN Jean-Pol
Hi, I use Tomcat 5.5 and I'd like to be able to browse my logs directory (%TOMCAT_HOME%\logs) from a web page to access it remotely (distant server inside our intranet). I don't want to install Apache just for that. Is it possible ? How can I do this ? Thanks for your help. Jean-Pol.

RE: Access static content (logs folder) ?

2005-12-22 Thread LANDRAIN Jean-Pol
It works nicely. Thank you very much for your help. Regards, Jean-Pol. -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: 22 December 2005 16:59 To: Tomcat Users List Subject: Re: Access static content (logs folder) ? Add a context declaration like this in a file called

JRE versions (UNCLASSIFIED)

2005-12-22 Thread Samara, Fadi N Mr ACSIM/ASPEX
Classification: UNCLASSIFIED Caveats: NONE Hey list, I am running into a problem which I am sure some of you have came across. I am trying to compile a servlet at run time. My eclipse environment's JRE is 1.5 I placed tools.jar in the common/lin directory. When I compile the class file,

Re: how to turn off logging

2005-12-22 Thread Boris Unckel
Hm, attachments are not allowed. Take care for any \n which are there because of my web email... snipConsoleHandlerOnly # Copyright 2001-2005 The Apache Software Foundation. # # Licensed under the Apache License, Version 2.0 (the License); # you may not use this file except in compliance with the

JRE version (UNCLASSIFIED)

2005-12-22 Thread Samara, Fadi N Mr ACSIM/ASPEX
Classification: UNCLASSIFIED Caveats: NONE Hey list, I am running into a problem which I am sure some of you have came across. I am trying to compile a servlet at run time. My eclipse environment's JRE is 1.5 I placed tools.jar in the common/lin directory. When I compile the class file,

RE: Stats on Tomcat installations

2005-12-22 Thread DeFreitas, Nigel
Nice! -Original Message- From: George Sexton [mailto:[EMAIL PROTECTED] Sent: Thursday, December 22, 2005 1:16 PM To: 'Tomcat Users List' Subject: RE: Stats on Tomcat installations Here's a link to our performance stats for our web calendar product:

java.lang.OutOfMemoryError: PermGen space

2005-12-22 Thread Mike Dippold
We are using tomcat 5.5.12 and every couple days the tomcat server goes down hard and the last line in the log is: java.lang.OutOfMemoryError: PermGen space It appears to only happen if we: Update jsp pages Reload Webapp Deploy Webapp If we do not do any of the following the server runs

Re: mod_jk (1.2.14 1.2.15) bug

2005-12-22 Thread OG
Hello, Thank you for the information, Bill. Mladen Co., will you be applying this patch for 1.2.16, and if so, do you have any ideas about when you may release 1.2.16? I'll patch 1.2.15 src myself if I have to, but I'd rather just go to 1.2.16 with that patch incorporated in it. Thanks,

Re: ServletContextListener - how to detect http path of web application?

2005-12-22 Thread Frank W. Zammetti
[EMAIL PROTECTED] wrote: One reason a filter would be better is you can fully construct the URL dynamically, including the method and all that. Could you possibly map it to just the initial entry point of your app so that it doesn't fire with each request? Yeah I thought about that...

Re: mod_jk (1.2.14 1.2.15) bug

2005-12-22 Thread Mladen Turk
OG wrote: Hello, Thank you for the information, Bill. Mladen Co., will you be applying this patch for 1.2.16, and if so, do you have any ideas about when you may release 1.2.16? No. Since this requires the protocol change it will go to 1.3 branch together with other AJP changes that will

RE: java.lang.OutOfMemoryError: PermGen space

2005-12-22 Thread Warren Lewis
You probably will need to update the setting of -XX:MaxPermSize= I believe the default value is 64m. cheers - Warren -Original Message- From: Mike Dippold [mailto:[EMAIL PROTECTED] Sent: Thursday, December 22, 2005 1:57 PM To: users@tomcat.apache.org Subject:

web apps blocked without any trace in logs

2005-12-22 Thread Frederic Bes
Hello, I have a strange behavior with tomcat. When I deploy 2 web-apps (saying app1 and app2), there is no problem, all goes well: conection with databases, application etc. When I deploy 3 web-apps (+ app3), running app1 and app2 works, but when I run the third, the browser loops without

RE: JRE versions (UNCLASSIFIED)

2005-12-22 Thread Caldarale, Charles R
From: Samara, Fadi N Mr ACSIM/ASPEX [mailto:[EMAIL PROTECTED] Subject: JRE versions (UNCLASSIFIED) Although you appear to have posted your message twice, you didn't bother to tell us the Tomcat version you are using. My eclipse environment's JRE is 1.5 But the one Tomcat is using is 1.4.

Re: tomcat-apache ajp13 connection problem (answer time)

2005-12-22 Thread Prasad
Any load balancers exist in your enviornment ?? [EMAIL PROTECTED] wrote: hello there, i have two servers inside the dmz, one with redhat 9 the other with fedora core 4. the box running with fedora core has tomcat 5.5.9 and apache 2.0.54. the connection is made with ajp13. the redhat 9 has an

RE: java.lang.OutOfMemoryError: PermGen space

2005-12-22 Thread Mike Dippold
Wont that just give me more time between having to restart? Is it normal to have permgen space fill up and never get it back? -- Original Message -- From: Warren Lewis [EMAIL PROTECTED] Date: Thu, 22 Dec 2005 14:07:40 -0500 You probably will need to

RE: java.lang.OutOfMemoryError: PermGen space

2005-12-22 Thread Durfee, Bernard
I've seen the same thing with 5.5.12 running Confluence and JIRA. I needed to bounce Tomcat after making a bunch of changes to the JIRA workflow, which triggered lot's of processing. I assumed it was a JIRA problem, but maybe it is related to Tomcat 5.5.12? I haven't had the problem since, that

Here's to a better tomcat in 2006

2005-12-22 Thread Vinny
Hello All, I have been a big fan of tomcat, been using it since the 3.x days. Tomcat has some cool technologies and adheres to many standards. But I have found that the 5.5.x series has not really lived up to it's potential. Realms Custom Realms that worked flawlessly in 5.0, seem to break in

RE: java.lang.OutOfMemoryError: PermGen space

2005-12-22 Thread Carl Olivier
Greetings. AFAIK PermGenSpace is not TC related - its within the JVM and is where permanent memory related loads go - which includes classes loaded by ClassLoaders. Additionally - AFAIK this PermGenSpace does NOT get cleared by the Garbage collector - and only a restart of the JVM will rid you

RE: java.lang.OutOfMemoryError: PermGen space

2005-12-22 Thread Caldarale, Charles R
From: Carl Olivier [mailto:[EMAIL PROTECTED] Subject: RE: java.lang.OutOfMemoryError: PermGen space Additionally - AFAIK this PermGenSpace does NOT get cleared by the Garbage collector - and only a restart of the JVM will rid you of that used space. Not really true. A full GC does clean

Re: JRE versions (UNCLASSIFIED)

2005-12-22 Thread Martin Gainty
Ditto It is apparent you forgot to read the FAQ on asking questions http://www.catb.org/~esr/faqs/smart-questions.html#beforesaying ' saying please help doesnt help your cause when you fail to do any of the preliminary legwork yourself you should remember those of us out here are helping you (the

Re: java.lang.OutOfMemoryError: PermGen space

2005-12-22 Thread Stephen Caine
Mike, We are using tomcat 5.5.12 and every couple days the tomcat server goes down hard and the last line in the log is: java.lang.OutOfMemoryError: PermGen space It appears to only happen if we: Update jsp pages Reload Webapp Deploy Webapp If we do not do any of the following the server

Re: java.lang.OutOfMemoryError: PermGen space

2005-12-22 Thread Stephen Caine
Chuck, I can only speculate that reducing the size of the NewGen area (due to the larger value of NewRatio) forced more frequent collections of recently allocated objects, thereby eliminating some class object references. Without knowing a lot more about your applications and doing some

RE: java.lang.OutOfMemoryError: PermGen space

2005-12-22 Thread Caldarale, Charles R
From: Stephen Caine [mailto:[EMAIL PROTECTED] Subject: Re: java.lang.OutOfMemoryError: PermGen space Thank you for your thoughts. I am using a Quad 4 Mac OS X with a 1.4.2 JVM. Any recommendations for testing tools so I can monitor memory allocations, garbage collection and the

RE: Catalina.policy to add new file permissions

2005-12-22 Thread Sethuraman, Prabhu \(Cognizant\)
George, Not sure how complicated your environment is, but why not you try something like this (if feasible): Make a RMI call (or any other J2EE mechanism) to a class sitting in Server B which will take care of writing information to a file on Server B. Let me know if I have assumed something