Re: 404 - servlet not found (7.0.52)

2017-08-01 Thread Zemian Deng
Tomcat should emit a parse error during deployment / startup of your application something like "SEVERE [localhost-startStop-1] org.apache.tomcat.util.descriptor.web.WebXmlParser.parseWebXml Parse error in application web.xml" However the Tomcat server itself will continue to load and run. It

Re: Tomcat 8 slow shutdown on Windows 10

2017-08-01 Thread Mark Thomas
On 01/08/17 20:24, Christopher Schultz wrote: > > > On 8/1/17 3:10 PM, Mark Thomas wrote: >> On 01/08/17 20:00, Christopher Schultz wrote: >>> Mark, >>> >>> On 8/1/17 2:23 PM, Mark Thomas wrote: On 01/08/17 16:38, Christopher Schultz wrote: > Mark, > > On 8/1/17 8:01 AM, Mark

Re: Tomcat 8 slow shutdown on Windows 10

2017-08-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 8/1/17 3:10 PM, Mark Thomas wrote: > On 01/08/17 20:00, Christopher Schultz wrote: >> Mark, >> >> On 8/1/17 2:23 PM, Mark Thomas wrote: >>> On 01/08/17 16:38, Christopher Schultz wrote: Mark, On 8/1/17 8:01 AM, Mark Thomas

Re: Tomcat 8 slow shutdown on Windows 10

2017-08-01 Thread Mark Thomas
On 01/08/17 20:00, Christopher Schultz wrote: > Mark, > > On 8/1/17 2:23 PM, Mark Thomas wrote: >> On 01/08/17 16:38, Christopher Schultz wrote: >>> Mark, >>> >>> On 8/1/17 8:01 AM, Mark Thomas wrote: On 30/07/17 13:39, Lazar Kirchev wrote: > Hello Mark, > > I tried with several

Re: Tomcat 8 slow shutdown on Windows 10

2017-08-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 8/1/17 2:23 PM, Mark Thomas wrote: > On 01/08/17 16:38, Christopher Schultz wrote: >> Mark, >> >> On 8/1/17 8:01 AM, Mark Thomas wrote: >>> On 30/07/17 13:39, Lazar Kirchev wrote: Hello Mark, I tried with several thread

Re: Tomcat 8 slow shutdown on Windows 10

2017-08-01 Thread Mark Thomas
On 01/08/17 16:38, Christopher Schultz wrote: > Mark, > > On 8/1/17 8:01 AM, Mark Thomas wrote: >> On 30/07/17 13:39, Lazar Kirchev wrote: >>> Hello Mark, >>> >>> I tried with several thread dumps, but strange - I do not see in >>> them blocked/waiting threads. I attach two text files with thread

Re: No traffic after upgrade to Tomcat 8.5.16 (loadbalancing issue)

2017-08-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Bernd, On 8/1/17 12:07 PM, Bernd Wahlen wrote: >> I wonder if the F5 is not happy with the HTTP response status >> "reason string" being removed: >> >> https://bz.apache.org/bugzilla/show_bug.cgi?id=60362 >> >> What happens if you add the

Re: No traffic after upgrade to Tomcat 8.5.16 (loadbalancing issue)

2017-08-01 Thread Bernd Wahlen
Hi chris, Many thanks! That's the solution. Bernd I wonder if the F5 is not happy with the HTTP response status "reason string" being removed: https://bz.apache.org/bugzilla/show_bug.cgi?id=60362 What happens if you add the sendReasonPhrase="true" to your configuration and try again?

Re: Tomcat 8 slow shutdown on Windows 10

2017-08-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 8/1/17 8:01 AM, Mark Thomas wrote: > On 30/07/17 13:39, Lazar Kirchev wrote: >> Hello Mark, >> >> I tried with several thread dumps, but strange - I do not see in >> them blocked/waiting threads. I attach two text files with thread >>

Re: No traffic after upgrade to Tomcat 8.5.16 (loadbalancing issue)

2017-08-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Bernd, On 8/1/17 5:43 AM, Bernd Wahlen wrote: > Hi Peter and thanks for your help. > >> From my perspective the Tomcat is working, responding and >> serving content. >> >> That leads to the thought, that the F5 is not evaluating the >> response

Re: Tomcat 8 slow shutdown on Windows 10

