Running Apache JAMES as a Windows Service

Apache JAMES is a Java based mail server. You can read more about JAMES here.

You may want to run JAMES as a Windows Service. Luckily, the JAMES installation includes a utility for creating the service. See steps below to use this utility.

1. Install the Windows service

a. Open a MS-DOS prompt and type

cd <james_install>\bin
wrapper -i ..\conf\wrapper.conf

The system will respond with “wrapper  | James Mail Server 2.3.2 installed.”

Note: If you get “access denied” then change the MS-DOS command to run as Administrator

a. Click Start > All Programs

b. Select “Accessories” right click on “Command Prompt” icon

c. Click the “Shortcut” tab and select “Properties”

d. Click the “Advanced” button

e. Check the box that says “Run as Administrator”.

f. Click OK and close the dialog

2. Verify the Windows service

a. In the Control Panel, verify the service exists: James Mail Server 2.3.2

b. Start the service

Removing the Windows Service

At a later time, if you’d like to remove the service, you can type:

wrapper -r ..\conf\wrapper.conf

Did you like my blog post?

Signup now and receive an email when I publish new luv2code content.

I agree to have my personal information transfered to AWeber ( more information )

I will never give away, trade or sell your email address. You can unsubscribe at any time.

1 Comment

  1. Comments  Ritu Ranjan Shrivastwa   |  Monday, 11 August 2014 at 1:01 am

    Thanks, it was a great help!! 🙂

Leave a Reply