⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 jni_server.xml

📁 ALICE 利用AIML (Artificial Intelligence Markup Language)来形成对你的查询和输入的响应。不像其它花费数千美元的商业聊天机器人软件
💻 XML
字号:
<?xml version="1.0" encoding="ISO-8859-1"?>

<Server>
    <!-- Debug low-level events in XmlMapper startup -->
    <xmlmapper:debug level="2" />

    <!-- This is quite flexible; we can either have a log file per
         module in Tomcat (example: ContextManager) or we can have
         one for Servlets and one for Jasper, or we can just have
         one tomcat.log for both Servlet and Jasper.

         If you omit "path" there, then stderr should be used.

         verbosityLevel values can be:
            FATAL
            ERROR
            WARNING
            INFORMATION
            DEBUG
         -->

    <Logger name="tc_log"
            path="logs/tomcat.log"
            customOutput="yes" />

    <Logger name="servlet_log"
            path="logs/servlet.log"
            customOutput="yes" />

    <Logger name="JASPER_LOG"
            path="logs/jasper.log"
            verbosityLevel = "INFORMATION" />

    <!-- Set the "home" attribute to point to where your in-process tomcat
         configuration is located. ContextManager home is the base directory
         for contexts, webapps/ and work/
    -->
    <ContextManager debug="2" workDir="work" home="D:\tomcat">
        <!-- ContextInterceptor className="org.apache.tomcat.context.LogEvents" / -->
        <ContextInterceptor className="org.apache.tomcat.context.AutoSetup" />
        <ContextInterceptor className="org.apache.tomcat.context.DefaultCMSetter" />
        <ContextInterceptor className="org.apache.tomcat.context.WorkDirInterceptor" />
        <ContextInterceptor className="org.apache.tomcat.context.WebXmlReader" />
        <ContextInterceptor className="org.apache.tomcat.context.LoadOnStartupInterceptor" />
        <!-- Request processing -->
        <RequestInterceptor className="org.apache.tomcat.request.SimpleMapper" debug="0" />
        <RequestInterceptor className="org.apache.tomcat.request.SessionInterceptor" />
        <RequestInterceptor className="org.apache.tomcat.request.SecurityCheck" />
        <RequestInterceptor className="org.apache.tomcat.request.FixHeaders" />

        <!--
             JNI connector, make sure that you update the native_lib
             Parameter to point to your jni_connect.dll
         -->
        <Connector className="org.apache.tomcat.service.JNIEndpointConnector">
            <Parameter name="native_lib" value="D:\tomcat\bin\i386\jni_connect.dll"/>
        </Connector>

        <!-- example - how to override AutoSetup actions -->
        <Context path="/examples" docBase="webapps/examples" debug="0" reloadable="true" >
        </Context>
        <!-- example - how to override AutoSetup actions -->
        <Context path="" docBase="webapps/ROOT" debug="0" reloadable="true" >
        </Context>

        <Context path="/test" docBase="webapps/test" debug="0" reloadable="true" >
        </Context>

    </ContextManager>
</Server>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -