Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Re: startup dosent work anymore since updated on xp!

FRANCOIS Dufour

2004-02-20

Replies:


well its look like this



@echo off
if "%OS%" == "Windows_NT" setlocal
rem
---------------------------------------------------------------------------
rem Start script for the CATALINA Server
rem
rem $Id: startup.bat,v 1.3.4.2 2002/01/30 18:10:40 patrickl Exp $
rem
---------------------------------------------------------------------------

rem Guess CATALINA_HOME if not defined
if not "%CATALINA_HOME%" == "" goto gotHome
set CATALINA_HOME=.
if exist "%CATALINA_HOME%\bin\catalina.bat" goto okHome
set CATALINA_HOME=..
:gotHome
if exist "%CATALINA_HOME%\bin\catalina.bat" goto okHome
echo The CATALINA_HOME environment variable is not defined correctly
echo This environment variable is needed to run this program
goto end
:okHome

set EXECUTABLE=%CATALINA_HOME%\bin\catalina.bat

rem Check that target executable exists
if exist "%EXECUTABLE%" goto okExec
echo Cannot find %EXECUTABLE%
echo This file is needed to run this program
goto end
:okExec

rem Get remaining unshifted command line arguments and save them in the
set CMD_LINE_ARGS=
:setArgs
if ""%1""=="""" goto doneSetArgs
set CMD_LINE_ARGS=%CMD_LINE_ARGS% %1
shift
goto setArgs
:doneSetArgs

call "%EXECUTABLE%" start %CMD_LINE_ARGS%

:end




francoisdufour@(protected)
administrateur http://entre-nous.qc.tc





>From: "SMaric" <stefan.maric@(protected)>
>Reply-To: "Tomcat Users List" <tomcat-user@(protected)>
>To: tomcat-user@(protected)
>Subject: Re: startup dosent work anymore since updated on xp!
>Date: Fri, 20 Feb 2004 13:12:10 -0000
>
>Try opening the bat file using Notepad
>If you see some 'un-printable' chars, then you need to
>close the file
>open it in wordpad
>save it
>close it
>
>If this is the problem
>You will need to do this for several of the bat files throughout the tomcat
>directory tree
>
>use Explorer to search for *.bat & work your way through each one
>
>
>
>
>"FRANCOIS Dufour" <francoisdufour@(protected)
>news:Law9-F94n4YbfbKDBl100013ab1@(protected)...
> > hi to all
> > sombody could help mee whit that?
> >
> > i cant use the startup.bat since updated is there a way to fix that
> > even after reinstalling it?
> > ive maded myself shortcut to start it by there and to shut it down by
> > shutdown.bat
> > dosent work anymore
> > is it a bug?
> > but the shortcut from program files still work seem strange!
> >
> > thanks for your precious time
> >
> > francoisdufour@(protected)
> > administrateur http://entre-nous.qc.tc
> >
> > _________________________________________________________________
> > MSN Messenger : discutez en direct avec vos amis !
> > http://messenger.fr.msn.ca/
>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
>For additional commands, e-mail: tomcat-user-help@(protected)
>

_________________________________________________________________
MSN Search, le moteur de recherche qui pense comme vous !
http://fr.ca.search.msn.com/


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)



©2008 junlu.com - Jax Systems, LLC, U.S.A.