MICA JPP Windows Service
Installation Procedure
- Download the zipped file containing the latest version of the installer (MICAJPPServiceInstaller_v5.5.4_04_14_2011.zip) from
- Unzip the above file. Run the MICAJPPServiceInstaller.exe with Administrator privileges.
- 2 Separate Programs will be installed. One is MICA JPP Service and the other is Service Configuration Manager. The first program is the windows service that actually sends data from JPP database to MICA. The second program is the user interface to manage the service.
Managing the MICA JPP Windows Service
The following is the screenshot of the program – ServiceConfiguration Manager that manages the MICA JPP Service. To open the program click Start → All Programs → MICA Service Manager.
The following describes the functionalities of the Service Configuration Manager in detail.
“Service Settings” Section
This section shows the current status of the MICA Windows Service. As in the above picture the “MICA Service is Stopped” and correspondingly the button next to it show “Start”. If the service is started then the status will show “MICA Service is Running” and the button will show “Stop”. By default the service interval is 10 minutes. You may change the service interval as per your need. However, the minimum recommended interval is 10 minutes. On changing the service interval click the “Save” button below the textbox.
The list view shows the names of all the Franchise databases that this service connects. Each row signifies a separate Franchise that the service connects. To add a new database settings click on the “New…” in the list view. Enter the values in the textboxes and save the settings. A context menu appears when you right click on the list view. The context menu gives you the option to delete a database setting. However, there must be at least one Franchise settings.
Note: You cannot add or edit or delete a database setting while the service is running. First you need to stop the service and then you can alter the settings.
“Franchise Code” – The is the code of the Franchise for which the setting is saved.
“Franchise Unique Code” – This is the code generated by the Service Configuration Manager and is not editable by the user.
“Description” – Any descriptive text that describes the franchise.
“Name” - The name of the log file that is generated by the service. This field is read-only. The log file name is automatically generated based on the Franchise Unique Code.
“Size” - The maximum size of the log file. The log file will be archived after exceeding the specified size.
“Path” - The folder path where the log file will be created. Click the button beside this textbox to browse and select the folder path. The application directory is the default location.
“View Log File” – Click this button to view the log file after it is generated when the service starts.
“MICA Credentials”Section
MICA login credentials are required to connect to the MICA Server. The credentials are per Franchise. When you create a new franchise, you must provide the following set of information –
“User Id” – The MICA user id.
“Password” – The MICA password.
Note: Unless and until the MICA userid/password is validated from MICA Server the Franchise settings could not be saved. Please ensure that correct information is entered in these fields.
“E-Mail Address Settings”Section
“E-Mail (From)” - If for any reason some error occurs during the running of the service then the service emails the log file generated and the error message at the “E-Mail (To)” location. This ensures that the error can be evaluated properly and a possible solution is worked out. Mention the franchise mail address instead of the dummy address -'’
“E-Mail (To)”– Locationwhere the error mails is sent. This is read-only setting.
“E-Mail (CC)” – Here you can provide other email addresses where you want to copy the error mail to. A comma should separate each mail addresses.
“SMTP Host Name”– Thehost name that is used for the mail service.
“SMTP Port” – Mention the port number if SMTP is not running on default port.
“Use SSL” – Check this box if the SMTP server requires SSL.
“E-Mail Credentials” Section
If you change the SMTP Host Name and it requires SMTP authentication then please provide the following credentials
“User Id” – Mail user id.
“Password” – Mail password.
To test the mail settings click the “Test Mail Settings” button. On clicking the button the following message box appears.
Click the “Yes” button to send a test mail to all the recipients in the mail settings.
Click the “No” button to check the mail server status
Click the “Cancel” button to cancel the message box.
Click “Save Settings” button to save the franchise settings details. The application connects to the MICA Server and validates the MICA Credentials while saving the Franchise details. If the validation of the credentials is successful then the settings will be saved and you can proceed to add the Database Details of the franchise. If the validation is unsuccessful then the Franchise Details will not be saved and you cannot proceed further.
To assign and view the Database details of each Franchise settings click the “Details Settings” button. The following screen will appear on clicking it.
The following section describes the details of the Database Settings
“Connect Database” Section
“Use DSN” – The service can connect a SOL database by two ways – First, using a System DSN. Second, by the user specified SOL Database (.mdb) path and its corresponding System Database (.mdw) path. From this option buttons you can mention the way the database is connected. If you check the “Yes” radio button then you must specify the System DSN name below as described below. If you check the “No” radio button then you must specify the Database path and the System Database path.
“System DSN Name” – Please enter the actual system DSN Name of the corresponding SOL database that you want the service to connect. This is a required field if you have selected the “Yes” in the Use DSN options.
“Database Path” – Please click the button beside this textbox to open the Open file dialog box. Navigate to the path where the database is and then select the file and click on the open button. Only .mdb files should be selected.
“System Database Path” – Please click the button beside this textbox to open the Open file dialog box. Navigate to the path where the system database file is and then select the file and click the open button. Only .mdw files should be selected.
“Test connection” – You may test the database connection setting that you have entered by clicking on this button. The test connection status is shown as a popup. The following is the screen shot.
“Service Url”– ThisURL points to the MICA gateway that the service connects to. You should not change the default URL that is set automatically at the time of installation, as any incorrect URL will render the MICA JPP Service useless.
Mica Service Un installation Procedure
Go to “Add-Remove Programs”. Uninstall the following programs –
MICA JPP Service
ServiceManagerSetUp
Page 1 of 5