Friday 13 April 2012

Rational Application Developer 8 and WebSphere Portal - RAD is not for Theming :-)

We saw these rather helpful dialogue boxes earlier today: -


with the even more friendly message: -

The selected wizard could not be started.
Plug-in "com.ibm.etools.portal.ui" was unable to instantiate class "com.ibm.etools.portal.internal.wizard.portal.PortalProjectWizard".
Array index out of range: -1


when one clicked on the "Details >>>" button.

Thankfully this Technote: -


helped us out: -

Creating a new Portal Project results in "Array index out of range: -1" error

This problem only occurs if you attempt to create a new Portal Project when WebSphere Portal Server v7.0 server is installed on your machine.

It is not possible to create or work with Portal projects targeting IBM WebSphere Portal v7.0 or later.

Future versions of Rational Application Developer will show a more appropriate warning message


and links to the Rational Application Developer Information Centre which goes on to say: -

You cannot create and work with the portal projects targeting IBM® WebSphere Portal V7.0, or later. Use the web-based Site Designing Portlet feature to design portal sites on IBM WebSphere Portal V6.1.5, or later. Follow the instructions in IBM WebSphere Portal 7.0 documentation to migrate portal projects deployed on IBM WebSphere Portal V6.1.x to IBM WebSphere Portal V7.0 before working with your portal site using Site Designing Portlet feature.

The Portal Designer can only be used with portal projects targeting all releases of IBM WebSphere Portal V6.1.

Bottom line, if you are looking to design portlets, use a Portlet Project, if you are looking to design themes, use the Site Designing Portlet. You should also look at WebDav to allow you to manage your theme components ( bearing in mind that we have deployed WebSphere Portal 7.0.0.2 which includes the new PageBuilder 2 theme ).



4 comments:

David Strachan said...

Couple of comments Dave. The 7.0.0.2 theme is a collection of Dojo/Jquery widgets, HTML files and theme modules. I'm not surprised that tooling doesn't support this since it only came into being in December.

Also, I note that there is a beta of RAD 8.5 available with WP8. I wonder if that has better theme support? Only one way to find out... wonder how that broadband allowance is doing :-)

Dave Hay said...

@David - thanks for the feedback. Let me know what RAD85 brings to the party :-)

Sathish Reddy said...

Hi Can i develop Websphere portal server 8 portlet application in RAD 8.0.4? I am unable to configure Portal server 8 as a run time environment in RAD 8.0.4. Here Rad 8.0.4 supports only 6.1 and 7.

Dave Hay said...

@Sathish - I've been out of the WebSphere Portal game for over a year now ( I'm now an IBM BPM fanbois ), but I believe RAD 8.0.4 will do the job.

See this developerWorks article: -

Community articleDeveloping WebSphere Portal application by using IBM Rational Application Developer

Visual Studio Code - Wow 🙀

Why did I not know that I can merely hit [cmd] [p]  to bring up a search box allowing me to search my project e.g. a repo cloned from GitHub...