Fw: TomCat 8.5.23 application not responding

2017-11-03 Thread DBolken
From:   Christopher Schultz 
To: users@tomcat.apache.org
Date:   11/02/2017 02:28 PM
Subject:Re: TomCat 8.5.23 application not responding



-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Darin,

On 11/2/17 12:55 PM, dbol...@dsginc.biz wrote:
> I have a TomCat 8.5.23 service running on a Windows 2008 R2.  It is
>  currently running a third party web commerce application.  It will
> run great until randomly one day the application will stop
> responding.  When you try to go to the application URL it sits and
> spins.  I look at the catalina log and found the below errors at
> the time it stop responding. Is this a tomcat configuration issue
> or application related.
> 
> I see three specific warning/severe messages in Tomcat.
> 
> Error one: 02-Nov-2017 10:03:23.787 WARNING
> [http-nio-9080-exec-402] 
> com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.getForComponent
>  Unable to find component with ID searchPattern in view.
> 
> Then right after there is a severe message error 2:
> 
> 02-Nov-2017 10:03:23.896 SEVERE [http-nio-9080-exec-455] 
> org.restlet.engine.http.adapter.ServerAdapter.commit An exception
> occured writing the response entity 
> org.apache.catalina.connector.ClientAbortException:
> java.io.IOException: An established connection was aborted by the
> software in your host machine
> 
> Then the warning messages constant all the way down until this all
> the way down until we had to reboot the service because of no
> response.
> 
> 02-Nov-2017 10:03:23.896 WARNING [http-nio-9080-exec-455] 
> org.restlet.engine.http.HttpServerHelper.handle Error while
> handling an HTTP server call: 02-Nov-2017 10:03:23.896 INFO
> [http-nio-9080-exec-455] 
> org.restlet.engine.http.HttpServerHelper.handle Error while
> handling an HTTP server call java.lang.IllegalStateException:
> Cannot call sendError() after the response has been committed

Can you take some thread dumps to show what the Tomcat threads are
doing? One thread dump will probably be very long, but go ahead and
post the whole thing to the list.

- -chris
-BEGIN PGP SIGNATURE-
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQJRBAEBCAA7FiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAln7ckIdHGNocmlzQGNo
cmlzdG9waGVyc2NodWx0ei5uZXQACgkQHPApP6U8pFh8og/8CataalwbNgVBl+uK
f3q1W5JEOZbXBR2dA3UuR/mtZxHa6azH7UMSiydRpcRVoRvP7z0aeDyGoW/u70MT
23RlkNFDVG5HP6Z6AIBKrDisQDwHYRM9iq2o3vPYW56mgDLC56yxUKnKUATHGpgB
MYk0vzicWawt1+zF/GE7qshTtubt5HgqmFFckhFPWWTRqsvkiyYIbkq9o6iUNHZZ
MMPwe9ppeKOVew2c5csqLaSS9MUdbYerEblvho7WfQSW8YjtL6UO2h523jQ1ZOUh
Efju4cy9hEQdeEFcxEaBPKR3q6MMWW5frDB/UrUfopFnD/krdXcbYkTWO9DTjbJj
EW+uMWfJzDGMBQDvRqprNrdYrLETgnAEv5ut7XSgyuu32+Atq/uot6fZmZ1XcfIQ
RA45INBmXbt4YWhJ2cGJ3Zjzfzc8t7omIfWVgziSOMBi7gEnvEbCtj9E3X1ywltl
+iNhsRfdfa8O65dJT+yOQZuQnJ0RGKJxAJFhlkO0dtl4ahjusE8M/0CqiX8nfJ4U
xwEUBTdztukczgKRhj660f/wycGzUGz071LjygQ8kxqqLlUyXWGs3WigvBXxBNW1
lWqyBBOk61LoiQ4TCLFh5mowSPA81u3rdlYLwK723+RgRwv5jAeMNb5XoF8JcAIs
4RcbK5PHnVvv5gZRauiO4lhYAZY=
=L4hB
-END PGP SIGNATURE-

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

I have been unable to post the thread dump because of size no matter how 
much I send under the 1 MB rule.  Is there another way I can send it to 
you.  Thanks.


I do see a lot of Blocked messages, see example.  I was not able to post 
the whole dump.


"http-nio-9080-exec-305" #3888 daemon prio=5 os_prio=0 
tid=0x1f445000 nid=0x230 waiting for monitor entry 
[0x4341d000]
   java.lang.Thread.State: BLOCKED (on object monitor)
