ws-sandesha-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dami...@apache.org
Subject svn commit: r597030 - in /webservices/sandesha/trunk/c: config/init_mysql.sh src/msgprocessors/terminate_seq_msg_processor.c src/msgprocessors/terminate_seq_res_msg_processor.c src/util/sandesha2_utils.c src/util/terminate_mgr.c
Date Wed, 21 Nov 2007 10:46:17 GMT
Author: damitha
Date: Wed Nov 21 02:46:16 2007
New Revision: 597030

URL: http://svn.apache.org/viewvc?rev=597030&view=rev
Log:
adding traces

Modified:
    webservices/sandesha/trunk/c/config/init_mysql.sh
    webservices/sandesha/trunk/c/src/msgprocessors/terminate_seq_msg_processor.c
    webservices/sandesha/trunk/c/src/msgprocessors/terminate_seq_res_msg_processor.c
    webservices/sandesha/trunk/c/src/util/sandesha2_utils.c
    webservices/sandesha/trunk/c/src/util/terminate_mgr.c

Modified: webservices/sandesha/trunk/c/config/init_mysql.sh
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/config/init_mysql.sh?rev=597030&r1=597029&r2=597030&view=diff
==============================================================================
--- webservices/sandesha/trunk/c/config/init_mysql.sh (original)
+++ webservices/sandesha/trunk/c/config/init_mysql.sh Wed Nov 21 02:46:16 2007
@@ -1 +1 @@
-mysql -u g -p < mysql_schema.sh
+mysql -u g --password=g < mysql_schema.sh

Modified: webservices/sandesha/trunk/c/src/msgprocessors/terminate_seq_msg_processor.c
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/msgprocessors/terminate_seq_msg_processor.c?rev=597030&r1=597029&r2=597030&view=diff
==============================================================================
--- webservices/sandesha/trunk/c/src/msgprocessors/terminate_seq_msg_processor.c (original)
+++ webservices/sandesha/trunk/c/src/msgprocessors/terminate_seq_msg_processor.c Wed Nov 21
02:46:16 2007
@@ -171,10 +171,9 @@
     sandesha2_msg_ctx_t *fault_ctx = NULL;
     axis2_char_t *spec_version = NULL;
   
-    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK(env->error, rm_msg_ctx, AXIS2_FAILURE);
-    AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,  
-        "[sandesha2] sandesha2_terminate_msg_processor_process_in_msg .........");
+    AXIS2_LOG_TRACE(env->log, AXIS2_LOG_SI,  
+        "[sandesha2]Entry:sandesha2_terminate_seq_msg_processor_process_in_msg");
     msg_ctx = sandesha2_msg_ctx_get_msg_ctx(rm_msg_ctx, env);
     
     seq_ack = (sandesha2_seq_ack_t*)sandesha2_msg_ctx_get_msg_part(
@@ -243,8 +242,8 @@
     sandesha2_seq_mgr_update_last_activated_time(env, seq_id, storage_mgr);
     */
     sandesha2_msg_ctx_set_paused(rm_msg_ctx, env, AXIS2_TRUE);
-    AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,  
-        "[sandesha2] Exit: sandesha2_terminate_msg_processor_process_in_msg");
+    AXIS2_LOG_TRACE(env->log, AXIS2_LOG_SI,  
+        "[sandesha2]Exit:sandesha2_terminate_seq_msg_processor_process_in_msg");
     return AXIS2_SUCCESS;
 }
 

Modified: webservices/sandesha/trunk/c/src/msgprocessors/terminate_seq_res_msg_processor.c
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/msgprocessors/terminate_seq_res_msg_processor.c?rev=597030&r1=597029&r2=597030&view=diff
==============================================================================
--- webservices/sandesha/trunk/c/src/msgprocessors/terminate_seq_res_msg_processor.c (original)
+++ webservices/sandesha/trunk/c/src/msgprocessors/terminate_seq_res_msg_processor.c Wed Nov
21 02:46:16 2007
@@ -126,10 +126,9 @@
     axis2_conf_ctx_t *conf_ctx = NULL;
     sandesha2_storage_mgr_t *storage_mgr = NULL;
    
-    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK(env->error, rm_msg_ctx, AXIS2_FAILURE);
-    AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,  
-        "[sandesha2] sandesha2_terminate_msg_processor_process_in_msg .........");
+    AXIS2_LOG_TRACE(env->log, AXIS2_LOG_SI, "[sandesha2]Entry:sandesha2_"\
+        "terminate_seq_res_msg_processor_process_in_msg");
     
     msg_ctx = sandesha2_msg_ctx_get_msg_ctx(rm_msg_ctx, env);
     
@@ -147,7 +146,7 @@
         sandesha2_terminate_seq_res_get_identifier(term_seq_res, env), env);
     if(!seq_id || 0 == axutil_strlen(seq_id))
     {
-        AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "[sandesha2] Invalid "
+        AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "[sandesha2] Invalid "\
             "sequence id");
         return AXIS2_FAILURE;
     }
@@ -156,8 +155,8 @@
         env, conf_ctx, axis2_conf_ctx_get_conf(conf_ctx, env));
     sandesha2_terminate_mgr_terminate_sending_side(env, conf_ctx, seq_id, 
         AXIS2_FALSE, storage_mgr);
-    AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,  
-        "[sandesha2] Exit: sandesha2_terminate_seq_res_msg_processor_process_in_msg");
+    AXIS2_LOG_TRACE(env->log, AXIS2_LOG_SI, "[sandesha2]Exit:sandesha2_"\
+        "terminate_seq_res_msg_processor_process_in_msg");
     return AXIS2_SUCCESS;
 }
 
@@ -169,7 +168,6 @@
     sandesha2_msg_ctx_t *rm_msg_ctx)
 {
     
-    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK(env->error, rm_msg_ctx, AXIS2_FAILURE);
     
     return AXIS2_SUCCESS;

Modified: webservices/sandesha/trunk/c/src/util/sandesha2_utils.c
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/util/sandesha2_utils.c?rev=597030&r1=597029&r2=597030&view=diff
==============================================================================
--- webservices/sandesha/trunk/c/src/util/sandesha2_utils.c (original)
+++ webservices/sandesha/trunk/c/src/util/sandesha2_utils.c Wed Nov 21 02:46:16 2007
@@ -260,7 +260,7 @@
     {
         axis2_char_t *ret_str = NULL;
 
-        ret_str = axutil_strcat(env, "[sandesha2]Invalid String Array", str, NULL);
+        ret_str = axutil_strcat(env, "[sandesha2]Invalid String Array:", str, NULL);
         AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, ret_str);
         AXIS2_ERROR_SET(env->error, SANDESHA2_ERROR_INVALID_STRING_ARRAY, 
             AXIS2_FAILURE);

Modified: webservices/sandesha/trunk/c/src/util/terminate_mgr.c
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/util/terminate_mgr.c?rev=597030&r1=597029&r2=597030&view=diff
==============================================================================
--- webservices/sandesha/trunk/c/src/util/terminate_mgr.c (original)
+++ webservices/sandesha/trunk/c/src/util/terminate_mgr.c Wed Nov 21 02:46:16 2007
@@ -362,7 +362,6 @@
     sandesha2_seq_property_bean_t *seq_term_bean = NULL;
     AXIS2_LOG_INFO(env->log, 
         "[sandesha2]Entry:sandesha2_terminate_mgr_terminate_sending_side");
-    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK(env->error, conf_ctx, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK(env->error, seq_id, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK(env->error, storage_mgr, AXIS2_FAILURE);



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


Mime
View raw message