EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

KB245645: “java.net.UnknownHostException” “Name or service not known” error messages appear on MSTRLogs log files when using Mobile app on iPad


Community Admin

• Strategy


This technical note is regarding how to deal with “java.net.UnknownHostException” “Name or service not known” error messages appear on MSTRLogs log files.

SYMPTOM:
When using the Mobile app on iPad, the MSTRLogs log files (MSTRLogMMDDYYYY.log) in Web or Mobile may record an error such as the one below:
Sample Code/Error


java.net.UnknownHostException
Name or service not known

CAUSE:
Some enterprise environments do not allocate DNS names to their mobile devices - that results in an UnknownHostException, often after a lengthy DNS lookup attempt.
ACTION:
Given that the application is working fine and the message is only seen in the logs, the first suggestion is to ignore the message.
WORKAROUND:
There is a means to suppress this lookup - the application server needs to be started with the following Java configuration parameter:
KB44758: How to disable reverse DNS look up for MicroStrategy Web 9.3.1 on a Tomcat 7.0 or WebSphere 8.5 Application Servers
NOTE:
The lookup is used by the Enterprise Analysis module for collating statistics about the client and to identify the mobile device it sends its IP address to the mobile server. Disabling this lookup will of course mean Enterprise Analysis module statistics involving any client will not be accurate.
 


Comment

0 comments

Details

Knowledge Article

Published:

April 5, 2017

Last Updated:

April 5, 2017