karaf-commits mailing list archives

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

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

itests/tests still fail :(

(cherry picked from commit 202e368cb2811861d85c8b2412ba76a9f35a7e65)

Modified:
    karaf/trunk/demos/web/src/main/java/org/apache/karaf/web/WebAppListener.java

Modified: karaf/trunk/demos/web/src/main/java/org/apache/karaf/web/WebAppListener.java
URL: http://svn.apache.org/viewvc/karaf/trunk/demos/web/src/main/java/org/apache/karaf/web/WebAppListener.java?rev=1056066&r1=1056065&r2=1056066&view=diff
==============================================================================
--- karaf/trunk/demos/web/src/main/java/org/apache/karaf/web/WebAppListener.java (original)
+++ karaf/trunk/demos/web/src/main/java/org/apache/karaf/web/WebAppListener.java Thu Jan 
6 20:43:10 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