You may wish to publish your portlet projects to a remote server
for purposes of testing (i.e. server attach) or staging. To deploy a portlet
project to a remote WebSphere® Portal server, you must create a server
configuration for the target server. To create a server connection, 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,
or
- From the Project Explorer view, right-click the portlet project and select Deploy
Portlet. On the first page of the Deploy Portlet wizard, 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 ,
which defaults to /wps.
- Define the , which defaults to /portal .
- Define the , which defaults to /myportal.
- Define the , which is the WebSphere Portal installation root, such as C:\Program
Files\WebSphere\PortalServer. The Install location is
not needed if you are only using the server for deploying portlets.
- Provide an administrator ID and password for a WebSphere Portal
administrator.
- Press Next.
- Options on the Publishing Settings page
are not needed for portlet projects.
- Click Finish.
You can modify any of these settings by double-clicking on the
server in the Servers view. This opens the server configuration editor.