Hi Nuwan,

As you've mentioned i could not start the server because it kept waiting
for "Waiting for required OSGi Service:
org.wso2.carbon.bpel.core.BPELEngineService". However as adviced by Milinda
once i restart my computer, the server started working.

With this restart i was able to get the "WSO2 Business Process Server
Integration Tests - BPEL" tests completed. But again, it got failed with
the same issue on the next set of tests, "WSO2 Business Process Server
Integration Tests - HumanTask".

So is this caused by BPS server shutdown not being able to release some
resources?

Thanks.

/Gayashan


On Tue, Aug 5, 2014 at 4:58 PM, Nuwan Wimalasekara <[email protected]> wrote:

> HI
> Carbon server does not expose the http port and server have not started
> properly. So can you please verify whether the  server is stating properly
> by starting it manually. You can find the distribution inside the
> module/distribution/target directory.
>
> As the logs ,  BPELEngineService got failed to deploy. Probably this
> could be the reason.
>
> INFO: [2014-08-05 15:07:49,805]  WARN 
> {org.wso2.carbon.core.init.CarbonServerManager}
> -  Waiting for required OSGi Service: org.wso2.carbon.bpel.core.
> BPELEngineService
> Aug 5, 2014 3:07:49 PM org.wso2.carbon.integration.
> common.extensions.utils.ServerLogReader run
> INFO: [2014-08-05 15:07:49,805]  WARN 
> {org.wso2.carbon.core.init.CarbonServerManager}
> -  Waiting for required OSGi Service: org.wso2.carbon.humantask.core.
> HumanTaskEngineService
>
> Thanks,
> Nuwanw
>
>
> On Tue, Aug 5, 2014 at 4:19 PM, Gayashan Amarasinghe <[email protected]>
> wrote:
>
>> Hi BPS team/Test automation team,
>>
>> I am getting the following integration test failures on wso2-dev BPS
>> repo. What is the reason for not being able to bind to port 9763?
>>
>> ​Aug 5, 2014 3:06:49 PM
>> org.wso2.carbon.integration.common.extensions.utils.ServerLogReader run
>> INFO: [2014-08-05 15:06:49,805]  WARN
>> {org.wso2.carbon.core.init.CarbonServerManager} -  Carbon initialization is
>> delayed due to the following unsatisfied items:
>> Aug 5, 2014 3:06:49 PM
>> org.wso2.carbon.integration.common.extensions.utils.ServerLogReader run
>> INFO: [2014-08-05 15:06:49,805]  WARN
>> {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
>> OSGi Service: org.wso2.carbon.bpel.core.BPELEngineService
>> Aug 5, 2014 3:06:49 PM
>> org.wso2.carbon.integration.common.extensions.utils.ServerLogReader run
>> INFO: [2014-08-05 15:06:49,805]  WARN
>> {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
>> OSGi Service: org.wso2.carbon.humantask.core.HumanTaskEngineService
>> Aug 5, 2014 3:07:49 PM
>> org.wso2.carbon.integration.common.extensions.utils.ServerLogReader run
>> INFO: [2014-08-05 15:07:49,805]  WARN
>> {org.wso2.carbon.core.init.CarbonServerManager} -  Carbon initialization is
>> delayed due to the following unsatisfied items:
>> Aug 5, 2014 3:07:49 PM
>> org.wso2.carbon.integration.common.extensions.utils.ServerLogReader run
>> INFO: [2014-08-05 15:07:49,805]  WARN
>> {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
>> OSGi Service: org.wso2.carbon.bpel.core.BPELEngineService
>> Aug 5, 2014 3:07:49 PM
>> org.wso2.carbon.integration.common.extensions.utils.ServerLogReader run
>> INFO: [2014-08-05 15:07:49,805]  WARN
>> {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
>> OSGi Service: org.wso2.carbon.humantask.core.HumanTaskEngineService
>> Aug 5, 2014 3:08:37 PM
>> org.wso2.carbon.integration.common.extensions.carbonserver.CarbonServerExtension
>> handleException
>> SEVERE: Fail to start carbon server
>> java.lang.RuntimeException: Port 9763 is not open
>>     at
>> org.wso2.carbon.integration.common.utils.ClientConnectionUtil.waitForPort(ClientConnectionUtil.java:101)
>>     at
>> org.wso2.carbon.integration.common.extensions.carbonserver.CarbonServerManager.startServerUsingCarbonHome(CarbonServerManager.java:134)
>>     at
>> org.wso2.carbon.integration.common.extensions.carbonserver.TestServerManager.startServer(TestServerManager.java:102)
>>     at
>> org.wso2.carbon.integration.common.extensions.carbonserver.CarbonServerExtension.onExecutionStart(CarbonServerExtension.java:49)
>>     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.wso2.carbon.automation.engine.extensions.TestNGExtensionExecutor.executeExtensible(TestNGExtensionExecutor.java:73)
>>     at
>> org.wso2.carbon.automation.engine.testlisteners.TestExecutionListener.onExecutionStart(TestExecutionListener.java:47)
>>     at org.testng.TestNG.runExecutionListeners(TestNG.java:1068)
>>     at org.testng.TestNG.run(TestNG.java:1015)
>>     at
>> org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:178)
>>     at
>> org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:92)
>>     at
>> org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:96)
>>     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.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
>>     at
>> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
>>     at
>> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
>>     at
>> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
>>     at
>> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
>> org.apache.maven.surefire.util.SurefireReflectionException:
>> java.lang.reflect.InvocationTargetException; nested exception is
>> java.lang.reflect.InvocationTargetException: null
>> java.lang.reflect.InvocationTargetException
>>     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.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
>>     at
>> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
>>     at
>> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
>>     at
>> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
>>     at
>> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
>> Caused by: java.lang.RuntimeException: Error on initializing test
>> environment
>>     at
>> org.wso2.carbon.automation.engine.testlisteners.TestExecutionListener.handleException(TestExecutionListener.java:70)
>>     at
>> org.wso2.carbon.automation.engine.testlisteners.TestExecutionListener.onExecutionStart(TestExecutionListener.java:52)
>>     at org.testng.TestNG.runExecutionListeners(TestNG.java:1068)
>>     at org.testng.TestNG.run(TestNG.java:1015)
>>     at
>> org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:178)
>>     at
>> org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:92)
>>     at
>> org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:96)
>>     ... 9 more
>> Caused by: java.lang.reflect.InvocationTargetException
>>     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.wso2.carbon.automation.engine.extensions.TestNGExtensionExecutor.executeExtensible(TestNGExtensionExecutor.java:73)
>>     at
>> org.wso2.carbon.automation.engine.testlisteners.TestExecutionListener.onExecutionStart(TestExecutionListener.java:47)
>>     ... 14 more
>> Caused by: java.lang.RuntimeException: Fail to start carbon server
>>     at
>> org.wso2.carbon.integration.common.extensions.carbonserver.CarbonServerExtension.handleException(CarbonServerExtension.java:69)
>>     at
>> org.wso2.carbon.integration.common.extensions.carbonserver.CarbonServerExtension.onExecutionStart(CarbonServerExtension.java:53)
>>     ... 20 more
>> Caused by: java.lang.RuntimeException: Port 9763 is not open
>>     at
>> org.wso2.carbon.integration.common.utils.ClientConnectionUtil.waitForPort(ClientConnectionUtil.java:101)
>>     at
>> org.wso2.carbon.integration.common.extensions.carbonserver.CarbonServerManager.startServerUsingCarbonHome(CarbonServerManager.java:134)
>>     at
>> org.wso2.carbon.integration.common.extensions.carbonserver.TestServerManager.startServer(TestServerManager.java:102)
>>     at
>> org.wso2.carbon.integration.common.extensions.carbonserver.CarbonServerExtension.onExecutionStart(CarbonServerExtension.java:49)
>>     ... 20 more
>>
>> Results :
>>
>> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Reactor Summary:
>> [INFO]
>> [INFO] WSO2 BPS - Parent ................................. SUCCESS
>> [0.090s]
>> [INFO] WSO2 BPS - Styles Parent .......................... SUCCESS
>> [0.007s]
>> [INFO] WSO2 BPS - UI styles .............................. SUCCESS
>> [2.626s]
>> [INFO] WSO2 Stratos BPS - UI styles ...................... SUCCESS
>> [0.817s]
>> [INFO] WSO2 BPS - Distribution Parent .................... SUCCESS
>> [0.007s]
>> [INFO] WSO2 BPS - Sample Utilities and Jars to use with BPS Testing
>> SUCCESS [0.005s]
>> [INFO] WSO2 BPS - Utilities for Samples .................. SUCCESS
>> [1.080s]
>> [INFO] WSO2 BPS - Client for Samples ..................... SUCCESS
>> [0.521s]
>> [INFO] WSO2 BPS - BPEL Event Listener .................... SUCCESS
>> [0.940s]
>> [INFO] WSO2 BPS - HumanTask Event Listener ............... SUCCESS
>> [2.082s]
>> [INFO] WSO2 BPS - BPEL Extension ......................... SUCCESS
>> [0.508s]
>> [INFO] WSO2 BPS - Tools .................................. SUCCESS
>> [1.622s]
>> [INFO] WSO2 BPS - BPEL Property Reader Extension ......... SUCCESS
>> [0.619s]
>> [INFO] HumanTaskWebApp ................................... SUCCESS
>> [2.362s]
>> [INFO] WSO2 BPS - Sample Services to use with BPS Testing  SUCCESS
>> [0.003s]
>> [INFO] WSO2 BPS - CreditRatingService Service ............ SUCCESS
>> [0.772s]
>> [INFO] WSO2 BPS - UserService REST Service ............... SUCCESS
>> [0.416s]
>> [INFO] WSO2 BPS - Features Parent ........................ SUCCESS
>> [0.004s]
>> [INFO] WSO2 BPS - Features Aggregator Module ............. SUCCESS
>> [0.005s]
>> [INFO] WSO2 BPS - Style Features ......................... SUCCESS
>> [0.247s]
>> [INFO] WSO2 BPS - Sample Utils Features .................. SUCCESS
>> [0.014s]
>> [INFO] WSO2 BPS - Process Tools Feature .................. SUCCESS
>> [0.014s]
>> [INFO] WSO2 Stratos BPS - Dashboard UI ................... SUCCESS
>> [0.545s]
>> [INFO] WSO2 Stratos BPS - Login User Interface ........... SUCCESS
>> [0.590s]
>> [INFO] WSO2 Stratos BPS - Features Aggregator Module ..... SUCCESS
>> [0.004s]
>> [INFO] WSO2 Stratos BPS - Style Features ................. SUCCESS
>> [0.015s]
>> [INFO] WSO2 Stratos BPS - Dashboard UI Features .......... SUCCESS
>> [0.020s]
>> [INFO] WSO2 Stratos BPS - Login UI Features .............. SUCCESS
>> [0.020s]
>> [INFO] WSO2 BPS - BPS Profile Generation ................. SUCCESS
>> [31.762s]
>> [INFO] WSO2 BPS - Distribution ........................... SUCCESS
>> [29.358s]
>> [INFO] WSO2 BPS - Integration Parent ..................... SUCCESS
>> [0.002s]
>> [INFO] WSO2 BPS - Integration Test Common Module ......... SUCCESS
>> [0.671s]
>> [INFO] WSO2 BPS - Integration Test Utils ................. SUCCESS
>> [0.706s]
>> [INFO] WSO2 Business Process Server Integration Tests - BPEL  FAILURE
>> [5:09.532s]
>> [INFO] WSO2 Business Process Server Integration Tests - HumanTask  SKIPPED
>> [INFO] WSO2 Business Process Server Integration Tests - HumanTask
>> Coordination  SKIPPED
>> [INFO] WSO2 Business Process Server Integration Tests - BPS Test
>> Reporting Module  SKIPPED
>> ​
>>
>> ​Any help is much appreciated.
>>
>> Thanks.
>>
>> /Gayashan​
>>
>> --
>> *Gayashan Amarasinghe*
>> Software Engineer | Platform TG
>> WSO2, Inc. | http://wso2.com
>> lean. enterprise. middleware
>>
>> Mobile : +94718314517
>> Blog : gayashan-a.blogspot.com
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Nuwan Wimalasekara
> Senior Software Engineer - Test Automation
> WSO2, Inc.: http://wso2.com
> lean. enterprise. middleware
>
> phone: +94 71 668 4620
>
>
>
>


-- 
*Gayashan Amarasinghe*
Software Engineer | Platform TG
WSO2, Inc. | http://wso2.com
lean. enterprise. middleware

Mobile : +94718314517
Blog : gayashan-a.blogspot.com
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to