You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Mark Liu <ma...@yahoo.com> on 2003/05/18 17:27:57 UTC

Re: Try this (Was: A challenging question for Tomcat gurus)-Woks!

Sorry, it does work.  You probably wanna set
JAVAW_HOME, too.

Change every java to javaw and every JAVA to JAVAW in
catalina.bat

--- Mark Liu <ma...@yahoo.com> wrote:
> It seems to me that chaning java to javaw won't
> work. 
> True, you won't have the hanging cmd.exe window, but
> did you guys check out http://localhost:8080?  The
> server is not running!
> 
> --- Sriram N <sr...@yahoo.com> wrote:
> > Hi,
> > 
> > I'm on the move right now, and have not tried out
> > the following:
> > 
> > Locate the following section:
> > ---
> > 
> > rem ----- Prepare Appropriate Java Execution
> > Commands -------------------------
> > 
> > if not "%OS%" == "Windows_NT" goto noTitle
> > set _STARTJAVA=start "Catalina"
> > "%JAVA_HOME%\bin\java"
> > set _RUNJAVA="%JAVA_HOME%\bin\java"
> > goto gotTitle
> > :noTitle
> > set _STARTJAVA=start "%JAVA_HOME%\bin\java"
> > set _RUNJAVA="%JAVA_HOME%\bin\java"
> > :gotTitle
> > ---
> > 
> > Here, replace "%JAVA_HOME%\bin\java" with
> > "%JAVA_HOME%\bin\javaw"
> > 
> > -- Sriram
> > 
> > 
> > --- Dale Frye <da...@greatsky.us> wrote:
> > > I just verified that this works in Windows ME.
> It
> > should also work 
> > > elsewhere.
> > > 
> > > 
> > > In CATALINA.BAT find: (It's near the end)
> > > -----------------
> > > :doStart
> > > shift
> > > if not "%OS%" == "Windows_NT" goto noTitle
> > > set _EXECJAVA=start "Tomcat" %_RUNJAVA%
> > > goto gotTitle
> > > :noTitle
> > > set _EXECJAVA=start %_RUNJAVA%
> > > :gotTitle
> > > -----------------
> > > Change the %_RUNJAVA% to %_RUNJAVAW%
> > > 
> > > Dale Frye
> > > 
> > > Sriram N wrote:
> > > 
> > > >You could try editing the startup.bat file, and
> > replace "java" with "javaw"
> > > >
> > > >-- Sriram
> > > >
> > > >  
> > > >
> > > >>----- Original Message ----- 
> > > >>From: "Mark Liu" <ma...@yahoo.com>
> > > >>To: "Tomcat Users List"
> > <to...@jakarta.apache.org>
> > > >>Sent: Saturday, May 17, 2003 3:07 PM
> > > >>Subject: A challenging question for Tomcat
> gurus
> > > >>
> > > >>
> > > >>    
> > > >>
> > > >>>I run Tomcat 4.1.24 on my Win2K System.
> > > >>>
> > > >>>I want to suppress tomcat startup dos window.
> > > >>>
> > > >>>I know that I can do this if I install tomcat
> > as a
> > > >>>Win2K or WinNT service.
> > > >>>
> > > >>>But question is: If I do NOT install tomcat
> as
> > a Win2K
> > > >>>service, and wish to start up tomcat from the
> > command
> > > >>>line like C:\tomcat4.1.24\bin\startup, how
> can
> > I
> > > >>>suppress the annoying startup dos window?
> > > >>>
> > > >>>Don't ask me to keep the dos window for
> > debugging.  My
> > > >>>web application is done, and it works fine. 
> I
> > don't
> > > >>>need any more debugging.
> > > >>>
> > > >>>In Unix, we can send the startup output to
> > something
> > > >>>else, say nohup.out, do we have similar DOS
> > command
> > > >>>that does the same?
> > > >>>
> > > >>>Thanks
> > > >>>
> > > >>>__________________________________
> > > >>>Do you Yahoo!?
> > > >>>The New Yahoo! Search - Faster. Easier.
> Bingo.
> > > >>>http://search.yahoo.com
> > > >>>
> > >
> >
>
>>>---------------------------------------------------------------------
> > > >>>To unsubscribe, e-mail:
> > tomcat-user-unsubscribe@jakarta.apache.org
> > > >>>For additional commands, e-mail:
> > tomcat-user-help@jakarta.apache.org
> > > >>>
> > > >>>
> > > >>>      
> > > >>>
> > > >>
> > >
> >
>
>>---------------------------------------------------------------------
> > > >>To unsubscribe, e-mail:
> > tomcat-user-unsubscribe@jakarta.apache.org
> > > >>For additional commands, e-mail:
> > tomcat-user-help@jakarta.apache.org
> > > >>
> > > >>    
> > > >>
> > > >
> > > >
> > > >__________________________________
> > > >Do you Yahoo!?
> > > >The New Yahoo! Search - Faster. Easier. Bingo.
> > > >http://search.yahoo.com
> > > >
> > >
> >
>
>---------------------------------------------------------------------
> > > >To unsubscribe, e-mail:
> > tomcat-user-unsubscribe@jakarta.apache.org
> > > >For additional commands, e-mail:
> > tomcat-user-help@jakarta.apache.org
> > > >
> > > >
> > > >  
> > > >
> > > 
> > > 
> > > 
> > >
> >
>
---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> > tomcat-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail:
> > tomcat-user-help@jakarta.apache.org
> > > 
> > 
> > 
> > __________________________________
> > Do you Yahoo!?
> > The New Yahoo! Search - Faster. Easier. Bingo.
> > http://search.yahoo.com
> > 
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail:
> > tomcat-user-help@jakarta.apache.org
> > 
> 
> 
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Search - Faster. Easier. Bingo.
> http://search.yahoo.com
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> tomcat-user-help@jakarta.apache.org
> 


__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org