Making a java application as a windows service

I am trying to register a java application as a windows service, it is getting registered also but  when I try to start the service I am getting the following error :

The service on  the local computer started and stopped.Some services stop automatically if they have no work to do.

What could be the reason for this?
paramu83Asked:
Who is Participating?
 
mbvvsatishConnect With a Mentor Commented:
As per my knowledge java service wrapper only supports jdk1.4.2.  I am not sure whether it supports jdk1.5.

download the latest version of java wrapper 3.2.3 for windows and try it.
http://sourceforge.net/project/showfiles.php?group_id=39428&package_id=31591

following is the troubleshooting url, which might help you.
http://wrapper.tanukisoftware.org/doc/english/troubleshooting.html
0
 
paramu83Author Commented:
I have used this only, after registering as service , it is not getting started
0
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
mbvvsatishCommented:
try the steps given in the borland url given above
http://bdn.borland.com/article/32068
0
 
paramu83Author Commented:
In the services window I can see my service getting registered but the problem is when I try to start the same it is giving the error that i mentioned above.
0
 
mbvvsatishCommented:
which version of java service wrapper are you using?
what is the version of your jdk?
0
 
paramu83Author Commented:
wrapper_win32_ 3.0.5
 and jdk1.5.0_06
0
 
paramu83Author Commented:
Can any one confirm whether java service wrapper supports jdk1.5 or not
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.