Define servers for publishing portlets
To deploy a portlet project to an external WebSphere Portal server, create a server configuration for the target server. You can create a server during the deployment process, or define the server separately. To define a server, select one of these options:
- Open the New Server wizard by doing one of the following:
- From the Servers view, right-click and select New.
- From the Project Explorer view, right-click the portlet project and select Deploy Portlet. On the first page of the Deploy Portlet wizard, select an existing server from the list or click the New button.
- Enter the Host name of the target WebSphere Portal server.
- Select a WebSphere Portal for Import, Export & Deploy server from the server type list.
- Click Next.
- On the WebSphere Portal Settings page, define the following options:
- Define the Server HTTP port, which defaults to 9081. This is the port number for WebSphere Portal on the remote machine.
- Define the Base URI, which defaults to /wps.
- Define the Default page, which defaults to /portal .
- Define the Personalized homepage, which defaults to /myportal.
- Define the Install location, which is the WebSphere Portal installation root, such as C:\Program Files\WebSphere\PortalServer.
- Provide an administrator ID and password for a WebSphere Portal administrator.
- Press Next.
- On the Publishing Settings page, set the following options:
- Select the Local Copy or FTP file transfer option.
- Provide the Remote target directory, which maps to the wps.ear directory under the installedApps/nodename directory of the WebSphere Application Server on the remote system, where nodename is usually the host name of the remote server. For example, the wps.ear directory on the target server might be C:\WebSphere\AppServer\installedApps\node\wps.ear. However, if the wps.ear directory on the target server has been mapped as a network drive, the path to wps.ear may be something like E:\wpsShare. Or, if you are using FTP access, and the FTP root for the user you specify is the wps.ear directory, the path could be something like /. Consult your systems administrator for the exact path.
- If you select the FTP option, you will need to provide the following information:
- A user ID and password that has FTP access to the target system.
- The connection timeout value if the default of 10000 milliseconds is not adequate.
- If the target server is beyond a firewall, choose Use PASV mode or Use firewall. Additional firewall settings can be set by clicking the Firewall settings button.
- Press Finish.
You can modify any of these settings by double-clicking on the server in the Server view. This opens the server configuration editor.
Related tasks
Deploying portlet projects
Exporting and installing portlet projects