halen Regular Contributor.
Regular Contributor.
202 views

Mobility client configuration

Jump to solution

Hi all

Can you please guide how to configure mobility client?

We are on SM 9.40. Installation package includes webapp-9.40.0009.war file. We have Tomcat and server installed on the same server. So I just copied war file to Tomcat's webapps folder and have not made changes to web.properties file. When I'm trying to access http://localhost/mobile/ess I'm getting page not found error. What else should I do to correctly configure mobility client?

0 Likes
1 Solution

Accepted Solutions
Micro Focus Expert
Micro Focus Expert

Betreff: Mobility client configuration

Jump to solution

Yes, mobility client can be tested with a browser, but only with Chrome.

We have this Knowledge Document : https://softwaresupport.softwaregrp.com/km/KM00519035

It was written for SM9.32 but should work similar for SM9.5x

content of KM00519035:
The Service Manager (SM) Mobility Client can only be tested with a Google Chrome browser.
Internet Explorer, Safari and Firefox are not supported.

In order to test the Service Manager Mobility Client, the Google Chrome browser must be used. Follow the procedure:

1. Close all browsers. Clear the Tomcat cache.
2. Open a Google Chrome browser instance
3. Right click in the page and select the 'Inspect Element' option to open the 'Developer Tools' window
4. Click on the 'Settings' icon in the bottom right hand corner of the 'Developer Tools' window (appears as a gear)
5. Select the 'Overrides' option.
6. Check 'Enable' checkbox.
7. Check the 'User Agent' check box and select a supported mobile device from the list box, e.g. 'iPhone - iOS 5'
8. Check the 'Device metrics' checkbox and check the 'Fit in window' checkbox
9. Do NOT close the 'Developer Tools' window
10. Start the Tomcat 7.0 service hosting the mobility application
11. Confirm that Service Manager 9.32 or 9.31 is started
12. Access the Mobile URL
e.g. http://localhost:8080/webapp-9.32.0005/std/login

 

In Chrome 32 version, the process to emulate a device has changed. Follow the steps to enable the mobile emulator in chrome described in following link:

https://developers.google.com/chrome-developer-tools/docs/mobile-emulation

Thank you for using the MicroFocus ServiceManager Support and News Forum. If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.
4 Replies
Micro Focus Expert
Micro Focus Expert

Betreff: Mobility client configuration

Jump to solution
The Helpserver links direct to SM9.60 but should be valid for your issue for 9.40 as well. Have you configured the JVM memory settings on the web application server? https://docs.microfocus.com/SM/9.60/Codeless/Content/mobility/concepts/before_you_start.htm Is the setting in web.properties correct ? https://docs.microfocus.com/SM/9.60/Codeless/Content/mobility/tasks/edit_configuration_files_in_war_archive.htm Is your environment supported ? Check Support matrix for 9.40 https://docs.microfocus.com/SM/9.60/Codeless/Content/mobility/tasks/install_sm_ma_client.htm
Thank you for using the MicroFocus ServiceManager Support and News Forum. If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.
0 Likes
halen Regular Contributor.
Regular Contributor.

Betreff: Mobility client configuration

Jump to solution

I'm currently trying to configure on oob environment. JVM memory settings set on minimal settings. I have not changed settings in web.properties, because everthing (app, webapp) on the same server. Is mobility version available from pc? What is correct url to enter mobility client? I have tried to access through: https://server:port/mobile/std

server - name of the server

port - which port should be? Tomcat or sm app?

mobile - is the name of mobility webapp

0 Likes
Micro Focus Expert
Micro Focus Expert

Betreff: Mobility client configuration

Jump to solution

Yes, mobility client can be tested with a browser, but only with Chrome.

We have this Knowledge Document : https://softwaresupport.softwaregrp.com/km/KM00519035

It was written for SM9.32 but should work similar for SM9.5x

content of KM00519035:
The Service Manager (SM) Mobility Client can only be tested with a Google Chrome browser.
Internet Explorer, Safari and Firefox are not supported.

In order to test the Service Manager Mobility Client, the Google Chrome browser must be used. Follow the procedure:

1. Close all browsers. Clear the Tomcat cache.
2. Open a Google Chrome browser instance
3. Right click in the page and select the 'Inspect Element' option to open the 'Developer Tools' window
4. Click on the 'Settings' icon in the bottom right hand corner of the 'Developer Tools' window (appears as a gear)
5. Select the 'Overrides' option.
6. Check 'Enable' checkbox.
7. Check the 'User Agent' check box and select a supported mobile device from the list box, e.g. 'iPhone - iOS 5'
8. Check the 'Device metrics' checkbox and check the 'Fit in window' checkbox
9. Do NOT close the 'Developer Tools' window
10. Start the Tomcat 7.0 service hosting the mobility application
11. Confirm that Service Manager 9.32 or 9.31 is started
12. Access the Mobile URL
e.g. http://localhost:8080/webapp-9.32.0005/std/login

 

In Chrome 32 version, the process to emulate a device has changed. Follow the steps to enable the mobile emulator in chrome described in following link:

https://developers.google.com/chrome-developer-tools/docs/mobile-emulation

Thank you for using the MicroFocus ServiceManager Support and News Forum. If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.
halen Regular Contributor.
Regular Contributor.

Betreff: Mobility client configuration

Jump to solution
HeikeUlshoefer, thank you very much! That was very helpful But after all attempts mobility app is not deploying and returning error: web.context.ContextLoader - Context initialization failed java.lang.IllegalArgumentException Full log in attachment. How can I resolve this error?
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.