RE: Getting Tomcat 6.0.18 to work on ubuntu 9.04 for public connections

2009-05-20 Thread NicolaiFrydenlund Larsen (NLS)
-Original Message- From: Hassan Schroeder [mailto:hassan.schroe...@gmail.com] Sent: 19. maj 2009 19:16 To: Tomcat Users List Subject: Re: Getting Tomcat 6.0.18 to work on ubuntu 9.04 for public connections ?? Never seen that -- what browser are you using? Regardless, Firefox, but

Making Apache httpd fallback to local file after receiving 404 from backend Tomcat?

2009-05-20 Thread Imner, Andreas
Hi all I'm setting up a website using Apache webserver 2.2.11 / mod_jk 1.2.28 (Windows Server 2000) that connects to two backend Apache Tomcat 6.0.18 server (Windows Server 2003) with load balancing. The webserver also uses mod_proxy to forward some requests to an IIS5 server running on the

RE: Getting Tomcat 6.0.18 to work on ubuntu 9.04 for public connections

2009-05-20 Thread NicolaiFrydenlund Larsen (NLS)
-Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: 19. maj 2009 19:19 To: Tomcat Users List Subject: Re: Getting Tomcat 6.0.18 to work on ubuntu 9.04 for public connections Try this (one line) : ..path_to_plink.exe..\plink -L 80:localhost:80

Re: Making Apache httpd fallback to local file after receiving 404 from backend Tomcat?

2009-05-20 Thread Pid
Imner, Andreas wrote: Hi all I'm setting up a website using Apache webserver 2.2.11 / mod_jk 1.2.28 (Windows Server 2000) that connects to two backend Apache Tomcat 6.0.18 server (Windows Server 2003) with load balancing. The webserver also uses mod_proxy to forward some requests to an

JMX remote access in Tomcat 5.0

2009-05-20 Thread Rainer Frey (Inxmail GmbH)
Hi, [Disclaimer: I know well that Tomcat 5.0 is obsolete, an update is planned but not possible until later this year, and I don't want to leave the monitoring issues unaddressed until then.] I use Tomcat 5.0 with Java 6. In Java 6, local JMX access with jconsole is active by default. But

Re: Deploy Tomcat Standalone - good idea or not?

2009-05-20 Thread johnrock
It took me quite a while but I finally got a tomcat startup script working using jsvc to start as a tomcat user running on port 80. Are there any drawbacks/cons to this method as opposed to NOT using jsvc and instead running tomcat on 8080 and having the firewall redirect to this port? Does

RE: Tomcat, Realm, and context.xml

2009-05-20 Thread Greg Allen
Thanks Chuck! Do you happen to have a conf/Catalina/[host]/test.xml file? If so, it will override the one in the webapp's META-INF/context.xml, causing your Realm to be ignored. This was the problem. I modified that one and it is now using the JNDIRealm. However, that exposes a timing

Re: Apache httpd vs Tomcat static content performance [some results]

2009-05-20 Thread André Warnier
Actually, I was thinking more of disabling the AccessLog in httpd, to see how much impact that had. (That's also less additional tests to run ;-)) Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 5/19/2009 2:28 PM, André Warnier wrote: Christopher Schultz

SV: Making Apache httpd fallback to local file after receiving 404 from backend Tomcat?

2009-05-20 Thread Imner, Andreas
Thanks for the reply and the thoughts about my question. Med vänlig hälsning Andreas Imner Systemutvecklare KG Knutsson AB Autokatalogen Tel: +46 8 92 34 37 Mobil: +46 70 606 34 37 andreas.im...@kgk.se -Ursprungligt meddelande- Från: Pid [mailto:p...@pidster.com] Skickat: den

Re: Deploy Tomcat Standalone - good idea or not?

2009-05-20 Thread Marcus Better
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 johnrock wrote: It took me quite a while but I finally got a tomcat startup script working using jsvc to start as a tomcat user running on port 80. Also, I am posting the startup file I came up with in the hopes that it will either serve as a

Re: Performance: switch vs if ... else if

2009-05-20 Thread Ronald Klop
As with the tips about usage of char in the switch you can also test using a char in the if ... else. if (myChr.length() != 1) { throw new RuntimeException(invalid length); } char ch = myChr.charAt(0); if (ch == 'c') { p += 1; } else if (ch == 'r') { p += 2; } ... Should make a difference

Re: Performance: switch vs if ... else if

2009-05-20 Thread David kerber
Ronald Klop wrote: As with the tips about usage of char in the switch you can also test using a char in the if ... else. if (myChr.length() != 1) { throw new RuntimeException(invalid length); } char ch = myChr.charAt(0); if (ch == 'c') { p += 1; } else if (ch == 'r') { p += 2; } ...

Re: Help needed to run JSTL 1.1 in Tomcat 6.0.16

2009-05-20 Thread David Smith
The setup looks good from what I can tell. The only side note (and this isn't causing your error) is to drop the ?autoconnect=true from your mysql URL, replacing it with a validationQuery attribute in the Resource .../ element. The error itself makes me think your jstl jars aren't visible to

List operation question

2009-05-20 Thread David kerber
How do I get the thread ID of a given thread in the mailing list, if I want to request all the posts from that thread? I got the instructions message of how to request the posts for a given thread, but it requires me to know the id of the thread, and I can't figure out where to get that.

RE: List operation question

2009-05-20 Thread Caldarale, Charles R
From: David kerber [mailto:dcker...@verizon.net] Subject: List operation question How do I get the thread ID of a given thread in the mailing list, if I want to request all the posts from that thread? If you use one of these searchable archives, you shouldn't need the thread ID:

Re: AJP connections just stop working

2009-05-20 Thread kvancamp
This problem just happened again this morning, so this time I got 3 thread dumps, each about a minute apart: http://www.nabble.com/file/p23635003/threaddump.20090520.txt threaddump.20090520.txt Ken -- View this message in context: http://www.nabble.com/AJP-connections-just-stop-working

Default servlet url mapping issue

2009-05-20 Thread Viktoras Agejevas
Hi, I have a weird default servlet url mapping issue (Tomcat 6.0.18 with fully default configuration). Here's my web.xml configuration: web-app ... v2.5 servlet-mapping servlet-nameAnyServlet/servlet-name url-pattern/*/url-pattern /servlet-mapping servlet-mapping

Re: Default servlet url mapping issue

2009-05-20 Thread Serge Fonville
Have you tried a different order? On Wed, May 20, 2009 at 3:17 PM, Viktoras Agejevas v.ageje...@gmail.com wrote: Hi, I have a weird default servlet url mapping issue (Tomcat 6.0.18 with fully default configuration). Here's my web.xml configuration: web-app ... v2.5 servlet-mapping      

Re: Default servlet url mapping issue

2009-05-20 Thread Mark Thomas
Viktoras Agejevas wrote: Hi, I have a weird default servlet url mapping issue (Tomcat 6.0.18 with fully default configuration). Here's my web.xml configuration: web-app ... v2.5 servlet-mapping servlet-nameAnyServlet/servlet-name url-pattern/*/url-pattern

Re: List operation question

2009-05-20 Thread Mark Thomas
David kerber wrote: How do I get the thread ID of a given thread in the mailing list, if I want to request all the posts from that thread? I got the instructions message of how to request the posts for a given thread, but it requires me to know the id of the thread, and I can't figure out

Re: Default servlet url mapping issue

2009-05-20 Thread Serge Fonville
Just out of interest, but where, how and why does it violate the spec? On Wed, May 20, 2009 at 3:33 PM, Mark Thomas ma...@apache.org wrote: Viktoras Agejevas wrote: Hi, I have a weird default servlet url mapping issue (Tomcat 6.0.18 with fully default configuration). Here's my web.xml

mod_proxy, Tomcat and request URL

2009-05-20 Thread Andre-John Mas
Hi, Where I work the production environment is using Apache HTTPD in front of Tomcat and the link is then made via mod_proxy. While I understand this is not the ideal setup, I don't have any control over this. At the same time I see that using mod_proxy, by way of ProxyPass, means that

Re: Getting Tomcat 6.0.18 to work on ubuntu 9.04 for public connections

2009-05-20 Thread Hassan Schroeder
On Wed, May 20, 2009 at 12:20 AM, NicolaiFrydenlund Larsen (NLS) I used putty to login and tried to telnet both as user and root, but both returns this message: telnet: Unable to connect to remote host: Connection refused Then it sounds like Tomcat isn't running, contrary to your earlier

Re: Help needed to run JSTL 1.1 in Tomcat 6.0.16

2009-05-20 Thread Deepa Annamalai
My file layout is like this E:\Deepa\workspace\DBTest\WebContent under this folder I have WEB-INF and META-INF and the test.jsp. In WEB-INF folder there is web.xml and lib folder(having jstl.jar and Standard.jar) /DBTest is my context name and with this setup it works fine when I run the

Re: Default servlet url mapping issue

2009-05-20 Thread Viktoras Agejevas
On Wed, May 20, 2009 at 4:38 PM, Serge Fonville serge.fonvi...@gmail.com wrote: Just out of interest, but where, how and why does it violate the spec? The container will recursively try to match the longest path-prefix. So as I understand all requests /resources/* should be directed to default

Re: Default servlet url mapping issue

2009-05-20 Thread David Smith
I don't see that either and I've read it a couple of times. Seems like this is just a limitation of the default servlet. --David Serge Fonville wrote: Just out of interest, but where, how and why does it violate the spec? On Wed, May 20, 2009 at 3:33 PM, Mark Thomas ma...@apache.org wrote:

RE: Default servlet url mapping issue

2009-05-20 Thread Caldarale, Charles R
From: Viktoras Agejevas [mailto:v.ageje...@gmail.com] Subject: Default servlet url mapping issue servlet-mapping servlet-namedefault/servlet-name url-pattern/resources/css/*/url-pattern /servlet-mapping The DefaultServlet does not currently support any url-pattern other than

RE: Getting Tomcat 6.0.18 to work on ubuntu 9.04 for public connections

2009-05-20 Thread Caldarale, Charles R
From: Hassan Schroeder [mailto:hassan.schroe...@gmail.com] Subject: Re: Getting Tomcat 6.0.18 to work on ubuntu 9.04 for public connections Then it sounds like Tomcat isn't running, contrary to your earlier What does a netstat -ano show? - Chuck THIS COMMUNICATION MAY CONTAIN

Have a question on installation of customized service in tomcat 5.5 on windows XP

2009-05-20 Thread smadhava
Hi, I have an application which has a service to log the messages.Want to create that service in Windows services(Services.msc).Followed the same steps that is there in service.bat by replacing only related jar files and class files. I have used a copy of service.bat file to create this

Re: Default servlet url mapping issue

2009-05-20 Thread Viktoras Agejevas
Thank you for the answers, I'll have to figure something out. And I'm taking back my words about spec violation :) Viktoras On Wed, May 20, 2009 at 4:46 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: The DefaultServlet does not currently support any url-pattern other than /.  

Re: List operation question

2009-05-20 Thread David kerber
Mark Thomas wrote: David kerber wrote: How do I get the thread ID of a given thread in the mailing list, if I want to request all the posts from that thread? I got the instructions message of how to request the posts for a given thread, but it requires me to know the id of the thread, and I

Please respond to my mail

2009-05-20 Thread smadhava
Thanks Regards, Sumathi Tomax India Software Private Limited CONFIDENTIALITY NOTICE: This message and any attachment(s) are solely for the use of the intended recipient(s) identified above and may contain information that is proprietary, privileged, or confidential. If you are not an

Re: Please respond to my mail

2009-05-20 Thread Pid
OK. smadh...@tomax.com wrote: Thanks Regards, Sumathi Tomax India Software Private Limited CONFIDENTIALITY NOTICE: This message and any attachment(s) are solely for the use of the intended recipient(s) identified above and may contain information that is proprietary, privileged,

Re: Please respond to my mail

2009-05-20 Thread smadhava
I have an application which has a service to log the messages.Want to create that service in Windows services(Services.msc).Followed the same steps that is there in service.bat by replacing only related jar files and class files. I have used a copy of service.bat file to create this service

RE: Default servlet url mapping issue

2009-05-20 Thread Caldarale, Charles R
From: Caldarale, Charles R Subject: RE: Default servlet url mapping issue The DefaultServlet does not currently support any url-pattern other than /. There's a fairly simple change which seems to allow any arbitrary pattern, which you might want to try. It will take me a bit to dig up

RE: Request entity too large when using SSO (IIS IntegratedWindows authentication -Tomcat )

2009-05-20 Thread Caldarale, Charles R
From: pappu [mailto:anaga_mahade...@infosys.com] Subject: RE: Request entity too large when using SSO (IIS IntegratedWindows authentication -Tomcat ) When we did this about 3 yrs ago i believe only 5.0 would have been supported. The last 5.0 was released 4.5 years ago, and 5.5.17 was

Re: Default servlet url mapping issue

2009-05-20 Thread Viktoras Agejevas
Thank you Chuck, will definitely try it. On Wed, May 20, 2009 at 5:24 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Caldarale, Charles R Subject: RE: Default servlet url mapping issue The DefaultServlet does not currently support any url-pattern other than /.  There's a

Re: Please respond to my mail

2009-05-20 Thread smadhava
how to customize the service in windows service control panel(services.msc) Thanks Regards, Sumathi Tomax India Software Private Limited Pid p...@pidster.com 05/20/2009 07:49 PM Please respond to Tomcat Users List users@tomcat.apache.org To Tomcat Users List users@tomcat.apache.org cc

RE: mod_proxy, Tomcat and request URL

2009-05-20 Thread Caldarale, Charles R
From: Andre-John Mas [mailto:aj...@sympatico.ca] Subject: mod_proxy, Tomcat and request URL At the same time I see that using mod_proxy, by way of ProxyPass, means that the Tomcat server does not know what hostname was used to access the Apache server, instead getting http://localhost:8080/

[Eclipse+Tomcat6]How to publish modification in a text file ?

2009-05-20 Thread b...@umd
I am developing a webapp with Eclipse 3.4.2 which runs on a Tomcat v6 server. When I click on a button of my webapp during runtime, it modifies or createsa shell script present in my webapp folder. Then, I retrieve this script (which contains installation instructions) at the startup of a

Re: Deploy Tomcat Standalone - good idea or not?

2009-05-20 Thread George Sexton
This looks pretty much like the one I use on openSuSE. The only difference is that I define the variables in a file in /etc/sysconfig. /etc/sysconfig/tomcat contains. CATALINA_BASE= CATALINA_HOME= TOMCAT_USER= ... Then, the script sources that file with . /etc/sysconfig/tomcat If I need to

Re: How to get thread dump on Tomcat 6 (windows)

2009-05-20 Thread madhu sudhan bandari
Hi Rainer, Thanks for quick response..but in the below URL..it was mentioned that jstack is not available on windows platforms http://java.sun.com/j2se/1.5.0/docs/tooldocs/#debug I am just pasting the contents of above URL for your quick reference Troubleshooting Tools The following tools can

RE: How to get thread dump on Tomcat 6 (windows)

2009-05-20 Thread Caldarale, Charles R
From: madhu sudhan bandari [mailto:madhu.band...@gmail.com] Subject: Re: How to get thread dump on Tomcat 6 (windows) Thanks for quick response..but in the below URL..it was mentioned that jstack is not available on windows platforms http://java.sun.com/j2se/1.5.0/docs/tooldocs/#debug

Re: mod_proxy, Tomcat and request URL

2009-05-20 Thread Markus Schönhaber
Andre-John Mas: this is not the ideal setup, I don't have any control over this. At the same time I see that using mod_proxy, by way of ProxyPass, means that the Tomcat server does not know what hostname was used to access the Apache server, instead getting http://localhost:8080/ . Is

RE: Running out of tomcat threads - why many threads in RUNNABLE stage even with no activity

2009-05-20 Thread Caldarale, Charles R
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Subject: RE: Running out of tomcat threads - why many threads inRUNNABLEstage even with no activity - Setting connectionTimeout in server.xml seems to have resolved the issue Only because you're throwing away what appears

RE: Running out of tomcat threads - why many threads in RUNNABLEstage even with no activity

2009-05-20 Thread Pantvaidya, Vishwajit
RUNNABLE and WAITING are thread states in the JVM. They don't relate in general to states inside Tomcat. In this special situation they do. The states you observe are both completely normal in themselves. One (the stack you abbreviate with RUNNABLE) is handling a persistant connection

What are the effects of keeping large files in the ROOT directory?

2009-05-20 Thread uddav
Hello Everyone, I have a question about keeping large files in the ROOT directory in Tomcat? We have an index.html file in the location .../webapps/ROOT directory which has a link pointed to a PDF file which is almost 10MB in size and is located in the same directory . Our users click open the

Re: Deploy Tomcat Standalone - good idea or not?

2009-05-20 Thread johnrock
Marcus Better wrote: Tomcat in Debian (and Ubuntu) also runs with jsvc as a non-root user by default, you can have a look at their startup scripts too. Where would I look to find such scripts? Thanks -- View this message in context:

Re: Default servlet url mapping issue

2009-05-20 Thread Tim Funk
No spec violation - the default servlet only use getServletPath() to figure out what to get. By using a url pattern other than / - the url is actually split between getServletPath and getPathInfo. (and default servlet barfs) The simple workaround is to use a filter mapped to

RE: Running out of tomcat threads - why many threads inRUNNABLEstage even with no activity

2009-05-20 Thread Caldarale, Charles R
From: Pantvaidya, Vishwajit [mailto:vpant...@selectica.com] Subject: RE: Running out of tomcat threads - why many threads inRUNNABLEstage even with no activity [Pantvaidya, Vishwajit] Thanks Rainer. The RUNNABLE thread - is it a connection between Tomcat and webserver, or between

RE: enterprise tomcat hosting, architecture. How will u do it?

2009-05-20 Thread Martin Gainty
Multiple JVMS invite big problems..annotation and or Generic classes developed under JVM6 won't backport to 5 If on the other hand you are able to use common JVM and common TC you can bulletproof your webapps with Clustering http://tomcat.apache.org/tomcat-5.5-doc/cluster-howto.html This would

Re: How to get thread dump on Tomcat 6 (windows)

2009-05-20 Thread Rainer Jung
On 20.05.2009 18:37, madhu sudhan bandari wrote: Hi Chris, I have installed JDK1.6 only..is jconsole solves my problem?.. As Chris pointed out correctly, jstack *is* part of a recent version of the JDK 1.6. If you really have the JDK 1.6.0, then there is a jstack.exe in the bin folder. We

RE: What are the effects of keeping large files in the ROOT directory?

2009-05-20 Thread Caldarale, Charles R
From: uddav [mailto:adi.upr...@gmail.com] Subject: What are the effects of keeping large files in the ROOT directory? We are using Tomcat 5.0.27 and our server O/S is SunOS 5.8. Other than the obvious issue of 5.0.x no longer being supported, I don't think there's any problem. I think the

Re: Please respond to my mail

2009-05-20 Thread Pid
smadh...@tomax.com wrote: how to customize the service in windows service control panel(services.msc) Sounds like a problem for Microsoft support rather than the Tomcat Users mailing list. p Thanks Regards, Sumathi Tomax India Software Private Limited Pid p...@pidster.com

xml validation on -- good idea or not?

2009-05-20 Thread Julian Dunn
Hi, Is it a good idea to run with xmlValidation=true in server.xml? I had this on for a while, but then it mysteriously stopped working -- the container could no longer validate DTDs, refused to load webapps, etc. What does xmlValidation=true actually do? I am using Tomcat 5.5.23. - Julian

Re: Running out of tomcat threads - why many threads in RUNNABLE stage even with no activity

2009-05-20 Thread Rainer Jung
On 20.05.2009 19:47, Caldarale, Charles R wrote: From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Subject: RE: Running out of tomcat threads - why many threads inRUNNABLEstage even with no activity - Setting connectionTimeout in server.xml seems to have resolved the issue Only

tomcat6 executables on Windows Serer

2009-05-20 Thread kolaloka
Hi All, I need to fine-tune GeoServer under Jetty. However, it always eats up memory, and I've asked the previous developer to give info about his setup with Tomcat 6 on Windows Server. He wrote that tomcat6.exe uses 225M memory, while the total system memory usage is 4.3G. I don't know if other

enterprise tomcat hosting, architecture. How will u do it?

2009-05-20 Thread List Member
Hi List, My team is creating a new tomcat hosting environment in our organization. And we are looking for some suggestion possible gotchas here. We plan to keep it as simple as possible easy to maintain. At the same time it should be flexible as it will support multiple applications, multiple

RE: Running out of tomcat threads - why many threads in RUNNABLEstage even with no activity

2009-05-20 Thread Pantvaidya, Vishwajit
[Pantvaidya, Vishwajit] My problem is that tomcat is running out of threads (maxthreadcount=200). My analysis of the issue is: - threads count is exceeded because of a slow buildup of RUNNABLE threads (and not because number of simultaneous http requests at some point exceeded max thread

RE: tomcat6 executables on Windows Serer

2009-05-20 Thread Caldarale, Charles R
From: kolaloka [mailto:kolal...@freemail.hu] Subject: tomcat6 executables on Windows Serer I need to fine-tune GeoServer under Jetty. Perhaps you should ask on a Jetty list? Is tomcat6.exe only a Windows service program that executes a JVM such as java.exe Neither tomcat6.exe nor

Re: How to get thread dump on Tomcat 6 (windows)

2009-05-20 Thread madhu sudhan bandari
Hi Chris, I have installed JDK1.6 only..is jconsole solves my problem?.. Rgards Madhu On 5/19/09, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Madhu, On 5/19/2009 4:21 AM, madhu sudhan bandari wrote: i have downloaded JDK1.6 and

Re: xml validation on -- good idea or not?

2009-05-20 Thread Xie Xiaodong
I think it just validates the xml file using the DTDs or xml-schemas specified in your xml file. If you could not connect to the url you specified in the dtds or xml-schemas, the situation you encountered might happen. 2009/5/20 Julian Dunn julian.d...@cbc.ca Hi, Is it a good idea to run

RE: Running out of tomcat threads - why many threads in RUNNABLE stage even with no activity

2009-05-20 Thread Pantvaidya, Vishwajit
-Original Message- From: Rainer Jung [mailto:rainer.j...@kippdata.de] Sent: Wednesday, May 20, 2009 11:53 AM To: Tomcat Users List Subject: Re: Running out of tomcat threads - why many threads in RUNNABLE stage even with no activity On 20.05.2009 19:47, Caldarale, Charles R wrote:

Re: Running out of tomcat threads - why many threads in RUNNABLEstage even with no activity

2009-05-20 Thread Rainer Jung
On 20.05.2009 00:53, Pantvaidya, Vishwajit wrote: -Original Message- From: Rainer Jung [mailto:rainer.j...@kippdata.de] Sent: Monday, May 18, 2009 11:10 PM To: Tomcat Users List Subject: Re: Running out of tomcat threads - why many threads in RUNNABLEstage even with no activity On

RE: Running out of tomcat threads - why many threads in RUNNABLEstage even with no activity

2009-05-20 Thread Caldarale, Charles R
From: Pantvaidya, Vishwajit [mailto:vpant...@selectica.com] Subject: RE: Running out of tomcat threads - why many threads in RUNNABLEstage even with no activity Finally, is it possible that some bad code in the app could be hanging onto those RUNNABLE connections which is why tomcat is

RE: Running out of tomcat threads - why many threads in RUNNABLEstage even with no activity

2009-05-20 Thread Pantvaidya, Vishwajit
Finally, is it possible that some bad code in the app could be hanging onto those RUNNABLE connections which is why tomcat is not releasing them? Once more: NO, NO, NO! The threads you see in a RUNNABLE state are perfectly normal and expected. Go do the netstat that Rainer suggested

RE: xml validation on -- good idea or not?

2009-05-20 Thread Martin Gainty
there are 2 terms you should know parameter name=xmlNamespaceAware description=Attribute value used to turn on/off XML namespace awareness type=boolean/ parameter name=xmlValidation description=Attribute value used to turn on/off XML validation

Re: Please respond to my mail

2009-05-20 Thread André Warnier
smadh...@tomax.com wrote: ... If only to save you sending another of these Please respond to my mail messages which bother everyone on this list... As you must have noticed, you are pretty much being ignored. There are a number of reasons for that : - you problem is not a Tomcat problem, and

RE: Running out of tomcat threads - why many threads in RUNNABLE stage even with no activity

2009-05-20 Thread Pantvaidya, Vishwajit
-Original Message- From: Rainer Jung [mailto:rainer.j...@kippdata.de] Sent: Wednesday, May 20, 2009 11:53 AM To: Tomcat Users List Subject: Re: Running out of tomcat threads - why many threads in RUNNABLE stage even with no activity On 20.05.2009 19:47, Caldarale, Charles R wrote:

Re: Deploy Tomcat Standalone - good idea or not?

2009-05-20 Thread André Warnier
johnrock wrote: Marcus Better wrote: Tomcat in Debian (and Ubuntu) also runs with jsvc as a non-root user by default, you can have a look at their startup scripts too. Where would I look to find such scripts? Thanks /etc/init.d/tomcatx.y

Re: [OT] tomcat6 executables on Windows Serer

2009-05-20 Thread André Warnier
Caldarale, Charles R wrote: When I was in school, 1024m == 1G; perhaps things are different now... Now come on, Chuck, be honest ! When you were in school, they were not even talking about bytes. And the only place they were talking about MegaBytes then was in science-fiction novels.

Re: Running out of tomcat threads - why many threads in RUNNABLE stage even with no activity

2009-05-20 Thread André Warnier
Pantvaidya, Vishwajit wrote: - why do the 11 threads in the httpd o/p show port 21069 in foreign addr. Or are those not the correct threads I should be looking at?a A bit off-topic maybe, but if you add -p to netstat (at least under Linux), it will also show the program that corresponds to

RE: [OT] tomcat6 executables on Windows Serer

2009-05-20 Thread Caldarale, Charles R
From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: [OT] tomcat6 executables on Windows Serer Now come on, Chuck, be honest ! When you were in school, they were not even talking about bytes. Yeah, you're right; we were still using slide rules. And the only place they were talking

RE: Running out of tomcat threads - why many threads in RUNNABLE stage even with no activity

2009-05-20 Thread Caldarale, Charles R
From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: Running out of tomcat threads - why many threads in RUNNABLEstage even with no activity if you add -p to netstat (at least under Linux), it will also show the program that corresponds to that line. Or at least -o to show the pid

RE: Running out of tomcat threads - why many threads in RUNNABLEstage even with no activity

2009-05-20 Thread Caldarale, Charles R
From: Pantvaidya, Vishwajit [mailto:vpant...@selectica.com] Subject: RE: Running out of tomcat threads - why many threads in RUNNABLEstage even with no activity On httpd machine Proto Recv-Q Send-Q Local Address Foreign Address State tcp1 0

RE: Running out of tomcat threads - why many threads in RUNNABLEstage even with no activity

2009-05-20 Thread Pantvaidya, Vishwajit
The fact that *none* of the ports match would suggest (but not prove) that someone in the middle is closing the connections, and not telling either end about it. Do the netstat -anop again; it should be more interesting. - Chuck [Pantvaidya, Vishwajit] Tomcat server port 11065,

RE: Running out of tomcat threads - why many threads in RUNNABLEstage even with no activity

2009-05-20 Thread Pantvaidya, Vishwajit
The fact that *none* of the ports match would suggest (but not prove) that someone in the middle is closing the connections, and not telling either end about it. Do the netstat -anop again; it should be more interesting. - Chuck [Pantvaidya, Vishwajit] Tomcat server port

Pointing java.endorsed.dirs to a different location when running tomcat

2009-05-20 Thread Pantvaidya, Vishwajit
I am running a webapp under tomcat 5.5 with the server.xml having a Host element as: Host name=localhost appBase=C:/myapphome debug=0 The webapp needs to set the system property java.endorsed.dirs to a location like C:\myapphome\lib\endorsed. But the setclasspath.bat that comes bundled with

RE: Running out of tomcat threads - why many threads in RUNNABLEstage even with no activity

2009-05-20 Thread Martin Gainty
definitely not TC ..the problem is with your WebServer please read this tutorial on diagnosing CLOSE_WAIT sockets from your WebServer http://publib.boulder.ibm.com/infocenter/wasinfo/v4r0/index.jsp?topic=/com.ibm.support.was40.doc/html/Plug_in/swg21163659.html Martin

Re: xml validation on -- good idea or not?

2009-05-20 Thread Bill Barker
Julian Dunn julian.d...@cbc.ca wrote in message news:4a14199c.4caf.003...@cbc.ca... Hi, Is it a good idea to run with xmlValidation=true in server.xml? In a development enviroment, it can be helpful (especially if you change web.xml often). I would generally discurage it in a production

RE: Running out of tomcat threads - why many threads in RUNNABLE stage even with no activity

2009-05-20 Thread Caldarale, Charles R
From: Martin Gainty [mailto:mgai...@hotmail.com] Subject: RE: Running out of tomcat threads - why many threads in RUNNABLEstage even with no activity http://publib.boulder.ibm.com/infocenter/wasinfo/v4r0/index.jsp?topic=/ com.ibm.support.was40.doc/html/Plug_in/swg21163659.html Vaguely

RE: Running out of tomcat threads - why many threads in RUNNABLE stage even with no activity

2009-05-20 Thread Pantvaidya, Vishwajit
This FAQ entry looks promising: http://tomcat.apache.org/connectors-doc/miscellaneous/faq.html Look at the entry entitled I've got a firewall between my web server and Tomcat which drops ajp13 connections after some time. Configuring keep-alives is a fairly low-overhead workaround, but it

RE: Running out of tomcat threads - why many threads in RUNNABLE stage even with no activity

2009-05-20 Thread Caldarale, Charles R
From: Pantvaidya, Vishwajit [mailto:vpant...@selectica.com] Subject: RE: Running out of tomcat threads - why many threads in RUNNABLEstage even with no activity So socket_keepalive is already 1. So does this mean that firewall is dropping connections in spite of it. The doc does not

Re: Difference between running bootstrap.jar and catalina.bat

2009-05-20 Thread Jan Horký
Hi, Finally I managed It. Sadly, by different way. Every librarie magics failed than I wrote new web service based on axis. It's used jaxb1. Thank you all for your time. Jan. On Fri, May 15, 2009 at 4:57 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED

Processes are not showing in the JConsole

2009-05-20 Thread Anamika raj
the process which i want to monitor on JConsole not showing in the JConsole window.Can anybody help me why they are not showing.However I enabled JMX on my process.What would be the possible cause of not showing the process.My process is running it is showing in the task manager also.when I m