[jboss-remoting-commits] JBoss Remoting SVN: r4981 - remoting2/branches/2.x/src/main/org/jboss/remoting/transport/servlet/web.

jboss-remoting-commits at lists.jboss.org jboss-remoting-commits at lists.jboss.org
Mon Apr 13 02:24:32 EDT 2009


Author: ron.sigal at jboss.com
Date: 2009-04-13 02:24:32 -0400 (Mon, 13 Apr 2009)
New Revision: 4981

Modified:
   remoting2/branches/2.x/src/main/org/jboss/remoting/transport/servlet/web/ServerInvokerServlet.java
Log:
JBREM-1114: Added some logging.

Modified: remoting2/branches/2.x/src/main/org/jboss/remoting/transport/servlet/web/ServerInvokerServlet.java
===================================================================
--- remoting2/branches/2.x/src/main/org/jboss/remoting/transport/servlet/web/ServerInvokerServlet.java	2009-04-13 06:23:56 UTC (rev 4980)
+++ remoting2/branches/2.x/src/main/org/jboss/remoting/transport/servlet/web/ServerInvokerServlet.java	2009-04-13 06:24:32 UTC (rev 4981)
@@ -75,7 +75,15 @@
          {
             throw new ServletException("Could not find init parameter for 'locatorUrl' or 'locatorName' - one of which must be supplied for ServerInvokerServlet to function.");
          }
+         else
+         {
+            log.debug("Got ServletServerInvoker from InvokerName: " + config.getInitParameter("invokerName"));
+         }
       }
+      else
+      {
+         log.debug("Got ServletServerInvoker from InvokerLocator: " + config.getInitParameter("locatorUrl"));
+      }
    }
 
    /**




More information about the jboss-remoting-commits mailing list