Solved

Making a java application as a windows service

Posted on 2006-10-26
11
186 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
 

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
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 
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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

For customizing the look of your lightweight component and making it look lucid like it was made of glass. Or: how to make your component more Apple-ish ;) This tip assumes your component to be of rectangular shape and completely opaque. (COD…
An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
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 …
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…

708 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now