Neddle
Neddle
2021-01-22 15:38

javaWeb项目跑几天后就会宕机

  • spring
  • tomcat
  • maven
  • eclipse


{P2100000_t=[0.0], xdata=[], P2500000_a=[0.0], P2100000_a=[0.0], P2400000_a=[0.0], P2200000_t=[0.0], P2200000_a=[0.0], P1300000_t=[0.0], P2300000_t=[0.0], P2500000_t=[0.0], P2400000_t=[0.0], P1200000_t=[0.0], P1300000_a=[0.0], P2300000_a=[0.0], P1200000_a=[0.0]}
{P2100000_t=[0.0], xdata=[], P2500000_a=[0.0], P2100000_a=[0.0], P2400000_a=[0.0], P2200000_t=[0.0], P2200000_a=[0.0], P1300000_t=[0.0], P2300000_t=[0.0], P2500000_t=[0.0], P2400000_t=[0.0], P1200000_t=[0.0], P1300000_a=[0.0], P2300000_a=[0.0], P1200000_a=[0.0]}
- com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector@4e2874 -- APPARENT DEADLOCK!!! Creating emergency threads for unassigned pending tasks!
- com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector@4e2874 -- APPARENT DEADLOCK!!! Complete Status: 
    Managed Threads: 3
    Active Threads: 3
    Active Tasks: 
        com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@ff6b72 (com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0)
        com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@13fe791 (com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2)
        com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@1634ed6 (com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1)
    Pending Tasks: 
        com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@155eef6
        com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@42bb95
        com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@3bcbe3
        com.mchange.v2.resourcepool.BasicResourcePool$1RefurbishCheckinResourceTask@12d330c
        com.mchange.v2.resourcepool.BasicResourcePool$1RefurbishCheckinResourceTask@1f75c01
        com.mchange.v2.resourcepool.BasicResourcePool$1RefurbishCheckinResourceTask@98dd39
        com.mchange.v2.resourcepool.BasicResourcePool$1RefurbishCheckinResourceTask@bc789a
        com.mchange.v2.resourcepool.BasicResourcePool$1RefurbishCheckinResourceTask@fd8452
        com.mchange.v2.resourcepool.BasicResourcePool$1RefurbishCheckinResourceTask@135c318
        com.mchange.v2.resourcepool.BasicResourcePool$1RefurbishCheckinResourceTask@116b8d2
