directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: rev 9694 - in incubator/directory/eve/trunk/eve/frontend/decoder: merlin-impl/src/java/org/apache/eve/decoder/impl pojo-impl/src/java/org/apache/eve/decoder/impl
Date Tue, 23 Mar 2004 01:26:54 GMT
Author: akarasulu
Date: Mon Mar 22 17:26:53 2004
New Revision: 9694

Modified:
   incubator/directory/eve/trunk/eve/frontend/decoder/merlin-impl/src/java/org/apache/eve/decoder/impl/AvalonLoggingMonitor.java
   incubator/directory/eve/trunk/eve/frontend/decoder/merlin-impl/src/java/org/apache/eve/decoder/impl/MerlinDecoderManager.java
   incubator/directory/eve/trunk/eve/frontend/decoder/pojo-impl/src/java/org/apache/eve/decoder/impl/DefaultDecoderManager.java
Log:
Better logging and fixed bug where stage handler was not being set.


Modified: incubator/directory/eve/trunk/eve/frontend/decoder/merlin-impl/src/java/org/apache/eve/decoder/impl/AvalonLoggingMonitor.java
==============================================================================
--- incubator/directory/eve/trunk/eve/frontend/decoder/merlin-impl/src/java/org/apache/eve/decoder/impl/AvalonLoggingMonitor.java
(original)
+++ incubator/directory/eve/trunk/eve/frontend/decoder/merlin-impl/src/java/org/apache/eve/decoder/impl/AvalonLoggingMonitor.java
Mon Mar 22 17:26:53 2004
@@ -19,6 +19,7 @@
 
 import java.util.EventObject ;
 
+import org.apache.commons.lang.exception.ExceptionUtils;
 import org.apache.eve.event.Subscriber ;
 import org.apache.eve.decoder.DecoderManagerMonitor ;
 
@@ -46,7 +47,8 @@
         if ( getLogger().isErrorEnabled() )
         {
             getLogger().debug( "Failed to invoke the appropriate inform method"
-                    + " for event " + event + " on subscriber " + subscriber ) ;
+                    + " for event " + event + " on subscriber " + subscriber 
+                    + ":\n" + ExceptionUtils.getFullStackTrace( t ) ) ;
         }
     }
 }

Modified: incubator/directory/eve/trunk/eve/frontend/decoder/merlin-impl/src/java/org/apache/eve/decoder/impl/MerlinDecoderManager.java
==============================================================================
--- incubator/directory/eve/trunk/eve/frontend/decoder/merlin-impl/src/java/org/apache/eve/decoder/impl/MerlinDecoderManager.java
(original)
+++ incubator/directory/eve/trunk/eve/frontend/decoder/merlin-impl/src/java/org/apache/eve/decoder/impl/MerlinDecoderManager.java
Mon Mar 22 17:26:53 2004
@@ -193,6 +193,8 @@
     public void initialize() throws Exception
     {
         decoderManager = new DefaultDecoderManager( router, stageConfig ) ;
+        DecodeStageHandler handler = new DecodeStageHandler( decoderManager ) ;
+        stageConfig.setHandler( handler ) ;
         decoderManager.setMonitor( monitor ) ;
     }
     

Modified: incubator/directory/eve/trunk/eve/frontend/decoder/pojo-impl/src/java/org/apache/eve/decoder/impl/DefaultDecoderManager.java
==============================================================================
--- incubator/directory/eve/trunk/eve/frontend/decoder/pojo-impl/src/java/org/apache/eve/decoder/impl/DefaultDecoderManager.java
(original)
+++ incubator/directory/eve/trunk/eve/frontend/decoder/pojo-impl/src/java/org/apache/eve/decoder/impl/DefaultDecoderManager.java
Mon Mar 22 17:26:53 2004
@@ -28,7 +28,6 @@
 
 import org.apache.eve.event.InputEvent ;
 import org.apache.eve.seda.StageConfig ;
-import org.apache.eve.seda.LoggingStageMonitor;
 import org.apache.eve.event.EventRouter ;
 import org.apache.eve.seda.DefaultStage ;
 import org.apache.eve.listener.ClientKey ;
@@ -39,6 +38,7 @@
 import org.apache.eve.event.InputSubscriber ;
 import org.apache.eve.decoder.DecoderManager ;
 import org.apache.eve.event.ConnectSubscriber ;
+import org.apache.eve.seda.LoggingStageMonitor ;
 import org.apache.eve.event.AbstractSubscriber ;
 import org.apache.eve.event.DisconnectSubscriber ;
 import org.apache.eve.decoder.DecoderManagerMonitor ;

Mime
View raw message