Running jBilling as Windows Service on Windows Server 2003
Posted by: Allan Lee Mesina on Dec 14, 2008
jBilling is an opensource online billing solution, created by Enterprise jBilling Software Ltd
Important: To support the jbilling developers, they are selling a complete user manual and online documentation here.The install documentation is pretty straight forward. The main purpose of publishing this guide is to add to the already posted how-to's on running jbilling as a windows service. There is a documentation here and a few forum topics on how to implement the service but the steps are incomplete.
Now lets get this service installed.
We are assuming that you already have jbilling installed and running. If not, follow the installation guide located here.
1. Download and install the Windows Server 2003 Resource Kit.
2. Using Notepad or any other text editor, create a new file named Autoexnt.bat, then type the following in the first line:
START c:\jbilling\bin\run.bat
3. Save this file as Autoexnt.bat in the C:\Windows\System32\ directory
4. Copy Autoexnt.exe, Servmess.dll, and Instexnt.exe to the C:\Windows\System32 directory. These files are located in the Resource Kit Install directory (C:\Program Files\Windows Resource Kits\Tools).
5. At a command prompt, type instexnt install, and then press ENTER.
You will receive the following message:
CreateService AutoExNT SUCCESS with InterActive Flag turned OFF6. Configure the service to run at startup
-
Click Start, point to Programs, point to Administrative Tools, and then click Computer Management.
-
Double-click the Services and Applications branch to expand it, and then click Services.
-
Double-click the AutoExNT service, click Automatic in the Startup type box, and then click OK.
Additional resources:
Microsoft - How to Run a Batch File Before Logging on to Your Computer




