PortletBridge is meant to be included within the WEB-INF/lib of a Portlet WAR, and this has been tested on GateIn.
I don't believe it would be the ClassLoader of the Portal, but rather the Portlet Container, which should be the same as the Servlet Container.
Also, org.jboss.portletbridge.richfaces.RichFacesStrategy will not be loaded if the RichFaces jars are not included in the war as well. Same goes for Seam.
Thank you for your reply!
enclosed you can find the information which the debugger gave me.
it looks like the classloader which is used is based on the folder C:\DevelopTools\Liferay\liferay-apache-tomcat-6.0.18\webapps\portal\WEB-INF\classes.
this folder is the place where the portal itself resides. the classloader will not find the portlet-bridge (and it's strategy) on this path... I wonder why this is not the webapp classloader of the portlet webapp...
I get a class-not-found exception from the portlet bridge... the error only happens when having more than one portlet on the portlet page.
the portlet WAR contains the portlet bridge and richfaces in its WEB-INF/lib dir.
That folder is simply a path that is accessible to the ClassLoader.
What would be more interesting is the list of jarFiles that it has available to search for the class.
after restarting the server several times, it seems to work now. don't know why...