Re: Tomcat not responding (in browser) after undeploying docs and examples application.

2019-06-16 Thread Nazmus Sadat
On Sun, Jun 16, 2019 at 5:05 AM Konstantin Kolinko 
wrote:

> вс, 16 июн. 2019 г. в 07:11, Nazmus Sadat :
> >
> > 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: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org


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


Re: Tomcat not responding (in browser) after undeploying docs and examples application.

2019-06-16 Thread Konstantin Kolinko
вс, 16 июн. 2019 г. в 07:11, Nazmus Sadat :
>
> 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: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Tomcat not responding (in browser) after undeploying docs and examples application.

2019-06-15 Thread Nazmus Sadat
Hi Chris,


On Sun, Jun 16, 2019 at 12:34 AM Christopher Schultz <
ch...@christopherschultz.net> wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
>
> Nazmus,
>
> On 6/16/19 00:11, Nazmus Sadat wrote:
> > 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
> >
> > Please advise.
>
> Any reverse-proxy / load-balancer between the client (browser) and the
> server?
>
> - -chris
> -BEGIN PGP SIGNATURE-
> Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/
>
> iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAl0F1OYACgkQHPApP6U8
> pFjpWw//df4x+2kcMjd9iyBydffk93LxSWqiPLJjGJpG8Rcxgfs/Np0p2/fbtxZZ
> s+AzBavznnlb7qrtQp0TvUa0hmcRR4mqqJx0gbYsazDYUgeBx9PQaUNKKqyy/vFR
> eeJFhwZoAnUvNjAsTQ1SLWmKBQ6qmWwxY2TNL3LOFvN6qtZ8hORrmnOzpqMF/j3/
> /KHho35CDXL5/lyyViANjLqzexhMlr0F/9SG7wt/k+YIYamEhd+3+xEskIPf+Om0
> uJ9ocAZ2ZTy3AXXwILNJcqzqOTtguNyDdqdnAcZOjhG7L2mo7/gjlUtxVd0lrmzu
> rsLrLl40yIitrOuICuCh0GkZjEye30fVKs1zUhBb8dVupGWcGEYdwbf3f1C7VYkO
> mX7LQGHUt+WVeO3gRRAcJwbUkpH7XQV6OqS4emP3t486bkSEx3SZpt9vOLfuEVok
> V34cU23yPFJQUg37593Sk6Nkj2sD4p2yzokgXT9SFACgy1ELTQz3Wh5OWxg+viYg
> 6qyczn7PzxMpUzmlbGLxva8ruS0E1tNFisF7wExNd/yvqlk+Gp15pLWC0CNo/a07
> SkwLM+dZrM+lg7vVo69tdsNZ0zhquRcO3/3PWdoq1g+MPLUYjqm8+Z2OjzNzYkC7
> kpztXi33Ujo6NWecX8u+zh9e5S04ePQKXz3Ifj54lbXn4OjMGmI=
> =/tRe
> -END PGP SIGNATURE-
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org




Yes, there is. As the application is hosted in aws environment, there is a
load balancer from aws. And I am using Apache (with ajp proxy) in front of
Tomcat.

Nazmus


Re: Tomcat not responding (in browser) after undeploying docs and examples application.

2019-06-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Nazmus,

On 6/16/19 00:11, Nazmus Sadat wrote:
> 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
> 
> Please advise.

Any reverse-proxy / load-balancer between the client (browser) and the
server?

- -chris
-BEGIN PGP SIGNATURE-
Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/

iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAl0F1OYACgkQHPApP6U8
pFjpWw//df4x+2kcMjd9iyBydffk93LxSWqiPLJjGJpG8Rcxgfs/Np0p2/fbtxZZ
s+AzBavznnlb7qrtQp0TvUa0hmcRR4mqqJx0gbYsazDYUgeBx9PQaUNKKqyy/vFR
eeJFhwZoAnUvNjAsTQ1SLWmKBQ6qmWwxY2TNL3LOFvN6qtZ8hORrmnOzpqMF/j3/
/KHho35CDXL5/lyyViANjLqzexhMlr0F/9SG7wt/k+YIYamEhd+3+xEskIPf+Om0
uJ9ocAZ2ZTy3AXXwILNJcqzqOTtguNyDdqdnAcZOjhG7L2mo7/gjlUtxVd0lrmzu
rsLrLl40yIitrOuICuCh0GkZjEye30fVKs1zUhBb8dVupGWcGEYdwbf3f1C7VYkO
mX7LQGHUt+WVeO3gRRAcJwbUkpH7XQV6OqS4emP3t486bkSEx3SZpt9vOLfuEVok
V34cU23yPFJQUg37593Sk6Nkj2sD4p2yzokgXT9SFACgy1ELTQz3Wh5OWxg+viYg
6qyczn7PzxMpUzmlbGLxva8ruS0E1tNFisF7wExNd/yvqlk+Gp15pLWC0CNo/a07
SkwLM+dZrM+lg7vVo69tdsNZ0zhquRcO3/3PWdoq1g+MPLUYjqm8+Z2OjzNzYkC7
kpztXi33Ujo6NWecX8u+zh9e5S04ePQKXz3Ifj54lbXn4OjMGmI=
=/tRe
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Tomcat not responding (in browser) after undeploying docs and examples application.

2019-06-15 Thread Nazmus Sadat
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

Please advise.

Thank you.