Tomcat在Bin目录中启动需要配置的信息
2012-12-14 15:23
639 查看
在G:\fuwuqi\tomcat\apache-tomcat-6.0.29\bin下找到setclasspath.bat文件,打开后 加入红色字段即可
@echo off
rem Licensed to the Apache Software Foundation (ASF) under one or more
rem contributor license agreements. See the NOTICE file distributed with
rem this work for additional information regarding copyright ownership.
rem The ASF licenses this file to You under the Apache License, Version 2.0
rem (the "License"); you may not use this file except in compliance with
rem the License. You may obtain a copy of the License at
rem
rem http://www.apache.org/licenses/LICENSE-2.0
rem
rem Unless required by applicable law or agreed to in writing, software
rem distributed under the License is distributed on an "AS IS" BASIS,
rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
rem See the License for the specific language governing permissions and
rem limitations under the License.
set JRE_HOME=G:\Java\jdk1.6.0_30
rem ---------------------------------------------------------------------------
rem Set CLASSPATH and Java options
rem
rem $Id: setclasspath.bat 908749 2010-02-10 23:26:42Z markt $
rem ---------------------------------------------------------------------------
@echo off
rem Licensed to the Apache Software Foundation (ASF) under one or more
rem contributor license agreements. See the NOTICE file distributed with
rem this work for additional information regarding copyright ownership.
rem The ASF licenses this file to You under the Apache License, Version 2.0
rem (the "License"); you may not use this file except in compliance with
rem the License. You may obtain a copy of the License at
rem
rem http://www.apache.org/licenses/LICENSE-2.0
rem
rem Unless required by applicable law or agreed to in writing, software
rem distributed under the License is distributed on an "AS IS" BASIS,
rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
rem See the License for the specific language governing permissions and
rem limitations under the License.
set JRE_HOME=G:\Java\jdk1.6.0_30
rem ---------------------------------------------------------------------------
rem Set CLASSPATH and Java options
rem
rem $Id: setclasspath.bat 908749 2010-02-10 23:26:42Z markt $
rem ---------------------------------------------------------------------------
相关文章推荐
- 在tomcat的server.xml下面配置一次工程变量,那么可以不用每次都对该工程进行配置,只需要启动服务器就行
- 解压版tomcat启动闪退解决办法,需要配置tomcat的环境变量!
- linux下怎么运行某个目录下的程序,如启动tomcat,即运行tomcat的bin目录下的startup.sh
- 如何配置tomcat刚启动就去加载数据库信息
- 需要同时启动多个tomcat的配置
- tomcat配置目录需要账号密码
- 配置好了项目,启动tomcat提示异常信息:IOException while loading persisted sessions: java.io.EOFException
- 配置工程的附加库包含目录的依赖信息的时候,每次新建工程的时候都需要重新配置。
- 安装tomcat后,运行bin目录下的startup.bat后,启动浏览器在地址栏输入http://localhost:8080回车后显示不了tomcat页面的原因
- Tomcat基本入门知识及发布,虚拟访问及启动碰到的错误,虚拟目录,虚拟路径,各种Tomcat的配置
- 2个问题,解决tomcat启动一闪而过和运行tomcat/bin目录下的startup.bat时报错(the CATALINA_HOME environment variable is not defined correctly)
- tomcat启动或,struts2需要加载哪些配置文件,加载顺序
- linux服务器上进入tomcat/bin目录,执行启动的时候出现如下错误
- linux服务器上进入tomcat/bin目录,执行启动的时候出现如下错误
- 在win8下安装tomcat8.0后,点击bin 目录下的启动文件startup.bat后,控制台一闪而过,根本启动不了tomcat
- 在电脑上找到这个路径:D:\jakarta-tomcat-6\conf\Catalina,将localhost目录直接删除掉,再一运行,就没事了! 因为配置文件中配置了启动程序,而webapps文件夹下却没有此应用程序,所以出现了上述错误。
- 配置tomcat,只需要启动一次
- tomcat共享bin目录,配置文件私有,方便多个项目同时部署做依赖调试。
- eclipse中配置tomcat运行正常,tomcat中bin目录下可运行,页面报404如何解决
- 在win7下安装tomcat6.0后,点击bin 目录下的启动文件startup.bat后,控制台一闪而过,根本启动不了tomcat