Solved

Making a java application as a windows service

Posted on 2006-10-26
11
189 Views
Last Modified: 2010-08-05
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?
0
Comment
Question by:paramu83
  • 4
  • 4
11 Comments
 
LVL 10

Expert Comment

by:mbvvsatish
ID: 17810064
0
 

Author Comment

by:paramu83
ID: 17810071
I have used this only, after registering as service , it is not getting started
0
 
LVL 10

Expert Comment

by:mbvvsatish
ID: 17810078
try the steps given in the borland url given above
http://bdn.borland.com/article/32068
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:paramu83
ID: 17810605
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
 
LVL 10

Expert Comment

by:mbvvsatish
ID: 17810632
which version of java service wrapper are you using?
what is the version of your jdk?
0
 

Author Comment

by:paramu83
ID: 17811487
wrapper_win32_ 3.0.5
 and jdk1.5.0_06
0
 
LVL 10

Accepted Solution

by:
mbvvsatish earned 100 total points
ID: 17811541
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
 

Author Comment

by:paramu83
ID: 17818347
Can any one confirm whether java service wrapper supports jdk1.5 or not
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
ejb entity bean example 2 31
Notify sent to other threads in Java 9 41
Fast way to search item into Java Array (Rhino compatible) 2 37
Coding for the first time 9 62
By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question