at 
com.mincron.api.restlet.dm.ProductDM.getCategoryItemList(Unknown Source)
- waiting to lock <0x000696269dc0> (a java.lang.Class for 
com.mincron.api.restlet.dm.ProductDM)
at 
com.mincron.api.restlet.resource.CategoryItemListResource.retrieve(Unknown 
Source)



- Darin

Re: TomCat 8.5.23 application not responding

2017-11-03 Thread DBolken
From:   Christopher Schultz 
To: users@tomcat.apache.org
Date:   11/02/2017 02:28 PM
Subject:Re: TomCat 8.5.23 application not responding



-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Darin,

On 11/2/17 12:55 PM, dbol...@dsginc.biz wrote:
> I have a TomCat 8.5.23 service running on a Windows 2008 R2.  It is
>  currently running a third party web commerce application.  It will
> run great until randomly one day the application will stop
> responding.  When you try to go to the application URL it sits and
> spins.  I look at the catalina log and found the below errors at
> the time it stop responding. Is this a tomcat configuration issue
> or application related.
> 
> I see three specific warning/severe messages in Tomcat.
> 
> Error one: 02-Nov-2017 10:03:23.787 WARNING
> [http-nio-9080-exec-402] 
> com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.getForComponent
>  Unable to find component with ID searchPattern in view.
> 
> Then right after there is a severe message error 2:
> 
> 02-Nov-2017 10:03:23.896 SEVERE [http-nio-9080-exec-455] 
> org.restlet.engine.http.adapter.ServerAdapter.commit An exception
> occured writing the response entity 
> org.apache.catalina.connector.ClientAbortException:
> java.io.IOException: An established connection was aborted by the
> software in your host machine
> 
> Then the warning messages constant all the way down until this all
> the way down until we had to reboot the service because of no
> response.
> 
> 02-Nov-2017 10:03:23.896 WARNING [http-nio-9080-exec-455] 
> org.restlet.engine.http.HttpServerHelper.handle Error while
> handling an HTTP server call: 02-Nov-2017 10:03:23.896 INFO
> [http-nio-9080-exec-455] 
> org.restlet.engine.http.HttpServerHelper.handle Error while
> handling an HTTP server call java.lang.IllegalStateException:
> Cannot call sendError() after the response has been committed

Can you take some thread dumps to show what the Tomcat threads are
doing? One thread dump will probably be very long, but go ahead and
post the whole thing to the list.

- -chris
-BEGIN PGP SIGNATURE-
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQJRBAEBCAA7FiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAln7ckIdHGNocmlzQGNo
cmlzdG9waGVyc2NodWx0ei5uZXQACgkQHPApP6U8pFh8og/8CataalwbNgVBl+uK
f3q1W5JEOZbXBR2dA3UuR/mtZxHa6azH7UMSiydRpcRVoRvP7z0aeDyGoW/u70MT
23RlkNFDVG5HP6Z6AIBKrDisQDwHYRM9iq2o3vPYW56mgDLC56yxUKnKUATHGpgB
MYk0vzicWawt1+zF/GE7qshTtubt5HgqmFFckhFPWWTRqsvkiyYIbkq9o6iUNHZZ
MMPwe9ppeKOVew2c5csqLaSS9MUdbYerEblvho7WfQSW8YjtL6UO2h523jQ1ZOUh
Efju4cy9hEQdeEFcxEaBPKR3q6MMWW5frDB/UrUfopFnD/krdXcbYkTWO9DTjbJj
EW+uMWfJzDGMBQDvRqprNrdYrLETgnAEv5ut7XSgyuu32+Atq/uot6fZmZ1XcfIQ
RA45INBmXbt4YWhJ2cGJ3Zjzfzc8t7omIfWVgziSOMBi7gEnvEbCtj9E3X1ywltl
+iNhsRfdfa8O65dJT+yOQZuQnJ0RGKJxAJFhlkO0dtl4ahjusE8M/0CqiX8nfJ4U
xwEUBTdztukczgKRhj660f/wycGzUGz071LjygQ8kxqqLlUyXWGs3WigvBXxBNW1
lWqyBBOk61LoiQ4TCLFh5mowSPA81u3rdlYLwK723+RgRwv5jAeMNb5XoF8JcAIs
4RcbK5PHnVvv5gZRauiO4lhYAZY=
=L4hB
-END PGP SIGNATURE-

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