Pool thread stack traces:
    Thread[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0,5,main]
        javax.crypto.JceSecurity.getVerificationResult(JceSecurity.java:176)
        javax.crypto.JceSecurity.canUseProvider(JceSecurity.java:204)
        javax.crypto.KeyAgreement.getInstance(KeyAgreement.java:179)
        sun.security.ssl.JsseJce.getKeyAgreement(JsseJce.java:269)
        sun.security.ssl.ECDHCrypt.getAgreedSecret(ECDHCrypt.java:99)
        sun.security.ssl.ClientHandshaker.serverHelloDone(ClientHandshaker.java:1111)
        sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:348)
        sun.security.ssl.Handshaker.processLoop(Handshaker.java:1052)
        sun.security.ssl.Handshaker.process_record(Handshaker.java:987)
        sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1072)
        sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1385)
        sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1413)
        sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1397)
        com.microsoft.sqlserver.jdbc.TDSChannel.enableSSL(IOBuffer.java:1767)
        com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(SQLServerConnection.java:2257)
        com.microsoft.sqlserver.jdbc.SQLServerConnection.login(SQLServerConnection.java:1921)
        com.microsoft.sqlserver.jdbc.SQLServerConnection.connectInternal(SQLServerConnection.java:1762)
        com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(SQLServerConnection.java:1077)
        com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(SQLServerDriver.java:623)
        com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:134)
        com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:182)
        com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:171)
        com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:137)
        com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1014)
        com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:32)
        com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1810)
        com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)
    Thread[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2,5,main]
        javax.crypto.JceSecurity.getVerificationResult(JceSecurity.java:176)
        javax.crypto.JceSecurity.canUseProvider(JceSecurity.java:204)
        javax.crypto.KeyAgreement.getInstance(KeyAgreement.java:179)
        sun.security.ssl.JsseJce.getKeyAgreement(JsseJce.java:269)
        sun.security.ssl.ECDHCrypt.getAgreedSecret(ECDHCrypt.java:99)
        sun.security.ssl.ClientHandshaker.serverHelloDone(ClientHandshaker.java:1111)
        sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:348)
        sun.security.ssl.Handshaker.processLoop(Handshaker.java:1052)
        sun.security.ssl.Handshaker.process_record(Handshaker.java:987)
        sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1072)
        sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1385)
        sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1413)
        sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1397)
        com.microsoft.sqlserver.jdbc.TDSChannel.enableSSL(IOBuffer.java:1767)
        com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(SQLServerConnection.java:2257)
        com.microsoft.sqlserver.jdbc.SQLServerConnection.login(SQLServerConnection.java:1921)
        com.microsoft.sqlserver.jdbc.SQLServerConnection.connectInternal(SQLServerConnection.java:1762)
        com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(SQLServerConnection.java:1077)
        com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(SQLServerDriver.java:623)
        com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:134)
        com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:182)
        com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:171)
        com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:137)
        com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1014)
        com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:32)
        com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1810)
        com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)
    Thread[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1,5,main]
        javax.crypto.JceSecurity.getVerificationResult(JceSecurity.java:176)
        javax.crypto.JceSecurity.canUseProvider(JceSecurity.java:204)
        javax.crypto.KeyAgreement.getInstance(KeyAgreement.java:179)
        sun.security.ssl.JsseJce.getKeyAgreement(JsseJce.java:269)
        sun.security.ssl.ECDHCrypt.getAgreedSecret(ECDHCrypt.java:99)
        sun.security.ssl.ClientHandshaker.serverHelloDone(ClientHandshaker.java:1111)
        sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:348)
        sun.security.ssl.Handshaker.processLoop(Handshaker.java:1052)
        sun.security.ssl.Handshaker.process_record(Handshaker.java:987)
        sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1072)
        sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1385)
        sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1413)
        sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1397)
        com.microsoft.sqlserver.jdbc.TDSChannel.enableSSL(IOBuffer.java:1767)
        com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(SQLServerConnection.java:2257)
        com.microsoft.sqlserver.jdbc.SQLServerConnection.login(SQLServerConnection.java:1921)
        com.microsoft.sqlserver.jdbc.SQLServerConnection.connectInternal(SQLServerConnection.java:1762)
        com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(SQLServerConnection.java:1077)
        com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(SQLServerDriver.java:623)
        com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:134)
        com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:182)
        com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:171)
        com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:137)
        com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1014)
        com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:32)
        com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1810)
        com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)


- Task com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@ff6b72 (in deadlocked PoolThread) failed to complete in maximum time 60000ms. Trying interrupt().
- Task com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@13fe791 (in deadlocked PoolThread) failed to complete in maximum time 60000ms. Trying interrupt().
- Task com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@1634ed6 (in deadlocked PoolThread) failed to complete in maximum time 60000ms. Trying interrupt().
- com.mchange.v2.resourcepool.BasicResourcePool@13204a6 -- Thread unexpectedly interrupted while performing an acquisition attempt.
java.lang.InterruptedException: sleep interrupted
    at java.lang.Thread.sleep(Native Method)
    at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1805)
    at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)
- com.mchange.v2.resourcepool.BasicResourcePool@13204a6 -- Thread unexpectedly interrupted while performing an acquisition attempt.
java.lang.InterruptedException: sleep interrupted
    at java.lang.Thread.sleep(Native Method)
    at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1805)
    at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)
- com.mchange.v2.resourcepool.BasicResourcePool@13204a6 -- Thread unexpectedly interrupted while performing an acquisition attempt.
java.lang.InterruptedException: sleep interrupted
    at java.lang.Thread.sleep(Native Method)
    at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1805)
    at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)
