You are viewing a plain text version of this content. The canonical link for it is here.
Posted to portalapps-dev@portals.apache.org by rw...@apache.org on 2009/05/05 06:39:00 UTC

svn commit: r771560 - /portals/applications/demo/trunk/src/main/webapp/WEB-INF/web.xml

Author: rwatler
Date: Tue May  5 04:39:00 2009
New Revision: 771560

URL: http://svn.apache.org/viewvc?rev=771560&view=rev
Log:
JS2-973: disable WAS portlet application management

Modified:
    portals/applications/demo/trunk/src/main/webapp/WEB-INF/web.xml

Modified: portals/applications/demo/trunk/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/portals/applications/demo/trunk/src/main/webapp/WEB-INF/web.xml?rev=771560&r1=771559&r2=771560&view=diff
==============================================================================
--- portals/applications/demo/trunk/src/main/webapp/WEB-INF/web.xml (original)
+++ portals/applications/demo/trunk/src/main/webapp/WEB-INF/web.xml Tue May  5 04:39:00 2009
@@ -19,13 +19,20 @@
   <display-name>Demoportlets</display-name>
   <description>Demo Portlets Applications</description>
 
-    <context-param>
-        <param-name>webAppRootKey</param-name>
-        <param-value>org.apache.portals.applications.demo.webappRoot</param-value>
-    </context-param>
-    <listener>
-        <listener-class>WebAppRootListener</listener-class>
-    </listener>
+  <!-- for deploying on Websphere: disable Websphere default portletcontainer -->
+  <context-param>
+    <param-name>com.ibm.websphere.portletcontainer.PortletDeploymentEnabled</param-name>
+    <param-value>false</param-value>
+  </context-param>
+
+  <context-param>
+    <param-name>webAppRootKey</param-name>
+    <param-value>org.apache.portals.applications.demo.webappRoot</param-value>
+  </context-param>
+
+  <listener>
+    <listener-class>WebAppRootListener</listener-class>
+  </listener>
     
   <!-- Define Velocity Servlet -->
   <servlet>