Author: pferraro
Date: 2008-09-25 11:12:06 -0400 (Thu, 25 Sep 2008)
New Revision: 1903
Modified:
trunk/mod_cluster/src/main/java/org/jboss/modcluster/LocalStrings.properties
trunk/mod_cluster/src/main/java/org/jboss/modcluster/mcmp/impl/DefaultMCMPHandler.java
Log:
Use response status instead
Modified: trunk/mod_cluster/src/main/java/org/jboss/modcluster/LocalStrings.properties
===================================================================
---
trunk/mod_cluster/src/main/java/org/jboss/modcluster/LocalStrings.properties 2008-09-25
15:09:40 UTC (rev 1902)
+++
trunk/mod_cluster/src/main/java/org/jboss/modcluster/LocalStrings.properties 2008-09-25
15:12:06 UTC (rev 1903)
@@ -23,7 +23,7 @@
modcluster.error.noproxy=No proxy list or URL configured, advertise disabled and no
localhost available; connect connect to mod_cluster
modcluster.error.nonPositiveAttribute=Invalid {0} specified [{1}] - must be a positive
number.
modcluster.error.nullAttribute=Value for attribute {0} cannot be null
-modcluster.error.other=Error {4} [{2}: {3}] sending command {0} to proxy {1},
configuration will be reset
+modcluster.error.other=Error [{2}: {3}: {4}] sending command {0} to proxy {1},
configuration will be reset
modcluster.error.iae.null=[{0}] is null
modcluster.error.iae.invalid="Invalid value [{0}] for [{1}]
modcluster.error.parse=Error parsing response header for command {0}
Modified:
trunk/mod_cluster/src/main/java/org/jboss/modcluster/mcmp/impl/DefaultMCMPHandler.java
===================================================================
---
trunk/mod_cluster/src/main/java/org/jboss/modcluster/mcmp/impl/DefaultMCMPHandler.java 2008-09-25
15:09:40 UTC (rev 1902)
+++
trunk/mod_cluster/src/main/java/org/jboss/modcluster/mcmp/impl/DefaultMCMPHandler.java 2008-09-25
15:12:06 UTC (rev 1903)
@@ -785,7 +785,7 @@
else
{
proxy.setState(Proxy.State.ERROR);
- log.error(this.sm.getString("modcluster.error.other", new
Object[] { command, proxy, errorType, message, Integer.valueOf(status) }));
+ log.error(this.sm.getString("modcluster.error.other", new
Object[] { command, proxy, errorType, message, responseStatus }));
}
}
catch (IOException e)
Show replies by date