apache-tomcat-6.0.20安装完成后bin目录下没有shutdown.bat和startup.bat

问题描述

有哪位大侠知道为什么我的apache-tomcat-6.0.20安装完成后bin目录下没有shutdown.bat和startup.bat,也没有service.bat。如果要启动只能靠myeclipse启动。郁闷。

解决方案

解决方案二:
没有人知道么?》
解决方案三:
service.bat@echooffremLicensedtotheApacheSoftwareFoundation(ASF)underoneormoreremcontributorlicenseagreements.SeetheNOTICEfiledistributedwithremthisworkforadditionalinformationregardingcopyrightownership.remTheASFlicensesthisfiletoYouundertheApacheLicense,Version2.0rem(the"License");youmaynotusethisfileexceptincompliancewithremtheLicense.YoumayobtainacopyoftheLicenseatremremhttp://www.apache.org/licenses/LICENSE-2.0remremUnlessrequiredbyapplicablelaworagreedtoinwriting,softwareremdistributedundertheLicenseisdistributedonan"ASIS"BASIS,remWITHOUTWARRANTIESORCONDITIONSOFANYKIND,eitherexpressorimplied.remSeetheLicenseforthespecificlanguagegoverningpermissionsandremlimitationsundertheLicense.if"%OS%"=="Windows_NT"setlocalrem---------------------------------------------------------------------------remNTServiceInstall/UninstallscriptremremOptionsreminstallInstalltheserviceusingTomcat6asservicename.remServiceisinstalledusingdefaultsettings.remremoveRemovetheservicefromtheSystem.remremname(optional)Ifthesecondargumentispresentitisconsideredremtobenewservicenameremrem$Id:service.bat9087492010-02-1023:26:42Zmarkt$rem---------------------------------------------------------------------------remGuessCATALINA_HOMEifnotdefinedset"CURRENT_DIR=%cd%"ifnot"%CATALINA_HOME%"==""gotogotHomeset"CATALINA_HOME=%cd%"ifexist"%CATALINA_HOME%bintomcat6.exe"gotookHomeremCDtotheupperdircd..set"CATALINA_HOME=%cd%":gotHomeifexist"%CATALINA_HOME%bintomcat6.exe"gotookHomeechoThetomcat.exewasnotfound...echoTheCATALINA_HOMEenvironmentvariableisnotdefinedcorrectly.echoThisenvironmentvariableisneededtorunthisprogramgotoendremMakesureprerequisiteenvironmentvariablesaresetifnot"%JAVA_HOME%"==""gotookHomeechoTheJAVA_HOMEenvironmentvariableisnotdefinedechoThisenvironmentvariableisneededtorunthisprogramgotoend:okHomeifnot"%CATALINA_BASE%"==""gotogotBaseset"CATALINA_BASE=%CATALINA_HOME%":gotBaseset"EXECUTABLE=%CATALINA_HOME%bintomcat6.exe"remSetdefaultServicenamesetSERVICE_NAME=Tomcat6setPR_DISPLAYNAME=ApacheTomcat6if"%1"==""gotodisplayUsageif"%2"==""gotosetServiceNamesetSERVICE_NAME=%2setPR_DISPLAYNAME=ApacheTomcat%2:setServiceNameif%1==installgotodoInstallif%1==removegotodoRemoveif%1==uninstallgotodoRemoveechoUnknownparameter"%1":displayUsageecho.echoUsage:service.batinstall/remove[service_name]gotoend:doRemoveremRemovetheservice"%EXECUTABLE%"//DS//%SERVICE_NAME%echoTheservice'%SERVICE_NAME%'hasbeenremovedgotoend:doInstallremInstalltheserviceechoInstallingtheservice'%SERVICE_NAME%'...echoUsingCATALINA_HOME:"%CATALINA_HOME%"echoUsingCATALINA_BASE:"%CATALINA_BASE%"echoUsingJAVA_HOME:"%JAVA_HOME%"remUsetheenvironmentvariablesasanexampleremEachcommandlineoptionisprefixedwithPR_setPR_DESCRIPTION=ApacheTomcat6.0.32Server-http://tomcat.apache.org/set"PR_INSTALL=%EXECUTABLE%"set"PR_LOGPATH=%CATALINA_BASE%logs"set"PR_CLASSPATH=%CATALINA_BASE%bintomcat-juli.jar;%CATALINA_HOME%bintomcat-juli.jar;%CATALINA_HOME%binbootstrap.jar"remSettheserverjvmfromJAVA_HOMEset"PR_JVM=%JAVA_HOME%jrebinserverjvm.dll"ifexist"%PR_JVM%"gotofoundJvmremSettheclientjvmfromJAVA_HOMEset"PR_JVM=%JAVA_HOME%jrebinclientjvm.dll"ifexist"%PR_JVM%"gotofoundJvmsetPR_JVM=auto:foundJvmechoUsingJVM:"%PR_JVM%""%EXECUTABLE%"//IS//%SERVICE_NAME%--StartClassorg.apache.catalina.startup.Bootstrap--StopClassorg.apache.catalina.startup.Bootstrap--StartParamsstart--StopParamsstopifnoterrorlevel1gotoinstalledechoFailedinstalling'%SERVICE_NAME%'servicegotoend:installedremCleartheenvironmentvariables.Theyarenotneededanymore.setPR_DISPLAYNAME=setPR_DESCRIPTION=setPR_INSTALL=setPR_LOGPATH=setPR_CLASSPATH=setPR_JVM=remSetextraparameters"%EXECUTABLE%"//US//%SERVICE_NAME%--JvmOptions"-Dcatalina.base=%CATALINA_BASE%;-Dcatalina.home=%CATALINA_HOME%;-Djava.endorsed.dirs=%CATALINA_HOME%endorsed"--StartModejvm--StopModejvmremMoreextraparametersset"PR_LOGPATH=%CATALINA_BASE%logs"setPR_STDOUTPUT=autosetPR_STDERROR=auto"%EXECUTABLE%"//US//%SERVICE_NAME%++JvmOptions"-Djava.io.tmpdir=%CATALINA_BASE%temp;-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager;-Djava.util.logging.config.file=%CATALINA_BASE%conflogging.properties"--JvmMs128--JvmMx256echoTheservice'%SERVICE_NAME%'hasbeeninstalled.:endcd"%CURRENT_DIR%"

