Author: alessio.soldano(a)jboss.com
Date: 2011-11-16 11:29:06 -0500 (Wed, 16 Nov 2011)
New Revision: 15271
Modified:
common/trunk/src/main/java/org/jboss/ws/common/management/AbstractServerConfig.java
common/trunk/src/main/java/org/jboss/ws/common/management/Message.properties
Log:
Be less verbose (especially considering WebServerInfo is not available on JBoss AS 7.0.x)
Modified:
common/trunk/src/main/java/org/jboss/ws/common/management/AbstractServerConfig.java
===================================================================
---
common/trunk/src/main/java/org/jboss/ws/common/management/AbstractServerConfig.java 2011-11-16
15:51:04 UTC (rev 15270)
+++
common/trunk/src/main/java/org/jboss/ws/common/management/AbstractServerConfig.java 2011-11-16
16:29:06 UTC (rev 15271)
@@ -167,7 +167,10 @@
}
catch (WSFException e)
{
- log.warn(BundleUtils.getMessage(bundle,
"COULD_NOT_GET_WEBSERVERINFO"));
+ log.debug("Can not get local webservice port from configured
WebServerInfo!");
+ if (log.isTraceEnabled()) {
+ log.trace("Ignoring exception: ", e);
+ }
}
if (localPort <= 0)
{
Modified: common/trunk/src/main/java/org/jboss/ws/common/management/Message.properties
===================================================================
---
common/trunk/src/main/java/org/jboss/ws/common/management/Message.properties 2011-11-16
15:51:04 UTC (rev 15270)
+++
common/trunk/src/main/java/org/jboss/ws/common/management/Message.properties 2011-11-16
16:29:06 UTC (rev 15271)
@@ -12,4 +12,3 @@
ENDPOINT_NAME_CANNOT_BE_NULL_FOR=Endpoint name cannot be null for: {0}
ENDPOINT_ALREADY_REGISTERED=Endpoint already registered: {0}
ENDPOINT_NOT_REGISTERED=Endpoint not registered: {0}
-COULD_NOT_GET_WEBSERVERINFO=Can not get WebServerInfo from SPIProvider
Show replies by date