Page 1 of 1

Running as a Service

PostPosted:Fri Sep 03, 2010 4:47 pm
by paulwesson
using: Windows Server 2003 SP2 64-bit.

I have followed the instructions to run OpenKM as a service, using option 1 (JBoss Native for Windows)

http://community.jboss.org/wiki/RunJBos ... eOnWindows

The service installs fine but when I try to start it, I get the following:

"The jBoss service on Local Computer started and then stopped. Some services stop automatically if they have no work to do, for example, the Performance Logs and Alerts service."

I even stripped the proper code out of the service.bat file and hardcoded it in another bat file, which I then executed.

Code: Select all
jbosssvc.exe -imwdc OpenKM "C:\OpenKM-4.1_JBoss-4.2.3.GA\bin" "jBoss" "jBoss" service.bat
[/b]

Anyone else have this difficulty getting OpenKM running as a service?

I should note, my "run.bat" works perfectly when run from the command prompt.

Thanks
Paul

Re: Running as a Service

PostPosted:Mon Sep 06, 2010 10:02 am
by jllort
Wellcome to the Windows show, 24h granted diversion.

I don't know the reason but not in all Windows servers jboss native libraries runs, reason ? I ignore could be a service pack problem, windows version problem, etc...

With this method http://download.forge.objectweb.org/javaservice/ always runs well in all Windows versions I installed, it's not so much trivial as jboss native, but it runs sure.