Hi All,

I also observed BPS server 3.2.0 not starting properly with below WARNs.
After rebooting the machine i was able to start the server properly.
Do we have any explanation why we are getting this issue on BPS?

[2014-12-05 06:24:57,758]  WARN
{org.wso2.carbon.core.init.CarbonServerManager} -  Carbon initialization is
delayed due to the following unsatisfied items:
[2014-12-05 06:24:57,759]  WARN
{org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
OSGi Service: org.wso2.carbon.bpel.core.BPELEngineService
[2014-12-05 06:24:57,759]  WARN
{org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
OSGi Service: org.wso2.carbon.humantask.core.HumanTaskEngineService
[2014-12-05 06:25:57,758]  WARN
{org.wso2.carbon.core.init.CarbonServerManager} -  Carbon initialization is
delayed due to the following unsatisfied items:
[2014-12-05 06:25:57,758]  WARN
{org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
OSGi Service: org.wso2.carbon.bpel.core.BPELEngineService
[2014-12-05 06:25:57,759]  WARN
{org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
OSGi Service: org.wso2.carbon.humantask.core.HumanTaskEngineService



On Tue, Aug 5, 2014 at 6:47 PM, Nuwan Wimalasekara <nuw...@wso2.com> wrote:

> We have not encountered such an issue in past releases. So we need to
> figure out why server failed to start after one server start.
>
> Thanks,
> Nuwanw
>
>
> On Tue, Aug 5, 2014 at 6:37 PM, Milinda Perera <milin...@wso2.com> wrote:
>
>> [Some Additions to Gayashan's reply]
>>
>> After Build failure occurred we cannot start any BPS server (Build
>> succeeded server also) on the PC without restarting.
>>
>> Thanks,
>> Milinda
>>
>>
>> On Tue, Aug 5, 2014 at 6:10 PM, Gayashan Amarasinghe <gayas...@wso2.com>
>> wrote:
>>
>>> 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 <nuw...@wso2.com>
>>> 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 <gayas...@wso2.com
>>>> > 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
>>>>> Dev@wso2.org
>>>>> 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
>>>
>>
>>
>>
>> --
>> Milinda Perera
>> Software Engineer;
>> WSO2 Inc. http://wso2.com ,
>> Mobile: (+94) 714 115 032
>>
>>
>
>
> --
> Nuwan Wimalasekara
> Senior Software Engineer - Test Automation
> WSO2, Inc.: http://wso2.com
> lean. enterprise. middleware
>
> phone: +94 71 668 4620
>
>
>
>
> _______________________________________________
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to