I couldn't reproduce the error.
I changed the layout to use 3 columns, it worked like the other layouts (All layouts are *very* similar in coding anyway)
I had similar error messages when trying to create the login/error page using the layout jsp as template, so that the same theme can apply to the login/error page as well. I was able to do it in JBP 2.2 SP1. But in JBP 2.6.4, I got that the same error pointing to the "<p:theme " line. If I removed that line, the error message gone. But it also means no theme at all. I could get the theme if I hard coded the corresponding "<link rel" line. I wonder if the "<p:theme" tag now has an additional requirement for an jsp page.
I had the following error when trying out the myLayout example:
13:30:31,464 ERROR [STDERR] org.apache.jasper.JasperException: /layouts/twoColumns.jsp(7,3) Unable to load tag handler class "org.jboss.portal.core.theme.tag.ThemeTagHandler" for tag "p:theme"
After some digging I saw that the path in the portal-layout.xml file was incorrect.
It should have been
jamesl, i think you mixed multiple versions of the portal.
I guess you talked about the file located in:
jboss-portal.sar/conf/theme/portal-layout.tld which has the correct path to the ThemeTagHandler