File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes General Computing and the fly likes Reg. How to execute a thread based java program as a Windows Service to get a system tray icon Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » General Computing
Bookmark "Reg. How to execute a thread based java program as a Windows Service to get a system tray icon" Watch "Reg. How to execute a thread based java program as a Windows Service to get a system tray icon" New topic
Author

Reg. How to execute a thread based java program as a Windows Service to get a system tray icon

jude paulraj
Greenhorn

Joined: Oct 24, 2010
Posts: 2
Hi all,
I try to execute a java program as a windows service to place a system icon.
i have used javaservice wrapper (wrapper_win32_3.0.5) to make it happen. As a result it creates a services,
When i try to start the service it shows the below mentioned info.

The VisionApp Sample Application service on Local Computer started and then stopped. Some services stop automatically if they have no work to do, for example, the Performance Logs and Alerts service

Suugest me to start the service to get an icon in the system tray.
Expecting valuable suggestions.


Regards,
Jude
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5772
    
    7

What does your Java program do? Apparently, when Java Service Wrapper started your Java app, your Java app apparently exited.


JBoss In Action
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Reg. How to execute a thread based java program as a Windows Service to get a system tray icon
 
Similar Threads
how can we write memory resident program
Problems restarting Apache Tomcat After initital Installation
minimize to system tray on Win NT
Java Swing/Awt tray application as windows service in windows Vista/Windows7
Tomcat service stops automatically and gives the following errors in log files when try to start it