IBM BPM, V8.0.1, All platforms > Install IBM BPM > IBM BPM Advanced for z/OS: Process Server > Configure IBM BPM Advanced for z/OS: Process Server > Configure components > Configure additional components > Configure Process Portal > Configure the Business Space component for Process Portal
Configure the Business Space Ajax proxy
You might want to modify the Business Space Ajax proxy for special considerations in Process Portal, such as changing timeout settings or blocking IP addresses for secure production environments.
The Ajax proxy file, proxy-config.xml, is located in the following location if you are using the environment that is shipped with IBM BPM:
profile_root/BusinessSpace/ node_name/ server_name/mm.runtime.prof/config/proxy-config.xml.
For issues with the Ajax proxy, see IBM Mashups tech notes at
http://www-01.ibm.com/support/search.wss?tc=SSWP9P.
The Ajax proxy is configured to be closed by default but provides a default policy that allows access to all Business Space endpoints for Process Portal. Follow the steps in Adding proxy polices to the Business Space Ajax proxy to allow access for additional URLs, and follow the steps in Blocking IP addresses using the Business Space Ajax proxy to restrict access to specific IP addresses.
Procedure
- Modify the proxy-config.xml file as needed.
For example, if you are changing the timeout settings for the Business Space Ajax proxy, you modify the proxy:value for socket-timeout.
- Run the updateBlobConfig command using the wsadmin scripting client, designating the -serverName and -nodeName parameters for a stand-alone server or -clusterName for a cluster, -propertyFileName with the value of the path for the proxy-config.xml file, and -prefix with the value Mashups_.
The following example uses Jython:
AdminTask.updateBlobConfig('[-serverName server_name -nodeName node_name -propertyFileName "profile_root/BusinessSpace/node_name/server_name/mm.runtime.prof/config/proxy-config.xml" -prefix "Mashups_"]')
AdminConfig.save()
The following example uses Jacl:
$AdminTask updateBlobConfig {-serverName server_name -nodeName node_name -propertyFileName "profile_root/BusinessSpace/node_name/server_name/mm.runtime.prof/config/proxy-config.xml" -prefix "Mashups_"}
$AdminConfig save
- Adding proxy policies to the Business Space Ajax proxy
Add additional proxy policies to the proxy-config.xml file so that Process Portal works properly in a distributed environment.- Changing the timeout settings for the Business Space Ajax proxy
Process Portal uses a proxy component to connect to your Representational State Transfer (REST) services. If REST services are not responsive, update the connection timeout settings to your REST services, depending on the performance of the REST service servers.- Blocking IP addresses using the Business Space Ajax proxy
The Ajax proxy forwards requests from widgets to your product and target servers, if the servers are remote from the IBM BPM server. The Ajax proxy is configured to be closed by default but provides a default policy that allows access to all endpoints. You can configure the Ajax proxy to restrict access to specific IP addresses.