|
From: tweety123 <the...@ya...> - 2006-08-09 06:56:39
|
Hi,
I run my App in Eclipse IDE. My App is in a package called Test & the dir
structure is like this:
D:\eclipse\workspace\Workspace1\Test\Test
where the first 'Test' is the project name & the second 'Test' is the
package name. Following the instructions in the page ("
http://wrapper.tanukisoftware.org/doc/english/launch-win.html ") 'Launching
your application (Win32)' , I created a 'bin' dir under the 'Test' package
dir. Then I copied the files App.bat, InstallApp-NT.bat, UninstallApp-NT.bat
& wrapper.exe to this 'bin' dir. After that, as said in the page, I replaced
the word 'App' in the names of the batch files to 'JSWrapper' (where
JSWrapper is the name of my class that implements WrapperListener). I also
created a conf dir under 'Test' package dir & put 'wrapper.conf' in it. I
haven't done any changes to this conf file. Also, in the JSWrapper class
(which implements WrapperListener), I've implemented the 'start()', 'stop()'
& 'controlEvent()' classes. Is this all I need to do to use JSWrapper to run
the java program as a service or is there more to it? I ran the JSWrapper
application using eclipse & also ran 'InstallApp-NT.bat'. Am able to see
'Test Wrapper Application' service running, but am unable to start it. Am I
doing things right? Please guide me.
Thanks.
--
View this message in context: http://www.nabble.com/Wrapper-service-is-not-being-listed-in-the-list-of-services-tf2072176.html#a5720805
Sent from the Java Service Wrapper forum at Nabble.com.
|