and will define a new property for nhttp.port ? Regards, /Nuwan
On Wed, Mar 16, 2011 at 2:52 PM, Nuwan Bandara <[email protected]> wrote: > Hi > > On Wed, Mar 16, 2011 at 2:41 PM, Afkham Azeez <[email protected]> wrote: > >> 8280? > > > It was 8280 before, I simply added the same. It should be 9763 yeah ? > > Regards, > /Nuwan > > >> >> >> On Wed, Mar 16, 2011 at 2:27 PM, <[email protected]> wrote: >> >>> Author: nuwan >>> Date: Wed Mar 16 01:57:34 2011 >>> New Revision: 89868 >>> URL: http://wso2.org/svn/browse/wso2?view=rev&revision=89868 >>> >>> Log: >>> http and https ports are taken from system propertise, if its not set >>> defaults are taken >>> >>> Modified: >>> >>> trunk/carbon/core/integration/core/src/test/java/org.wso2.carbon.integration.core/FrameworkSettings.java >>> >>> Modified: >>> trunk/carbon/core/integration/core/src/test/java/org.wso2.carbon.integration.core/FrameworkSettings.java >>> URL: >>> http://wso2.org/svn/browse/wso2/trunk/carbon/core/integration/core/src/test/java/org.wso2.carbon.integration.core/FrameworkSettings.java?rev=89868&r1=89867&r2=89868&view=diff >>> >>> ============================================================================== >>> --- >>> trunk/carbon/core/integration/core/src/test/java/org.wso2.carbon.integration.core/FrameworkSettings.java >>> (original) >>> +++ >>> trunk/carbon/core/integration/core/src/test/java/org.wso2.carbon.integration.core/FrameworkSettings.java >>> Wed Mar 16 01:57:34 2011 >>> @@ -65,8 +65,19 @@ >>> // fReader.close(); >>> CARBON_HOME = (prop.getProperty("carbon.home", >>> System.getProperty("carbon.home"))); >>> HOST_NAME = (prop.getProperty("host.name", "localhost")); >>> - HTTPS_PORT = (prop.getProperty("https.port", "9443")); >>> - HTTP_PORT = (prop.getProperty("http.port", "8280")); >>> + >>> + //GS product runs on 8443/8080 >>> + String httpsPort = System.getProperty("https.port"); >>> + String httpPort = System.getProperty("http.port"); >>> + if (httpsPort.equals("") || httpsPort == null) { >>> + httpsPort = "9443"; >>> + } >>> + if (httpPort.equals("") || httpPort == null) { >>> + httpPort = "8280"; >>> + } >>> + >>> + HTTPS_PORT = (prop.getProperty("https.port", httpsPort)); >>> + HTTP_PORT = (prop.getProperty("http.port", httpPort)); >>> ESB_TEST_SERVER = (prop.getProperty("esb.test.server", >>> "9002")); >>> NIO_TRANSPORT_HTTPS = (prop.getProperty("nio.transport.port", >>> "8243")); >>> DERBY_PORT = prop.getProperty("derby.port", "1527"); >>> _______________________________________________ >>> Carbon-commits mailing list >>> [email protected] >>> https://wso2.org/cgi-bin/mailman/listinfo/carbon-commits >>> >> >> >> >> -- >> *Afkham Azeez* >> Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com, >> * >> * >> *Member; Apache Software Foundation; >> **http://www.apache.org/*<http://www.apache.org/> >> * >> email: **[email protected]* <[email protected]>* cell: <%2B94%2077%203320919>+94 >> 77 3320919 >> blog: **http://blog.afkham.org* <http://blog.afkham.org>* >> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez> >> * >> linked-in: **http://lk.linkedin.com/in/afkhamazeez* >> * >> * >> *Lean . Enterprise . Middleware* >> >> > > > -- > Thanks & Regards, > > Nuwan Bandara > Software Engineer > > WSO2 Inc. | http://wso2.com > lean . enterprise . middleware > > http://www.nuwanbando.com > > <http://www.nuwanbando.com/> > -- Thanks & Regards, Nuwan Bandara Software Engineer WSO2 Inc. | http://wso2.com lean . enterprise . middleware http://www.nuwanbando.com <http://www.nuwanbando.com/>
_______________________________________________ Carbon-dev mailing list [email protected] http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
