Author: lahiru
Date: Thu Oct 17 19:02:17 2013
New Revision: 1533211

URL: http://svn.apache.org/r1533211
Log:
fixing minor issues with gsissh support.

Modified:
    
airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/invoker/EmbeddedGFacInvoker.java

Modified: 
airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/invoker/EmbeddedGFacInvoker.java
URL: 
http://svn.apache.org/viewvc/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/invoker/EmbeddedGFacInvoker.java?rev=1533211&r1=1533210&r2=1533211&view=diff
==============================================================================
--- 
airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/invoker/EmbeddedGFacInvoker.java
 (original)
+++ 
airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/invoker/EmbeddedGFacInvoker.java
 Thu Oct 17 19:02:17 2013
@@ -432,12 +432,12 @@ public class EmbeddedGFacInvoker impleme
                 GSIAuthenticationInfo authenticationInfo
                         = new 
MyProxyAuthenticationInfo(requestData.getMyProxyUserName(), 
requestData.getMyProxyPassword(), requestData.getMyProxyServerUrl(),
                         requestData.getMyProxyPort(), 
requestData.getMyProxyLifeTime(), 
System.getProperty(Constants.TRUSTED_CERTIFICATE_SYSTEM_PROPERTY));
-                ServerInfo serverInfo = new 
ServerInfo(configurationProperties.getProperty("gsissh.user"), 
registeredHost.getType().getHostAddress());
+                ServerInfo serverInfo = new 
ServerInfo(requestData.getMyProxyUserName(), 
registeredHost.getType().getHostAddress());
 
                 Cluster pbsCluster = null;
                 try {
                     pbsCluster = new PBSCluster(serverInfo, authenticationInfo,
-                            (((HpcApplicationDeploymentType) 
jobExecutionContext.getApplicationContext().getApplicationDeploymentDescription()).getInstalledParentPath()));
+                            (((HpcApplicationDeploymentType) 
jobExecutionContext.getApplicationContext().getApplicationDeploymentDescription().getType()).getInstalledParentPath()));
                 } catch (SSHApiException e) {
                     e.printStackTrace();  //To change body of catch statement 
use File | Settings | File Templates.
                 }


Reply via email to