LiveCycle® Data Services Developer's Guide |
|||
| Administering Data Services Applications > Deploying Flex Applications > Deployment checklist | |||
This section contains a checklist of common system configuration issues that customers have found when deploying Flex applications for production. It also contains troubleshooting tips to diagnose common deployment problems.
Deployed Flex applications typically make several types of requests to services within your firewall, as the following example shows:
Most of the deployment issues that customers report are related to network security and routing, and fall into one of the following scenarios:
Before you start testing your network configuration, make a list of the IP addresses and DNS names of all the servers that a Flex application might access. A Flex application might directly access these servers, for example by using a web service, or another server might access them as part of handling a redirected request.
Enter the information about your servers in the following table:
|
Name |
DNS name |
IP address |
|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
LiveCycle Data Services includes a web service proxy. Enter information about the server hosting the LiveCycle Data Services web service proxy:
|
Name |
DNS Name |
IP Address |
|---|---|---|
|
|
|
|
Enter information about your web services or any other services accessible from a deployed Flex application:
|
Name |
Location (URL) |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
In some cases, an external request to one server can be redirected to another server behind your firewall. A redirected request can occur for a request to a web service or to any file, depending on the system configuration. Where it is necessary, ensure that your servers can communicate with each other so that a redirected request can be properly handled.
To determine if one server, called Server A in this example, can communicate with another server, called Server B, create a temporary file called temp.htm on Server A in its web root directory. Then, log in to Server B and ensure that it can access temp.htm on Server A. Try to access the file by using Server A's DNS name and also its IP address.
Servers can have multiple NIC cards or multiple IP addresses. Ensure that each server can communicate with all of the IP addresses on your other servers.
Also, log in to the server that hosts your web service proxy to make sure that it can access all web services on all other servers. LiveCycle Data Services includes a web service proxy, so log in to the server that hosts LiveCycle Data Services. If your system includes another web service proxy, log in to that server also. You can test the web service proxy by making an HTTP request to the WSDL file for each web service. In the previous example, log in to appserver.example.com and ensure that it can access the WSDL files on finance.example.com.
If any server cannot access the other servers in your system, an external request from a Flex application might also fail. For more information, contact your system administrator.
Some servers might have to be accessed from outside the firewall to handle HTTP, SOAP, or AMF requests from clients. You can use the following methods to determine if a deployed Flex application can access your servers from outside the firewall:
For example, for a file named temp.htm, try accessing it by using the following URL:
http://webserver.example.com/server1/temp.htm
For example, try accessing the WSDL file for a web service by using the following URL:
http://finance.example.com/server1/myWS.wsdl
You should be able to access the temp.htm file or the WSDL file on all of your servers from outside the firewall. If these requests fail, contact your IT department to determine why the files cannot be accessed.
In Step 3. Verify access to your servers from outside the firewall, you ensure that you can directly access your servers and server resources from outside the firewall. When you use the LiveCycle Data Services proxy or your own proxy server to handle requests to data services, you also must ensure that you can access the data services from a deployed Flex application through the proxy.
You typically configure a proxy server with a list of URLs to which the administrator gives access to the proxy. Only the URLs that are allowed by the administrator can pass through the proxy.
With LiveCycle Data Services, you use the configuration files to configure the list of accessible URLs. For another type of proxy server, a different configuration mechanism might be in place. After you configure your proxy server, ensure that the deployed Flex application can access web services and other server-side resources as necessary.
For more information on configuring LiveCycle Data Services, see Configuring Data Management on the Server.
Your system might be configured to allow a Flex application to directly access server-side resources on different domains or different computers without going through a proxy. These operations fail under the following conditions:
To make a data service or asset available to SWF files in different domains or on different computers, use a crossdomain policy file on the server that hosts the data service or asset. A cross-domain policy file is an XML file that provides a way for the server to indicate that its data services and assets are available to SWF files served from certain domains, or from all domains. Any SWF file that is served from a domain specified by the server's policy file is permitted to access a data service or asset from that server. By default, place the crossdomain.xml at the root directory of the server that is serving the data.
For more information on using a cross-domain policy file, see Using cross-domain policy files.
LiveCycle Data Services ES 2.5
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/livecycle/es/sdkHelp/programmer/lcds/deployingoverview_7.html