打开server.xml
<?xml version='1.0' encoding='utf-8'?> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <!-- Note: A "Server" is not itself a "Container", so you may not define subcomponents such as "Valves" at this level. Documentation at /docs/config/server.html --> <Server port="8005" shutdown="SHUTDOWN"> <!--APR library loader. Documentation at /docs/apr.html --> <Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" /> <!--Initialize Jasper prior to webapps are loaded. Documentation at /docs/jasper-howto.html --> <Listener className="org.apache.catalina.core.JasperListener" /> <!-- JMX Support for the Tomcat server. Documentation at /docs/non-existent.html --> <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener" /> <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
第29行的org.apache.catalina.mbeans.ServerLifecycleListener注释掉。
tomcat7中只有mbeans这个包,但已经没有ServerLifecycleListener这个类了。
保存后重启就ok
相关推荐
tomcat jdk 和tomat的一些配置文件包括server.xml和linux使用service启动tomcat
tomcat6,修改配置文件,linux部署文件
启动配置文件tomcat的配置文件,仅供参考
tomcat 配置文件 tomcat 配置文件tomcat 配置文件tomcat 配置文件
Tomcat Servlet配置文件
Tomcat6的服务器配置文件放在 ${tomcat6}/conf 目录底下。我们可以在这里找到 server.xml 和 context.xml。当然,还有其他一些资源文件。但是在在本文中我们只用得上这两个.
xml放在tomcat的conf下面的localhost文件夹下,不用再每次部署项目
资源名称:tomcat配置文件详解 资源截图: 资源太大,传百度网盘了,链接在附件中,有需要的同学自取。
初始配置flex时必须的war文件,放在tomcat/webapps下
tomcat集群所以的配置文件
1、修改tomcat下的Conf/web.xml文件,在该文件内容中新增以下配置,注意,若该web.xml中存在其它filter,则需要将该filter放在所有filter前面; <filter-name>CorsFilter <filter-class>org.apache.catalina....
tomcat配置 介绍tomcat 配置文件介绍
jsp配置+sql配置+tomcat配置jsp配置+sql配置+tomcat配置jsp配置+sql配置+tomcat配置jsp配置+sql配置+tomcat配置jsp配置+sql配置+tomcat配置jsp配置+sql配置+tomcat配置jsp配置+sql配置+tomcat配置jsp配置+sql配置+...
你只需要下载这个文件包中的配置文件模板,虽后放到ofbiz1004\framework\appserver\templates\tomcat6下替换原来的文件,然后再到ofbiz目录下运行java -jar ofbiz.jar -setup tomcat6 ,完成后会得到一个setup的文件...
一直弹出错误提示(拒绝访问),解决方法(将server.xml剪切到桌面进行修改,修改后然后从桌面复制到Tomcat6下面即可。) 3. 备注:以上操作后需要重启Tomcat服务器。 2. Win7 64Bit.测试过程中问题: 1. 将JDK...
Tomcat server.xml配置文件详解Tomcat server.xml配置文件详解Tomcat server.xml配置文件详解Tomcat server.xml配置文件详解Tomcat server.xml配置文件详解Tomcat server.xml配置文件详解Tomcat server.xml配置文件...
tomcat6日志配置,最新的JAR包和配置文件,根据目录对应覆盖即可,简单方便,你懂的。
tomcat6 tomcat7配置环境 文档说明 jdk6 jdk7 环境配置
Tomcat6配置使用SSL双向认证
weblogic项目移植到tomcat,配置说明