airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lah...@apache.org
Subject svn commit: r1228420 - /incubator/airavata/trunk/modules/gfac-axis2/src/main/java/org/apache/airavata/services/gfac/axis2/reciever/GFacMessageReciever.java
Date Fri, 06 Jan 2012 21:42:29 GMT
Author: lahiru
Date: Fri Jan  6 21:42:29 2012
New Revision: 1228420

URL: http://svn.apache.org/viewvc?rev=1228420&view=rev
Log:
fixing a bug when invoking gram service.

Modified:
    incubator/airavata/trunk/modules/gfac-axis2/src/main/java/org/apache/airavata/services/gfac/axis2/reciever/GFacMessageReciever.java

Modified: incubator/airavata/trunk/modules/gfac-axis2/src/main/java/org/apache/airavata/services/gfac/axis2/reciever/GFacMessageReciever.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/gfac-axis2/src/main/java/org/apache/airavata/services/gfac/axis2/reciever/GFacMessageReciever.java?rev=1228420&r1=1228419&r2=1228420&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/gfac-axis2/src/main/java/org/apache/airavata/services/gfac/axis2/reciever/GFacMessageReciever.java
(original)
+++ incubator/airavata/trunk/modules/gfac-axis2/src/main/java/org/apache/airavata/services/gfac/axis2/reciever/GFacMessageReciever.java
Fri Jan  6 21:42:29 2012
@@ -119,6 +119,7 @@ public class GFacMessageReciever impleme
             try {
                 log.debug("invoking Invoke operation");
                 processInvokeOperation(axisRequestMsgCtx);
+                log.info(axisRequestMsgCtx.getEnvelope().getBody().getFirstElement().toStringWithConsume());
                 log.info("Invoke operation invoked !!");
             } catch (Exception e) {
                 throw new AxisFault("Error Invoking the service", e);
@@ -197,7 +198,7 @@ public class GFacMessageReciever impleme
             if (gridMyproxyRepository==null){
             	gssContext.setMyproxyPasswd((String)messageContext.getConfigurationContext().getProperty(MYPROXY_PASS));
                 gssContext.setMyproxyUserName((String)messageContext.getConfigurationContext().getProperty(MYPROXY_USER));
-                gssContext.setMyproxyLifetime(Integer.parseInt(messageContext.getConfigurationContext().getProperty(MYPROXY_LIFE).toString()));
+                gssContext.setMyproxyLifetime(Integer.parseInt((String)messageContext.getConfigurationContext().getProperty(MYPROXY_LIFE)));
                 gssContext.setMyproxyServer((String)messageContext.getConfigurationContext().getProperty(MYPROXY_SERVER));

             }else{
 	            gssContext.setMyproxyPasswd(gridMyproxyRepository.getPassword());



Mime
View raw message