Tomcat memory usage 3.3 vs 5.5

2006-04-19 Thread Abhi Karmos
Hello all, We run tomcat inside an embedded system and we are planning to upgrade the tomcat version from 3.3.1 to 5.5.16. We noticed that the memory footprint of a barebones tomcat 5.5 installation is 44 MB. Plain and simple Tomcat 3.3 used to run with 25 MB. We have limited memory on our

Re: Tomcat memory usage 3.3 vs 5.5

2006-04-19 Thread manivannan57
1) Reduce the number of applications you load during start-up. 2) Remove unwanted jars from WEB-INF/lib and also from tomcat-home/common/lib 3) Also remove wherever the jars seem to be unnecessary. -- View this message in context:

Re: Tomcat memory usage 3.3 vs 5.5

2006-04-19 Thread Abhi Karmos
Hey thanks for your comments - 1. Our applications are fixed. We have removed all unnecessary apps. 2. Unwanted jars/classes are not loaded into physical memory by IBM JVM on Linux. So, it will not add to RSS. We have done some experiments and are sure of this claim. Abhi. manivannan57

RE: Post request to 'j_security_check' after tomcat restart or se ssio n timeout produces error 400

2006-04-19 Thread Amol Upadhye
Thanks much for your comments. I will try to debug more the tomcat shutdown case. Regards, Amol -Original Message- From: David Delbecq [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 18, 2006 7:41 PM To: Tomcat Users List Subject: Re: Post request to 'j_security_check' after tomcat

RE: multiple tomcat on one server??

2006-04-19 Thread Allistair Crossley
Hi, This question was asked (yesterday) by myself. Firstly, stop using JK2. Secondly, go read http://www.adcworks.com/blog/index.php/2005/08/03/load-balancing-with-tomcat-55-and-jk-12/ Which explains how I have 2 Tomcats up on 1 server. Cheers, Allistair. -Original Message- From:

RE: multiple tomcat on one server??

2006-04-19 Thread Thomas Hack
Hi Allistair, thanks for your very quick response. The link you mailed does not work, please resend the correct link. Also: I do not use TC load balancing, but completley separate TC, which must run independant of eacch other on the same Linux server. Regards Thomas H. --- Ursprüngliche

RE: multiple tomcat on one server??

2006-04-19 Thread Allistair Crossley
Hi, The link certainly works for me. Perhaps go into it from www.adcworks.com/blog A. -Original Message- From: Thomas Hack [mailto:[EMAIL PROTECTED] Sent: 19 April 2006 11:15 To: Tomcat Users List Subject: RE: multiple tomcat on one server?? Hi Allistair, thanks for your very quick

Re: multiple tomcat on one server??

2006-04-19 Thread David Delbecq
I confirm the link does not work here too 'host www.adcworks.com unknown' $ nslookup adcworks.com Server: 193.190.249.143 Address:193.190.249.143#53 ** server can't find adcworks.com: NXDOMAIN looking in whois database the reason it does not work is obvious, $whois

Unsubscribe...

2006-04-19 Thread hegerich_mike
Can someone unsubscribe me from this list. I have tried twice and I'm still getting mail. Thx

Re: Unsubscribe...

2006-04-19 Thread Marc Farrow
send blank email to this [EMAIL PROTECTED] On 4/19/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Can someone unsubscribe me from this list. I have tried twice and I'm still getting mail. Thx -- Marc Farrow

Cannot load files from a SMB share into Tomcat 5.5.12

2006-04-19 Thread Goerke, Michael
Hi, I am pretty new to tomcat, and I apologise for possible misunderstandings. I am using successfully on a RHEL (2.4.21-40.Elsmp) Linux box Apache 2.0.46, Tomcat 5.5.12 and mod_jk 1.2.15, jdk is 1.5.0_05. Now I have copied everything onto a Windows share (where users should deal with their

RE: Cannot load files from a SMB share into Tomcat 5.5.12

2006-04-19 Thread Goerke, Michael
Thanks, but I have been perhaps not clear about that. Everything is declared properly, i.e. with both an identical setup and dir content http://localhost/all_local and http://localhost:8080/all_local as well as http://localhost/NFSshare and http://localhost:8080/NFSshare work fine, and also

Context.xml

2006-04-19 Thread Alexander E Genaud
Hello, I am having trouble deploying a webapp residing outside of the webapps directory. I've added deployXML=true to Host / in an otherwise standard conf/server.xml on Windows XP with Tomcat 5.0 and 5.5. I've created a file called test.xml in webapps: Context path=/test docBase=C:\mydir

Re: Context.xml

2006-04-19 Thread Marc Farrow
you need to place your test.xml file in $tomcat_base/conf/$engine/$host. usually $tomcat_home/conf/Catalina/localhost directory. Then you will need your content in c:\mydir. Also, you might want to try C:/mydir. On 4/19/06, Alexander E Genaud [EMAIL PROTECTED] wrote: Hello, I am having

Java process segfaulting and using 100% CPU

2006-04-19 Thread Gustavo Noronha
Hello, I've searched a lot about this issue on the web, but did not find a solution. I have the following setup: Debian GNU/Linux 3.1 with official Tomcat5 package (5.0.30), java-package-built Sun JVM: # java -version java version 1.5.0_05 Java(TM) 2 Runtime Environment, Standard Edition (build

Re: Context.xml

2006-04-19 Thread Marc Farrow
on a test machine I have done this to deploy items and with the correct parameters set, i didn't need to shutdown tomcat or restart. On 4/19/06, Alexander E Genaud [EMAIL PROTECTED] wrote: Redux, Note that I can use the admin/deployer and reference my test.xml Context fragment, and that

Re: Java process segfaulting and using 100% CPU

2006-04-19 Thread David Delbecq
Hi, or other processes may end up using 100% CPU as well and presenting the same behavior while on strace If you mean also non java processes have similar problems, randomly, i bet you may have either an OS issue (which affect all processes randomly) either an hardware issue (corrupting RAM

CATALINA_BASE and multiple instances

2006-04-19 Thread David Rush
I'm trying to get Tomcat 5.5.16 set up for multiple independent instances (for use by multiple developers w/out stepping on each others' toes) in Windows XP (and eventually 2003 Server). I've got the binaries installed in c:\Apache\Tomcat5, and this is where the environment variable

RE: CATALINA_BASE and multiple instances

2006-04-19 Thread Allistair Crossley
Don't know much about the BASE property, but all 6 of our devs have local Tomcats on their machine, and CATALINA_HOME suffices. Ant is used to push to a staging server. Perhaps your problem is solved by thinking in a different way? Allistair. -Original Message- From: David Rush

RFE?

2006-04-19 Thread Marc Farrow
Where should I looke to search for RFE's and maybe post my own? -- Marc Farrow

Re: CATALINA_BASE and multiple instances

2006-04-19 Thread Markus Schönhaber
David Rush wrote: However, when I tried to install log4j, I had to put the .jar files and log4j.properties files under CATALINA_HOME/common in order for it to work. Putting them under CATALINA_BASE/common did not work. Obviously this is a problem because then multiple instances, which all

Re: RFE?

2006-04-19 Thread Markus Schönhaber
Marc Farrow wrote: Where should I looke to search for RFE's and maybe post my own? http://issues.apache.org/bugzilla Regards mks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: CATALINA_BASE and multiple instances

2006-04-19 Thread David Rush
Is there a way to get each instance of tomcat to use its own CATALINA_BASE/common directory? Yes. Clone the entire installation several times. This has the advantage that developers can upgrade 'their' instances as they require. Okay, that looks like it will work for me. I was

RE: CATALINA_BASE and multiple instances

2006-04-19 Thread Allistair Crossley
It's not *that* unelegant really. You could still manage a centralised Tomcat if you really wanted to in a source control system for example. A. -Original Message- From: David Rush [mailto:[EMAIL PROTECTED] Sent: 19 April 2006 16:36 To: Tomcat Users List Subject: Re: CATALINA_BASE and

Re: Relative Link Question

2006-04-19 Thread Hassan Schroeder
On 4/18/06, biai [EMAIL PROTECTED] wrote: But I wanted to go one step forward and that is what I can not do, though I've read it is possible and simple. I want to omit the webapp name from the URL It's beyond me how this can be so confusing. Let's say you have two hosts named 'calvin' and

Re: servlet mapping request

2006-04-19 Thread Mark Thomas
Raymond P. Jones wrote: Hello Mark on Tomcat Users. 1. Tomcat version is 5.5.9 2. Content of web.xml in snip/ servlet servlet-nameEventsServlet/servlet-name servlet-classEventsServlet/servlet-class /servlet Your servlets should be in packages. See the FAQ

Re: Java process segfaulting and using 100% CPU

2006-04-19 Thread Gustavo Noronha
2006/4/19, David Delbecq [EMAIL PROTECTED]: Hi, Hey! or other processes may end up using 100% CPU as well and presenting the same behavior while on strace If you mean also non java processes have similar problems, randomly, i bet you may have either an OS issue (which affect all processes

Multiple frames refresh/reload problems, timeout

2006-04-19 Thread Darek Czarkowski
Hello, I remember seeing some information about the similar problem in the mailing list long time ago, but I am not really sure how to describe the problem correctly, and can not find any reference anymore. I have an application that is using multiple frames. When the index page is loaded, some

more trouble with 5.5.16+

2006-04-19 Thread Corey Kaiser
Hi, When I started my project, Tomcat 5.5.15 was the current Tomcat version, so naturally I chose that as a jumping off point. I've managed to shoehorn our collection of servlets and code into an Apache + mod_jk + Tomcat environment, and it works beautifully with Tomcat 5.5.15. Since 5.5.16 and

[Fwd: RE: FW: Cant find User Account Lockout feature in Tomcat-5.5.12]

2006-04-19 Thread Filip Hanik - Dev Lists
I didn't notice, but you are using the wrong mailing list. please read the mailing guide lines and in the future post to the user list. simple overwrite authenticate(String username, String credentials) in DataSourceRealm

RE: more trouble with 5.5.16+

2006-04-19 Thread Corey Kaiser
I suppose I meant SE Linux in my last question. Sorry for the confusion. -corey -Original Message- From: Corey Kaiser [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 19, 2006 10:27 AM To: 'users@tomcat.apache.org' Subject: more trouble with 5.5.16+ Hi, When I started my project, Tomcat

java.lang.NoClassDefFoundError: org/apache/catalina/Connector

2006-04-19 Thread Sharath Reddy
Hi All, While starting tomcat server I'm getting following error. Please let me know which .jar file I need to add in CLASSPATH so that this will be resolved? - [ERROR] Digester - -Begin event threw error

Trouble building JK Connector for Win32 from source

2006-04-19 Thread Derrick Koes
I have the IIS Web Development SDK installed as well as the Visual Studio C++ SP6 and Apache HTTPD 2.0.55. I've configured Visual C++ via Tools--Options--Directories to point to the Apache HTTPD includes. However, I still get this error

Shuttind down an embedded server does not clean up properly.

2006-04-19 Thread Dawid Weiss
Hi there, Is there any special way to 'clean up' after an Embedded server is started? Because at the moment it simply doesn't work properly -- when shutting down an instance of Embedded (.stop()) and starting a new instance of Embedded (.start()) for a short period of time (one or two

Re: CATALINA_BASE and multiple instances

2006-04-19 Thread Rainer Jung
No help for Win services from me, but: you can configure the tomcat classloaders via catalina.properties. Look for the entries named common.loader etc. There you will find the reason, why the common loader finds code in CATALINA_HOME/common/lib/*.jar, but not in the analogous CATALINA_BASE

Re: Trouble building JK Connector for Win32 from source

2006-04-19 Thread Mladen Turk
Derrick Koes wrote: I have the IIS Web Development SDK installed as well as the Visual Studio C++ SP6 and Apache HTTPD 2.0.55. I've configured Visual C++ via Tools--Options--Directories to point to the Apache HTTPD includes. However, I still get this error

RE: Trouble building JK Connector for Win32 from source

2006-04-19 Thread Derrick Koes
Ah yes, I seem to remember getting fooled by this in some doc before. However, running the build from the iis directory produces 8 errors. Any ideas on how to fix? Thanks, Derrick jk_isapi_plugin.c D:\JKConnectorBuild\jakarta-tomcat-connectors-1.2.15-src\jk\native\iis\j k_isapi_ plugin.c(673)

Re: more trouble with 5.5.16+

2006-04-19 Thread Maurice Yarrow
Hello tomcat users Well, if what Corey is saying is true (and why shouldn't I believe him!), since I am considering upgrading from 5.0.28 to 5.5, I would like to get a copy of the 5.5.15, but I see that this is no longer available on the tomcat.apache.org site, not even in the archives. Is

Re: more trouble with 5.5.16+

2006-04-19 Thread Mark Thomas
Maurice Yarrow wrote: Hello tomcat users Well, if what Corey is saying is true (and why shouldn't I believe him!), since I am considering upgrading from 5.0.28 to 5.5, I would like to get a copy of the 5.5.15, but I see that this is no longer available on the tomcat.apache.org site, not

Typical memory usage of a empty vanilla tomcat 5.5 - no webapps.

2006-04-19 Thread Abhi Karmos
Hi, Is there some documentation on how much memory a typical Tomcat 5.5 installation takes (without any webapps - just the server overhead). It takes about 45 MB (resident set size, ps -eux) on my linux system with IBM JVM. Abhi.

Re: Typical memory usage of a empty vanilla tomcat 5.5 - no webapps.

2006-04-19 Thread Filip Hanik - Dev Lists
most of that is the IBM VM, plug in a profiler and you'll see that tomcat should be around 10MB or less Filip Abhi Karmos wrote: Hi, Is there some documentation on how much memory a typical Tomcat 5.5 installation takes (without any webapps - just the server overhead). It takes about 45

RE: Typical memory usage of a empty vanilla tomcat 5.5 - no webapps.

2006-04-19 Thread Biernesser, Beth
Does anyone know how to get the time logged in the apache access reports for a request to be handled? In version apache 2.0.46 and higher, it is a %T switch ... Does anyone know how to configure this logging for a lower version of apache? -Original Message- From: Filip Hanik - Dev Lists

apache access reports Was: RE: Typical memory usage of a empty vanilla tomcat 5.5 - no webapps.

2006-04-19 Thread Steve Ochani
On 19 Apr 2006 at 16:12, Biernesser, Beth wrote: Does anyone know how to get the time logged in the apache access reports for a request to be handled? In version apache 2.0.46 and higher, it is a %T switch ... Does anyone know how to configure this logging for a lower version of apache?

Re: Typical memory usage of a empty vanilla tomcat 5.5 - no webapps.

2006-04-19 Thread Martin Gainty
Frau Biernesser: for previous apache versions I would utilise the $time variable $time - The time the request was made- Anyone else? Martin-- * This email message and any files transmitted with it contain confidential

Fw: Typical memory usage of a empty vanilla tomcat 5.5 - no webapps.

2006-04-19 Thread Martin Gainty
I thought it was dependent on jvm.config args..specifically java.args=-server -Xmx512m - HTH, Martin-- * This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom

Re: Typical memory usage of a empty vanilla tomcat 5.5 - no webapps.

2006-04-19 Thread Abhi Karmos
Hi Filip, I am not convinced with your argument. When I start Tomcat 3.3 with the same JVM, same OS and same heap -X settings, the RSS barely crosses 25 MB. Tomcat 5.5 takes 45 MB. In both cases, there are no webapps...and all conceivable settings, threads, listeners are same. Abhi.

Re: servlet mapping request

2006-04-19 Thread Raymond P. Jones
Hello Tomcat Users: The isp I use did it this way. I see that /servlet/* is bad. How should it be written so that they/we will not be using the invoker? Also, do you know of isp's who setup httpd.conf to accomodate jsps/servlets? 3. Here is requested info from httpd.conf: snip/ JkMount

Question on Single Sign-On

2006-04-19 Thread Scott Smith
I've read the docs and I think I understand the basic setup of the valve to implement SSO. However, my application is only partially done and before I implement SSO, I'd like to know that when I get the application all done, it will hang together. So, I will describe what I'm doing and

Re: Java process segfaulting and using 100% CPU

2006-04-19 Thread opensta
Just Type kill -QUIT pid-of-process command you will get the thread dump in catalina.out file of tomcat log folder u can identify the ur thread which are culprit from that -- View this message in context: http://www.nabble.com/Java-process-segfaulting-and-using-100-CPU-t1474571.html#a4001573

Tomcat releases

2006-04-19 Thread Krish B
hi, I have a couple of basic question about tomcat releases. 1) 5.5.17 is in beta. Will there be a release of 5.5.17 final and then work will go on to release 5.5.18. 2) When will Tomcat 6.0 be releases\d? Will there be more 5.5.X releases before 6.0? Regards Krish