You are viewing a plain text version of this content. The canonical link for it is here.
Posted to muse-dev@ws.apache.org by ip...@apache.org on 2004/12/02 22:26:13 UTC
svn commit: r109549 - /incubator/muse/trunk/src/java/org/apache/ws/resource/discovery/impl/AgentRunner.java /incubator/muse/trunk/src/java/org/apache/ws/resource/i18n/resource.properties
Author: ips
Date: Thu Dec 2 13:26:12 2004
New Revision: 109549
URL: http://svn.apache.org/viewcvs?view=rev&rev=109549
Log:
got rid of the "catastrophic" stack trace
Modified:
incubator/muse/trunk/src/java/org/apache/ws/resource/discovery/impl/AgentRunner.java
incubator/muse/trunk/src/java/org/apache/ws/resource/i18n/resource.properties
Modified: incubator/muse/trunk/src/java/org/apache/ws/resource/discovery/impl/AgentRunner.java
Url: http://svn.apache.org/viewcvs/incubator/muse/trunk/src/java/org/apache/ws/resource/discovery/impl/AgentRunner.java?view=diff&rev=109549&p1=incubator/muse/trunk/src/java/org/apache/ws/resource/discovery/impl/AgentRunner.java&r1=109548&p2=incubator/muse/trunk/src/java/org/apache/ws/resource/discovery/impl/AgentRunner.java&r2=109549
==============================================================================
--- incubator/muse/trunk/src/java/org/apache/ws/resource/discovery/impl/AgentRunner.java (original)
+++ incubator/muse/trunk/src/java/org/apache/ws/resource/discovery/impl/AgentRunner.java Thu Dec 2 13:26:12 2004
@@ -89,13 +89,12 @@
{
m_agent.discover( m_agentName, m_regManager, m_agentProps );
}
- catch ( Throwable tr )
+ catch ( Throwable t )
{
// In the event of a catastrophic agent failure, take this agent offline
// and issue an Error.
m_registryToNotify.disableAgent( m_agent );
- LOG.info( MSG.getMessage( Keys.AGENT_DISABLED, m_agentName ),
- tr ); //$NON-NLS-1$
+ LOG.error( MSG.getMessage( Keys.AGENT_DISABLED, m_agentName, t.toString() ) );
}
finally
{
Modified: incubator/muse/trunk/src/java/org/apache/ws/resource/i18n/resource.properties
Url: http://svn.apache.org/viewcvs/incubator/muse/trunk/src/java/org/apache/ws/resource/i18n/resource.properties?view=diff&rev=109549&p1=incubator/muse/trunk/src/java/org/apache/ws/resource/i18n/resource.properties&r1=109548&p2=incubator/muse/trunk/src/java/org/apache/ws/resource/i18n/resource.properties&r2=109549
==============================================================================
--- incubator/muse/trunk/src/java/org/apache/ws/resource/i18n/resource.properties (original)
+++ incubator/muse/trunk/src/java/org/apache/ws/resource/i18n/resource.properties Thu Dec 2 13:26:12 2004
@@ -29,7 +29,7 @@
RESOURCE_FAC_EX_WSA_REQ=This endpoint requires WS-Addressing information in its SOAP header to proceed.
RESOURCE_FAC_EX_RES_NOT_UNDERSTOOD={0} does not make sense for the resource <{1}>. Message as {2}.
RESOURCE_FAC_EX_DOES_NOT_CONTAIN={0} does not contain the resource <{1}>. Valid ids are {2}.
-AGENT_DISABLED=Agent {0} threw an exception and will not be run again until discovery is restarted.
+AGENT_DISABLED=Agent {0} threw an exception and will not be run again until discovery is restarted. Cause: {1}
AGENT_MUST_IMPLEMENT_DISCOVERY=Config entry for <{0}> representing class <{1}> must implement DiscoveryAgent interface. It will never be run.
AGENT_COMPLETED=The discovery agent <{0}> has completed.
AGENT_DISCOVERY_COMPLETE=Discovery has completed.
---------------------------------------------------------------------
To unsubscribe, e-mail: muse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-dev-help@ws.apache.org