portals-pluto-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cdore...@apache.org
Subject svn commit: r160433 - portals/pluto/trunk/portal/src/java/org/apache/pluto/portlet/admin/controller/DeployWarPortlet.java
Date Thu, 07 Apr 2005 18:57:00 GMT
Author: cdoremus
Date: Thu Apr  7 11:56:59 2005
New Revision: 160433

URL: http://svn.apache.org/viewcvs?view=rev&rev=160433
Log:
Made changes to allow admin portlets to work in non-Tomcat containers. Improved error handling.

Modified:
    portals/pluto/trunk/portal/src/java/org/apache/pluto/portlet/admin/controller/DeployWarPortlet.java

Modified: portals/pluto/trunk/portal/src/java/org/apache/pluto/portlet/admin/controller/DeployWarPortlet.java
URL: http://svn.apache.org/viewcvs/portals/pluto/trunk/portal/src/java/org/apache/pluto/portlet/admin/controller/DeployWarPortlet.java?view=diff&r1=160432&r2=160433
==============================================================================
--- portals/pluto/trunk/portal/src/java/org/apache/pluto/portlet/admin/controller/DeployWarPortlet.java
(original)
+++ portals/pluto/trunk/portal/src/java/org/apache/pluto/portlet/admin/controller/DeployWarPortlet.java
Thu Apr  7 11:56:59 2005
@@ -137,7 +137,7 @@
 
 	  	} catch (Throwable e) {
 				log("Error! ", e);
-				request.getPortletSession().setAttribute(PlutoAdminConstants.ERROR_ATTR, e);
+			    request.getPortletSession().setAttribute(PlutoAdminConstants.MESSAGE_ATTR, new PortletMessage("A
problem has occurred: " + e.getMessage() + ". Please check the servlet container's error log.",
PortletMessageType.ERROR));
 			}
     }
 



Mime
View raw message