Configure WebSphere Application Server for Application Center manually
To configure WebSphere Application Server for Application Center manually, configure variables, custom properties, and class loader policies.
These instructions assume that a stand-alone profile exists and that the application server is using the default ports.
- Log on to the WebSphere Application Server administration console for the MPF Server.
The address is of the form http://server.com:9060/ibm/console, where server is the name of the server.
- Enable application security.
See Enable security.
- Click Security > Global Security.
- Ensure that Enable administrative security is selected. Application security can be enabled only if administrative security is enabled.
- Ensure that Enable application security is selected.
- Click OK.
- Save the changes.
- Create the Application Center JDBC data source and provider.
See the instructions in the appropriate subsection in Manual installation of Application Center.
- Install the Application Center console WAR file.
- Depending on the version of WebSphere Application Server, click one of the following options:
- Applications > New > New Enterprise Application
- Applications > New Application > New Enterprise Application
- Navigate to the MobileFirst Server installation directory MF_HOME/ApplicationCenter/console.
- Select appcenterconsole.war, and then click Next.
- On the How do to install the application? page, click Detailed, and then click Next.
- On the Application Security Warnings page, click Continue.
- Click Next until you reach the "Map context roots for web modules" page.
- In the Context Root field, type /appcenterconsole.
- Click Next.
- Click Finish.
- Configure the class loader policies and then start the application:
- Click the Manage Applications link, or click Applications > WebSphere Enterprise Applications.
- From the list of applications, click appcenterconsole_war.
- In the Detail Properties section, click the Class loading and update detection link.
- In the Class loader order pane, click Classes loaded with local class loader first (parent last).
- Click OK.
- In the Modules section, click Manage Modules.
- From the list of modules, click ApplicationCenterConsole.
- In the Class loader order pane, click Classes loaded with local class loader first (parent last).
- Click OK twice.
- Click Save.
- Click Select for appcenterconsole_war and click Start.
- Repeat step 4, selecting applicationcenter.war in substep c, and using a Context Root of /applicationcenter in substep g.
- Repeat step 5, selecting applicationcenter.war from the list of applications in substep b.
- Review the server class loader policy: Click Servers > Server Types > Application Servers and then select the server.
- If the class loader policy is set to Multiple, do nothing.
- If the class loader policy is set to Single and the class loading mode is set to parent-last, do nothing.
- If the class loader policy is set to Single and the class loading mode is set to parent-first, change the class loader policy to Multiple, and set the class loader order of all applications other than MobileFirst applications to parent-first.
- Configure a JNDI environment entry to indicate the directory with binary files of the aapt program, from the Android SDK platform-tools package.
For a stand-alone server...
For WAS ND...
- Click Applications > WebSphere enterprise applications.
- From the list of applications, select applicationcenter_war.
- In the Web Module Properties section, select Environment entries for Web modules.
- To the variable android.aapt.dir assign the value MF_HOME/ApplicationCenter/tools/android-sdk, where MF_HOME is the MobileFirst Server installation directory.
- Copy the MF_HOME/ApplicationCenter/tools/android-sdk directory to a location in the config directory of the deployment manager profile. This path is propagated to the servers through the file synchronization service;
For example: wasnd_install_dir/profiles/Dmgr01/config/cells/mycell/clusters/cluster-name/android-sdk.
- Configure the environment entry android.aapt.dir with value ${USER_INSTALL_ROOT}/config/cells/mycell/clusters/cluster-name/android-sdk.
The USER_INSTALL_ROOT placeholder represents the WebSphere variable that refers to the absolute path of the directory for WAS profiles.
- Click System administration > Nodes, select the nodes, and click Full Synchronize.
Results
We can now access the Application Center at http://server:port/appcenterconsole, where server is the host name of the server and port is the port number (by default 9080).
What to do next
For more steps to configure the Application Center, see Configure WAS full profile.
Parent topic: Deploy Application Center WAR files manually