+

Search Tips | Advanced Search

For up-to-date product documentation, see the IBM MobileFirst Foundation Developer Center.


Configure the endpoint of application resources (full profile)

For the WebSphere® Application Server full profile, configure the endpoint of the application resources in the environment entries of the Application Center services and the Application Center console applications. The procedure differs depending on whether you deployed WAR files or an EAR file.

Parent topic: Defining the endpoint of the application resources


If you deployed WAR files

Follow this procedure when we must change the URI protocol, host name, and port used by the mobile client to manage the applications on your device. Since IBM® Worklight® V6.0, we use JNDI environment entries.

For a complete list of JNDI properties, see JNDI properties for Application Center.


Procedure

  1. Log in to the WebSphere Application Server console.
  2. Select Applications > Application Types > WebSphere enterprise applications.
  3. Click IBM Application Center Services.
  4. In the Web Module Properties section, select Environment entries for Web modules.
  5. Assign the appropriate values for the following environment entries:

    1. For ibm.appcenter.proxy.host, assign the host name.
    2. For ibm.appcenter.proxy.port, assign the port number.
    3. For ibm.appcenter.proxy.protocol, assign the external protocol.
    4. Click OK and save the configuration.
  6. Select Applications > Application Types > WebSphere enterprise applications.
  7. Click IBM Application Center Console.
  8. In the Web Module Properties section, select Environment entries for Web modules.
  9. For ibm.appcenter.services.endpoint, assign the full URI of the Application Center REST services (the URI of the applicationcenter.war file).

    • In a scenario with a firewall or a secured reverse proxy, this URI must be the external URI and not the internal URI inside the local LAN.
    • We can use the asterisk (*) character as wildcard to specify that the Application Center REST services use the same value as the Application Center console.

    For example: *://*:*/appcenter means use the same protocol, host, and port as the Application Center console, but use appcenter as the context root.

  10. Click OK and save the configuration.


If you deployed an EAR file


Procedure

  1. Log in to the WebSphere Application Server console.
  2. Select Applications > Application Types > WebSphere enterprise applications.
  3. Click AppCenterEAR.
  4. In the Web Module Properties section, select Environment entries for Web modules.
  5. Assign the appropriate values for the following environment entries:

    1. For ibm.appcenter.proxy.host, assign the host name.
    2. For ibm.appcenter.proxy.port, assign the port number.
    3. For ibm.appcenter.proxy.protocol, assign the external protocol.
  6. For ibm.appcenter.services.endpoint, assign the full URI of the Application Center REST services (the URI of the applicationcenter.war file).

    • In a scenario with a firewall or a secured reverse proxy, this URI must be the external URI and not the internal URI inside the local LAN.
    • We can use the asterisk (*) character as wildcard to specify that the Application Center REST services use the same value as the Application Center console.

    For example: *://*:*/appcenter means use the same protocol, host, and port as the Application Center console, but use appcenter as the context root.

  7. Click OK and save the configuration.