For related video walkthroughs see the videos page
The Portus software consists of two components:
A Java Runtime Environment (minimum: JRE 1.6)
FujitsuNetCOBOLSVR.exe - this can be provided upon request or downloaded from here
Portus is currently supported on the following platforms:
Note: All Windows 64-bit platforms are supported by running the Portus server in 32-bit compatibility mode.
Portus requires the following software versions when using Portus with theses applications
This is a 'Windows System' focused extract from the Portus Documentation. To view the full installation pre reqs for all systems see: cloud.ostiasolutions.com
See the video: Portus Control Centre & Server Installation Guide for a visual walkthrough.
Java is required to run the Eclipse SDK
If you already have Java Runtime Environment (JRE, v1.6 or higher) installed, you may skip this step.
To find out what level of java you have installed, run the command java -version from either a shell ( Unix/Linux) or command box (Windows) depending on your system.
If Java is not installed already in your environment, follow these steps
It is recommended you download the optimized Portus Eclipse package from here
The Eclipse OpenSource framework forms the base for the Portus administration and monitoring tool, the 'Control Centre'.
Eclipse 3.7 (or higher) is required to run the Portus Control Centre.
Steps required to install the Eclipse framework:
Start the Update Manager, which can be found on the Eclipse main menu under Help -> Install new software.
Note: As the Eclipse Update Manager may need to get to an external site, you may have to specify a HTTP proxy in order to access it from an intranet.
In the 'Work with' text box, enter the URL
http://cloud.ostiasolutions.com/Portus/brazilUpdateSite
OR
If you have previously downloaded the archived update site, select the Add button, then Archive, and choose the zip file portus-brazil-updateSite.zip
Once the control centre is installed, you can move to the next stage to install the Portus Windows Server.
See the video: Portus Control Centre & Server Installation Guide for a visual walkthrough.
This section outlines how to install the Portus Server on Windows
Important: If the version you are installing is not Portus v4.3.1, then your installation may display a version number different from the screenshots below. There is no functional installation difference between versions, so this can be safely ignored.
Important: When installing the Portus Server, ensure that the server is installed on a local drive along with the Control Centre and that adequate execution permissions are granted. If an error similar to the following is encountered, it indicates that the user does not have the required permissions to execute the installer:
Error reading file from …\features\com.SOAGateway.feature.install.x86.windows_4.3.1.009902\target\win32Build.msi verify that file is exists and you can access it.
On Windows, the Portus install is done via the Deployment Wizard. This is a wizard which runs within Eclipse, and guides you through the steps required to install and configure your Portus server.
For Windows, you should
The next screen is used to verify that your Portus is up and running, and then to configure it based on your license.
Portus uses database specific drivers to discover database tables. Users can select available tables from the discovered lists and create a number of Portus services to enable access to those tables.
To add a driver for the Portus Server, first right click on the Server
Users can now use the defined driver to discover tables using a pre defined ODBC connection through the discovery wizard
The Service creation process can be started by selecting the appropriate driver, right-clicking and selecting either 'Discover Service(s)' or 'Add Service':
'Discover Service(s)' will start the discovery wizard and request the specific parameters required for the selected driver type.
'Add Service' will ask you to name the service and you can then manually set the various parameters as per your particular system.
Status and error information can be retrieved later on from the Portus Action Log
To create Portus services from MS SQL server tables, first ensure a working 32bit ODBC connection has been defined
Open the 32bit ODBC Data Source Administrator and Switch to the system tab
Configure the SQL Server connection with the details for your database and test the connection to ensure it is working as expected:
In the Portus Control Centre, define a Microsoft SQL Server driver, right click and select ‘Discover Services’
In the discovery wizard, enter the ODBC connection details and any required credentials
Once the details are filled in, Select the Discover button to return a list of avaible tables
Once you have selected the required tables, hit the ‘Generate’ button to create Portus services from these tables.
New services will appear below the MS SQLServer driver in the portus server window
When a backend database such as MS SQL server requires credentials, you will have to provide these through Apache directives in order to call portus created services in certian clients such as a browser (whereas these details may be added directly in the header when calling via a client such as SoapUI). If this is the case, a service call will return an error with login authentication failed.
To add a new Apache directive, navigate to and open the portusHttpd.conf configuration file located in: ProgramData\Portus 4.3.1\configuration\. This can also be accessed through the start menu by selecting 'Edit Portus Httpd Config' option in the Portus 4.3.1 directory.
In the configuration file, a commented out directive example is shown
Copy this example, paste it below the existing example, modify it to include your service name and credentials, uncomment it and save the file.
Restart the Portus server to pickup the changes.
Now when you call the service, the expected data should be returned
See the video playlist: Ostia Solutions Caching of Services in Portus to see caching in action.
To begin caching, select a service, and move to the Data Monitoring section in the properties window
Select the Caching button and next set time to live (TTL) as circled in green below:
Caching is now enabled and is ready to use.
Once caching has been enabled on a service, the initial call to a service will capture the response, each time a user calls the service in the same way within the TTL set for caching, Portus will return the initial captured response to the user. Once the TTL has expired or the caching is manually stopped, the service will resume in real time.