一月 22, 2021 3:08:35 下午 org.apache.catalina.core.StandardWrapperValve invoke
严重: Servlet.service() for servlet [springmvc] in context with path [/chengdu] threw exception [Handler processing failed; nested exception is java.lang.OutOfMemoryError: Java heap space] with root cause
java.lang.OutOfMemoryError: Java heap space
    at java.util.Arrays.copyOfRange(Arrays.java:3664)
    at java.lang.String.<init>(String.java:207)
    at java.lang.StringBuilder.toString(StringBuilder.java:407)
    at org.bouncycastle.jcajce.provider.util.AsymmetricAlgorithmProvider.registerOidAlgorithmParameterGenerator(Unknown Source)
    at org.bouncycastle.jcajce.provider.asymmetric.GOST$Mappings.configure(Unknown Source)
    at org.bouncycastle.jce.provider.BouncyCastleProvider.loadAlgorithms(Unknown Source)
    at org.bouncycastle.jce.provider.BouncyCastleProvider.setup(Unknown Source)
    at org.bouncycastle.jce.provider.BouncyCastleProvider.access$000(Unknown Source)
    at org.bouncycastle.jce.provider.BouncyCastleProvider$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.bouncycastle.jce.provider.BouncyCastleProvider.<init>(Unknown Source)
    at com.zbq.common.util.RSAUtils.decrypt(RSAUtils.java:68)
    at com.zbq.common.util.RSAUtils.decryptBase64(RSAUtils.java:63)
    at com.zbq.common.serviceimpl.LoginCheckServiceImpl.checkLogin(LoginCheckServiceImpl.java:30)
    at com.zbq.common.controller.LoginCkeckController.checkLogin(LoginCkeckController.java:31)
    at sun.reflect.GeneratedMethodAccessor287.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:221)
    at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:137)
    at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:110)
    at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:777)
    at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:706)
    at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)
    at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:943)
    at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:877)
    at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:966)
    at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:868)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:661)
    at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:842)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)

Exception in thread "Timer-2" java.lang.OutOfMemoryError: Java heap space
    at java.io.WinNTFileSystem.list(Native Method)
    at java.io.File.list(File.java:1122)
    at java.io.File.listFiles(File.java:1207)
    at org.apache.axis2.deployment.RepositoryListener.findFileForGivenDirectory(RepositoryListener.java:292)
    at org.apache.axis2.deployment.RepositoryListener.findFileForGivenDirectory(RepositoryListener.java:312)
    at org.apache.axis2.deployment.RepositoryListener.loadOtherDirectories(RepositoryListener.java:278)
    at org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:253)
    at org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:371)
    at org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:73)
    at org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:94)
    at org.apache.axis2.deployment.scheduler.Scheduler$SchedulerTimerTask.run(Scheduler.java:93)
    at java.util.TimerThread.mainLoop(Timer.java:555)
    at java.util.TimerThread.run(Timer.java:505)
