Hi Azeez, I tried to instantiate the Socket in a separate client class after debug gets hold in the same corresponding place in ClientConnectionUtil class. Same result.
java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:529) at java.net.Socket.connect(Socket.java:478) at java.net.Socket.<init>(Socket.java:375) at java.net.Socket.<init>(Socket.java:218) at Main.main(Main.java:23) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120) On Tue, Feb 28, 2012 at 10:40 AM, Afkham Azeez <[email protected]> wrote: > Increasing the timeout will not help. For some reason, the server is not > successfully starting up. > > > On Tue, Feb 28, 2012 at 9:11 AM, Achala Aponso <[email protected]> wrote: > >> Hi, >> >> I also got the same issue with GS integration tests. Increasing the >> timeout didn't work for me too. >> >> >> On Mon, Feb 27, 2012 at 4:31 PM, Subash Chaturanga <[email protected]>wrote: >> >>> >>> >>> On Mon, Feb 27, 2012 at 3:35 PM, Nirmal Fernando <[email protected]>wrote: >>> >>>> >>>> >>>> On Mon, Feb 27, 2012 at 3:26 PM, Subash Chaturanga <[email protected]>wrote: >>>> >>>>> Hi, >>>>> I am getting GReg integration recent test failures due to "Port 9443 >>>>> is not open". Happens at server startup in RegistryTestServerManager. >>>>> >>>>> Here is the sure fire report log. Any reason for this to happen ? >>>>> >>>> >>>> This happens when it failed to open the port (9443) within the time out >>>> (60000 ms). >>>> Increasing it might solve the problem!! >>>> >>> I increased the delay 8 times longer than earlier (in >>> ClientConnectionUtil class in integration framework.). It didn't worked >>> Not sure what exactly causing this. >>> >>> >>>> >>>>> >>>>> >>>>> Tests run: 270, Failures: 2, Errors: 0, Skipped: 268, Time elapsed: >>>>> 324.265 sec <<< FAILURE! >>>>> startServer(org.wso2.carbon.registry.RegistryTestServerManager) Time >>>>> elapsed: 0 sec <<< FAILURE! >>>>> org.testng.internal.thread.ThreadExecutionException: >>>>> org.testng.internal.InvokeMethodRunnable$TestNGRuntimeException: >>>>> java.lang.RuntimeException: Port 9443 is not open >>>>> at >>>>> org.testng.internal.thread.FutureResultAdapter.get(FutureResultAdapter.java:25) >>>>> at >>>>> org.testng.internal.MethodInvocationHelper.invokeWithTimeoutWithNewExecutor(MethodInvocationHelper.java:242) >>>>> at >>>>> org.testng.internal.MethodInvocationHelper.invokeWithTimeout(MethodInvocationHelper.java:200) >>>>> at >>>>> org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:528) >>>>> at >>>>> org.testng.internal.Invoker.invokeConfigurations(Invoker.java:202) >>>>> at >>>>> org.testng.internal.Invoker.invokeConfigurations(Invoker.java:130) >>>>> at org.testng.SuiteRunner.privateRun(SuiteRunner.java:277) >>>>> at org.testng.SuiteRunner.run(SuiteRunner.java:240) >>>>> at >>>>> org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) >>>>> at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86) >>>>> at org.testng.TestNG.runSuitesSequentially(TestNG.java:1158) >>>>> at org.testng.TestNG.runSuitesLocally(TestNG.java:1083) >>>>> at org.testng.TestNG.run(TestNG.java:999) >>>>> at >>>>> org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:60) >>>>> at >>>>> org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:153) >>>>> at >>>>> org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:99) >>>>> at >>>>> org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:111) >>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>>>> at >>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >>>>> at >>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >>>>> at java.lang.reflect.Method.invoke(Method.java:597) >>>>> at >>>>> org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103) >>>>> at $Proxy0.invoke(Unknown Source) >>>>> at >>>>> org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150) >>>>> at >>>>> org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91) >>>>> at >>>>> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69) >>>>> Caused by: >>>>> org.testng.internal.InvokeMethodRunnable$TestNGRuntimeException: >>>>> java.lang.RuntimeException: Port 9443 is not open >>>>> at >>>>> org.testng.internal.InvokeMethodRunnable.runOne(InvokeMethodRunnable.java:49) >>>>> at >>>>> org.testng.internal.InvokeMethodRunnable.run(InvokeMethodRunnable.java:37) >>>>> at >>>>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) >>>>> at >>>>> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) >>>>> at java.util.concurrent.FutureTask.run(FutureTask.java:138) >>>>> at >>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) >>>>> at >>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) >>>>> at java.lang.Thread.run(Thread.java:662) >>>>> Caused by: java.lang.RuntimeException: Port 9443 is not open >>>>> at >>>>> org.wso2.carbon.integration.framework.ClientConnectionUtil.waitForPort(ClientConnectionUtil.java:106) >>>>> at >>>>> org.wso2.carbon.integration.framework.utils.ServerUtils.startServerUsingCarbonHome(ServerUtils.java:99) >>>>> >>>>> >>>>> >>>>> >>>>> Thanks >>>>> -- >>>>> >>>>> Subash Chaturanga >>>>> Software Engineer >>>>> WSO2 Inc. http://wso2.com >>>>> >>>>> email - [email protected] >>>>> phone - 077 2225922 >>>>> >>>>> >>>>> _______________________________________________ >>>>> Carbon-dev mailing list >>>>> [email protected] >>>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>>>> >>>>> >>>> >>>> >>>> -- >>>> >>>> Thanks & regards, >>>> Nirmal >>>> >>>> Software Engineer- Platform Technologies Team, WSO2 Inc. >>>> Mobile: +94715779733 >>>> Blog: http://nirmalfdo.blogspot.com/ >>>> >>>> _______________________________________________ >>>> Carbon-dev mailing list >>>> [email protected] >>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>>> >>>> >>> >>> >>> -- >>> >>> Subash Chaturanga >>> Software Engineer >>> WSO2 Inc. http://wso2.com >>> >>> email - [email protected] >>> phone - 077 2225922 >>> >>> >>> _______________________________________________ >>> Carbon-dev mailing list >>> [email protected] >>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>> >>> >> >> >> -- >> Achala Aponso >> Software Engineer; WSO2 Inc.; http://wso2.com, >> Email: [email protected] Mobile: +94 (77) 5234925 >> Blog: http://achala11.blogspot.com/ >> >> >> >> _______________________________________________ >> Carbon-dev mailing list >> [email protected] >> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >> >> > > > -- > *Afkham Azeez* > Director of Architecture; WSO2, Inc.; http://wso2.com > Member; Apache Software Foundation; http://www.apache.org/ > * <http://www.apache.org/>** > email: **[email protected]* <[email protected]>* cell: +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* > > > _______________________________________________ > Carbon-dev mailing list > [email protected] > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > > -- Subash Chaturanga Software Engineer WSO2 Inc. http://wso2.com email - [email protected] phone - 077 2225922
_______________________________________________ Carbon-dev mailing list [email protected] http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
