Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Making a java application as a windows service

Posted on 2006-10-26
11
Medium Priority
?
194 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
 

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
Industry Leaders: 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 400 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
In this post we will learn different types of Android Layout and some basics of an Android App.
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
Suggested Courses

886 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