一月 22, 2021 3:09:15 下午 org.apache.catalina.core.StandardWrapperValve invoke
严重: Servlet.service() for servlet [springmvc] in context with path [/chengdu] threw exception [Handler processing failed; nested exception is java.lang.OutOfMemoryError: Java heap space] with root cause
java.lang.OutOfMemoryError: Java heap space
    at java.lang.StringCoding$StringDecoder.decode(StringCoding.java:149)
    at java.lang.StringCoding.decode(StringCoding.java:193)
    at java.lang.String.<init>(String.java:426)
    at sun.security.util.ManifestDigester.<init>(ManifestDigester.java:139)
    at java.util.jar.JarVerifier.processEntry(JarVerifier.java:291)
    at java.util.jar.JarVerifier.update(JarVerifier.java:230)
    at java.util.jar.JarFile.initializeVerifier(JarFile.java:383)
    at java.util.jar.JarFile.getInputStream(JarFile.java:450)
    at javax.crypto.JarVerifier.verifySingleJar(JarVerifier.java:468)
    at javax.crypto.JarVerifier.verifyJars(JarVerifier.java:363)
    at javax.crypto.JarVerifier.verify(JarVerifier.java:289)
    at javax.crypto.JceSecurity.verifyProviderJar(JceSecurity.java:164)
    at javax.crypto.JceSecurity.getVerificationResult(JceSecurity.java:190)
    at javax.crypto.Cipher.getInstance(Cipher.java:652)
    at com.zbq.common.util.RSAUtils.decrypt(RSAUtils.java:72)
    at com.zbq.common.util.RSAUtils.decryptBase64(RSAUtils.java:63)
    at com.zbq.common.serviceimpl.LoginCheckServiceImpl.checkLogin(LoginCheckServiceImpl.java:30)
    at com.zbq.common.controller.LoginCkeckController.checkLogin(LoginCkeckController.java:31)
    at sun.reflect.GeneratedMethodAccessor287.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:221)
    at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:137)
    at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:110)
    at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:777)
    at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:706)
    at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)
    at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:943)
    at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:877)
    at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:966)
    at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:868)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:661)

Exception in thread "ContainerBackgroundProcessor[StandardEngine[Catalina]]" Exception in thread "ajp-nio-8009-AsyncTimeout" java.lang.OutOfMemoryError: Java heap spaceException in thread "http-nio-8080-AsyncTimeout" java.lang.OutOfMemoryError: Java heap space
Exception in thread "http-nio-8080-ClientPoller-0" java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
一月 22, 2021 3:11:19 下午 org.apache.catalina.core.StandardWrapperValve invoke
严重: Servlet.service() for servlet [springmvc] in context with path [/chengdu] threw exception [Handler processing failed; nested exception is java.lang.OutOfMemoryError: Java heap space] with root cause
java.lang.OutOfMemoryError: Java heap space

Exception in thread "http-nio-8080-ClientPoller-1" java.lang.OutOfMemoryError: Java heap space
一月 22, 2021 3:11:40 下午 org.apache.catalina.core.StandardWrapperValve invoke
严重: Servlet.service() for servlet [springmvc] in context with path [/chengdu] threw exception [Handler processing failed; nested exception is java.lang.OutOfMemoryError: Java heap space] with root cause
java.lang.OutOfMemoryError: Java heap space

一月 22, 2021 3:11:47 下午 org.apache.catalina.core.StandardWrapperValve invoke
严重: Servlet.service() for servlet [springmvc] in context with path [/chengdu] threw exception [Handler processing failed; nested exception is java.lang.OutOfMemoryError: Java heap space] with root cause
java.lang.OutOfMemoryError: Java heap space

- com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector@4e2874 -- APPARENT DEADLOCK!!! Creating emergency threads for unassigned pending tasks!
一月 22, 2021 3:11:59 下午 org.apache.catalina.core.StandardWrapperValve invoke
严重: Servlet.service() for servlet [springmvc] in context with path [/chengdu] threw exception [Handler processing failed; nested exception is java.lang.OutOfMemoryError: Java heap space] with root cause
java.lang.OutOfMemoryError: Java heap space

- com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector@4e2874 -- APPARENT DEADLOCK!!! Complete Status: 
    Managed Threads: 3
    Active Threads: 3
    Active Tasks: 
        com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@1bd064d (com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0)
        com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@f7fe6a (com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2)
        com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@1fc93d (com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1)
    Pending Tasks: 
        com.mchange.v2.resourcepool.BasicResourcePool$1DestroyResourceTask@d6e4f5
        com.mchange.v2.resourcepool.BasicResourcePool$1DestroyResourceTask@108078c
        com.mchange.v2.resourcepool.BasicResourcePool$1DestroyResourceTask@bfa529
        com.mchange.v2.resourcepool.BasicResourcePool$1DestroyResourceTask@57cc22
        com.mchange.v2.resourcepool.BasicResourcePool$1DestroyResourceTask@1037851
        com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@3436da
        com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@1af5018
        com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@169a653
        com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@158955f
        com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@93edc8
