Tomcat 8.5.3 with Apr Connector throws NullPointerException

2017-03-19 Thread linbo liao
Hi, My tomcat throws NullPointerException sometimes. Here is environment: Linux VM: RedHat Enterprise Linux Server release 6.7 x86_64 Tomcat: 8.5.3 JVM: HotSpot 64-Bit Server VM 1.8.0_65 APR: 1.5.2-1 Tomcat Native: 1.2.7 The exception show in catalina.log : 18-Mar-2017 03:36:01.135 WARNING [ht

Re: [OT] Re: Tomcat 8/Redhat Linux 6.6 /Kernal 2.6.32 - Memory Won't Release

2017-03-19 Thread Olaf Kock
Am 19.03.2017 um 13:37 schrieb André Warnier (tomcat): > On 17.03.2017 14:54, Christopher Schultz wrote: > >> >> Note that Java *never* gives any memory back to the OS, even when the >> heap-usage goes down. This is a Java thing, not a Tomcat thing. > > I did not know that (*), and I have never s

Re: Tomcat 8/Redhat Linux 6.6 /Kernal 2.6.32 - Memory Won't Release

2017-03-19 Thread calder
On Sun, Mar 19, 2017 at 12:48 PM, André Warnier (tomcat) wrote: > On 17.03.2017 14:54, Christopher Schultz wrote: >> >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA256 >> >> Eric, >> >> On 3/16/17 11:01 PM, Eric Chua wrote: >>> >>> I am running tomcat 8.0.121. When I start my tomcat, it seems

Re: Tomcat Hangs up and doesn't start

2017-03-19 Thread Felix Schumacher
Am 19.03.2017 um 14:09 schrieb Mahmoud Ramadan: But whenever i use the command [root@localhost ~]# service tomcat status tomcat dead but subsys locked I see the service dead , i tried to remove the /var/lock/subsys/tomcat and restarting the service again or rebooting the system but still get "

Re: Tomcat Hangs up and doesn't start

2017-03-19 Thread Mahmoud Ramadan
But whenever i use the command [root@localhost ~]# service tomcat status tomcat dead but subsys locked I see the service dead , i tried to remove the /var/lock/subsys/tomcat and restarting the service again or rebooting the system but still get " tomcat dead but subsys locked " and can not get an

Re: Tomcat 8/Redhat Linux 6.6 /Kernal 2.6.32 - Memory Won't Release

2017-03-19 Thread tomcat
On 17.03.2017 14:54, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Eric, On 3/16/17 11:01 PM, Eric Chua wrote: I am running tomcat 8.0.121. When I start my tomcat, it seems to be eating up all the memory on my system. I have 16 GB, and it keeps on going. What a

[OT] Re: Tomcat 8/Redhat Linux 6.6 /Kernal 2.6.32 - Memory Won't Release

2017-03-19 Thread tomcat
On 17.03.2017 14:54, Christopher Schultz wrote: Note that Java *never* gives any memory back to the OS, even when the heap-usage goes down. This is a Java thing, not a Tomcat thing. I did not know that (*), and I have never seen this mentioned explicitly in any Java documentation (not that I

Re: Tomcat Hangs up and doesn't start

2017-03-19 Thread tomcat
On 19.03.2017 12:59, Mahmoud Ramadan wrote: Hi all, I've installed Tomcat on Centos 6.2 and when i try to start the service it hangs up at " INFO: Server startup in 6935 ms " and stays forever , below the debugs , thanks What do you expect it to "do" after starting up ? It's a HTTP server, so w

Tomcat Hangs up and doesn't start

2017-03-19 Thread Mahmoud Ramadan
Hi all, I've installed Tomcat on Centos 6.2 and when i try to start the service it hangs up at " INFO: Server startup in 6935 ms " and stays forever , below the debugs , thanks [root@localhost ~]# sh /opt/tomcat7/bin/catalina.sh run Using CATALINA_BASE: /opt/tomcat7 Using CATALINA_HOME: /opt/t