Discussion:
tomcat manager gui hangs on web-app reload for one web-app not others
Bill Harrelson
2018-09-13 20:14:23 UTC
Permalink
Tomcat 8.0.14, Java 1.8.0_91. I've looked through StackOverflow and
searched the archives and can't figure this out. We've been running
tomcat, various versions for about 15 years, always using the
manager-gui to control hosts. We have one tomcat instance running 8
hosts, where the manager-gui works fine for all but one of them. I've
compared /conf/Catalina/WEBAPPname/manager.xml with others that are
working and they are identical. I've compared the directory name with
the name in server.xml and it's identical. Behavior - when I start the
manager-gui for that web-app, it logs in and starts fine. I can see
sessions, I can see Server Status, etc.  all seems to work, except: -
if I click on Reload or Stop, it just sits and spins and eventually
times out. Every other host manager gui gets an immediate tab name
update, then completes, changing the url. This one web-app does none of
that. When this happens there are no entries in the catalina log, the
tomcat stderror log, or the web-app access log I can't figure out where
to look next. Any help would be appreciated. Thanks. It's a test server
and having to restart all of tomcat to change the test configuration is
slowing work way down. Bill
Louis Zipes
2018-09-13 20:25:57 UTC
Permalink
What Operating System is Tomcat running on?

-----Original Message-----
From: Bill Harrelson [mailto:***@accordare.com]
Sent: Thursday, September 13, 2018 4:14 PM
To: ***@tomcat.apache.org
Subject: tomcat manager gui hangs on web-app reload for one web-app not others

- - - external message, proceed with caution - - -


Tomcat 8.0.14, Java 1.8.0_91. I've looked through StackOverflow and
searched the archives and can't figure this out. We've been running
tomcat, various versions for about 15 years, always using the
manager-gui to control hosts. We have one tomcat instance running 8
hosts, where the manager-gui works fine for all but one of them. I've
compared /conf/Catalina/WEBAPPname/manager.xml with others that are
working and they are identical. I've compared the directory name with
the name in server.xml and it's identical. Behavior - when I start the
manager-gui for that web-app, it logs in and starts fine. I can see
sessions, I can see Server Status, etc. all seems to work, except: -
if I click on Reload or Stop, it just sits and spins and eventually
times out. Every other host manager gui gets an immediate tab name
update, then completes, changing the url. This one web-app does none of
that. When this happens there are no entries in the catalina log, the
tomcat stderror log, or the web-app access log I can't figure out where
to look next. Any help would be appreciated. Thanks. It's a test server
and having to restart all of tomcat to change the test configuration is
slowing work way down. Bill

---------------------------------------
CONFIDENTIALITY NOTICE: This message is for intended addressee(s) only and may contain information that is confidential, proprietary or exempt from disclosure. If you are not the intended recipient, please contact the sender immediately. Unauthorized use or distribution is prohibited and may be unlawful.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-***@tomcat.apache.org
For additional commands, e-m
Mark Thomas
2018-09-13 22:35:56 UTC
Permalink
Post by Bill Harrelson
Tomcat 8.0.14, Java 1.8.0_91. I've looked through StackOverflow and
searched the archives and can't figure this out. We've been running
tomcat, various versions for about 15 years, always using the
manager-gui to control hosts. We have one tomcat instance running 8
hosts, where the manager-gui works fine for all but one of them. I've
compared /conf/Catalina/WEBAPPname/manager.xml with others that are
working and they are identical. I've compared the directory name with
the name in server.xml and it's identical. Behavior - when I start the
manager-gui for that web-app, it logs in and starts fine. I can see
sessions, I can see Server Status, etc.  all seems to work, except: -
if I click on Reload or Stop, it just sits and spins and eventually
times out. Every other host manager gui gets an immediate tab name
update, then completes, changing the url. This one web-app does none of
that. When this happens there are no entries in the catalina log, the
tomcat stderror log, or the web-app access log I can't figure out where
to look next. Any help would be appreciated. Thanks. It's a test server
and having to restart all of tomcat to change the test configuration is
slowing work way down. Bill
Take 3 thread dumps ~5 seconds apart. Take a look for threads that pass
through org.apache.catalina.manager.*

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-***@tomcat.apache.org
For additional commands, e-mail: users-***@tomcat.apache.org
Louis Zipes
2018-09-14 00:46:14 UTC
Permalink
Also any Microsoft patch differences between the working and non working environments and beware of the issue with a patch that was released recently and how it affects ports.
Post by Louis Zipes
- - - external message, proceed with caution - - -
Post by Bill Harrelson
Tomcat 8.0.14, Java 1.8.0_91. I've looked through StackOverflow and
searched the archives and can't figure this out. We've been running
tomcat, various versions for about 15 years, always using the
manager-gui to control hosts. We have one tomcat instance running 8
hosts, where the manager-gui works fine for all but one of them. I've
compared /conf/Catalina/WEBAPPname/manager.xml with others that are
working and they are identical. I've compared the directory name with
the name in server.xml and it's identical. Behavior - when I start the
manager-gui for that web-app, it logs in and starts fine. I can see
sessions, I can see Server Status, etc. all seems to work, except: -
if I click on Reload or Stop, it just sits and spins and eventually
times out. Every other host manager gui gets an immediate tab name
update, then completes, changing the url. This one web-app does none of
that. When this happens there are no entries in the catalina log, the
tomcat stderror log, or the web-app access log I can't figure out where
to look next. Any help would be appreciated. Thanks. It's a test server
and having to restart all of tomcat to change the test configuration is
slowing work way down. Bill
Take 3 thread dumps ~5 seconds apart. Take a look for threads that pass
through org.apache.catalina.manager.*
Mark
---------------------------------------------------------------------
---------------------------------------
CONFIDENTIALITY NOTICE: This message is for intended addressee(s) only and may contain information that is confidential, proprietary or exempt from disclosure. If you are not the intended recipient, please contact the sender immediately. Unauthorized use or distribution is prohibited and may be unlawful.
Т���������������������������������������������������������������������ХF�V�7V'67&�&R�R���âW6W'2�V�7V'67&�&TF��6B�6�R��&pФf�"FF�F����6����G2�R�
Jäkel, Guido
2018-09-14 06:28:28 UTC
Permalink
Dear Bill,