Pool thread stack traces:
    Thread[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1,5,main]
        javax.crypto.JceSecurity.getVerificationResult(JceSecurity.java:176)
        javax.crypto.Cipher.getInstance(Cipher.java:652)
        java.security.Signature$Delegate.newInstance(Signature.java:1014)
        java.security.Signature$Delegate.chooseProvider(Signature.java:1114)
        java.security.Signature$Delegate.engineInitVerify(Signature.java:1170)
        java.security.Signature.initVerify(Signature.java:460)
        sun.security.ssl.RSASignature.engineInitVerify(RSASignature.java:112)
        java.security.Signature$Delegate.init(Signature.java:1152)
        java.security.Signature$Delegate.chooseProvider(Signature.java:1115)
        java.security.Signature$Delegate.engineInitVerify(Signature.java:1170)
        java.security.Signature.initVerify(Signature.java:460)
        sun.security.ssl.HandshakeMessage$ECDH_ServerKeyExchange.<init>(HandshakeMessage.java:1114)
        sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:284)
        sun.security.ssl.Handshaker.processLoop(Handshaker.java:1052)
        sun.security.ssl.Handshaker.process_record(Handshaker.java:987)
        sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1072)
        sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1385)
        sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1413)
        sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1397)
        com.microsoft.sqlserver.jdbc.TDSChannel.enableSSL(IOBuffer.java:1767)
        com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(SQLServerConnection.java:2257)
        com.microsoft.sqlserver.jdbc.SQLServerConnection.login(SQLServerConnection.java:1921)
        com.microsoft.sqlserver.jdbc.SQLServerConnection.connectInternal(SQLServerConnection.java:1762)
        com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(SQLServerConnection.java:1077)
        com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(SQLServerDriver.java:623)
        com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:134)
        com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:182)
        com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:171)
        com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:137)
        com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1014)
        com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:32)
        com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1810)
        com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)
    Thread[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0,5,main]
        javax.crypto.JceSecurity.getVerificationResult(JceSecurity.java:176)
        javax.crypto.Cipher.getInstance(Cipher.java:652)
        java.security.Signature$Delegate.newInstance(Signature.java:1014)
        java.security.Signature$Delegate.chooseProvider(Signature.java:1114)
        java.security.Signature$Delegate.engineInitVerify(Signature.java:1170)
        java.security.Signature.initVerify(Signature.java:460)
        sun.security.ssl.RSASignature.engineInitVerify(RSASignature.java:112)
        java.security.Signature$Delegate.init(Signature.java:1152)
        java.security.Signature$Delegate.chooseProvider(Signature.java:1115)
        java.security.Signature$Delegate.engineInitVerify(Signature.java:1170)
        java.security.Signature.initVerify(Signature.java:460)
        sun.security.ssl.HandshakeMessage$ECDH_ServerKeyExchange.<init>(HandshakeMessage.java:1114)
        sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:284)
        sun.security.ssl.Handshaker.processLoop(Handshaker.java:1052)
        sun.security.ssl.Handshaker.process_record(Handshaker.java:987)
        sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1072)
        sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1385)
        sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1413)
        sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1397)
        com.microsoft.sqlserver.jdbc.TDSChannel.enableSSL(IOBuffer.java:1767)
        com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(SQLServerConnection.java:2257)
        com.microsoft.sqlserver.jdbc.SQLServerConnection.login(SQLServerConnection.java:1921)
        com.microsoft.sqlserver.jdbc.SQLServerConnection.connectInternal(SQLServerConnection.java:1762)
        com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(SQLServerConnection.java:1077)
        com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(SQLServerDriver.java:623)
        com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:134)
        com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:182)
        com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:171)
        com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:137)
        com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1014)
        com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:32)
        com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1810)
        com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)
    Thread[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2,5,main]
        javax.crypto.JceSecurity.getVerificationResult(JceSecurity.java:176)
        javax.crypto.Cipher.getInstance(Cipher.java:652)
        java.security.Signature$Delegate.newInstance(Signature.java:1014)
        java.security.Signature$Delegate.chooseProvider(Signature.java:1114)
        java.security.Signature$Delegate.engineInitVerify(Signature.java:1170)
        java.security.Signature.initVerify(Signature.java:460)
        sun.security.ssl.RSASignature.engineInitVerify(RSASignature.java:112)
        java.security.Signature$Delegate.init(Signature.java:1152)
        java.security.Signature$Delegate.chooseProvider(Signature.java:1115)
        java.security.Signature$Delegate.engineInitVerify(Signature.java:1170)
        java.security.Signature.initVerify(Signature.java:460)
        sun.security.ssl.HandshakeMessage$ECDH_ServerKeyExchange.<init>(HandshakeMessage.java:1114)
        sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:284)
        sun.security.ssl.Handshaker.processLoop(Handshaker.java:1052)
        sun.security.ssl.Handshaker.process_record(Handshaker.java:987)
        sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1072)
        sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1385)
        sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1413)
        sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1397)
        com.microsoft.sqlserver.jdbc.TDSChannel.enableSSL(IOBuffer.java:1767)
        com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(SQLServerConnection.java:2257)
        com.microsoft.sqlserver.jdbc.SQLServerConnection.login(SQLServerConnection.java:1921)
        com.microsoft.sqlserver.jdbc.SQLServerConnection.connectInternal(SQLServerConnection.java:1762)
        com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(SQLServerConnection.java:1077)
        com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(SQLServerDriver.java:623)
        com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:134)
        com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:182)
        com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:171)
        com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:137)
        com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1014)
        com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:32)
        com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1810)
        com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)


