You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by jl...@apache.org on 2011/01/11 15:29:06 UTC

svn commit: r1057658 - /openejb/trunk/openejb3/assembly/openejb-tomcat/openejb-tomcat-catalina/src/main/java/org/apache/openejb/tomcat/catalina/TomcatWsRegistry.java

Author: jlmonteiro
Date: Tue Jan 11 14:29:05 2011
New Revision: 1057658

URL: http://svn.apache.org/viewvc?rev=1057658&view=rev
Log:
Typo in logs

Modified:
    openejb/trunk/openejb3/assembly/openejb-tomcat/openejb-tomcat-catalina/src/main/java/org/apache/openejb/tomcat/catalina/TomcatWsRegistry.java

Modified: openejb/trunk/openejb3/assembly/openejb-tomcat/openejb-tomcat-catalina/src/main/java/org/apache/openejb/tomcat/catalina/TomcatWsRegistry.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/assembly/openejb-tomcat/openejb-tomcat-catalina/src/main/java/org/apache/openejb/tomcat/catalina/TomcatWsRegistry.java?rev=1057658&r1=1057657&r2=1057658&view=diff
==============================================================================
--- openejb/trunk/openejb3/assembly/openejb-tomcat/openejb-tomcat-catalina/src/main/java/org/apache/openejb/tomcat/catalina/TomcatWsRegistry.java (original)
+++ openejb/trunk/openejb3/assembly/openejb-tomcat/openejb-tomcat-catalina/src/main/java/org/apache/openejb/tomcat/catalina/TomcatWsRegistry.java Tue Jan 11 14:29:05 2011
@@ -84,7 +84,7 @@ public class TomcatWsRegistry implements
 
         Wrapper wrapper = (Wrapper) context.findChild(servletName);
         if (wrapper == null) {
-            throw new IllegalArgumentException("Could not find servlet " + contextRoot + " in web application context " + context.getName());
+            throw new IllegalArgumentException("Could not find servlet " + servletName + " in web application context " + context.getName());
         }
 
         // for Pojo web services, we need to change the servlet class which is the service implementation
@@ -123,7 +123,7 @@ public class TomcatWsRegistry implements
 
         Wrapper wrapper = (Wrapper) context.findChild(servletName);
         if (wrapper == null) {
-            throw new IllegalArgumentException("Could not find servlet " + contextRoot + " in web application context " + context.getName());
+            throw new IllegalArgumentException("Could not find servlet " + servletName + " in web application context " + context.getName());
         }
 
         // clear the webservice ref in the servlet context