Re: Fw: TomCat 8.5.23 application not responding

2017-11-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Darin,

On 11/3/17 5:17 PM, dbol...@dsginc.biz wrote:
> From:   Christopher Schultz  To:
> users@tomcat.apache.org Date:   11/02/2017 02:28 PM Subject:
> Re: TomCat 8.5.23 application not responding
> 
> 
> 
> 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
> 
> -
>
> 
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(Unk
nown
>  Source)

Your own code is blocking on something -- whatever a ProductDM is. If
you recompile your code with "debug" symbols enabled, you can see line
numbers and you'll be able to find out exactly what's going on.

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

iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAln904YACgkQHPApP6U8
pFhQhQ//ep1OPpEP8GSCLKRxwO4Pd+cRc0AN+pj769dzMmEcLRIGxMRHNm0Em8Ig
GvmoLkoJ2wNsqZ7IDi3vGKj1unSNZ1RJ8IV7qtCf6AOoas1OELE6SY+Lwkmpa9xl
wz7iZLxuygcdLB6OsdQP1CzndJUUvBR9X2be+oPyEvKfHXciTsK6+ztownIPOxa1
dYWEPs9ruqFfxw8e+QnoT8ZGsETZcxWVnRVnaWMSxtvR2uLIrsC6p/JE19gVr1YL
rXIHJdbUVmx+C0ewOXAC7QzsBIV7DELcn8kczRmvPWaX+o0J8/ushCibdRqWlSn2
MzctyIgFiog68wyxBbJBmjsxMKk6O0OtVZHOtZKEiRRw5el8epC8cVNpefR6fAha
FFmV/ErkEQXzgqGyHOJIQpNiJxRJvzjphdETqWumzUT9E+ZiPfKhNdcwPf7Nmn5C
EApGDgGBAndh2ZpNdKQU69q/kmwCWHQxQ0XHXfQyJr0/9vU7B+4ahFbCprTz8jbB
/mLmIpcIoJ40gYONRbiLONAB22ocjsAXdNY/MoP6w/5DogYcsAUAv/Xt7Xvcy8ds
iaul2Ige1qlyVGwNYiIbBfDoRUsHypDWQ6tk3bFs3NYh1oHwJ3ooNEK4SDnZE4Ds
Ky9auBMznXit4MRsN02N8r+C8H4vqomP9/JlmtWJgYidOidoOKk=
=egb5
-END PGP SIGNATURE-

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



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