人们。
有人可以帮忙解决这个...
Tomcat通过运行启动后startup.bat- 需要停止它但得到:
c:\Opt\tomcat_8080\bin>shutdown.bat
Using CATALINA_BASE: c:\Opt\tomcat_8080
Using CATALINA_HOME: c:\Opt\tomcat_8080
Using CATALINA_TMPDIR: c:\Opt\tomcat_8080\temp
Using JRE_HOME: C:\Opt\jdk1.6.0_32x64\jre
Using CLASSPATH: c:\Opt\tomcat_8080\bin\bootstrap.jar
The process cannot access the file because it is being used by another process.
我不能使用taskkill- 因为进程很少java.exe- 所以我不能PID只是Tomcat......只需手动杀死它Process Explorer- 但需要从将从TeamCity服务器调用的脚本自动执行它。
操作系统 - Windows 7, Tomcat 5.5.36.