Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Warning => FOR ALL TOMCAT USERS! MUST READ THIS  RSS feed

 
Altaf Raja
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi, i had modified the startup.bat for tomcat 3.1 version
remember!
i have modified the page!
but my page doesnt reflect, etc
things like tht!
well, with this new startup.bat
u need not worry again;
coz it cleans the work folder everytime u start the tomca

enjoy!!!
cut and paste ur existing startup.bat with this ...
**************
@echo off
rem $Id: startup.bat,v 1.7 2000/03/31 19:40:02 craigmc
rem Startup batch file for tomcat servner.
rem This batch file written and tested under Windows N
rem Improvements to this file are welcome

if not "%TOMCAT_HOME%" == "" goto start
SET TOMCAT_HOME=.
if exist %TOMCAT_HOME%\ work goto delwork:
if exist %TOMCAT_HOME%\bin\tomcat.bat goto star
SET TOMCAT_HOME=..
if exist %TOMCAT_HOME%\bin\tomcat.bat goto star
SET TOMCAT_HOME=
echo Unable to determine the value of TOMCAT_HOME
goto eof
:start
call %TOMCAT_HOME%\bin\tomcat start %1 %2
:eof
:delwork
deltree /Y %TOMCAT_HOME%\work
***************
------------------

------------------
 
Rohit Ahuja
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone from javaranch.certify that this work will not in anyway cause any harm to my jakarta-tomcat server.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!