File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to hide the Tomcat console

 
Balaji Londhe
Ranch Hand
Posts: 100
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I'm developing a web application using Tomcat. I want Tomact to run as background service(hide the Console). Is there Any option?


Thanks in advance.
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can install tomcat as a service or use catalina.bat start
 
Balaji Londhe
Ranch Hand
Posts: 100
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks,

I tried 'Catalina.bat start' command from the windows command prompt, but it opens the new console window instead of hiding it...

How can I install the Tomcat as service, please?
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The easiest thing to do, is to download the ".exe" version of Tomcat.

Installing this way is the same as any other windows program.
You double click on the exe and a wizard takes you through the process.
One of the options will be to install as a Windows service.
This will also give you start menu items, including a Tomcat configuration tool that can be used to change things like the JVM and heap size.

When installed this way, Tomcat will redirect all the logging that was going to your console to the log files under Tomcat/logs.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic