Re: service.bat install failure (Windows, v 6.0.18)

2008-12-13 Thread Mark Thomas
andrew wrote: > 3. From what I am seeing, it appears that the .zip and .tar.gz archives > were actually created from different source trees, as oposed to just > being different compressions of the same source. The differences are > minor, but not attributable to tar version incompatibilities, for

Re: Tomcat 4 Maintenance & Security Patches

2008-12-13 Thread Mark Thomas
Andrew Feller wrote: > QUESTION: > How often is the Tomcat 4 branch updated with security & bug fixes? As > often as issues are uncovered in newer versions? Bug fixes - hardly ever these days. Security issues - will get fixed but Tomcat 4 releases can be several weeks or more behind the announcem

Re: Unable to start tomcat server 6x

2008-12-13 Thread Partha Goswami
Actually, If anyone use Tomcat in Solaris Zones, then, /usr/local or /usr all is come read only mode, by default. so, Its need to know, Which oS On Sat, Dec 13, 2008 at 6:32 PM, David Smith wrote: > I think the important message is here: > > > /usr/local/apache-tomcat-6.0.18/bin/catalina.sh: lin

tomcat6, bottleneck, concurrent requests, windows xp

2008-12-13 Thread kazukin6
- 1) there is maxThreads=100 in context.xml 2) sending 100 simultaneous requests to one servlet, for example ab.exe -n 100 -c 100 {address} 3) in the servlet's own log for performance it shows around only 200-500 ms per request 4) in the ab.exe log it shows around 7 seconds(

Re: Unable to start tomcat server 6x

2008-12-13 Thread Hassan Schroeder
On Sat, Dec 13, 2008 at 12:15 AM, Partha wrote: > I am unable to restart apache-tomcat-6.0.18.When i try to run the startup.sh > it gives the following error: > touch: cannot touch `/usr/local/apache-tomcat-6.0.18/logs/catalina.out': > Read-only file system Last time I saw a "spontaneous" read-

Re: Question on JVM memory in tomcat

2008-12-13 Thread Kees Jan Koster
Dear user080701, I am using the tomcat manager to monitor the health of the tomcat server. I found that the session of JVM, it shown the following information: JVM Free memory: 38.13 MB Total memory: 111.18 MB Max memory: 1365.37 MB As David pointed out, this is probably measured against

Re: Unable to start tomcat server 6x

2008-12-13 Thread André Warnier
Partha wrote: [...] Isn't this a clue ? touch: cannot touch `/usr/local/apache-tomcat-6.0.18/logs/catalina.out': Read-only file system - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-m

Re: Setting /WebContent as ROOT for an application

2008-12-13 Thread Alan Chaney
In Eclipse, assuming you have the WTP tools installed, you create a 'Dynamic Web Project.' This has a folder structure of which the essence is: MyApp src com mypackage Abc.java build com mypackage Abc.class WebContent

Re: Setting /WebContent as ROOT for an application

