首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > Java Web开发 >

帮我看看tomcat配置文件多谢.有没什么有关问题,访问时快时慢

2011-12-20 
帮我看看tomcat配置文件谢谢..,有没什么问题,访问时快时慢Serverport 8005 shutdown SHUTDOWN Li

帮我看看tomcat配置文件谢谢..,有没什么问题,访问时快时慢

<Server   port= "8005 "   shutdown= "SHUTDOWN ">

    <Listener   className= "org.apache.catalina.core.AprLifecycleListener "   />
    <Listener   className= "org.apache.catalina.mbeans.ServerLifecycleListener "   />
    <Listener   className= "org.apache.catalina.mbeans.GlobalResourcesLifecycleListener "   />
    <Listener   className= "org.apache.catalina.storeconfig.StoreConfigLifecycleListener "/>

    <GlobalNamingResources>
        <Environment   name= "simpleValue "   type= "java.lang.Integer "   value= "30 "/>
        <Resource   name= "UserDatabase "   auth= "Container "
                            type= "org.apache.catalina.UserDatabase "
              description= "User   database   that   can   be   updated   and   saved "
                      factory= "org.apache.catalina.users.MemoryUserDatabaseFactory "
                    pathname= "conf/tomcat-users.xml "   />
    </GlobalNamingResources>

    <Service   name= "Catalina ">
        <Connector   port= "8089 "   maxHttpHeaderSize= "8192 "
                              maxThreads= "600 "   minSpareThreads= "450 "   maxSpareThreads= "500 "
                              enableLookups= "false "   redirectPort= "8443 "   acceptCount= "500 "
                              connectionTimeout= "20000 "   disableUploadTimeout= "true "   />

        <Connector   port= "8009 "  
                              enableLookups= "false "   redirectPort= "8443 "   protocol= "AJP/1.3 "   />

        <Engine   name= "Catalina "   defaultHost= "localhost ">

            <Realm   className= "org.apache.catalina.realm.UserDatabaseRealm "
                          resourceName= "UserDatabase "/>

            <Host   name= "9006.yoao.com "   appBase= "E:\9006 "   unpackWARs= "true "   autoDeploy= "true "
              xmlValidation= "false "   xmlNamespaceAware= "false ">
            </Host>

            <Host   name= "localhost "   appBase= "D:\yoao\blog "   unpackWARs= "true "   autoDeploy= "true "


              xmlValidation= "false "   xmlNamespaceAware= "false ">
            </Host>

<Host   name= "teach.yoao.com "   appBase= "D:\yoao\teach "   unpackWARs= "true "   autoDeploy= "true "
              xmlValidation= "false "   xmlNamespaceAware= "false ">
            </Host>

            <Host   name= "reg.yoao.com "   appBase= "D:\yoao\reg "   unpackWARs= "true "   autoDeploy= "true "
              xmlValidation= "false "   xmlNamespaceAware= "false ">
            </Host>

            <Host   name= "shop.yoao.com "   appBase= "D:\yoao\jsp3 "   unpackWARs= "true "   autoDeploy= "true "
              xmlValidation= "false "   xmlNamespaceAware= "false ">        
                      <Context   docBase= "D:\yoao\jsp3 "   path= "/ "   reloadable= "true "  
                        workDir= "D:\yoao\jsp3 ">
                      </Context>
              </Host>

        </Engine>

    </Service>

</Server>


[解决办法]
哪位大哥.帮看看..自己先顶下
[解决办法]
没什么问题,看看LOG看有没有什么错误信息!
[解决办法]
和配置没有关系,你的代码是不是被经常修改,需要重新编移
[解决办法]
代码如果改动后要编译 会长点时间
[解决办法]
同意楼上的
[解决办法]
去这里看看吧:
http://www.javadingle.com

热点排行