I have been unable to post the thread dump because of size no matter how 
much I send under the 1 MB rule.  Is there another way I can send it to 
you.  Thanks.


TomCat 8.5.23 application not responding

2017-11-02 Thread DBolken
I have a TomCat 8.5.23 service running on a Windows 2008 R2.  It is 
currently running a third party web commerce application.  It will run 
great until randomly one day the application will stop responding.  When 
you try to go to the application URL it sits and spins.  I look at the 
catalina log and found the below errors at the time it stop responding. Is 
this a tomcat configuration issue or application related.

I see three specific warning/severe messages in Tomcat.

Error one:
02-Nov-2017 10:03:23.787 WARNING [http-nio-9080-exec-402] 
com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.getForComponent 
Unable to find component with ID searchPattern in view.

Then right after there is a severe message error 2:

02-Nov-2017 10:03:23.896 SEVERE [http-nio-9080-exec-455] 
org.restlet.engine.http.adapter.ServerAdapter.commit An exception occured 
writing the response entity
 org.apache.catalina.connector.ClientAbortException: java.io.IOException: 
An established connection was aborted by the software in your host machine

Then the warning messages constant all the way down until this all the way 
down until we had to reboot the service because of no response. 

02-Nov-2017 10:03:23.896 WARNING [http-nio-9080-exec-455] 
org.restlet.engine.http.HttpServerHelper.handle Error while handling an 
HTTP server call: 
02-Nov-2017 10:03:23.896 INFO [http-nio-9080-exec-455] 
org.restlet.engine.http.HttpServerHelper.handle Error while handling an 
HTTP server call
 java.lang.IllegalStateException: Cannot call sendError() after the 
response has been committed


Darin Bolken | Programmer/Systems Support

Re: TomCat service is running but not responding

2017-10-26 Thread DBolken
I do see a lot of these messages in the C:\Program Files\Apache Software 
Foundation\Tomcat 8.523\logs\catalina.2017-10-26.log


26-Oct-2017 09:21:56.927 WARNING [localhost-startStop-2] 
org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads 
The web application [WebSmart-api] appears to have started a thread named 
[AS400ConnectionPoolMaintenanceThread] but has failed to stop it. This is 
very likely to create a memory leak. Stack trace of thread:
 java.lang.Object.wait(Native Method)
 com.ibm.as400.access.PoolMaintenance.run(PoolMaintenance.java:79)
26-Oct-2017 09:21:56.927 WARNING [localhost-startStop-2] 
org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads 
The web application [WebSmart-api] appears to have started a thread named 
[AS400 Read Daemon-11] but has failed to stop it. This is very likely to 
create a memory leak. Stack trace of thread:
 java.net.SocketInputStream.socketRead0(Native Method)
 java.net.SocketInputStream.socketRead(Unknown Source)
 java.net.SocketInputStream.read(Unknown Source)

Darin Bolken | Programmer/Systems Support
Dakota Supply Group | P (701) 237-9440, Ext: 8878 | F (701) 237-6504
2601 3rd Ave N | Fargo, ND 58102

dakotasupplygroup.com



From:   "James H. H. Lampert" 
To: Tomcat Users List 
Date:   10/20/2017 11:18 AM
Subject:Re: TomCat service is running but not responding



On 10/20/17, 7:50 AM, André Warnier (tomcat) wrote:
. . .
> Then also tell a bit more about the "stop responding" aspect. What
> exactly happens when you try to access tomcat, in the browser ?
> Are you not getting any answer at all, no mater how long you wait ?
> Are you gettin an error page ?
> Are you getting a blank page ?

And are there any messages (especially Java stack traces) in the 
"catalina.out" log file that might indicate that something has gone 
horribly wrong?

--
JHHL

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




Re: TomCat service is running but not responding

2017-10-26 Thread DBolken
First I notice that we are not able to get to the app through the browser. 
 The browser will just spin.  Then I try to get to the TomCat host manager 
and never get the login box and it just spins.  If I restart the TomCat 
service then I can log into the host manager but not able to reach my app 
through the browser.   If I reboot the whole server then I can access 
tomcat and my app.



I see this error alot before I get the warning messaged and then server 
messages


