On Sun, Jun 16, 2019 at 5:05 AM Konstantin Kolinko <[email protected]>
wrote:

> вс, 16 июн. 2019 г. в 07:11, Nazmus Sadat <[email protected]>:
> >
> > Greetings.
> > For security reasons, I wanted to remove docs and examples application.
> So,
> > at first, I deleted both of their directories from the webapps directory.
> > However, the remaining applications (including manager app) were not
> > responding in browser (blank pages were being served), although the
> tomcat
> > service was running in the server. The logs were not showing anything.
> >
> > Then I put back docs and examples directories in webapps directory, and
> > things were back again. Then, I tried to undeploy them using tomcat
> > manager. The undeployment works, but again I got blank screens for
> > remaining applications.
> >
> > I even tried restricting access to these two apps (docs and examples)
> using
> > valve and filters. And unfortunately, again the same issue: I get blank
> > screens.
> >
> > Finally, I started with a clean installation. However, I get same result
> > after undeploying docs and examples.
> >
> > Permission is not an issue, all contents belong to the tomcat user.
> >
> > I am using Tomcat 8.5.37.
> >
> > Operating System: Amazon Linux 4.14.88
> > Java version: 1.8.0_191-b12
>
> 1. What is in your access log file? (Was the request processed by Tomcat?)
>
> (as mentioned in FAQ > Troubleshooting)
>
> 2. Blank page in Tomcat 8.5 may be generated for either of the following
> reasons
> a) the request was rejected at an early stage of processing before
> reaching a web application (e.g. an incorrect request, HTTP response
> code 400)
>
> b) there is no ROOT web application, i.e. there is no application that
> has an ErrorReportValve that can generate an user-friendly error page.
>
> > Finally, I started with a clean installation.
>
> 3. A clean installation starts with downloading a binary release (zip
> or tar.gz file) from tomcat.apache.org we site. Is this what you did?
>
> Why aren't you using the current version (8.5.42)?
>
>
> Best regards,
> Konstantin Kolinko
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]


I can confirm, there was a ROOT application deployed when I undeployed docs
and examples app.

Yes, by clean installation I referred to downloading binary release.
I tested all of the features of my application in Tomcat 8.5.37, so I don't
prefer 8.5.42 for now.

Sincerely,
Nazmus

Reply via email to