Page 1 of 1

how I can install openKM as windows service?

PostPosted:Wed Mar 16, 2011 7:23 am
by nwarkar
Hello All,
In my application whenever I restart my server machine I need to manually restart the openKM aslo.
Is there any way using that I can do it automatically like windows service ?

Thanx in advance.

Re: how I can install openKM as windows service?

PostPosted:Thu Mar 17, 2011 9:33 am
by jllort
Can be done in several ways, on http://wiki.openkm.com/index.php/Installation_Guide at configure jboss service is explained the several ways for doing it ( this documentation is closed understanding it's for more professional installations as a part of OpenKM Network in main page of the wiki are related the terms of annual subscription to OpenKM Network).

You can try looking on google to for "install jboss service windows" you'll find a lot of information how doing it.

Re: how I can install openKM as windows service?

PostPosted:Thu Mar 17, 2011 10:33 am
by nwarkar
Hello jllort,

Thank you for your reply, But I have been gone through all the solution which tell us how to use jBoss as windows service. Now , I got succeeded in running jboss as windows service. But after doing this jboss use run.jar to start the jboss. But to change its listening mode we need -b 0.0.0.0 option to be working. But it is only possible if jboss use run.bat. because this congiguration is present there only as per my best knowledge.

So any-body has any idea how to run jboss as windows service with -b option please help me.

Re: how I can install openKM as windows service?

PostPosted:Fri Mar 18, 2011 9:12 am
by jllort
All information is on wiki, must dedicate some time to reading almost.

Take a look here http://wiki.openkm.com/index.php/Basic_ ... _knowledge at ends and modify the run.bat file with
Code: Select all
org.jboss.Main %* -b 0.0.0.0