2017-08-01 Thread Suvendu Sekhar Mondal
Lazar, > I am observing slow shutdown of Tomcat 8 on Windows 10 - some 9 - 11 > seconds. I observed this first with Tomcat 8.5.16, but then checked it on > older versions and I found the same from 8.5.11 onward. Before that it > stops for less than a second. > > > Has anybody experienced similar

RE: Tomcat 8.x/9.x using and meta-inf/resources

2017-08-01 Thread DESFORGES, Frederic
> Does that work any better? Yes that's work, thanks for given a clear and precise answer. fred - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: The GET request encounters 400 Bad Request from a URL with Chinese words on Tomcat 8.0.43

2017-08-01 Thread tomcat
On 01.08.2017 04:26, Bruce Huang wrote: Hi all, We have placed a file named 檔名.txt into the \apache-tomcat-8.0.43\webapps\Apps folder. And our client app can retrieve the file by an HTTP GET request from the URL, for example, http://192.168.1.1/Apps/檔名.txt (The 檔名 are two Chinese words) This

Re: Tomcat 8 slow shutdown on Windows 10

2017-08-01 Thread Mark Thomas
On 30/07/17 13:39, Lazar Kirchev wrote: > Hello Mark, > > I tried with several thread dumps, but strange - I do not see in them > blocked/waiting threads. I attach two text files with thread dumps. In > both there can be seen the main thread in AbstractEndpoint code, but > it's RUNNABLE. I also

Re: Tomcat 8.x/9.x using and meta-inf/resources

2017-08-01 Thread Mark Thomas
On 01/08/17 12:29, DESFORGES, Frederic wrote: > This is not working : the server started and but I can't access to test.html > (library.jar/META-INF/resources/test.html) > > className="org.apache.catalina.webresources.JarResourceSet" > webAppMount="/WEB-INF/lib" /> >

Re: The GET request encounters 400 Bad Request from a URL with Chinese words on Tomcat 8.0.43

2017-08-01 Thread Mark Thomas
On 01/08/17 03:26, Bruce Huang wrote: > Hi all, > > We have placed a file named 檔名.txt into > the \apache-tomcat-8.0.43\webapps\Apps folder. And our client app can > retrieve the file by an HTTP GET request from the URL, for example, > http://192.168.1.1/Apps/檔名.txt (The 檔名 are two Chinese words)

Tomcat 8.x/9.x using and meta-inf/resources

2017-08-01 Thread DESFORGES, Frederic
Hi, I have some trouble using configuration (used though cargo maven plugin). What I want to do : I have some files in a jar in META-INF/resources folder, I have to access to them. In some case I achieve to make it working but the solution is not really clean in my point of view. I have

Re: 404 - servlet not found (7.0.52)

2017-08-01 Thread Christoph Kukulies
Argh. I solved it. I had a dangling servlet-mapping section in my web.xml. Weird, that tomcat doesn't report on this, or does it? Am 01.08.2017 um 12:09 schrieb Christoph Kukulies: I'm pulling my hairs at the moment for a servlet is not being found which worked before. I have a class in

404 - servlet not found (7.0.52)

2017-08-01 Thread Christoph Kukulies
I'm pulling my hairs at the moment for a servlet is not being found which worked before. I have a class in webapps/servlets/WEB-INF/classes/My.class and sections in web.xml for this: My My and a mapping: My /servlet/My What I did last

Re: No traffic after upgrade to Tomcat 8.5.16 (loadbalancing issue)

2017-08-01 Thread Bernd Wahlen
Hi Peter and thanks for your help. From my perspective the Tomcat is working, responding and serving content. That leads to the thought, that the F5 is not evaluating the response correctly. In my opinion you should talk to the admins and ask them why they are not activating your service. The

Re: No traffic after upgrade to Tomcat 8.5.16 (loadbalancing issue)

2017-08-01 Thread Peter Kreuser
Bernd, > Am 01.08.2017 um 11:01 schrieb Bernd Wahlen : > > Hi M, Peter and Christoph, > > >Have you tried taking the affected server out completely from the >farm? In > >this way, you have 4 tomcats seen by the loadbalancer. Once >you have done > >the

Re: No traffic after upgrade to Tomcat 8.5.16 (loadbalancing issue)

2017-08-01 Thread Bernd Wahlen
Hi M, Peter and Christoph, >Have you tried taking the affected server out completely from the >farm? In this way, you have 4 tomcats seen by the loadbalancer. Once >you have done the upgrade, re-register this server with your load >balancer. >If not, can the F5 reach your server, can you