karaf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pie...@apache.org
Subject svn commit: r1056053 - /karaf/branches/karaf-2.1.x/demos/web/src/main/java/org/apache/karaf/web/WebAppListener.java
Date Thu, 06 Jan 2011 20:10:43 GMT
Author: pieber
Date: Thu Jan  6 20:10:43 2011
New Revision: 1056053

URL: http://svn.apache.org/viewvc?rev=1056053&view=rev
Log:
[KARAF-327] fix backport issue

Signed-off-by: Andreas Pieber <anpieber@gmail.com>

Modified:
    karaf/branches/karaf-2.1.x/demos/web/src/main/java/org/apache/karaf/web/WebAppListener.java

Modified: karaf/branches/karaf-2.1.x/demos/web/src/main/java/org/apache/karaf/web/WebAppListener.java
URL: http://svn.apache.org/viewvc/karaf/branches/karaf-2.1.x/demos/web/src/main/java/org/apache/karaf/web/WebAppListener.java?rev=1056053&r1=1056052&r2=1056053&view=diff
==============================================================================
--- karaf/branches/karaf-2.1.x/demos/web/src/main/java/org/apache/karaf/web/WebAppListener.java
(original)
+++ karaf/branches/karaf-2.1.x/demos/web/src/main/java/org/apache/karaf/web/WebAppListener.java
Thu Jan  6 20:10:43 2011
@@ -24,9 +24,9 @@ import javax.servlet.ServletContextListe
 import org.apache.karaf.main.Main;
 
 public class WebAppListener implements ServletContextListener {
-	
+
 	private Main main;
-	
+
 	public void contextInitialized(ServletContextEvent sce) {
 		try {
 			System.err.println("contextInitialized");
@@ -52,7 +52,7 @@ public class WebAppListener implements S
 		try {
 			System.err.println("contextDestroyed");
 			if (main != null) {
-				main.destroy(false);
+                main.destroy();
 			}
 		} catch (Exception e) {
 			e.printStackTrace();



Mime
View raw message