portals-portalapps-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rwat...@apache.org
Subject svn commit: r771560 - /portals/applications/demo/trunk/src/main/webapp/WEB-INF/web.xml
Date Tue, 05 May 2009 04:39:00 GMT
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>



Mime
View raw message