Steps to run the User Application as a Windows Service

  • 7002471
  • 27-Jan-2009
  • 27-Apr-2012


Novell Identity Manager User Application 3.5.1
Novell Identity Manager User Application 3.6.0
Novell Identity Manager User Application 3.6.1


How to run the User Application as a windows service.


1.Download the wrapper tool from the link

2.Extract the file to a folder named wrapper

3.Set the JAVA_HOME and JBOSS_HOME System Environment variables on your Windows Machine

**Note, the java wants to point to the JAVA you are using to run JBoss with if you were starting it manually**
JAVA_HOME C:\IDM351\idm\jre\bin
JBOSS_HOME C:\IDM351\idm\jboss

4.Set your JAVA path in system path

5.Copy the file, and   \jBoss\bin (i.e.: C:\IDM351\idm\jboss\bin)
6.Rename those 3 copied files to remove the .in extension so that it can run as a batch file.
i.e.: :- rename App.bat
(They are already re-named in the attached zip)

7. Copy the wrapper.exe into the \jboss\bin directory (i.e.: C:\IDM351\idm\jboss\bin)

8.Copy the wrapper.dll and wrapper.jar file to JBOSS_HOME\lib (i.e.: C:\IDM351\idm\jboss\lib)

9.Create a folder named 'conf'  under JBOSS_HOME  (i.e.: C:\IDM351\idm\jboss\conf)

10.Create a configuration file called wrapper.conf inside newly created conf directory (below is an example from my environment)

11.For a  our IDM UserApp the wrapper.conf file looks like this

**Note, the java wants to point to the JAVA you are using to run JBoss with if you were starting it manually**\IDM351\idm\jre\bin\java\IDM351\idm\jboss\lib\wrapper.jar\IDM351\idm\jre\lib\tools.jar\IDM351\idm\jboss\bin\run.jar\IDM351\idm\jboss\lib\endorsed\xalan.jar\IDM351\idm\jboss\lib IDM -b
wrapper.ntservice.displayname=JBoss Server

     You can change the values according to your system settings.

After setting the above, run the file Jboss/bin/InstallApp-NT.bat to load the jboss service.
Now you can get jboss service on service panel (services.msc)

To run the service you can give the following command

c:\net start jboss service

To stop it from a command line:

c:\net stop jboss

To get the dependency on the MySQL service:

    Please look at the following URL:


To install MySQL as a service run:

C:\> "C:\Novell\idm\mysql\bin\mysqld-nt"--install MySQL --defaults-file=C:\Novell\idm\mysql\my.ini

Now you can get MySQL service on service panel (services.msc)

Please pay attention to the comments at the bottom of the page.