Configuring networks for deployment
Consider these limitations before deploying projects to a remote server.
Publishing from Linux systems
Here are issues that you may encounter when trying to publish your portal project from Rational Developer (installed on a Linux system) via the Deploy wizard:
By default, Linux loads a firewall. The default firewall settings of many Linux installations will prevent deployment of portlet WAR files.
By default, some installations of Linux create an association in /etc/hosts between the host name of the machine and the loopback address (127.0.0.1). This can cause problems for Java networking programs which need to retrieve the IP address of the machine.
To resolve this problem, update the /etc/hosts file or update the name service configuration file (/etc/nsswitch.conf) to query a DNS or NIS server before searching /etc/hosts.
Receiving incoming requests through firewalls
Limitation: When you deploy portlets with a portal configuration, Rational Developer uses XML configuration scripts that instruct the Portal server to retrieve portlets from your workstation. If you have a firewall enabled on your workstation, you need to allow incoming requests from the Portal server to Rational Developer. The required actions depend on the type of firewall. This is necessary when you test or deploy portlets to a remote server, directly from the portlet project or indirectly from a portal project.
Possible actions include, but are not limited to:
- Registering Java launcher to the firewall to allow Rational Developer to open a port.
- Adding the IP address of the Portal server as a trusted address, so that an incoming request is allowed.
- Registering a port number to the firewall to allow an incoming request to reach to that port.
The port number used by Rational Developer is not fixed by default, if you need to register a fixed port number, then do the following:
- In the Rational Developer menu bar, select Windows Preferences .
- Expand Help > Help Server.
- Specify a port number for the server.
- Click OK.
- Restart Rational Developer.
- Register the port number to the firewall.
Related tasks
Defining servers for importing or publishing portals
Exporting portal projects
Optimizing JSP file testing