Solved

Making a java application as a windows service

Posted on 2006-10-26
11
191 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

 

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

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
Suggested Courses

624 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