IDEA,Tomcat启动只打日志,却无法启动

痛定思痛。 2021-06-10 20:39 745阅读 0赞

背景:

最近启动有些时候可以启动,有几天无法启动,tomcat只打日志,属于偶发现象。

  1. 0817.090426 [RMI TCP Connection(3)-127.0.0.1] DEBUG L:158 CglibAopProxy - Creating CGLIB proxy: target source is SingletonTargetSource for target object [cn.com.xxx.xxx.yyy.nw.sbfjfqd.service.yyyjfqdZzSerivce@76bf2c4e]
  2. 0817.090426 [RMI TCP Connection(3)-127.0.0.1] INFO L:264 CglibAopProxy - Unable to proxy method [public final void cn.com.xxx.xxx.yyy.nw.common.service.AbstractZmZzServiceTemplate.zmzz(java.lang.Object)] because it is final: All calls to this method via a proxy will NOT be routed to the target instance.
  3. 0817.090426 [RMI TCP Connection(3)-127.0.0.1] DEBUG L:831 CglibAopProxy - Unable to apply any optimisations to advised method: public cn.com.xxx.xxx.report.ReportCriteria cn.com.xxx.xxx.yyy.nw.sbfjfqd.service.yyyjfqdZzSerivce.buildZmzzCondition(cn.com.xxx.xxx.yyy.sbfjfqd.JfqdDTO)
  4. 0817.090426 [RMI TCP Connection(3)-127.0.0.1] DEBUG L:831 CglibAopProxy - Unable to apply any optimisations to advised method: public void cn.com.xxx.xxx.yyy.nw.sbfjfqd.service.yyyjfqdZzSerivce.createPdf(cn.com.xxx.xxx.yyy.sbfjfqd.JfqdDTO,cn.com.xxx.xxx.report.ReportCriteria) throws java.io.IOException
  5. 0817.090426 [RMI TCP Connection(3)-127.0.0.1] DEBUG L:831 CglibAopProxy - Unable to apply any optimisations to advised method: public void cn.com.xxx.xxx.yyy.nw.sbfjfqd.service.yyyjfqdZzSerivce.saveContent(cn.com.xxx.xxx.yyy.sbfjfqd.JfqdDTO)
  6. 0817.090427 [RMI TCP Connection(3)-127.0.0.1] DEBUG L:108 AnnotationTransactionAttributeSource - Adding transactional method 'yyyjfqdZzSerivce.exceptionHandler' with attribute: PROPAGATION_REQUIRED,ISOLATION_DEFAULT; 'nwTransactionManager',-java.lang.Exception
  7. 0817.090427 [RMI TCP Connection(3)-127.0.0.1] DEBUG L:831 CglibAopProxy - Unable to apply any optimisations to advised method: public void cn.com.xxx.xxx.yyy.nw.sbfjfqd.service.yyyjfqdZzSerivce.exceptionHandler(cn.com.xxx.xxx.yyy.sbfjfqd.JfqdDTO,java.lang.Exception)
  8. 0817.090427 [RMI TCP Connection(3)-127.0.0.1] DEBUG L:831 CglibAopProxy - Unable to apply any optimisations to advised method: public void cn.com.xxx.xxx.yyy.nw.sbfjfqd.service.yyyjfqdZzSerivce.finallyHandler(cn.com.xxx.xxx.yyy.sbfjfqd.JfqdDTO)
  9. 0817.090427 [RMI TCP Connection(3)-127.0.0.1] DEBUG L:831 CglibAopProxy - Unable to apply any optimisations to advised method: public void cn.com.xxx.xxx.yyy.nw.sbfjfqd.service.yyyjfqdZzSerivce.seal(cn.com.xxx.xxx.yyy.sbfjfqd.JfqdDTO)
  10. 0817.090427 [RMI TCP Connection(3)-127.0.0.1] DEBUG L:831 CglibAopProxy - Unable to apply any optimisations to advised method: public java.lang.Object cn.com.xxx.xxx.yyy.nw.sbfjfqd.service.yyyjfqdZzSerivce.buildZmzzCondition(java.lang.Object)
  11. 0817.090427 [RMI TCP Connection(3)-127.0.0.1] DEBUG L:831 CglibAopProxy - Unable to apply any optimisations to advised method: public void cn.com.xxx.xxx.yyy.nw.sbfjfqd.service.yyyjfqdZzSerivce.createPdf(java.lang.Object,java.lang.Object) throws java.io.IOException
  12. 0817.090427 [RMI TCP Connection(3)-127.0.0.1] DEBUG L:108 AnnotationTransactionAttributeSource - Adding transactional method 'yyyjfqdZzSerivce.saveContent' with attribute: PROPAGATION_REQUIRED,ISOLATION_DEFAULT; 'nwTransactionManager',-java.lang.Exception
  13. 0817.090427 [RMI TCP Connection(3)-127.0.0.1] DEBUG L:831 CglibAopProxy - Unable to apply any optimisations to advised method: public void cn.com.xxx.xxx.yyy.nw.sbfjfqd.service.yyyjfqdZzSerivce.saveContent(java.lang.Object)
  14. 0817.090428 [RMI TCP Connection(3)-127.0.0.1] DEBUG L:108 AnnotationTransactionAttributeSource - Adding transactional method 'yyyjfqdZzSerivce.exceptionHandler' with attribute: PROPAGATION_REQUIRED,ISOLATION_DEFAULT; 'nwTransactionManager',-java.lang.Exception
  15. 0817.090428 [RMI TCP Connection(3)-127.0.0.1] DEBUG L:831 CglibAopProxy - Unable to apply any optimisations to advised method: public void cn.com.xxx.xxx.yyy.nw.sbfjfqd.service.yyyjfqdZzSerivce.exceptionHandler(java.lang.Object,java.lang.Exception)
  16. 0817.090428 [RMI TCP Connection(3)-127.0.0.1] DEBUG L:831 CglibAopProxy - Unable to apply any optimisations to advised method: public void cn.com.xxx.xxx.yyy.nw.sbfjfqd.service.yyyjfqdZzSerivce.finallyHandler(java.lang.Object)
  17. 0817.090428 [RMI TCP Connection(3)-127.0.0.1] DEBUG L:831 CglibAopProxy - Unable to apply any optimisations to advised method: public void cn.com.xxx.xxx.yyy.nw.sbfjfqd.service.yyyjfqdZzSerivce.seal(java.lang.Object)
  18. 0817.090428 [RMI TCP Connection(3)-127.0.0.1] DEBUG L:782 CglibAopProxy - Found finalize() method - using NO_OVERRIDE
  19. 0817.090428 [RMI TCP Connection(3)-127.0.0.1] DEBUG L:794 CglibAopProxy - Found 'equals' method: public boolean java.lang.Object.equals(java.lang.Object)
  20. 0817.090428 [RMI TCP Connection(3)-127.0.0.1] DEBUG L:831 CglibAopProxy - Unable to apply any optimisations to advised method: public java.lang.String java.lang.Object.toString()
  21. 0817.090429 [RMI TCP Connection(3)-127.0.0.1] DEBUG L:799 CglibAopProxy - Found 'hashCode' method: public native int java.lang.Object.hashCode()
  22. 0817.090429 [RMI TCP Connection(3)-127.0.0.1] DEBUG L:831 CglibAopProxy - Unable to apply any optimisations to advised method: protected native java.lang.Object java.lang.Object.clone() throws java.lang.CloneNotSupportedException
  23. 0817.090429 [RMI TCP Connection(3)-127.0.0.1] DEBUG L:788 CglibAopProxy - Method is declared on Advised interface: public abstract int org.springframework.aop.framework.Advised.indexOf(org.aopalliance.aop.Advice)
  24. 0817.090429 [RMI TCP Connection(3)-127.0.0.1] DEBUG L:788 CglibAopProxy - Method is declared on Advised interface: public abstract int org.springframework.aop.framework.Advised.indexOf(org.springframework.aop.Advisor)
  25. 0817.090429 [RMI TCP Connection(3)-127.0.0.1] DEBUG L:788 CglibAopProxy - Method is declared on Advised interface: public abstract boolean org.springframework.aop.framework.Advised.isFrozen()
  26. 0817.090429 [RMI TCP Connection(3)-127.0.0.1] DEBUG L:788 CglibAopProxy - Method is declared on Advised interface: public abstract boolean org.springframework.aop.framework.Advised.isProxyTargetClass()
  27. 0817.090429 [RMI TCP Connection(3)-127.0.0.1] DEBUG L:788 CglibAopProxy - Method is declared on Advised interface: public abstract java.lang.Class[] org.springframework.aop.framework.Advised.getProxiedInterfaces()
  28. 0817.090429 [RMI TCP Connection(3)-127.0.0.1] DEBUG L:788 CglibAopProxy - Method is declared on Advised interface: public abstract boolean org.springframework.aop.framework.Advised.isInterfaceProxied(java.lang.Class)
  29. 0817.090429 [RMI TCP Connection(3)-127.0.0.1] DEBUG L:788 CglibAopProxy - Method is declared on Advised interface: public abstract java.lang.String org.springframework.aop.framework.Advised.toProxyConfigString()
  30. 0817.090429 [RMI TCP Connection(3)-127.0.0.1] DEBUG L:788 CglibAopProxy - Method is declared on Advised interface: public abstract org.springframework.aop.TargetSource org.springframework.aop.framework.Advised.getTargetSource()
  31. 0817.090429 [RMI TCP Connection(3)-127.0.0.1] DEBUG L:788 CglibAopProxy - Method is declared on Advised interface: public abstract void org.springframework.aop.framework.Advised.setExposeProxy(boolean)
  32. 0817.090430 [RMI TCP Connection(3)-127.0.0.1] DEBUG L:788 CglibAopProxy - Method is declared on Advised interface: public abstract boolean org.springframework.aop.framework.Advised.isExposeProxy()
  33. 0817.090430 [RMI TCP Connection(3)-127.0.0.1] DEBUG L:788 CglibAopProxy - Method is declared on Advised interface: public abstract void org.springframework.aop.framework.Advised.setTargetSource(org.springframework.aop.TargetSource)
  34. 0817.090430 [RMI TCP Connection(3)-127.0.0.1] DEBUG L:788 CglibAopProxy - Method is declared on Advised interface: public abstract void org.springframework.aop.framework.Advised.setPreFiltered(boolean)
  35. 0817.090430 [RMI TCP Connection(3)-127.0.0.1] DEBUG L:788 CglibAopProxy - Method is declared on Advised interface: public abstract boolean org.springframework.aop.framework.Advised.isPreFiltered()
  36. 0817.090430 [RMI TCP Connection(3)-127.0.0.1] DEBUG L:788 CglibAopProxy - Method is declared on Advised interface: public abstract org.springframework.aop.Advisor[] org.springframework.aop.framework.Advised.getAdvisors()
  37. 0817.090430 [RMI TCP Connection(3)-127.0.0.1] DEBUG L:788 CglibAopProxy - Method is declared on Advised interface: public abstract void org.springframework.aop.framework.Advised.addAdvisor(org.springframework.aop.Advisor) throws org.springframework.aop.framework.AopConfigException
  38. 0817.090430 [RMI TCP Connection(3)-127.0.0.1] DEBUG L:788 CglibAopProxy - Method is declared on Advised interface: public abstract void org.springframework.aop.framework.Advised.addAdvisor(int,org.springframework.aop.Advisor) throws org.springframework.aop.framework.AopConfigException
  39. 0817.090430 [RMI TCP Connection(3)-127.0.0.1] DEBUG L:788 CglibAopProxy - Method is declared on Advised interface: public abstract void org.springframework.aop.framework.Advised.removeAdvisor(int) throws org.springframework.aop.framework.AopConfigException
  40. 0817.090430 [RMI TCP Connection(3)-127.0.0.1] DEBUG L:788 CglibAopProxy - Method is declared on Advised interface: public abstract boolean org.springframework.aop.framework.Advised.removeAdvisor(org.springframework.aop.Advisor)
  41. 0817.090430 [RMI TCP Connection(3)-127.0.0.1] DEBUG L:788 CglibAopProxy - Method is declared on Advised interface: public abstract boolean org.springframework.aop.framework.Advised.replaceAdvisor(org.springframework.aop.Advisor,org.springframework.aop.Advisor) throws org.springframework.aop.framework.AopConfigException
  42. 0817.090430 [RMI TCP Connection(3)-127.0.0.1] DEBUG L:788 CglibAopProxy - Method is declared on Advised interface: public abstract void org.springframework.aop.framework.Advised.addAdvice(int,org.aopalliance.aop.Advice) throws org.springframework.aop.framework.AopConfigException
  43. 0817.090431 [RMI TCP Connection(3)-127.0.0.1] DEBUG L:788 CglibAopProxy - Method is declared on Advised interface: public abstract void org.springframework.aop.framework.Advised.addAdvice(org.aopalliance.aop.Advice) throws org.springframework.aop.framework.AopConfigException
  44. 0817.090431 [RMI TCP Connection(3)-127.0.0.1] DEBUG L:788 CglibAopProxy - Method is declared on Advised interface: public abstract boolean org.springframework.aop.framework.Advised.removeAdvice(org.aopalliance.aop.Advice)
  45. 0817.090431 [RMI TCP Connection(3)-127.0.0.1] DEBUG L:788 CglibAopProxy - Method is declared on Advised interface: public abstract java.lang.Class org.springframework.aop.TargetClassAware.getTargetClass()
  46. 0817.090446 [RMI TCP Connection(3)-127.0.0.1] DEBUG L:478 DefaultListableBeanFactory - Finished creating instance of bean 'yyyjfqdZzSerivce'
  47. 0817.090446 [RMI TCP Connection(3)-127.0.0.1] DEBUG L:474 AutowiredAnnotationBeanPostProcessor - Autowiring by type from bean name 'sbfjfqdFacade' to bean named 'yyyjfqdZzSerivce'
  48. 0817.090446 [RMI TCP Connection(3)-127.0.0.1] DEBUG L:85 InjectionMetadata - Processing injected method of bean 'sbfjfqdFacade': AutowiredFieldElement for private cn.com.xxx.xxx.yyy.nw.sbfjfqd.builder.SbjfqdProcessBuilder cn.com.xxx.xxx.yyy.nw.sbfjfqd.facade.SbfjfqdFacade.processBuilder
  49. 0817.090446 [RMI TCP Connection(3)-127.0.0.1] DEBUG L:247 DefaultListableBeanFactory - Returning cached instance of singleton bean 'sbjfqdProcessBuilder'
  50. 0817.090446 [RMI TCP Connection(3)-127.0.0.1] DEBUG L:474 AutowiredAnnotationBeanPostProcessor - Autowiring by type from bean name 'sbfjfqdFacade' to bean named 'sbjfqdProcessBuilder'

原因:

是因为断点打开,把断点去了就可以了

20200817135639790.png

疑问:

断点开了理应是会进断点的,但启动了一个多小时也无法启动,打的日志是spring代理对象创建、bean查找相关的日志,如果又遇到类似情况,欢迎探讨。

发表评论

表情:
评论列表 (有 0 条评论,745人围观)

还没有评论,来说两句吧...

相关阅读

    相关 SecureCRT无法启动

    终端工具突然打不开了,双击SecureCRT.exe 程序直接挂掉了,提示:SecureCRT 遇到一个致命的错误且必须关闭。 一个崩溃转储文件已创建于: C:\\Docume