• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

tomcat window does not disappear

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I have recently installed tomcat 5 and would like the dos window to disappear, anybody know how to make it disapper?

Cheers,

John
 
Author
Posts: 531
Mac OS X Netbeans IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
Tomcat Run as a Windows service in background (old version does open a window)
and just show an indicator in systm try.
goto : Tomcat_home/bin/tomcat5w.exe is the service starter and does not open any window.
Tomcat_home/bin/tomcat5.exe open that does window which let you see all out messages.
can u tell me which version of tomcat u use ? 5.0 or 5.5.x ?
because all new version has the service starter within the installer.

Hope it helps .
 
john gartree
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
HI,

Thank you for replying. I am using 5.0.19. Tomcat.exe and tomcatw.exe do not appear to do anything accept a very quick flash on the screen. I never used an installer. I downloaded this file, "jakarta-tomcat-5.0.19.zip" and set the environment. I just do not like the fact that the window remains open.

Thanks again for your help.

Kind regards,

John
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you are getting just a quick flash and Tomcat does not start, probably something is wrong with an environment variable.
In general, to get Java programs to run without a command window showing, you execute with javaw instead of java.
If you are starting Tomcat with startup.bat or catalina.bat, it looks like you should be able to start without a window by replacing the uses of the environment variable _RUNJAVA with _RUNJAVAW everywhere it appears. See the batch file setclasspath.bat in /bin directory for where this environment variable gets set.
Bill
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic