Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Urgent! Hide Tomcat console and run it in NT services

 
Anson Ding
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Greetings!
Urgent! I working on project using the JSP with Tomcat. There are serverals things I would like to know :
1. How to hide or minimize the Tomcat console/ Dos-prompt?
2. How to create console/ Dos-prompt run in System tray?
3. How to make the Tomcat console/ Dos-prompt run in the NT services instead of run and show in desktop?
Please give me some guidance or tips for me. The example code or helpful link are appreciated. Thank you!
Regards,
Anson
 
gautham kasinath
Ranch Hand
Posts: 583
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Anson Ding:
Greetings!
Urgent! I working on project using the JSP with Tomcat. There are serverals things I would like to know :
1. How to hide or minimize the Tomcat console/ Dos-prompt?
- Use javaw to run the class instead of java.
2. How to create console/ Dos-prompt run in System tray?
- Search google for desktop indicator, there are third party tools, programs that will help.
hints :
1) http://www.amherst.edu/~tliron/jni/DesktopIndicator/DesktopIndicator.html
2) http://jockey.sourceforge.net/api/com/resilientedge/jockey/util/tooltray/DesktopIndicator.html
3. How to make the Tomcat console/ Dos-prompt run in the NT services instead of run and show in desktop?
Hints :
1) http://www.ddj.com/documents/s=887/ddj0003l/0003l.htm
2) http://members.tripod.com/%7Ehkseth/nt.html

I hope that helps.
Regds
Lupo
 
Rene Larsen
Ranch Hand
Posts: 1179
Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
read this post: http://www.coderanch.com/t/81928/Tomcat/Tomcat-as-service
Rene
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic