Starting and stopping contexts programmatically

2016-03-14 Thread James H. H. Lampert
The only ways I know of to start and stop individual webapp contexts is to (1) start and stop them from the manager, or (2) start and stop Tomcat itself. Is there a way, from the back end, to start and stop individual contexts? -- James H. H. Lampert --

Re: How can I fix deserialization vulnerability?

2016-03-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 3/11/16 4:10 AM, Mark Thomas wrote: > On 11/03/2016 01:43, Christopher Schultz wrote: >> 林慶龍, >> >> On 3/10/16 8:07 PM, 林慶龍 Barry Lin wrote: >>> These days, Everyone talks about the vulnerability in Tomcat, >>> and we found that we had the s

Re: Question about your recent security (CVE-2015-5345) fix in 7.0.68 build

2016-03-14 Thread Harish Krishnan
Any help on my previous question is really appreciated. Thank You! On Fri, Mar 11, 2016 at 4:05 PM, Harish Krishnan wrote: > Thanks again for the reply, Chris & Violeta! > Thanks for clarifying what the "protected directory" is, even i guessed it > to be same. Now i understood the fix for the di

RE: Tomcat 6.x 32bit-- becomes non responsive state / crash/hang

2016-03-14 Thread Mahudeswaran A
Hello Mark, Thank you We are working in different time zone. & We will try the thread dump meantime...Would you like to share any check points in thread dump or share some troubleshooting steps/tools to identify the issue. The visualgc plugin in jvisualvm is not supported for the jvm 1.6. Is th

Re: How to comply with http://www.sitemaps.org/protocol.html#location

2016-03-14 Thread Lyallex
Oh ... well ... how smart is that, works like a dream, nice one Thanks Lyallex On 14 March 2016 at 10:34, Terence M. Bandoian wrote: > On 3/13/2016 10:23 AM, Lyallex wrote: >> >> CentOS 5.2 >> jdk1.7.0_45 >> apache-tomcat-7.0.42 >> no httpd, tomcat only, one webapp ROOT.war >> >> According to th

Re: Tomcat 6.x 32bit-- becomes non responsive state / crash/hang

2016-03-14 Thread Mark Thomas
On 14/03/2016 14:41, Mahudeswaran A wrote: > Hi, > > We are facing unusual issue in Tomcat 6.x, where Tomcat 6.x becomes non > responsive state after two week's time. > This happens randomly; > The jvisualvm screen shows CPU, memory, thread are normal and we don't see > memory leak, thread leak

Tomcat 6.x 32bit-- becomes non responsive state / crash/hang

2016-03-14 Thread Mahudeswaran A
Hi, We are facing unusual issue in Tomcat 6.x, where Tomcat 6.x becomes non responsive state after two week's time. This happens randomly; The jvisualvm screen shows CPU, memory, thread are normal and we don't see memory leak, thread leak or CPU hike. JVM running is 32 bit; In our lab, we are si

Re: [COMMERCIAL] Re: Need Help: - jk doesn't work after upgrade to 1.2.40 from 1.2.23

2016-03-14 Thread tomcat
Hi Eric. A couple of things : 1) Martin is right, in the sense that if a "worker" is mentioned in the loadbalancer configuration ("balance_workers"), then normally you should /not/ also list it in the list of individual "workers" in the "worker.list" directive. 2) I am not even sure that you re

Re: [COMMERCIAL] Re: Need Help: - jk doesn't work after upgrade to 1.2.40 from 1.2.23

2016-03-14 Thread Martin Knoblauch
Hi Eric, there are two things different from *my* working "mod_jk/1.2.41" setup: a) I have only the "JkMount /xxx/* xxx" line in my configuration b) in the workers list I have only the loadbalancer and the management workers listed, not the individual ones. Not sure how relevant this is Martin

How to comply with http://www.sitemaps.org/protocol.html#location

2016-03-14 Thread Terence M. Bandoian
On 3/13/2016 10:23 AM, Lyallex wrote: CentOS 5.2 jdk1.7.0_45 apache-tomcat-7.0.42 no httpd, tomcat only, one webapp ROOT.war According to the documentation at http://www.sitemaps.org/protocol.html#location An xml sitemap should appear in the context root, if it dosn't it can only contain a lim

Re: Error 404 for autodiscover.xml

2016-03-14 Thread Olaf Kock
Welcome to the internet. I guess that you'll also find a lot of requests for /phpmyadmin/*, /wordpress/* and a bunch of other software that you didn't install. There's background chatter on the internet, constantly scanning for known vulnerabilities (or just creating an index of installed software

RE: [COMMERCIAL] Re: Need Help: - jk doesn't work after upgrade to 1.2.40 from 1.2.23

2016-03-14 Thread ZHAO Eric
Dear Andre, Thanks for your response! We didn't use Virtual Host in our setting. I re-read the documentation and didn't find anything wrong with the setting, also this setting worked before. Do you have several minutes to check the setting in our server for mod_jk? Appreciate for your time.

Re: Error 404 for autodiscover.xml

2016-03-14 Thread Subhro Paul
From: Mark Thomas To: Tomcat Users List Date: 03/11/2016 02:43 PM Subject:Re: Error 404 for autodiscover.xml On 11/03/2016 08:26, Subhro Paul wrote: > Hi All, > > Our client has a simple website consists of some jsps, images, css, > javascripts and html files. It has two Apac