You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fx-dev@ws.apache.org by sa...@apache.org on 2007/02/22 04:27:34 UTC
svn commit: r510370 - in /webservices/sandesha/trunk/c: config/module.xml
src/handlers/sandesha2_global_in_handler.c
Author: samisa
Date: Wed Feb 21 19:27:33 2007
New Revision: 510370
URL: http://svn.apache.org/viewvc?view=rev&rev=510370
Log:
Fixed crash
Modified:
webservices/sandesha/trunk/c/config/module.xml
webservices/sandesha/trunk/c/src/handlers/sandesha2_global_in_handler.c
Modified: webservices/sandesha/trunk/c/config/module.xml
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/config/module.xml?view=diff&rev=510370&r1=510369&r2=510370
==============================================================================
--- webservices/sandesha/trunk/c/config/module.xml (original)
+++ webservices/sandesha/trunk/c/config/module.xml Wed Feb 21 19:27:33 2007
@@ -68,7 +68,7 @@
</operation>
<!-- Database connection parameters -->
- <parameter name="sandesha2_db" locked="false">/axis2c/deploy</parameter>
+ <parameter name="sandesha2_db" locked="false">/tmp</parameter>
<!-- General parameters -->
<parameter name="ExponentialBackoff" locked="false">AXIS2_TRUE</parameter>
<parameter name="RetransmissionInterval" locked="false">20000</parameter>
Modified: webservices/sandesha/trunk/c/src/handlers/sandesha2_global_in_handler.c
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/handlers/sandesha2_global_in_handler.c?view=diff&rev=510370&r1=510369&r2=510370
==============================================================================
--- webservices/sandesha/trunk/c/src/handlers/sandesha2_global_in_handler.c (original)
+++ webservices/sandesha/trunk/c/src/handlers/sandesha2_global_in_handler.c Wed Feb 21 19:27:33 2007
@@ -230,7 +230,8 @@
if(!within_transaction)
{
axis2_property_t *prop = NULL;
- sandesha2_transaction_rollback(transaction, env);
+ if (transaction)
+ sandesha2_transaction_rollback(transaction, env);
prop = axis2_property_create_with_args(env, AXIS2_SCOPE_REQUEST,
AXIS2_FALSE, 0, SANDESHA2_VALUE_FALSE);
AXIS2_CTX_SET_PROPERTY(ctx, env, SANDESHA2_WITHIN_TRANSACTION,
---------------------------------------------------------------------
To unsubscribe, e-mail: sandesha-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: sandesha-dev-help@ws.apache.org