Solved

Making a java application as a windows service

Posted on 2006-10-26
11
187 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
groupSum6 challenge 6 76
Modeling a class in java 5 47
Java SE 8u111  Lot of stuff broke 11 54
varialbe initialization 11 30
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…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

912 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

19 Experts available now in Live!

Get 1:1 Help Now