usually the Tomcat is configured in such a way that it watches the file .../WEB-INF/web.xml of your application an reload the application then. If you use autodeploy of a WAR, it's the same with the archive file.

Said that, may you please try to reload your application by just touching a watched file? If you use this second way to command a reload, the issue should be narrowed in that way that the Tomcat itself works well and enter the shutdown lifecycle of the servlet container. And then it's caused by the application don't to react on this.

Guido
Post by Louis Zipes
-----Original Message-----
Sent: Thursday, September 13, 2018 10:14 PM
Subject: tomcat manager gui hangs on web-app reload for one web-app not others
Tomcat 8.0.14, Java 1.8.0_91. I've looked through StackOverflow and
searched the archives and can't figure this out. We've been running
tomcat, various versions for about 15 years, always using the
manager-gui to control hosts. We have one tomcat instance running 8
hosts, where the manager-gui works fine for all but one of them. I've
compared /conf/Catalina/WEBAPPname/manager.xml with others that are
working and they are identical. I've compared the directory name with
the name in server.xml and it's identical. Behavior - when I start the
manager-gui for that web-app, it logs in and starts fine. I can see
sessions, I can see Server Status, etc.  all seems to work, except: -
if I click on Reload or Stop, it just sits and spins and eventually
times out. Every other host manager gui gets an immediate tab name
update, then completes, changing the url. This one web-app does none of
that. When this happens there are no entries in the catalina log, the
tomcat stderror log, or the web-app access log I can't figure out where
to look next. Any help would be appreciated. Thanks. It's a test server
and having to restart all of tomcat to change the test configuration is
slowing work way down. Bill
B�KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKCB��[��X��ܚX�KK[XZ[�\�\��][��X��ܚX�P�X�] �\X�K�ܙ�B��܈Y][ۘ[��[X[��K[
Bill Harrelson
2018-09-20 14:30:23 UTC
Permalink
Looking back through my sent folder I realize that I have been replying
directly to people that posted directly to me instead of the list.

Update:  after trying several suggestions sent to me, which did not
work, for some reason I decided to switch browsers.
Normally I run the manager-gui in Internet Explorer (it's pretty much
the only thing I use Explorer for).  But I decided to try Chrome, and,
lo and behold, it worked!

Now I'll run some other tests to see if I can figure out why Explorer
isn't working.

Thanks,

Bill
Post by Bill Harrelson
Tomcat 8.0.14, Java 1.8.0_91. I've looked through StackOverflow and
searched the archives and can't figure this out. We've been running
tomcat, various versions for about 15 years, always using the
manager-gui to control hosts. We have one tomcat instance running 8
hosts, where the manager-gui works fine for all but one of them. I've
compared /conf/Catalina/WEBAPPname/manager.xml with others that are
working and they are identical. I've compared the directory name with
the name in server.xml and it's identical. Behavior - when I start the
manager-gui for that web-app, it logs in and starts fine. I can see
sessions, I can see Server Status, etc.  all seems to work, except: -
if I click on Reload or Stop, it just sits and spins and eventually
times out. Every other host manager gui gets an immediate tab name
update, then completes, changing the url. This one web-app does none
of that. When this happens there are no entries in the catalina log,
the tomcat stderror log, or the web-app access log I can't figure out
where to look next. Any help would be appreciated. Thanks. It's a test
server and having to restart all of tomcat to change the test
configuration is slowing work way down. Bill
Shawn Heisey
2018-09-20 14:41:39 UTC
Permalink
Post by Bill Harrelson
Looking back through my sent folder I realize that I have been
replying directly to people that posted directly to me instead of the
list.
I see from message headers that you're using Thunderbird.

In Options/Advanced, open the config editor and change the setting for
"mail.override_list_reply_to" to false.  You can do this by
double-clicking on the setting.  That will fix this so that when you
reply to an Apache mailing list, your reply will go to the list.  Apache
lists use the Reply-To header to indicate where replies should go.

See this bug for a heated discussion about the problem:

https://bugzilla.mozilla.org/show_bug.cgi?id=1392371

Thanks,
Shawn


---------------------------------------------------------------------
To unsubscribe, e-mail: users-***@tomcat.apache.org
For additional commands, e-mail: users-***@tomcat.apache.org
Mitch Claborn
2018-09-21 15:32:45 UTC
Permalink
PS - my Thunderbird has a "Reply List" button for this mailing list.


Mitch
Post by Shawn Heisey
Post by Bill Harrelson
Looking back through my sent folder I realize that I have been
replying directly to people that posted directly to me instead of the
list.
I see from message headers that you're using Thunderbird.
In Options/Advanced, open the config editor and change the setting for
"mail.override_list_reply_to" to false.  You can do this by
double-clicking on the setting.  That will fix this so that when you
reply to an Apache mailing list, your reply will go to the list.  Apache
lists use the Reply-To header to indicate where replies should go.
https://bugzilla.mozilla.org/show_bug.cgi?id=1392371
Thanks,
Shawn
---------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: users-***@tomcat.apache.org
For additional commands, e-mail: users-***@tomcat.apache.org

Loading...