LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File jxta-2.3.2-HttpMessageReceiver.patch of Package jxta (Project Java:jpackage-1.7)

--- impl/src/net/jxta/impl/endpoint/servlethttp/HttpMessageReceiver.java.sav	2004-10-22 19:37:58.000000000 +0200
+++ impl/src/net/jxta/impl/endpoint/servlethttp/HttpMessageReceiver.java	2006-08-29 13:19:13.000000000 +0200
@@ -78,7 +78,7 @@
 import org.mortbay.http.handler.ResourceHandler;
 import org.mortbay.jetty.servlet.ServletHandler;
 import org.mortbay.util.InetAddrPort;
-import org.mortbay.util.Log;
+//import org.mortbay.util.Log;
 import org.mortbay.util.MultiException;
 
 import net.jxta.endpoint.EndpointAddress;
@@ -174,7 +174,7 @@
         }
         
         // Disabled Jetty Log
-        Log.instance().disableLog();
+        //Log.instance().disableLog();
 
         // Initialize the Jetty HttpServer
         InetAddrPort addrPort = new InetAddrPort(useInterface, port);
@@ -230,7 +230,7 @@
         try {
             server.start();
             handler.getServletContext().setAttribute("HttpMessageReceiver", this);
-        } catch (MultiException e) {
+        } catch (Exception e) {
             if (LOG.isEnabledFor(Level.ERROR)) {
                 LOG.error("Could not start server", e);
             }