26-Oct-2017 09:02:57.481 INFO [http-nio-9080-exec-33] 
org.restlet.engine.http.connector.HttpClientHelper.start Starting the 
default HTTP client
26-Oct-2017 09:03:00.820 INFO [http-nio-9080-exec-32] 
org.restlet.engine.log.LogFilter.afterHandle 2017-10-26 09:03:00 
172.16.2.226-   172.16.2.2269080GET 
/WebSmart-api/categoryList 
application=b2b=1=en_US=guest=dsgweb.dsginc.biz=024617=LLEMKE=Customer=Y=0=2
 
200 -   0   5232255 http://dsgweb.dsginc.biz:9080 
Restlet-Framework/2.0.7 -
26-Oct-2017 09:03:00.820 SEVERE [http-nio-9080-exec-32] 
org.restlet.engine.http.adapter.ServerAdapter.commit An exception occured 
writing the response entity
 org.apache.catalina.connector.ClientAbortException: java.io.IOException: 
An established connection was aborted by the software in your host machine



26-Oct-2017 09:49:57.993 WARNING [http-nio-9080-exec-29] 
org.restlet.engine.http.HttpServerHelper.handle Error while handling an 
HTTP server call: 
26-Oct-2017 09:49:57.993 INFO [http-nio-9080-exec-29] 
org.restlet.engine.http.HttpServerHelper.handle Error while handling an 
HTTP server call
 java.lang.IllegalStateException: Cannot call sendError() after the 
response has been committed
at 
org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:457)



26-Oct-2017 09:49:57.977 INFO [http-nio-9080-exec-29] 
org.restlet.engine.log.LogFilter.afterHandle 2017-10-26 09:49:57 
172.16.2.226-   172.16.2.2269080GET 
/WebSmart-api/categoryList 
application=b2b=1=en_US=guest=dsgweb.dsginc.biz=master=Y=0=3
 
200 -   0   1261011 http://dsgweb.dsginc.biz:9080 
Restlet-Framework/2.0.7 -
26-Oct-2017 09:49:57.993 SEVERE [http-nio-9080-exec-29] 
org.restlet.engine.http.adapter.ServerAdapter.commit An exception occured 
writing the response entity
 org.apache.catalina.connector.ClientAbortException: java.io.IOException: 
An established connection was aborted by the software in your host machine
at 
org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:356)


Darin Bolken | Programmer/Systems Support
Dakota Supply Group | P (701) 237-9440, Ext: 8878 | F (701) 237-6504
2601 3rd Ave N | Fargo, ND 58102

dakotasupplygroup.com



From:   André Warnier (tomcat) 
To: users@tomcat.apache.org
Date:   10/20/2017 09:48 AM
Subject:Re: TomCat service is running but not responding



On 20.10.2017 15:46, dbol...@dsginc.biz wrote:
> I have a TomCat 8.5.23 service running on a Windows 2008 server.  The 
service would be
> running fine but it periodically stops responding until I reboot the 
server.  I tried
> restarting the service but it does not always respond again.  I am not 
sure what logs I
> can look at or if it is the app that I am running on the service.  I 
looked through the
> Wiki but with no luck.

Hi.
Under Windows, assuming the default installation as a Service, all of 
tomcat should be 
under one directory (assuming the default again, something like "Program 
Files / Apache .. 
/ tomcat").
Locate the subdirectory "logs" under that, and find the recent files. That 
is what you 
should look at, first of all.  All "events" there have a date/time stamp, 
so you should 
locate something around the time when tomcat "stops responding". If you 
find such lines 
with the prefix "warning" or "error", copy and paste it here for someone 
to have a quick look.

Then also tell a bit more about the "stop responding" aspect. What exactly 
happens when 
you try to access tomcat, in the browser ?
Are you not getting any answer at all, no mater how long you wait ?
Are you gettin an error page ?
Are you getting a blank page ?

Note that this list strips most kinds of attachments, so it is better to 
copy and paste 
whatever text you get, directly in your messages to the list.


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




TomCat service is running but not responding

2017-10-20 Thread DBolken
I have a TomCat 8.5.23 service running on a Windows 2008 server.  The 
service would be running fine but it periodically stops responding until I 
reboot the server.  I tried restarting the service but it does not always 
respond again.  I am not sure what logs I can look at or if it is the app 
that I am running on the service.  I looked through the Wiki but with no 
luck. 

Darin Bolken | Programmer/Systems Support
Dakota Supply Group | P (701) 237-9440, Ext: 8878 | F (701) 237-6504
2601 3rd Ave N | Fargo, ND 58102

dakotasupplygroup.com