startup.bat@echooffremLicensedtotheApacheSoftwareFoundation(ASF)underoneormoreremcontributorlicenseagreements.SeetheNOTICEfiledistributedwithremthisworkforadditionalinformationregardingcopyrightownership.remTheASFlicensesthisfiletoYouundertheApacheLicense,Version2.0rem(the"License");youmaynotusethisfileexceptincompliancewithremtheLicense.YoumayobtainacopyoftheLicenseatremremhttp://www.apache.org/licenses/LICENSE-2.0remremUnlessrequiredbyapplicablelaworagreedtoinwriting,softwareremdistributedundertheLicenseisdistributedonan"ASIS"BASIS,remWITHOUTWARRANTIESORCONDITIONSOFANYKIND,eitherexpressorimplied.remSeetheLicenseforthespecificlanguagegoverningpermissionsandremlimitationsundertheLicense.if"%OS%"=="Windows_NT"setlocalrem---------------------------------------------------------------------------remStartscriptfortheCATALINAServerremrem$Id:startup.bat9087492010-02-1023:26:42Zmarkt$rem---------------------------------------------------------------------------remGuessCATALINA_HOMEifnotdefinedset"CURRENT_DIR=%cd%"ifnot"%CATALINA_HOME%"==""gotogotHomeset"CATALINA_HOME=%CURRENT_DIR%"ifexist"%CATALINA_HOME%bincatalina.bat"gotookHomecd..set"CATALINA_HOME=%cd%"cd"%CURRENT_DIR%":gotHomeifexist"%CATALINA_HOME%bincatalina.bat"gotookHomeechoTheCATALINA_HOMEenvironmentvariableisnotdefinedcorrectlyechoThisenvironmentvariableisneededtorunthisprogramgotoend:okHomeset"EXECUTABLE=%CATALINA_HOME%bincatalina.bat"remCheckthattargetexecutableexistsifexist"%EXECUTABLE%"gotookExecechoCannotfind"%EXECUTABLE%"echoThisfileisneededtorunthisprogramgotoend:okExecremGetremainingunshiftedcommandlineargumentsandsavetheminthesetCMD_LINE_ARGS=:setArgsif""%1""==""""gotodoneSetArgssetCMD_LINE_ARGS=%CMD_LINE_ARGS%%1shiftgotosetArgs:doneSetArgscall"%EXECUTABLE%"start%CMD_LINE_ARGS%:end

