You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by la...@apache.org on 2013/05/22 21:44:01 UTC

svn commit: r1485378 - /airavata/trunk/modules/commons/utils/src/main/java/org/apache/airavata/common/utils/ServiceUtils.java

Author: lahiru
Date: Wed May 22 19:44:01 2013
New Revision: 1485378

URL: http://svn.apache.org/r1485378
Log:
taking the port from airavata-server.properties.

Modified:
    airavata/trunk/modules/commons/utils/src/main/java/org/apache/airavata/common/utils/ServiceUtils.java

Modified: airavata/trunk/modules/commons/utils/src/main/java/org/apache/airavata/common/utils/ServiceUtils.java
URL: http://svn.apache.org/viewvc/airavata/trunk/modules/commons/utils/src/main/java/org/apache/airavata/common/utils/ServiceUtils.java?rev=1485378&r1=1485377&r2=1485378&view=diff
==============================================================================
--- airavata/trunk/modules/commons/utils/src/main/java/org/apache/airavata/common/utils/ServiceUtils.java (original)
+++ airavata/trunk/modules/commons/utils/src/main/java/org/apache/airavata/common/utils/ServiceUtils.java Wed May 22 19:44:01 2013
@@ -60,7 +60,7 @@ public class ServiceUtils {
         }
         
         try {
-            port = ServerSettings.getTomcatPort();
+            port = ServerSettings.getSetting(PORT);
         } catch (ApplicationSettingsException e) {
 			//we will ignore this exception since the properties file will not contain the values
 			//when it is ok to retrieve them from the axis2 context