How to connect to an i5/OS WAS instance from within the IDE

You might sometimes need to test a web application on an i5/OS WAS instance. If you find it too much of a hassle to export your project as an EAR or WAR file, upload the file to the remote server, then install the application (and repeat the process again when you make a change!) – or if you just don’t want the overhead of running WAS locally – consider configuring your remote server within the IDE so you can use it just like a test environment.

Here’s how:

  1. First, make sure that the remote server is started on the i5/OS.
  2. In the Servers view, right-click and select New > Server:
    new Server menu item
  3. Type in the name of the remote machine and select the server type:
    New Server wizard - enter the host name and server type
    Click Next.
  4. Enter the SOAP connector port *:enter the SOAP connector port* Note: If you don’t know the SOAP connector port, you can find it on the i5/OS HTTP admin console:
    server ports on the HTTPAdmin console
  5. If you’ve enabled WAS security, enter the user id and password, then click Finish (I didn’t need to worry about any other settings).

After a few moments, the new server will appear in the Servers view:
servers view with new server

Now you can use the server to run projects as though it was a test environment:
Run on Server with new server

Voila!
Application running on remote server


2 Comments on “How to connect to an i5/OS WAS instance from within the IDE”

  1. Phil G says:

    Wow! That’s helpful!

  2. duanechristen says:

    Any chance that you can connect to a Tomcat server running on an i, through the IDE?


Leave a comment