Re: Upgrade to 8.5.8/9

2016-12-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Greg, On 12/27/16 4:58 AM, Greg Huber wrote: > Since switching to commons-dbcp2 now seems to start OK (so far) > which prior would have definitely hung. Fingers crossed. > >> You get complaints about the APR library not being installed? >> Yeah, j

Re: Upgrade to 8.5.8/9

2016-12-27 Thread Greg Huber
Since switching to commons-dbcp2 now seems to start OK (so far) which prior would have definitely hung. Fingers crossed. >You get complaints about the APR library not being > installed? Yeah, just comment-out the > APRLifecycleListener in conf/server.xml. So using the native connector won't impr

Re: Upgrade to 8.5.8/9

2016-12-24 Thread Mark Thomas
On 24/12/2016 13:33, Greg Huber wrote: > We use spring for startup only, struts2 and hibernate for persistance. Thanks. I was expecting to see some pool size settings there but I didn't. In which the the default will be used which is unchanged from 8. Looking at the thread dump, you have a few t

Re: Upgrade to 8.5.8/9

2016-12-24 Thread Greg Huber
We use spring for startup only, struts2 and hibernate for persistance. jdbc.properties jdbc.driverClassName=org.mariadb.jdbc.Driver jdbc.url=jdbc:mysql://localhost:3306/eventsdb?autoReconnect=true&useUnicode=true&characterEncoding=utf-8&mysqlEncoding=utf8 hibernate.dialect=org.hibernate.dialect.

Re: Upgrade to 8.5.8/9

2016-12-24 Thread Mark Thomas
On 24/12/2016 08:49, Greg Huber wrote: > ...Well its not hibernate, will look at switching to commons-dbcp2 if > possible. Again, please post your resource config. Mark > > Cheers > > On 22 December 2016 at 20:26, Mark Thomas wrote: > >> On 22/12/2016 17:50, Greg Huber wrote: >>> Chris, >>>

Re: Upgrade to 8.5.8/9

2016-12-24 Thread Greg Huber
This is a dump of it working: for ajp-nio-8009-exec, I do not see any - locked <0xf0a3f6b8> (a org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper) from the not working dump. possibly a result of stuff higher up in the chain? Cheers Greg Full thread dump Java HotSpot(TM) 64-Bit S

Re: Upgrade to 8.5.8/9

2016-12-24 Thread Greg Huber
Mark/Chris, Upgraded to dbcp2 with no luck, and get this in the dumps, repeating pattern. "ajp-nio-8009-exec-28" #60 daemon prio=5 os_prio=0 tid=0x2b28245c3800 nid=0x2a02 waiting on condition [0x2b28316aa000] java.lang.Thread.State: WAITING (parking) at sun.misc.Unsafe.park(Native

Re: Upgrade to 8.5.8/9

2016-12-24 Thread Greg Huber
...Well its not hibernate, will look at switching to commons-dbcp2 if possible. Cheers On 22 December 2016 at 20:26, Mark Thomas wrote: > On 22/12/2016 17:50, Greg Huber wrote: > > Chris, > > > > Thanks, I have been running this setup for ages, 8 plus years and various > > tomcat versions. It

Re: Upgrade to 8.5.8/9

2016-12-23 Thread Greg Huber
Mark/Chris, Taking your advice I looked at recent changes to my pom and noticed that hibernate updated to 5.2.5 from 5.2.4 on December 12th. So, I switched back to 5.2.4 and have rebooted and restarted tomcat several times without the lockup. I have looked through the hibernate changes but canno

Re: Upgrade to 8.5.8/9

2016-12-22 Thread Mark Thomas
On 22/12/2016 17:50, Greg Huber wrote: > Chris, > > Thanks, I have been running this setup for ages, 8 plus years and various > tomcat versions. It has never failed on <= 8.0.x I had to stop/start a > couple of times to get it to fail and had to run a parallel maven build to > slow things down.

Re: Upgrade to 8.5.8/9

2016-12-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Greg, On 12/22/16 12:50 PM, Greg Huber wrote: > Thanks, I have been running this setup for ages, 8 plus years and > various tomcat versions. It has never failed on <= 8.0.x Interesting. Usually, things don't just stop working like that. Did you

Re: Upgrade to 8.5.8/9

