zoukankan      html  css  js  c++  java
  • tomcat 异常:Caused by: org.apache.catalina.LifecycleException: The connector cannot start since the specified port value of [-1] is invalid

    启动tomcat时出现异常:

     org.apache.catalina.LifecycleException: Failed to start component [Connector[AJP/1.3-auto-1]]
            at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
            at org.apache.catalina.core.StandardService.startInternal(StandardService.java:458)
            at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
            at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:752)
            at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
            at org.apache.catalina.startup.Catalina.start(Catalina.java:625)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:606)
            at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:351)
            at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:485)
    Caused by: org.apache.catalina.LifecycleException: The connector cannot start since the specified port value of [-1] is invalid
            at org.apache.catalina.connector.Connector.startInternal(Connector.java:979)
            at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
            ... 11 more

    报了异常,但tomcat还是启动起来了,并且项目也可以访问,没发现其他异常,google了一下,说是这个异常可以被忽略,并不影响功能的使用,说是从安全层面避免其它服务或软件关闭tomcat.可参考:https://kb.acronis.com/es/node/54707   ;有时间再研究一下这个异常......

  • 相关阅读:
    [windbg] 进程、线程
    [Windows 驱动开发] 驱动中获取函数地址
    [DuiLib] 入坑资料收集
    [Windows 驱动开发] 获取驱动详细信息
    基于模板的SPS展示层定制
    关于工作角色的一个新的思考
    中小企业IT建设的有关思路
    定制SharePoint Portal之去除帮助链接
    大客户谈判技巧关于IT行业售前工作
    细节决定成败
  • 原文地址:https://www.cnblogs.com/jessezeng/p/5512981.html
Copyright © 2011-2022 走看看