shutdown.bat@echooffremLicensedtotheApacheSoftwareFoundation(ASF)underoneormoreremcontributorlicenseagreements.SeetheNOTICEfiledistributedwithremthisworkforadditionalinformationregardingcopyrightownership.remTheASFlicensesthisfiletoYouundertheApacheLicense,Version2.0rem(the"License");youmaynotusethisfileexceptincompliancewithremtheLicense.YoumayobtainacopyoftheLicenseatremremhttp://www.apache.org/licenses/LICENSE-2.0remremUnlessrequiredbyapplicablelaworagreedtoinwriting,softwareremdistributedundertheLicenseisdistributedonan"ASIS"BASIS,remWITHOUTWARRANTIESORCONDITIONSOFANYKIND,eitherexpressorimplied.remSeetheLicenseforthespecificlanguagegoverningpermissionsandremlimitationsundertheLicense.if"%OS%"=="Windows_NT"setlocalrem---------------------------------------------------------------------------remStartscriptfortheCATALINAServerremrem$Id:startup.bat9087492010-02-1023:26:42Zmarkt$rem---------------------------------------------------------------------------remGuessCATALINA_HOMEifnotdefinedset"CURRENT_DIR=%cd%"ifnot"%CATALINA_HOME%"==""gotogotHomeset"CATALINA_HOME=%CURRENT_DIR%"ifexist"%CATALINA_HOME%bincatalina.bat"gotookHomecd..set"CATALINA_HOME=%cd%"cd"%CURRENT_DIR%":gotHomeifexist"%CATALINA_HOME%bincatalina.bat"gotookHomeechoTheCATALINA_HOMEenvironmentvariableisnotdefinedcorrectlyechoThisenvironmentvariableisneededtorunthisprogramgotoend:okHomeset"EXECUTABLE=%CATALINA_HOME%bincatalina.bat"remCheckthattargetexecutableexistsifexist"%EXECUTABLE%"gotookExecechoCannotfind"%EXECUTABLE%"echoThisfileisneededtorunthisprogramgotoend:okExecremGetremainingunshiftedcommandlineargumentsandsavetheminthesetCMD_LINE_ARGS=:setArgsif""%1""==""""gotodoneSetArgssetCMD_LINE_ARGS=%CMD_LINE_ARGS%%1shiftgotosetArgs:doneSetArgscall"%EXECUTABLE%"start%CMD_LINE_ARGS%:end

解决方案四:
你的tomcat如果是安装版的,那没有那几个文件的.只要启动bin目录下的tomcat6w.exe即可

时间: 2024-07-28 19:28:08

apache-tomcat-6.0.20安装完成后bin目录下没有shutdown.bat和startup.bat的相关文章

Apache Tomcat 7.0.20发布 商业品质服务器

