zoukankan      html  css  js  c++  java
  • 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属性。

  • 相关阅读:
    tomcat 设置session过期时间(四种方式)
    Delphi7程序调用C#写的DLL解决办法
    delphi 获取大于2G的物理内存大小
    delphi 判断目录是否可写
    DLL编写与调用全解
    API Hook基本原理和实现
    dotnet tools 运行 dotnet run
    .NET Core & ASP.NET Core 1.0
    WebApp模版并运行
    配置系统引导启动SuperScoekt
  • 原文地址:https://www.cnblogs.com/zengsong-restService/p/3385481.html
Copyright © 2011-2022 走看看