We have gone through about James server in previous post. In this post, we'll see how we can configure Apache James as windows service.
After putting Apache James at specified location, you can start James using run.bat (location: apache-james3.0\bin\run.bat). Run.bat file will start the James server but will not configure it as windows service.
In order to configure Apache James follow below mentioned steps:
a. Place Apache James at specified location. Example in C:\
b. Open Command Prompt.
c. Navigate to apache-james\bin folder.
d. In bin folder, you will find a wrapper-windows-x86-32.exe file. Now execute below command in command prompt.
This command will configure Apache James as windows service. Now when you check the windows services (start > run > services.msc), you will find James in Services List.
This process will only configure James a windows service but it will not start James. To start James, you will find "start" link in left side. Click Start to start James Server.
Enjoy James as windows service. :)
After putting Apache James at specified location, you can start James using run.bat (location: apache-james3.0\bin\run.bat). Run.bat file will start the James server but will not configure it as windows service.
In order to configure Apache James follow below mentioned steps:
a. Place Apache James at specified location. Example in C:\
b. Open Command Prompt.
c. Navigate to apache-james\bin folder.
d. In bin folder, you will find a wrapper-windows-x86-32.exe file. Now execute below command in command prompt.
wrapper-windows-x86-32.exe -i ..\conf\wrapper.conf
This command will configure Apache James as windows service. Now when you check the windows services (start > run > services.msc), you will find James in Services List.
This process will only configure James a windows service but it will not start James. To start James, you will find "start" link in left side. Click Start to start James Server.
Enjoy James as windows service. :)
Thank you! This was very helpful.
ReplyDelete