Apache Tomcat的目标是在开放合作的的方式基于Java平台提供商业品质的服务器.(官方网址:http://tomcat.apache.org/) Apache是web服务器,可以运行在几乎所有广泛使用的计算机平台上.Apache和Tomcat是独立的,在同一台服务器上可以集成. Tomcat是java应用服务器,是一个servlet容器,是Apache的扩展.Tomcat是一个开放源代码.运行servlet和JSP Web应用软件的基于Java的Web应用软件容器.Tomcat Ser

安装MySQL后include目录下没有找到libmysql.lib_Mysql

最近在研究C++连接数据库的问题. 安装了MySQL后,在其安装目录下的include文件夹并没有找到libmysql.lib. 这个经过研究,发现是由于在安装MySQL的时候, 没有勾选 develop component这一选项 悲剧的是哥使用的是WampServer集成安装mysql, 安装过程并没有具体配置选择. 最后,只能手动安装另外的MySQL,再合并到WampServer中了.

服务器-eclipse中无法创建动态web项目,报错运行时“Apache Tomcat v7.0”是无效的

问题描述 eclipse中无法创建动态web项目,报错运行时"Apache Tomcat v7.0"是无效的 应该点哪里如何操作解决这个,在线等,谢谢! 解决方案 window-perferences-server-Runtime environment,将邮编的server run environment中的内容移除再重新添加,因为其中有指定tomcat的安装路径,这个tomcat的位置变了,这个要重新设置一下 解决方案二: 楼上说的有道理,不过我是来蹭分升级的,谢谢合作

u盘-U盘启动安装虚拟机后,拔下U盘无法启动

问题描述 U盘启动安装虚拟机后,拔下U盘无法启动 使用U盘在虚拟机中安装了Win7,但是拔下U盘后虚拟机就无法启动了.可以使用EasyBCD将启动引导改到虚拟硬盘吗? 解决方案 直接执行bcdedit /rebuild

eclipse-安装Eclipse Bundle和Jdk后再目录下找不到Eclipse

问题描述 安装Eclipse Bundle和Jdk后再目录下找不到Eclipse 安装Eclipse Bundle和Jdk后再目录下找不到Eclipse也无法启动 我在CMD里面输入java 或者java -version都可以看到配置的信息为什么就找不到eclipse 解决方案 tomcat的work目录,eclipse中的jdk设置debian下安装JDK+Eclipse+tomcat 解决方案二: 最好是把eclipse和jdk安装在一起,eclipse你不用移动它,直接点击eclipse

tomcat 6.0.20在一个机器上安装多个服务的方法_Tomcat

tomcat/bin/service.bat 这个文件就是将tomcat安装为系统服务的,参数为 Usage: service.bat install/remove [service_name] install 为安装服务 remove 为移除服务 可选的service_name是服务的名字,默认为tomcat,这个参数是关键 下面是在另一个tomcatLZZ目录下面做的配置,打开service.bat rem Guess CATALINA_HOME if not defined set CUR

完整图解 Tomcat 5.0.28 安装笔记

笔记 在开始安装之前,先准备J2SDK和TOMCAT两个软件,如果已经安装了J2SDK,就只需TOMCAT即可. 笔者使用的软件如下: Windows 2000 Advance Server + SP4 J2SDK v1.4.2_04 - http://java.sun.com/j2se/1.4.2/download.html TOMCAT v5.0.28 - http://apache.linuxforum.net/dist/jakarta/tomcat-5/v5.0.28/bin/jakar

Apache Tomcat 5.0.2x的虚拟目录配置

安装完Tomcat后,默认的是Tomcat的主页,那如何将主页即"http://127.0.0.1:8080"指向我们自己的主页面呢?这就要设置一下Tomcat的虚拟目录了. 在Tomcat的以前版本中如"Tomcat 5.0.14"及以前版本中,展开"Tomcat>conf",就可以看到一个"Server.xml"的文件,用记事本将其打开,在文档的最后部分有一个被注释的"<Context>&quo

Apache Tomcat v7.0.10发布

Tomcat是应用(java)服务器,它只是一个servlet容器,是http://www.aliyun.com/zixun/aggregation/14417.html">Apache的扩展. Apache和Tomcat都可以做为独立的web服务器来运行,但是Apache不能解释java程序(jsp,serverlet). Tomcat是一个开放源代码.运行servlet和JSP Web应用软件的基于Java的Web应用软件容器.Tomcat Server是根据servlet和JSP规范