- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-22-2018 03:24 AM
I am unable to install mid server, On my home laptop I have servicenow instance for practice, I have created a mid server user "miduser" and pwd "miduser123". when i am clicking on Jakarta mid server installer then it is asking the URL,mid server user id/pwd. I have provided it but when clicking on test it is giving below error on cmd.
INFO: starting InstallerUI
Logger for 'glide' has not been configured by the container, configuring now:
Configuring log handler: java.util.logging.FileHandler
Setting useParentHandlers=false for Logger 'glide'
Overriding formatter to: com.glide.util.DefaultLogFormatter (for handler: java.util.logging.FileHandler)
- Required credentials not available for BASIC <any realm>@37104.service-now.com:443
- Preemptive authentication requested but no default credentials available
As per mid_installer.log:
Jan 22, 2018 4:51:49 PM com.glide.util.GlidePropertiesLoader loadPropertyFile
INFO: Loading properties file: C:\midserver\agent\.\properties\glide.properties
Jan 22, 2018 4:51:52 PM com.service_now.mid.installer.OutputHandler error
SEVERE: User cannot be authenticated or is missing the proper roles. If you have deleted or changed the MID server keystore, and config.xml mid.instance.password value is encrypted, you may need to change this value to plain text (during MID startup, password is re-encrypted using current keystore and written back to mid.instance.password).
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-22-2018 08:20 PM
Hey Ajeet,
Once Refer The process how to install mid-server from below docs, might be helpful to you:
This MID Server installer automates the installation of a MID Server on a Windows computer.
Before you begin
Role required: admin or mid_server
About this task
You can install one or more MID Servers on a supported Windows computer. Click this link to view the installation video:
Procedure
- Log in to the Windows host machine where you want to install the MID Server.
- Create a folder for the MID Server on the top level of the drive such as ServiceNow\MID Server1.
- Download the MID archive file into the new folder.
- Right-click the archive and select Extract All.
- Navigate to the \agent folder that was created when the file was extracted.
- Change directories to the service-now\mid server name\agent folder, and enter the following command to start the MID Server installer: installer.bat.To configure the MID Server manually, skip to Step 12.
The system opens the MID Server installer.
- Use the installer to enter the following information.
- URL to your instance
- User credentials to run the MID Server
- Proxy server connection details
- MID server name
- MID server service name
Note: The MID Server user must have the mid_server role.
- From the installer, click Start MID Server.
The local host starts the MID Server.
- Click Mid Servers List Page.The installer opens the MID Server list from your instance.
- Select the MID Server name from the list.
Note: It may take a few seconds for the MID Server time to establish a connection with your instance.
The system displays the MID Server record. - From Related Links, click Validate.The MID Server Validated changes to Yes.
- To configure the MID Server manually, edit the config.xml file with a text editor such as WordPad:
- Find the element <parameter name="url" value="https://YOUR_INSTANCE.service-now.com" /> element and change the value to the URL of your instance.
- Enter the MID user credentials in the mid.instance.username and mid.instance.password parameters.By default, the MID Server, uses basic authentication for SOAP messages. The password value is also encrypted authentication.
- (Optional) Find the <parameter name="name" value="YOUR_MIDSERVER_NAME_GOES_HERE" /> element and change the value for the MID Server name.
- (Optional) Enter connection information for the proxy server. Remove the appropriate comment tags from the proxy configuration information.For example, you can configure these parameters:
- mid.proxy.use_proxy
- mid.proxy.host
- mid.proxy.port
- mid.proxy.username
- mid.proxy.password
- If you configured the MID Server manually, finalize the configuration as follows:
- Execute the batch file start.bat.The system starts the new MID Server.
- Log into the instance.
- Navigate to MID Servers > Servers.The system displays a list of MID Server records.
- Select the record matching your new MID Server and verify that the Status is listed as Up.
What to do next See the following:
- Download the MID Server files
- Create the MID Server user and grant the role
- Test MID Server connectivity
- Post installation MID Server administration
Thanks,
Rajashekhar Mushke
Rising star : 2022 - 2024
Community Leader -2018
Connect me on LinkedIn : Rajashekhar Mushke
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-22-2018 03:29 AM
Hey Ajeet,
are you trying to install Mid-Server with admin role?
Thanks,
Rajashekhar Mushke
Rising star : 2022 - 2024
Community Leader -2018
Connect me on LinkedIn : Rajashekhar Mushke
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-22-2018 03:31 AM
The below message saying that don't have the required credentials:
INFO: starting InstallerUI
Logger for 'glide' has not been configured by the container, configuring now:
Configuring log handler: java.util.logging.FileHandler
Setting useParentHandlers=false for Logger 'glide'
Overriding formatter to: com.glide.util.DefaultLogFormatter (for handler: java.util.logging.FileHandler)
- Required credentials not available for BASIC <any realm>@37104.service-now.com:443
- Preemptive authentication requested but no default credentials available
Thanks,
Rajashekhar Mushke
Rising star : 2022 - 2024
Community Leader -2018
Connect me on LinkedIn : Rajashekhar Mushke

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-22-2018 03:44 AM
Hi Ajeet,
Make sure user name and password is properly entered in mid server config file.
Also that user should have mid server role in service now.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-22-2018 11:45 PM
Thanks Ashutosh for your time and help.
Yesterday, I tried everything you provided but i am not sure why i was getting the error.
Today, I removed everything and again tried, now I am able to install it without any error.
Thanks, have a nice day.