Exception in thread "NioBlockingSelector.BlockPoller-2" java.lang.OutOfMemoryError: Java heap space
一月 22, 2021 3:12:32 下午 unknown unknown
严重: 
java.lang.OutOfMemoryError: Java heap space

一月 22, 2021 3:12:43 下午 org.apache.catalina.core.StandardWrapperValve invoke
严重: Servlet.service() for servlet [springmvc] in context with path [/chengdu] threw exception [Handler processing failed; nested exception is java.lang.OutOfMemoryError: Java heap space] with root cause
java.lang.OutOfMemoryError: Java heap space

- Task com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@1fc93d (in deadlocked PoolThread) failed to complete in maximum time 60000ms. Trying interrupt().
- Task com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@1bd064d (in deadlocked PoolThread) failed to complete in maximum time 60000ms. Trying interrupt().
- Task com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@f7fe6a (in deadlocked PoolThread) failed to complete in maximum time 60000ms. Trying interrupt().
一月 22, 2021 3:13:18 下午 org.apache.catalina.core.StandardWrapperValve invoke
严重: Servlet.service() for servlet [springmvc] in context with path [/chengdu] threw exception [Handler processing failed; nested exception is java.lang.OutOfMemoryError: Java heap space] with root cause
java.lang.OutOfMemoryError: Java heap space

- com.mchange.v2.resourcepool.BasicResourcePool@13204a6 -- Thread unexpectedly interrupted while performing an acquisition attempt.
java.lang.InterruptedException: sleep interrupted
    at java.lang.Thread.sleep(Native Method)
    at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1805)
    at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)
- com.mchange.v2.resourcepool.BasicResourcePool@13204a6 -- Thread unexpectedly interrupted while performing an acquisition attempt.
java.lang.InterruptedException: sleep interrupted
    at java.lang.Thread.sleep(Native Method)
    at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1805)
    at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)
- com.mchange.v2.resourcepool.BasicResourcePool@13204a6 -- Thread unexpectedly interrupted while performing an acquisition attempt.
java.lang.InterruptedException: sleep interrupted
    at java.lang.Thread.sleep(Native Method)
    at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1805)
    at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)
这是控制台信息,请哪位给看看到底是什么原因,如何解决
项目为 ssm+sqlserver

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

4条回答

为你推荐

换一换