• eclipse tomcat7.0 start 常见错误警告


    十月 24, 2013 9:47:06 上午 org.apache.catalina.core.AprLifecycleListener init
    INFO: Loaded APR based Apache Tomcat Native library 1.1.27 using APR version 1.4.6.
    十月 24, 2013 9:47:06 上午 org.apache.catalina.core.AprLifecycleListener init
    INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
    十月 24, 2013 9:47:06 上午 org.apache.tomcat.util.digester.SetPropertiesRule begin
    WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:BusinessSystem' did not find a matching property.
    十月 24, 2013 9:47:07 上午 org.apache.catalina.core.AprLifecycleListener initializeSSL
    INFO: OpenSSL successfully initialized (OpenSSL 1.0.1d 5 Feb 2013)
    十月 24, 2013 9:47:07 上午 org.apache.coyote.AbstractProtocol init
    INFO: Initializing ProtocolHandler ["http-apr-9080"]
    十月 24, 2013 9:47:07 上午 org.apache.coyote.AbstractProtocol init
    INFO: Initializing ProtocolHandler ["ajp-apr-8009"]
    十月 24, 2013 9:47:07 上午 org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 1856 ms
    十月 24, 2013 9:47:07 上午 org.apache.catalina.core.StandardService startInternal
    INFO: Starting service Catalina
    十月 24, 2013 9:47:07 上午 org.apache.catalina.core.StandardEngine startInternal
    INFO: Starting Servlet Engine: Apache Tomcat/7.0.37
    十月 24, 2013 9:47:09 上午 org.apache.coyote.AbstractProtocol start
    INFO: Starting ProtocolHandler ["http-apr-9080"]
    十月 24, 2013 9:47:09 上午 org.apache.coyote.AbstractProtocol start
    INFO: Starting ProtocolHandler ["ajp-apr-8009"]
    十月 24, 2013 9:47:09 上午 org.apache.catalina.startup.Catalina start
    INFO: Server startup in 1443 ms

    解决办法:

    设置服务类型为Tomcat:

    1、在server控制台内,在服务器上点右键--属性

    2、general选项卡中点switch location  

    4、双击 Tomcat v7.0 Server at localhost.server  这个文件 ,双击打开 

    5、在最下面的server option里选中publis module context to separate xml file.保存。

    6、完成,重启Tomcat。

    十月 24, 2013 9:55:34 上午 org.apache.catalina.core.AprLifecycleListener init
    INFO: Loaded APR based Apache Tomcat Native library 1.1.27 using APR version 1.4.6.
    十月 24, 2013 9:55:34 上午 org.apache.catalina.core.AprLifecycleListener init
    INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
    十月 24, 2013 9:55:36 上午 org.apache.catalina.core.AprLifecycleListener initializeSSL
    INFO: OpenSSL successfully initialized (OpenSSL 1.0.1d 5 Feb 2013)
    十月 24, 2013 9:55:36 上午 org.apache.coyote.AbstractProtocol init
    INFO: Initializing ProtocolHandler ["http-apr-9080"]
    十月 24, 2013 9:55:36 上午 org.apache.coyote.AbstractProtocol init
    INFO: Initializing ProtocolHandler ["ajp-apr-8009"]
    十月 24, 2013 9:55:36 上午 org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 2001 ms
    十月 24, 2013 9:55:36 上午 org.apache.catalina.core.StandardService startInternal
    INFO: Starting service Catalina
    十月 24, 2013 9:55:36 上午 org.apache.catalina.core.StandardEngine startInternal
    INFO: Starting Servlet Engine: Apache Tomcat/7.0.37
    十月 24, 2013 9:55:37 上午 org.apache.catalina.startup.HostConfig deployDescriptor
    INFO: Deploying configuration descriptor C:UsersAdministratorworkspace.metadata.pluginsorg.eclipse.wst.server.core mp2confCatalinalocalhostBusinessSystem.xml
    十月 24, 2013 9:55:37 上午 org.apache.catalina.startup.SetContextPropertiesRule begin
    WARNING: [SetContextPropertiesRule]{Context} Setting property 'source' to 'org.eclipse.jst.jee.server:BusinessSystem' did not find a matching property.
    十月 24, 2013 9:55:37 上午 org.apache.catalina.loader.WebappClassLoader validateJarFile
    INFO: validateJarFile(C:UsersAdministratorworkspace.metadata.pluginsorg.eclipse.wst.server.core mp2wtpwebappsBusinessSystemWEB-INFlibservlet.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
    十月 24, 2013 9:55:41 上午 org.apache.catalina.core.ApplicationContext log
    INFO: No Spring WebApplicationInitializer types detected on classpath
    十月 24, 2013 9:55:41 上午 org.apache.catalina.core.ApplicationContext log
    INFO: Initializing Spring root WebApplicationContext

    查找网络上他们说是server.xml配置文件中Context节点不支持source属性。

  • 相关阅读:
    比较.NET程序集(DLL或EXE)是否相同
    [转] JavaScript数组去重(12种方法)
    [转] js网络请求跨域问题汇总(携带cookie)
    [转] JS中arr.forEach()如何跳出循环
    [转] vue前端异常监控sentry实践
    [转] vue父组件触发子组件事件
    [转] vue 自定义组件使用v-model
    [转] Nginx配置性能优化
    [转] linux 查找文本过滤grep正则表达式命令详解用法
    [转] Nginx配置中的location、root、alias
  • 原文地址:https://www.cnblogs.com/zengsong-restService/p/3385481.html
Copyright © 2020-2023  润新知