2008-12-13 Thread Markus Schönhaber
Tom Blank: > The reason why I'm asking is, because I'm using eclipse and its > 'dynamic web project' structure. I'm no Eclipse user either, but AFAIR the folder "Webapps" is part of an Eclipse Dynamic Web Project. And a project folder is not meant to be simply copied to Tomcat's appBase (judging

RE: RE: Setting /WebContent as ROOT for an application

2008-12-13 Thread Caldarale, Charles R
> From: Tom Blank [mailto:blank-...@gmx.net] > Subject: Re: RE: Setting /WebContent as ROOT for an application > > The reason why I'm asking is, because I'm using eclipse and > its 'dynamic web project' structure. I'm not an Eclipse user, so I can't really help you in how to properly set up proje

Re: RE: Setting /WebContent as ROOT for an application

2008-12-13 Thread Tom Blank
Thanks Chuck for you Mail! The reason why I'm asking is, because I'm using eclipse and its 'dynamic web project' structure. For me actually I don't really care if it's on top or in some 'WebContent' directory. I just didn't want to change the structure every time I want to run/deploy my applica

RE: Setting /WebContent as ROOT for an application

2008-12-13 Thread Caldarale, Charles R
> From: Tom Blank [mailto:blank-...@gmx.net] > Subject: Setting /WebContent as ROOT for an application > > For Example: > http://localhost:8080/myApp/ > > should point to this directory: > C:/Server/Tomcat/webapps/myApp/WebContent/ > > where my index.jsp is located. This is not a "property" settin

Re: Question on JVM memory in tomcat

2008-12-13 Thread David Smith
Caught one of my own flaws in that one right after I sent it. Total memory - free memory is what's actually being used. Total is what's been reserved before. If free memory goes to zero, the jvm adds memory to the total up to max memory. If you're worried about memory consumption, just watch total

Re: Question on JVM memory in tomcat

2008-12-13 Thread David Smith
My limited understanding, but free memory is memory the JVM has used before and freed up. In your case, total memory probably went up to 149.31 MB at one point, then memory was freed creating that 38.13 MB free memory. If the sum of Free and Total add up to max, I would worry since that implies at

Setting /WebContent as ROOT for an application

2008-12-13 Thread Tom Blank
Hi! I have a tiny problem, but can't figure out how the hell set my entry point of the application to /WebContent. For Example: http://localhost:8080/myApp/ should point to this directory: C:/Server/Tomcat/webapps/myApp/WebContent/ where my index.jsp is located. By default the ROOT of the app

Question on JVM memory in tomcat

2008-12-13 Thread user080701
Hi, I am using the tomcat manager to monitor the health of the tomcat server. I found that the session of JVM, it shown the following information: JVM Free memory: 38.13 MB Total memory: 111.18 MB Max memory: 1365.37 MB Is my tomcat in good condition or not? It seems that the free memory is o

Re: Unable to start tomcat server 6x

2008-12-13 Thread David Smith
I think the important message is here: > /usr/local/apache-tomcat-6.0.18/bin/catalina.sh: line 292: > /usr/local/apache-tomcat-6.0.18/logs/catalina.out: Read-only file system In particular the phrase "Read-only file system" suggests the disk/partition tomcat is installed on was mounted read-only

Re: Unable to start tomcat server 6x

2008-12-13 Thread Gregor Schneider
Hi Parha, never ever run tomcat as root - that's a security-issue. I hope you haven't followed the hint to chmod to 777 - that's anything but a good idea. to solve the issue, procceed like this: - as root , do - create a user tomcat - chown -R tomcat /usr/local/apache-tomcat-6.0.18 - su tomc

crossContext and session handling

2008-12-13 Thread Stefano Nichele
Hi All, I would like to ask you some advices about crossContext. I have two webapps A and B. In A I have a filter that does: RequestDispatcher rd; rd = context.getContext("/B").getRequestDispatcher("/somepath"); rd.forward(request, response); in order to forward the reques

Re: Unable to start tomcat server 6x

2008-12-13 Thread Partha Goswami
try chmod 777 /usr/local On Sat, Dec 13, 2008 at 3:20 PM, Partha Goswami wrote: > You are Running it on Solaris Zones?? > > On Sat, Dec 13, 2008 at 2:38 PM, Partha wrote: > >> >> >> >> Gregor Schneider wrote: >> > >> > what user are you logged in as? >> > >> > what does >> > ls -l /usr/local/apa

Re: Unable to start tomcat server 6x

2008-12-13 Thread Partha Goswami
You are Running it on Solaris Zones?? On Sat, Dec 13, 2008 at 2:38 PM, Partha wrote: > > > > Gregor Schneider wrote: > > > > what user are you logged in as? > > > > what does > > ls -l /usr/local/apache-tomcat-6.0.18/logs/catalina.out > > and > > ls -l /usr/local/apache-tomcat-6.0.18 > > > > giv

Re: Unable to start tomcat server 6x

2008-12-13 Thread Varun Puttewar
Are you logged on as root user, as we can see write access is to only root user for catalina.out file. On Sat, Dec 13, 2008 at 2:38 PM, Partha wrote: > > > > Gregor Schneider wrote: > > > > what user are you logged in as? > > > > what does > > ls -l /usr/local/apache-tomcat-6.0.18/logs/catalina.

Re: Unable to start tomcat server 6x

2008-12-13 Thread Partha
Gregor Schneider wrote: > > what user are you logged in as? > > what does > ls -l /usr/local/apache-tomcat-6.0.18/logs/catalina.out > and > ls -l /usr/local/apache-tomcat-6.0.18 > > give? > > gregor > -- > just because your paranoid, doesn't mean they're not after you... > gpgp-fp: 79A84FA5

Re: Unable to start tomcat server 6x

2008-12-13 Thread Gregor Schneider
what user are you logged in as? what does ls -l /usr/local/apache-tomcat-6.0.18/logs/catalina.out and ls -l /usr/local/apache-tomcat-6.0.18 give? gregor -- just because your paranoid, doesn't mean they're not after you... gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @ ht

Unable to start tomcat server 6x

2008-12-13 Thread Partha
Hi there, I am unable to restart apache-tomcat-6.0.18.When i try to run the startup.sh it gives the following error: Using CATALINA_BASE: /usr/local/apache-tomcat-6.0.18 Using CATALINA_HOME: /usr/local/apache-tomcat-6.0.18 Using CATALINA_TMPDIR: /usr/local/apache-tomcat-6.0.18/temp Using JRE_