I have Portal 2.2RC2 deployed in AS4.0.3sp1 on Windows XP with database MySQL 4.1.13, driver 3.1.11. I created a separate mysql user with password for jbossportal.
The first startup goes fine, a few warning and errors are printed about missing tables, but they seem to created allright. I dumped a few and each was filled with data.
I noticed that the ingres of the few sample files (back.gif, jboss_logo.gif etc) is pretty slow (slower than RC1? I don't know), I hear a lot of disk noise.
I logged on as admin and wanted to list all roles (inside the UserPortlet).
Most unfortunately, I got the following exception:
09:35:39,103 INFO [STDOUT] java.lang.IllegalArgumentException: The id is not an long : 1
09:35:39,103 INFO [STDOUT] at org.jboss.portal.core.impl.user.UserModuleImpl.findUserById(UserModuleImpl.java:173)
09:35:39,181 INFO [STDOUT] at org.jboss.portal.core.portlet.user.UserPortlet.doView(UserPortlet.java:392)
After this exception the portal seems to come in some undefined state: The back button does not function anymore and it is difficult to get back to the initial screen. The UserPortlet won't go away anymore. In fact I have to restart the server.