You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by we...@apache.org on 2004/06/03 16:21:03 UTC
cvs commit: jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/tools/pamanager PortletApplicationManager.java
weaver 2004/06/03 07:21:03
Modified: portal/src/java/org/apache/jetspeed/tools/pamanager
PortletApplicationManager.java
Log:
FileSystemPAM now continues to remove a web application directory even if unregister fails.
There have been SO many times when I needed this and undeploy fails.
PortletApplicationManager fails to undeploy with FileSystemPAM because it does not implement
Lifecycle. Removed the lifecycle check, now everything works fine.
Revision Changes Path
1.11 +2 -9 jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/tools/pamanager/PortletApplicationManager.java
Index: PortletApplicationManager.java
===================================================================
RCS file: /home/cvs/jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/tools/pamanager/PortletApplicationManager.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- PortletApplicationManager.java 21 May 2004 18:31:36 -0000 1.10
+++ PortletApplicationManager.java 3 Jun 2004 14:21:03 -0000 1.11
@@ -317,13 +317,6 @@
}
else if (strAction.compareToIgnoreCase("undeploy") == 0)
{
- if (null == lifecycle)
- {
- String msg = "PAM Lifecycle Error: Lifecycle interface not supported by implementation: " + className;
- System.out.println("\n" + msg);
- log.error(msg);
- shutdownAndExit(engine);
- }
undeploy(deployer, strWebAppDir, strPortletAppName, strServer, intServerPort, strUserName, strPassword); // [RUN]
}
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org