Attempts to add a Portal 8 Server using IBM Rational Application Developer for WebSphere Software (RAD) 9.0.1 results in the error "The Application Server installation directory is not correct" when specifying Portal and WebSphere Application Server (WAS) installation locations to create runtime.
Steps to reproduce:
- Open the Servers view In RAD 9.0.1 (or later)
- Right click and select New > Server
- Select WebSphere Portal v8.0 Server > Next > choose the Portal installation directory > choose the WAS installation directory
At the top of the window, you should now see the error:
The Application Server installation directory is not correct
Potential causes include:
- You have not selected the WebSphere Portal Server 8.0 on WebSphere Application Server 8.5 adapter.
Note: You may have mistakenly selected the WebSphere Portal 8.0 Server adapter or you may not even have the WebSphere Portal Server 8.0 on WebSphere Application Server 8.5 adapter available to choose from in RAD.
- You are not providing the right installation directory for your Portal or WAS server
- The WAS server you are pointing to which is to be used with Portal 8 is not compatible with Portal.
Note: You must be using a WAS ND server
Diagnosing the problem
Check the following in your environment:
- Ensure you have the WebSphere Portal Server 8.0 on WebSphere Application Server 8.5 adapter and not the WebSphere Portal 8.0 adapter.
- Ensure the installation directories for the Portal and the WAS instances you are trying to add are correct
- Verify which Portal version and which WAS version you are using and make sure the combination is supported
Resolving the problem
Choose the solution based on your particular issue:
Incorrect adapter version:
Update RAD with the correct adapter version.
If you do not see the correct adapter available:
- Close RAD
- Open IBM Installation Manager
- Click Modify > Select the RAD 9.0.1 package group > Next > Next.
You should now be on the feature selection page.
- Under the Server tools section, ensure to have the Development tools and the Remote server stub installed for the Portal version and WAS version you are looking to install
For example: If you are looking to install Portal 8 with WAS 8.5.x, ensure you have the Development tools and the Remote server stub also installed for the WebSphere Portal Server 8.0 on WebSphere Application Server 8.5 option
- Click Next > Modify
Incorrect installation directory:
Enter the correct installation directories for the Portal and the WAS instances you are trying to add.
The default installation directory for WebSphere Portal Server 8.0 is at C:\Program Files (x86)\ibm\WebSphere\PortalServer
The default installation directory for WebSphere Application Server 8.5 is at C:\Program Files (x86)\ibm\WebSphere\AppServer
Incorrect Portal / WAS compatibility:
Update your system with the supported Portal version for the version of WAS you are using.