Tomcat 5.5.12 and SSL - https doesn't work

2005-11-02 Thread Stanislav Mironov
Hello All! I have upgraded Tomcat to 5.5.12 from 5.5.9. Now link https://host:8443 hangs forever trying to get response and http://host:8443 returns correct plain html page without SSL. So SSL actually doesn't work at all. My server.xml related to SSL is: !-- Define a SSL HTTP/1.1 Connector

tomcat - OutOfMemoryError

2005-11-02 Thread Anna Seekamp
Hi, We have a production-environment with heavy load. A cluster of DualXeonServers. Each is running: apache (prefork) mod_jk tomcat 5.0.28 spring 1.1.5 hibernate 2.1 velocity (- no JSPs) c3p0-Connection-Pool. The jvm (1.4.2 Suse-Linux) starts with: -server -Xmx1500m -Xms1500ms

RE: tomcat - OutOfMemoryError

2005-11-02 Thread Lenin Lakshminarayanan -X \(lelakshm - HCL at Cisco\)
Check out the swap space available in the system ? How much swap do you have in the system. Is it sufficiently available ? -Original Message- From: Anna Seekamp [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 02, 2005 3:48 PM To: users@tomcat.apache.org Subject: tomcat -

Re: Tomcat logging - Persistence of Logs

2005-11-02 Thread Ronald Klop
Move the file to a new name in your startup script. On Mon Oct 31 12:59:07 CET 2005 Tomcat Users List users@tomcat.apache.org wrote: I have a problem with log files. I have a customer who has Tomcat 5.0.28 running on Windows 2003 Server. The main output is being logged to stdout.log in the

Re: tomcat - OutOfMemoryError

2005-11-02 Thread Anna Seekamp
Hi Lenin, We have 4 GB physical memory and 1GB Swap-Space. And the top said, the swap-space is never used. -- anna 2005/11/2, Lenin Lakshminarayanan -X (lelakshm - HCL at Cisco) [EMAIL PROTECTED]: Check out the swap space available in the system ? How much swap do you have in the system. Is

RE: tomcat - OutOfMemoryError

2005-11-02 Thread Peter Crowther
From: Anna Seekamp [mailto:[EMAIL PROTECTED] The jvm (1.4.2 Suse-Linux) starts with: -server -Xmx1500m -Xms1500ms We have 9 webapps. One webapp has 50% load. The other share the rest. If we put 7 webapps online, we ran into problems. After a few hours we get OutOfMemoryErrors.

Re: Tomcat 5.5.12 and SSL - https doesn't work

2005-11-02 Thread Remy Maucherat
On 11/2/05, Stanislav Mironov [EMAIL PROTECTED] wrote: Hello All! I have upgraded Tomcat to 5.5.12 from 5.5.9. Now link https://host:8443 hangs forever trying to get response and http://host:8443 returns correct plain html page without SSL. So SSL actually doesn't work at all. My

Re: A Simple Advice

2005-11-02 Thread Tim Funk
The last way (the one without the web.xml) should work fine. -Tim Alvaro Seixas wrote: Hello List!! I need a simple advice from you guys. I'm running TC 4.1 on Win 2K. I need to share large amounts of static content (image files) between contexts. These images will be stored in 12 shared

Re: Backing up a web application?

2005-11-02 Thread Tim Funk
In that case - an easy way is to not use the webapps dir for autodeployment. Keep 2 copies of your webapp (old and new) somewhere on disk. Then change the context declaration file (the file with Context ...) to point to the new directory. -Tim Larry Mulcahy wrote: My question is: Is there

Re: Passing values to tags [Was: Passing typed (non-String) data to tag file - error in getValueFromPropertyEditorManager]

2005-11-02 Thread andrew cooke
Thanks! I don't yet have it (the page I asked about) running, but changing the web.xml to follow the spec (using the schema rather than the old 2_3 DTD) has cleared up a whole slew of strange behaviour. Suddenly everything works as as it appears in the docs, error messages are helpful, etc

Re: Modifying the Tomcat Cache?

2005-11-02 Thread Tim Funk
You need to create your own classloader and load your custom class into that classloader. Then when it changes - you disregard that classloader (and its class). Tomcat is not doing the caching - the jvm is. -Tim Michael Vorschütz wrote: Hello, My web application generates at runtime a java

Re: tomcat - OutOfMemoryError

2005-11-02 Thread Anna Seekamp
Thanks Peter, We will run the tomcat with: -XX:+PrintGCDetails in order to see the PermGen-Size -- anna 2005/11/2, Peter Crowther [EMAIL PROTECTED]: From: Anna Seekamp [mailto:[EMAIL PROTECTED] The jvm (1.4.2 Suse-Linux) starts with: -server -Xmx1500m -Xms1500ms We have 9

Re: Passing values to tags [Was: Passing typed (non-String) data to tag file - error in getValueFromPropertyEditorManager]

2005-11-02 Thread Rahul Akolkar
On 11/2/05, andrew cooke [EMAIL PROTECTED] wrote: Thanks! I don't yet have it (the page I asked about) running, but changing the web.xml to follow the spec (using the schema rather than the old 2_3 DTD) has cleared up a whole slew of strange behaviour. Suddenly everything works as as it

life time of static variables

2005-11-02 Thread Raviteja Veerla
I am testing the life time of static variables on webservices in axis. i have webserivce in java that has a static counter that increments itself for every request it gets. but if the webservice hasnt been accessed for a while say a day or two by any request. does the static variable still hold

finalize question

2005-11-02 Thread Andy Kriger
I have a webapp that causes Tomcat to die with an OutOfMemoryError due to PermGen after about 10 reloads. I am trying to determine if there is a memory leak in my code or maybe even one of our 3rd-party libraries. I am using AspectJ to log whenever any object's finalize method is called. Problem

Re: finalize question

2005-11-02 Thread Tim Funk
See ... http://opensource2.atlassian.com/confluence/spring/pages/viewpage.action?pageId=2669 (I really need to update the FAQ on this one) -Tim Andy Kriger wrote: I have a webapp that causes Tomcat to die with an OutOfMemoryError due to PermGen after about 10 reloads. I am trying to

RE: finalize question

2005-11-02 Thread Caldarale, Charles R
From: Andy Kriger [mailto:[EMAIL PROTECTED] Subject: finalize question Problem is, I'm not seeing any finalize methods being called. Reliance on finalizers is a sign of extremely poor application design. First, it can be a significant performance hit, since objects with finalizers have to

JULI ConsoleHandler custom formatter

2005-11-02 Thread Johnny Tolliver
I use JULI for my servlet logging and am having trouble defining a custom formatter for console handler output. An excerpt of my logging.properties file is this: handlers=org.apache.juli.FileHandler,java.util.logging.ConsoleHandler .level=INFO org.apache.juli.FileHandler.formatter =

RE: finalize question

2005-11-02 Thread Andy Kriger
From: Andy Kriger [mailto:[EMAIL PROTECTED] Subject: finalize question Problem is, I'm not seeing any finalize methods being called. Reliance on finalizers is a sign of extremely poor application design. First, it can be a significant performance hit, since objects with finalizers have to

Re: finalize question

2005-11-02 Thread Andy Kriger
See ... http://opensource2.atlassian.com/confluence/spring/pages/viewpage.action?pageId=2669 (I really need to update the FAQ on this one) -Tim Thanks for the info. A followup question... The second one is where the application has ThreadLocal data that is attached to a container thread. In

Re: JULI ConsoleHandler custom formatter

2005-11-02 Thread Remy Maucherat
On 11/2/05, Johnny Tolliver [EMAIL PROTECTED] wrote: I use JULI for my servlet logging and am having trouble defining a custom formatter for console handler output. An excerpt of my logging.properties file is this: handlers=org.apache.juli.FileHandler,java.util.logging.ConsoleHandler

java.lang.OutOfMemoryError: unable to create new native thread after recompiling the kernel to 2.6.11.3

2005-11-02 Thread Akhthar Parvez K
Hi all, I am getting the error message java.lang.OutOfMemoryError: unable to create new native thread when I start tomcat on kernel 2.6.11.3 http://2.6.11.3. it was not up for not even a second. Can anyone tell me how can I ifx the issue. I wanted to upgrade the kernel on the server as I noticed

Re: question about web-inf/lib

2005-11-02 Thread David Kerber
John MccLain wrote: we currently have 1 project in tomcat webapps dir. We want to add another project there. The problemn is that we would like to have both projects' web-inf/lib populated with the same set of libraries (jar files). When we kick off Tomcat with this configuration,The second

tomcat 5.5 logging

2005-11-02 Thread pc leung
http://tomcat.apache.org/tomcat-5.5-doc/logging.html The above page shows that logging-log4j.jar and commong-logging.jar needs to put in $CATALINA_HOME/common/lib. If I have two files of jar already in my struts webapp lib, Why do I still need to place them in $CATALINA_HOME/common/lib? In

Re: tomcat 5.5 logging

2005-11-02 Thread andy gordon
Placing the jars in the common/lib directory makes them available for all web apps and catalina itself. Placing log4j properties in the common/classes lib defines log4j behavior for all web apps (cross context). Placing log4j properties in web-inf/classes overrides cross context log4j

Re: tomcat 5.5 logging

2005-11-02 Thread pc leung
I have done something according to http://www.oracle.com/technology/products/jdev/tips/mills/Struts-logging.html I do not put the 2 jars in tomcat common lib. Instead I keep them in my webapp lib. The result is lots of error message in tomcat log dir. If I put a log4j.properties in

Reg: MemoryLeak

2005-11-02 Thread seshagiri.shyam
Hi All, We are facing repeated issues on MemoryLeaks with tomcat 4.0.3 . It will will be a great help if anyone who experienced same can confirm whether they are known bugs with this particular version of tomcat 4.0.3 and been resolved in the later versions. Please provide some inputs which

Problem with following a link in Virtual Path!

2005-11-02 Thread starki78
Hi I've a problem with Tomcat! I've established a virtual-path called itpm_public that leads to a path: /mnt/data1/sambra_shares/itpm_public this works but after this folder I've a (soft) link to another folder. Tomcat tells me that the page cannot be displayed! Is there any possibility such as