You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by yo...@apache.org on 2005/11/28 22:14:25 UTC

svn commit: r349505 - in /tomcat/container/tc5.5.x: catalina/src/share/org/apache/catalina/connector/Connector.java webapps/docs/changelog.xml

Author: yoavs
Date: Mon Nov 28 13:14:21 2005
New Revision: 349505

URL: http://svn.apache.org/viewcvs?rev=349505&view=rev
Log:
Bugzilla 37212: http://issues.apache.org/bugzilla/show_bug.cgi?id=37212

Modified:
    tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/connector/Connector.java
    tomcat/container/tc5.5.x/webapps/docs/changelog.xml

Modified: tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/connector/Connector.java
URL: http://svn.apache.org/viewcvs/tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/connector/Connector.java?rev=349505&r1=349504&r2=349505&view=diff
==============================================================================
--- tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/connector/Connector.java (original)
+++ tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/connector/Connector.java Mon Nov 28 13:14:21 2005
@@ -1,5 +1,5 @@
 /*
- * Copyright 1999,2004 The Apache Software Foundation.
+ * Copyright 1999,2004-2005 The Apache Software Foundation.
  * 
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -1088,8 +1088,13 @@
         try {
             protocolHandler.start();
         } catch (Exception e) {
+            String errPrefix = "";
+            if(this.service != null) {
+                errPrefix += "service.getName(): \"" + this.service.getName() + "\"; ";
+            }
+
             throw new LifecycleException
-                (sm.getString
+                (errPrefix + " " + sm.getString
                  ("coyoteConnector.protocolHandlerStartFailed", e));
         }
 

Modified: tomcat/container/tc5.5.x/webapps/docs/changelog.xml
URL: http://svn.apache.org/viewcvs/tomcat/container/tc5.5.x/webapps/docs/changelog.xml?rev=349505&r1=349504&r2=349505&view=diff
==============================================================================
--- tomcat/container/tc5.5.x/webapps/docs/changelog.xml (original)
+++ tomcat/container/tc5.5.x/webapps/docs/changelog.xml Mon Nov 28 13:14:21 2005
@@ -114,6 +114,10 @@
         <bug>37132</bug>: Have DigestAuthenticator Handle user names with commas.  Thanks to 
           Robert Wille for the patch. (yoavs)
       </fix>
+      <fix>
+        <bug>37212</bug>: Better error reporting in Connector.java.  Thanks to Ralf Hauser for
+        the patch. (yoavs)
+      </fix>
     </changelog>
   </subsection>
   <subsection name="Coyote">



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org