2016-12-22 Thread Greg Huber
Chris, Thanks, I have been running this setup for ages, 8 plus years and various tomcat versions. It has never failed on <= 8.0.x I had to stop/start a couple of times to get it to fail and had to run a parallel maven build to slow things down. Do not read much on dumps, but what would this -l

Re: Upgrade to 8.5.8/9

2016-12-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Greg, On 12/22/16 5:18 AM, Greg Huber wrote: > Here is the first dump and I cannot send all three. Its my prod > server which is locked up at the moment. I need to get it back on > line so is this enough info? I can emile the whole file which has

Re: Upgrade to 8.5.8/9

2016-12-22 Thread Greg Huber
Mark, Its locked up now and I have the dump but it wont let me email it. Can I email the whole file somewhere? Cheers Greg On 22 December 2016 at 09:17, Mark Thomas wrote: > On 22/12/2016 08:55, Greg Huber wrote: > > I installed exactly the same versions on my newer centos 7 server and it > >

Re: Upgrade to 8.5.8/9

2016-12-22 Thread Greg Huber
OK, will see if I can do the dumps. Think i did something similar a while back when tomcat got into a random loop/high cpu a while back. Cheers Greg. On 22 December 2016 at 09:17, Mark Thomas wrote: > On 22/12/2016 08:55, Greg Huber wrote: > > I installed exactly the same versions on my newer

Re: Upgrade to 8.5.8/9

2016-12-22 Thread Mark Thomas
On 22/12/2016 08:55, Greg Huber wrote: > I installed exactly the same versions on my newer centos 7 server and it > does not lock up. > > I have seem this problem before as the production box is old and very > slow. There may have been some changes to the connector stuff for a > map/list where it

Re: Upgrade to 8.5.8/9

2016-12-22 Thread Greg Huber
I installed exactly the same versions on my newer centos 7 server and it does not lock up. I have seem this problem before as the production box is old and very slow. There may have been some changes to the connector stuff for a map/list where it is trying to add and remove at the same time causi

Re: Upgrade to 8.5.8/9

2016-12-20 Thread Greg Huber
Chris, >After Tomcat is started, can you run this command on >the server running both httpd and Tomcat? >$ sudo netstat -plan | grep 8009 The problem is my prod server (centos 5), so I will switch back to 8.5.9 and when it hangs I can run the command. Also I do have a backup server (centos 7) w

Re: Upgrade to 8.5.8/9

2016-12-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Greg, On 12/20/16 3:21 AM, Greg Huber wrote: >> If you are using httpd + mod_jk, why are you bothering with APR >> and tcnative on the Tomcat side? > > It complains in the log file so I do what it says. If I don't need > it it saves me having to c

Re: Upgrade to 8.5.8/9

2016-12-20 Thread Greg Huber
> If you are using httpd + mod_jk, why are you > bothering with APR and tcnative on the Tomcat > side? It complains in the log file so I do what it says. If I don't need it it saves me having to compile it all the time. > What if you use the NIO connector instead of APR? Have always run tomcat

Re: Upgrade to 8.5.8/9

2016-12-20 Thread Greg Huber
>Are you sure that your new instance has an adequate >number of threads available for httpd to proxy to? How would I check the threads for httpd? It normally hangs on startup so there should be enough system threads. Would a GC be required when the system has just started? I have run my startup

Re: Upgrade to 8.5.8/9

2016-12-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Greg, On 12/19/16 4:47 AM, Greg Huber wrote: > I am currently running tomcat 8.0.32 and have tried to upgrade to > 8.5.8 and 8.5.9 without success. I use mod_jk to connect apache to > tomcat running on centos 5.11 with Apache 2.2.3. > > I have ins

Re: Upgrade to 8.5.8/9

2016-12-19 Thread Coty Sutherland
Hm, errno=111 is a connection refusal. Are you sure that your new instance has an adequate number of threads available for httpd to proxy to? Do you see any errors in your tomcat logging? If you do have sufficient threads in the pool, then maybe there is something (like GC pauses) hanging your requ

Upgrade to 8.5.8/9

2016-12-19 Thread Greg Huber
Hello, I am currently running tomcat 8.0.32 and have tried to upgrade to 8.5.8 and 8.5.9 without success. I use mod_jk to connect apache to tomcat running on centos 5.11 with Apache 2.2.3. I have installed openSSL 1.0.2.j to compile the native tomcat-native-1.2.10 using apr-1.5.2 and tomcat-conn