Had some success. Note: I have only tested with an expanded jetspeed
directory in the weblogic upload directory, and a non-expanded
j2-admin in the upload directory (A min distribution, 2 war files)
Try these steps:
0. shutdown weblogic
1. remove jetspeed-layouts from the local app area WEB-INF/apps/local.
The solution requires to no longer use jetspeed-layouts war
2. copy jetspeed-layouts(version).jar into jetspeed's WEB-INF/lib directory
3. replace all PSML entries in WEB-INF/pages from "jetspeed-layouts::"
to "jetspeed::" using sed or a global replace tool
4. copy the jetspeed-layouts portlet.xml and jetspeed-portlet.xml from
the layout-portlets war into jetspeed/WEB-INF
5. add this servlet and servlet mapping the jetspeed's web.xml
<servlet>
<description>MVC Servlet for Jetspeed Portlet Applications</description>
<display-name>Jetspeed Container</display-name>
<servlet-name>JetspeedContainer</servlet-name>
<servlet-class>
org.apache.jetspeed.container.JetspeedContainerServlet</servlet-class>
<init-param>
<param-name>contextName</param-name>
<param-value>jetspeed</param-value>
</init-param>
<load-on-startup>100</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>JetspeedContainer</servlet-name>
<url-pattern>/container/*</url-pattern>
</servlet-mapping>
6. restart Weblogic
The NPE went away, and portlets are now rendering for the guest user.
Note: I tested this approach on both Tomcat and Weblogic.
I can login with Tomcat, but not Weblogic. Tried both active
authentication and portal filter approaches, no luck
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]