Re: [Dev] product-mss hangs after deploying a (faulty) service

2016-04-19 Thread Sameera Jayasoma
Oh. All these changes are backward incompatible. We have to consider them
as major changes.

In that case version should be 2.0.0.

On Tue, Apr 19, 2016 at 2:54 PM, Samiyuru Senarathne 
wrote:

> There are API changes that are visible to MSF4J developers. Those APIs had
> to be changed to remove the netty dependencies that they had (With
> transport migration we completely decoupled MSF4J from netty).
>
> *API*
>
> *1.0.0*
>
> *master*
>
> Interceptor
> [1]
> 
> [2]
> 
>
> HttpStreamHandler
> [3]
> 
> [4]
> 
>
>
> [1]
> https://github.com/wso2/msf4j/blob/v1.0.0/core/src/main/java/org/wso2/msf4j/Interceptor.java
> [1]
> https://github.com/wso2/msf4j/blob/master/core/src/main/java/org/wso2/msf4j/Interceptor.java
> [3]
> https://github.com/wso2/msf4j/blob/v1.0.0/core/src/main/java/org/wso2/msf4j/HttpStreamHandler.java
> [4]
> https://github.com/wso2/msf4j/blob/master/core/src/main/java/org/wso2/msf4j/HttpStreamHandler.java
>
> On Tue, Apr 19, 2016 at 5:07 PM, Sameera Jayasoma 
> wrote:
>
>> There are no API changes visible to msf4j users right? Therefore 1.1.0
>> make sense.
>>
>> On Tue, Apr 19, 2016 at 2:33 PM, Aruna Karunarathna 
>> wrote:
>>
>>>
>>>
>>> On Mon, Apr 18, 2016 at 1:13 PM, Afkham Azeez  wrote:
>>>
 Updates to 1.1.0-SNAPSHOT.


>>> Since there are API changes, because of the carbon-transport migration
>>> wouldn't it better to make the version as 2.0.0-SNAPSHOT?
>>>
>>> On Mon, Apr 18, 2016 at 10:15 AM, Hasitha Aravinda 
 wrote:

> Hi Kernel team,
>
> This is happening due to an issue in msf4j 1.0.0 component and
> solution is to move latest msf4j version. But still msf4j master branch is
> set to 1.0.0-SNAPSHOT. Since MSF4J 1.0.0 is released, Jenkins is not
> publishing snapshot artifacts to nexus. Could you please fix this ?
>
> [1] - https://github.com/wso2/msf4j/tree/master
>
> Thanks,
> Hasitha.
>
> On Fri, Apr 8, 2016 at 5:35 PM, Hasitha Aravinda 
> wrote:
>
>> I have updated kernel version to 5.1.0-SNAPSHOT and now I am getting
>> following error. What could be the issue. ?
>>
>> [2016-04-08 17:24:26,865]  WARN
>> {org.wso2.carbon.kernel.internal.startupresolver.StartupOrderResolver} -
>> Startup component netty-transports-mgt from
>> bundle(org.wso2.carbon.transport.http.netty:1.0.0) will be in the pending
>> state until Capability
>> org.wso2.carbon.transport.http.netty.listener.CarbonNettyServerInitializer
>> from bundle(msf4j-core:1.0.0) is available
>> [2016-04-08 17:24:26,866]  WARN
>> {org.wso2.carbon.kernel.internal.startupresolver.StartupOrderResolver} -
>> Startup component netty-transports-mgt from
>> bundle(org.wso2.carbon.transport.http.netty:1.0.0) will be in the pending
>> state until Capability
>> org.wso2.carbon.transport.http.netty.listener.CarbonNettyServerInitializer
>> from bundle(org.wso2.carbon.transport.http.netty:1.0.0) is available
>> [2016-04-08 17:24:26,866]  WARN
>> {org.wso2.carbon.kernel.internal.startupresolver.StartupOrderResolver} -
>> Startup component carbon-transport-mgt from
>> bundle(org.wso2.carbon.core:5.1.0.SNAPSHOT) will be in the pending state
>> until Capability
>> org.wso2.carbon.transport.http.netty.internal.NettyTransportServiceComponent
>> from bundle(org.wso2.carbon.transport.http.netty:1.0.0) is available
>>
>>
>> Thanks,
>> Hasitha.
>>
>> On Thu, Apr 7, 2016 at 6:57 PM, Rasika Perera 
>> wrote:
>>
>>> Hi Himasha,
>>>
>>> This usually happens when MSF4J is waiting for its required
>>> capabilities. MSF4J has cardinality of AT_LEAST_ONE as required
>>> capabilities for the Carbon Transport. Which means server
>>> is waiting on the startup for at least one OSGi service implementing
>>> CarbonTransport.class interface[1]. As Aruna mentioned can you
>>> verify whether you are packing carbon transport.
>>>
>>> However one issue found on your pom file.
>>>
>>> 
>>> org.wso2.carbon.bpmn.rest.**,*
>>> version=${carbon.business-process.exp.pkg.version},
>>> 
>>>
>>> should be corrected as;
>>>
>>> 
>>> org.wso2.carbon.bpmn.rest.**;*
>>> version=${carbon.business-process.exp.pkg.version},
>>> 
>>>
>>> [1]
>>> https://github.com/wso2/msf4j/blob/master/core/src/main/java/org/wso2/msf4j/internal/MicroservicesServerSC.java#L74
>>>

Re: [Dev] product-mss hangs after deploying a (faulty) service

2016-04-19 Thread Samiyuru Senarathne
There are API changes that are visible to MSF4J developers. Those APIs had
to be changed to remove the netty dependencies that they had (With
transport migration we completely decoupled MSF4J from netty).

*API*

*1.0.0*

*master*

Interceptor
[1]

[2]


HttpStreamHandler
[3]

[4]



[1]
https://github.com/wso2/msf4j/blob/v1.0.0/core/src/main/java/org/wso2/msf4j/Interceptor.java
[1]
https://github.com/wso2/msf4j/blob/master/core/src/main/java/org/wso2/msf4j/Interceptor.java
[3]
https://github.com/wso2/msf4j/blob/v1.0.0/core/src/main/java/org/wso2/msf4j/HttpStreamHandler.java
[4]
https://github.com/wso2/msf4j/blob/master/core/src/main/java/org/wso2/msf4j/HttpStreamHandler.java

On Tue, Apr 19, 2016 at 5:07 PM, Sameera Jayasoma  wrote:

> There are no API changes visible to msf4j users right? Therefore 1.1.0
> make sense.
>
> On Tue, Apr 19, 2016 at 2:33 PM, Aruna Karunarathna 
> wrote:
>
>>
>>
>> On Mon, Apr 18, 2016 at 1:13 PM, Afkham Azeez  wrote:
>>
>>> Updates to 1.1.0-SNAPSHOT.
>>>
>>>
>> Since there are API changes, because of the carbon-transport migration
>> wouldn't it better to make the version as 2.0.0-SNAPSHOT?
>>
>> On Mon, Apr 18, 2016 at 10:15 AM, Hasitha Aravinda 
>>> wrote:
>>>
 Hi Kernel team,

 This is happening due to an issue in msf4j 1.0.0 component and solution
 is to move latest msf4j version. But still msf4j master branch is set to
 1.0.0-SNAPSHOT. Since MSF4J 1.0.0 is released, Jenkins is not publishing
 snapshot artifacts to nexus. Could you please fix this ?

 [1] - https://github.com/wso2/msf4j/tree/master

 Thanks,
 Hasitha.

 On Fri, Apr 8, 2016 at 5:35 PM, Hasitha Aravinda 
 wrote:

> I have updated kernel version to 5.1.0-SNAPSHOT and now I am getting
> following error. What could be the issue. ?
>
> [2016-04-08 17:24:26,865]  WARN
> {org.wso2.carbon.kernel.internal.startupresolver.StartupOrderResolver} -
> Startup component netty-transports-mgt from
> bundle(org.wso2.carbon.transport.http.netty:1.0.0) will be in the pending
> state until Capability
> org.wso2.carbon.transport.http.netty.listener.CarbonNettyServerInitializer
> from bundle(msf4j-core:1.0.0) is available
> [2016-04-08 17:24:26,866]  WARN
> {org.wso2.carbon.kernel.internal.startupresolver.StartupOrderResolver} -
> Startup component netty-transports-mgt from
> bundle(org.wso2.carbon.transport.http.netty:1.0.0) will be in the pending
> state until Capability
> org.wso2.carbon.transport.http.netty.listener.CarbonNettyServerInitializer
> from bundle(org.wso2.carbon.transport.http.netty:1.0.0) is available
> [2016-04-08 17:24:26,866]  WARN
> {org.wso2.carbon.kernel.internal.startupresolver.StartupOrderResolver} -
> Startup component carbon-transport-mgt from
> bundle(org.wso2.carbon.core:5.1.0.SNAPSHOT) will be in the pending state
> until Capability
> org.wso2.carbon.transport.http.netty.internal.NettyTransportServiceComponent
> from bundle(org.wso2.carbon.transport.http.netty:1.0.0) is available
>
>
> Thanks,
> Hasitha.
>
> On Thu, Apr 7, 2016 at 6:57 PM, Rasika Perera 
> wrote:
>
>> Hi Himasha,
>>
>> This usually happens when MSF4J is waiting for its required
>> capabilities. MSF4J has cardinality of AT_LEAST_ONE as required
>> capabilities for the Carbon Transport. Which means server is waiting
>> on the startup for at least one OSGi service implementing
>> CarbonTransport.class interface[1]. As Aruna mentioned can you
>> verify whether you are packing carbon transport.
>>
>> However one issue found on your pom file.
>>
>> 
>> org.wso2.carbon.bpmn.rest.**,*
>> version=${carbon.business-process.exp.pkg.version},
>> 
>>
>> should be corrected as;
>>
>> 
>> org.wso2.carbon.bpmn.rest.**;*
>> version=${carbon.business-process.exp.pkg.version},
>> 
>>
>> [1]
>> https://github.com/wso2/msf4j/blob/master/core/src/main/java/org/wso2/msf4j/internal/MicroservicesServerSC.java#L74
>>
>> Thanks
>> ~Rasika
>>
>>
>> On Thu, Apr 7, 2016 at 2:47 PM, Aruna Karunarathna 
>> wrote:
>>
>>> Have you guys added the carbon-transport-mgt?
>>>
>>> On Thu, Apr 7, 2016 at 1:57 PM, Hasitha Aravinda 
>>> wrote:
>>>
 Hi Manu,

 were you able to solve this 

Re: [Dev] product-mss hangs after deploying a (faulty) service

2016-04-19 Thread Sameera Jayasoma
There are no API changes visible to msf4j users right? Therefore 1.1.0 make
sense.

On Tue, Apr 19, 2016 at 2:33 PM, Aruna Karunarathna  wrote:

>
>
> On Mon, Apr 18, 2016 at 1:13 PM, Afkham Azeez  wrote:
>
>> Updates to 1.1.0-SNAPSHOT.
>>
>>
> Since there are API changes, because of the carbon-transport migration
> wouldn't it better to make the version as 2.0.0-SNAPSHOT?
>
> On Mon, Apr 18, 2016 at 10:15 AM, Hasitha Aravinda 
>> wrote:
>>
>>> Hi Kernel team,
>>>
>>> This is happening due to an issue in msf4j 1.0.0 component and solution
>>> is to move latest msf4j version. But still msf4j master branch is set to
>>> 1.0.0-SNAPSHOT. Since MSF4J 1.0.0 is released, Jenkins is not publishing
>>> snapshot artifacts to nexus. Could you please fix this ?
>>>
>>> [1] - https://github.com/wso2/msf4j/tree/master
>>>
>>> Thanks,
>>> Hasitha.
>>>
>>> On Fri, Apr 8, 2016 at 5:35 PM, Hasitha Aravinda 
>>> wrote:
>>>
 I have updated kernel version to 5.1.0-SNAPSHOT and now I am getting
 following error. What could be the issue. ?

 [2016-04-08 17:24:26,865]  WARN
 {org.wso2.carbon.kernel.internal.startupresolver.StartupOrderResolver} -
 Startup component netty-transports-mgt from
 bundle(org.wso2.carbon.transport.http.netty:1.0.0) will be in the pending
 state until Capability
 org.wso2.carbon.transport.http.netty.listener.CarbonNettyServerInitializer
 from bundle(msf4j-core:1.0.0) is available
 [2016-04-08 17:24:26,866]  WARN
 {org.wso2.carbon.kernel.internal.startupresolver.StartupOrderResolver} -
 Startup component netty-transports-mgt from
 bundle(org.wso2.carbon.transport.http.netty:1.0.0) will be in the pending
 state until Capability
 org.wso2.carbon.transport.http.netty.listener.CarbonNettyServerInitializer
 from bundle(org.wso2.carbon.transport.http.netty:1.0.0) is available
 [2016-04-08 17:24:26,866]  WARN
 {org.wso2.carbon.kernel.internal.startupresolver.StartupOrderResolver} -
 Startup component carbon-transport-mgt from
 bundle(org.wso2.carbon.core:5.1.0.SNAPSHOT) will be in the pending state
 until Capability
 org.wso2.carbon.transport.http.netty.internal.NettyTransportServiceComponent
 from bundle(org.wso2.carbon.transport.http.netty:1.0.0) is available


 Thanks,
 Hasitha.

 On Thu, Apr 7, 2016 at 6:57 PM, Rasika Perera  wrote:

> Hi Himasha,
>
> This usually happens when MSF4J is waiting for its required
> capabilities. MSF4J has cardinality of AT_LEAST_ONE as required
> capabilities for the Carbon Transport. Which means server is waiting
> on the startup for at least one OSGi service implementing
> CarbonTransport.class interface[1]. As Aruna mentioned can you verify
> whether you are packing carbon transport.
>
> However one issue found on your pom file.
>
> 
> org.wso2.carbon.bpmn.rest.**,*
> version=${carbon.business-process.exp.pkg.version},
> 
>
> should be corrected as;
>
> 
> org.wso2.carbon.bpmn.rest.**;*
> version=${carbon.business-process.exp.pkg.version},
> 
>
> [1]
> https://github.com/wso2/msf4j/blob/master/core/src/main/java/org/wso2/msf4j/internal/MicroservicesServerSC.java#L74
>
> Thanks
> ~Rasika
>
>
> On Thu, Apr 7, 2016 at 2:47 PM, Aruna Karunarathna 
> wrote:
>
>> Have you guys added the carbon-transport-mgt?
>>
>> On Thu, Apr 7, 2016 at 1:57 PM, Hasitha Aravinda 
>> wrote:
>>
>>> Hi Manu,
>>>
>>> were you able to solve this issue, I am getting the same error.
>>>
>>> Thanks,
>>> Hasitha.
>>>
>>> On Wed, Feb 10, 2016 at 1:42 PM, Manuranga Perera 
>>> wrote:
>>>
 MSS product hangs when I deploy my service, but fat-jar mode works.

 prints
 Waiting on pending capability registration. Capability:
 org.wso2.msf4j.Interceptor

 how to proceed debugging?
 --
 With regards,
 *Manu*ranga Perera.

 phone : 071 7 70 20 50
 mail : m...@wso2.com

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


>>>
>>>
>>> --
>>> --
>>> Hasitha Aravinda,
>>> Senior Software Engineer,
>>> WSO2 Inc.
>>> Email: hasi...@wso2.com
>>> Mobile : +94 718 210 200
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>>
>> *Aruna Sujith Karunarathna *
>> WSO2, Inc | lean. enterprise. middleware.
>> #20, Palm Grove, Colombo 03, Sri 

Re: [Dev] product-mss hangs after deploying a (faulty) service

2016-04-19 Thread Aruna Karunarathna
On Mon, Apr 18, 2016 at 1:13 PM, Afkham Azeez  wrote:

> Updates to 1.1.0-SNAPSHOT.
>
>
Since there are API changes, because of the carbon-transport migration
wouldn't it better to make the version as 2.0.0-SNAPSHOT?

On Mon, Apr 18, 2016 at 10:15 AM, Hasitha Aravinda  wrote:
>
>> Hi Kernel team,
>>
>> This is happening due to an issue in msf4j 1.0.0 component and solution
>> is to move latest msf4j version. But still msf4j master branch is set to
>> 1.0.0-SNAPSHOT. Since MSF4J 1.0.0 is released, Jenkins is not publishing
>> snapshot artifacts to nexus. Could you please fix this ?
>>
>> [1] - https://github.com/wso2/msf4j/tree/master
>>
>> Thanks,
>> Hasitha.
>>
>> On Fri, Apr 8, 2016 at 5:35 PM, Hasitha Aravinda 
>> wrote:
>>
>>> I have updated kernel version to 5.1.0-SNAPSHOT and now I am getting
>>> following error. What could be the issue. ?
>>>
>>> [2016-04-08 17:24:26,865]  WARN
>>> {org.wso2.carbon.kernel.internal.startupresolver.StartupOrderResolver} -
>>> Startup component netty-transports-mgt from
>>> bundle(org.wso2.carbon.transport.http.netty:1.0.0) will be in the pending
>>> state until Capability
>>> org.wso2.carbon.transport.http.netty.listener.CarbonNettyServerInitializer
>>> from bundle(msf4j-core:1.0.0) is available
>>> [2016-04-08 17:24:26,866]  WARN
>>> {org.wso2.carbon.kernel.internal.startupresolver.StartupOrderResolver} -
>>> Startup component netty-transports-mgt from
>>> bundle(org.wso2.carbon.transport.http.netty:1.0.0) will be in the pending
>>> state until Capability
>>> org.wso2.carbon.transport.http.netty.listener.CarbonNettyServerInitializer
>>> from bundle(org.wso2.carbon.transport.http.netty:1.0.0) is available
>>> [2016-04-08 17:24:26,866]  WARN
>>> {org.wso2.carbon.kernel.internal.startupresolver.StartupOrderResolver} -
>>> Startup component carbon-transport-mgt from
>>> bundle(org.wso2.carbon.core:5.1.0.SNAPSHOT) will be in the pending state
>>> until Capability
>>> org.wso2.carbon.transport.http.netty.internal.NettyTransportServiceComponent
>>> from bundle(org.wso2.carbon.transport.http.netty:1.0.0) is available
>>>
>>>
>>> Thanks,
>>> Hasitha.
>>>
>>> On Thu, Apr 7, 2016 at 6:57 PM, Rasika Perera  wrote:
>>>
 Hi Himasha,

 This usually happens when MSF4J is waiting for its required
 capabilities. MSF4J has cardinality of AT_LEAST_ONE as required
 capabilities for the Carbon Transport. Which means server is waiting
 on the startup for at least one OSGi service implementing
 CarbonTransport.class interface[1]. As Aruna mentioned can you verify
 whether you are packing carbon transport.

 However one issue found on your pom file.

 
 org.wso2.carbon.bpmn.rest.**,*
 version=${carbon.business-process.exp.pkg.version},
 

 should be corrected as;

 
 org.wso2.carbon.bpmn.rest.**;*
 version=${carbon.business-process.exp.pkg.version},
 

 [1]
 https://github.com/wso2/msf4j/blob/master/core/src/main/java/org/wso2/msf4j/internal/MicroservicesServerSC.java#L74

 Thanks
 ~Rasika


 On Thu, Apr 7, 2016 at 2:47 PM, Aruna Karunarathna 
 wrote:

> Have you guys added the carbon-transport-mgt?
>
> On Thu, Apr 7, 2016 at 1:57 PM, Hasitha Aravinda 
> wrote:
>
>> Hi Manu,
>>
>> were you able to solve this issue, I am getting the same error.
>>
>> Thanks,
>> Hasitha.
>>
>> On Wed, Feb 10, 2016 at 1:42 PM, Manuranga Perera 
>> wrote:
>>
>>> MSS product hangs when I deploy my service, but fat-jar mode works.
>>>
>>> prints
>>> Waiting on pending capability registration. Capability:
>>> org.wso2.msf4j.Interceptor
>>>
>>> how to proceed debugging?
>>> --
>>> With regards,
>>> *Manu*ranga Perera.
>>>
>>> phone : 071 7 70 20 50
>>> mail : m...@wso2.com
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> --
>> Hasitha Aravinda,
>> Senior Software Engineer,
>> WSO2 Inc.
>> Email: hasi...@wso2.com
>> Mobile : +94 718 210 200
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>
> *Aruna Sujith Karunarathna *
> WSO2, Inc | lean. enterprise. middleware.
> #20, Palm Grove, Colombo 03, Sri Lanka
> Mobile: +94 71 9040362 | Work: +94 112145345
> Email: ar...@wso2.com | Web: www.wso2.com
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


 --
 With Regards,


Re: [Dev] product-mss hangs after deploying a (faulty) service

2016-04-18 Thread Afkham Azeez
Fixed.

On Mon, Apr 18, 2016 at 3:03 PM, Hasitha Aravinda  wrote:

> Hi Azeez,
>
> msf4j-core bundle exports a wrong version. This should be corrected as
> 1.1.0
>
> Export-Package: org.wso2.msf4j;version="*1.0.0*"
>
> Thanks,
> Hasitha.
>
> On Mon, Apr 18, 2016 at 1:18 PM, Hasitha Aravinda 
> wrote:
>
>> Thanks Azeez.
>>
>> Hasitha.
>>
>> On Mon, Apr 18, 2016 at 1:14 PM, Afkham Azeez  wrote:
>>
>>> Updated to 1.1.0-SNAPSHOT
>>>
>>> On Mon, Apr 18, 2016 at 1:13 PM, Afkham Azeez  wrote:
>>>
 Updates to 1.1.0-SNAPSHOT.

 On Mon, Apr 18, 2016 at 10:15 AM, Hasitha Aravinda 
 wrote:

> Hi Kernel team,
>
> This is happening due to an issue in msf4j 1.0.0 component and
> solution is to move latest msf4j version. But still msf4j master branch is
> set to 1.0.0-SNAPSHOT. Since MSF4J 1.0.0 is released, Jenkins is not
> publishing snapshot artifacts to nexus. Could you please fix this ?
>
> [1] - https://github.com/wso2/msf4j/tree/master
>
> Thanks,
> Hasitha.
>
> On Fri, Apr 8, 2016 at 5:35 PM, Hasitha Aravinda 
> wrote:
>
>> I have updated kernel version to 5.1.0-SNAPSHOT and now I am getting
>> following error. What could be the issue. ?
>>
>> [2016-04-08 17:24:26,865]  WARN
>> {org.wso2.carbon.kernel.internal.startupresolver.StartupOrderResolver} -
>> Startup component netty-transports-mgt from
>> bundle(org.wso2.carbon.transport.http.netty:1.0.0) will be in the pending
>> state until Capability
>> org.wso2.carbon.transport.http.netty.listener.CarbonNettyServerInitializer
>> from bundle(msf4j-core:1.0.0) is available
>> [2016-04-08 17:24:26,866]  WARN
>> {org.wso2.carbon.kernel.internal.startupresolver.StartupOrderResolver} -
>> Startup component netty-transports-mgt from
>> bundle(org.wso2.carbon.transport.http.netty:1.0.0) will be in the pending
>> state until Capability
>> org.wso2.carbon.transport.http.netty.listener.CarbonNettyServerInitializer
>> from bundle(org.wso2.carbon.transport.http.netty:1.0.0) is available
>> [2016-04-08 17:24:26,866]  WARN
>> {org.wso2.carbon.kernel.internal.startupresolver.StartupOrderResolver} -
>> Startup component carbon-transport-mgt from
>> bundle(org.wso2.carbon.core:5.1.0.SNAPSHOT) will be in the pending state
>> until Capability
>> org.wso2.carbon.transport.http.netty.internal.NettyTransportServiceComponent
>> from bundle(org.wso2.carbon.transport.http.netty:1.0.0) is available
>>
>>
>> Thanks,
>> Hasitha.
>>
>> On Thu, Apr 7, 2016 at 6:57 PM, Rasika Perera 
>> wrote:
>>
>>> Hi Himasha,
>>>
>>> This usually happens when MSF4J is waiting for its required
>>> capabilities. MSF4J has cardinality of AT_LEAST_ONE as required
>>> capabilities for the Carbon Transport. Which means server
>>> is waiting on the startup for at least one OSGi service implementing
>>> CarbonTransport.class interface[1]. As Aruna mentioned can you
>>> verify whether you are packing carbon transport.
>>>
>>> However one issue found on your pom file.
>>>
>>> 
>>> org.wso2.carbon.bpmn.rest.**,*
>>> version=${carbon.business-process.exp.pkg.version},
>>> 
>>>
>>> should be corrected as;
>>>
>>> 
>>> org.wso2.carbon.bpmn.rest.**;*
>>> version=${carbon.business-process.exp.pkg.version},
>>> 
>>>
>>> [1]
>>> https://github.com/wso2/msf4j/blob/master/core/src/main/java/org/wso2/msf4j/internal/MicroservicesServerSC.java#L74
>>>
>>> Thanks
>>> ~Rasika
>>>
>>>
>>> On Thu, Apr 7, 2016 at 2:47 PM, Aruna Karunarathna 
>>> wrote:
>>>
 Have you guys added the carbon-transport-mgt?

 On Thu, Apr 7, 2016 at 1:57 PM, Hasitha Aravinda 
 wrote:

> Hi Manu,
>
> were you able to solve this issue, I am getting the same error.
>
> Thanks,
> Hasitha.
>
> On Wed, Feb 10, 2016 at 1:42 PM, Manuranga Perera 
> wrote:
>
>> MSS product hangs when I deploy my service, but fat-jar mode
>> works.
>>
>> prints
>> Waiting on pending capability registration. Capability:
>> org.wso2.msf4j.Interceptor
>>
>> how to proceed debugging?
>> --
>> With regards,
>> *Manu*ranga Perera.
>>
>> phone : 071 7 70 20 50
>> mail : m...@wso2.com
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> --
> Hasitha Aravinda,

Re: [Dev] product-mss hangs after deploying a (faulty) service

2016-04-18 Thread Hasitha Aravinda
Hi Azeez,

msf4j-core bundle exports a wrong version. This should be corrected as 1.1.0

Export-Package: org.wso2.msf4j;version="*1.0.0*"

Thanks,
Hasitha.

On Mon, Apr 18, 2016 at 1:18 PM, Hasitha Aravinda  wrote:

> Thanks Azeez.
>
> Hasitha.
>
> On Mon, Apr 18, 2016 at 1:14 PM, Afkham Azeez  wrote:
>
>> Updated to 1.1.0-SNAPSHOT
>>
>> On Mon, Apr 18, 2016 at 1:13 PM, Afkham Azeez  wrote:
>>
>>> Updates to 1.1.0-SNAPSHOT.
>>>
>>> On Mon, Apr 18, 2016 at 10:15 AM, Hasitha Aravinda 
>>> wrote:
>>>
 Hi Kernel team,

 This is happening due to an issue in msf4j 1.0.0 component and solution
 is to move latest msf4j version. But still msf4j master branch is set to
 1.0.0-SNAPSHOT. Since MSF4J 1.0.0 is released, Jenkins is not publishing
 snapshot artifacts to nexus. Could you please fix this ?

 [1] - https://github.com/wso2/msf4j/tree/master

 Thanks,
 Hasitha.

 On Fri, Apr 8, 2016 at 5:35 PM, Hasitha Aravinda 
 wrote:

> I have updated kernel version to 5.1.0-SNAPSHOT and now I am getting
> following error. What could be the issue. ?
>
> [2016-04-08 17:24:26,865]  WARN
> {org.wso2.carbon.kernel.internal.startupresolver.StartupOrderResolver} -
> Startup component netty-transports-mgt from
> bundle(org.wso2.carbon.transport.http.netty:1.0.0) will be in the pending
> state until Capability
> org.wso2.carbon.transport.http.netty.listener.CarbonNettyServerInitializer
> from bundle(msf4j-core:1.0.0) is available
> [2016-04-08 17:24:26,866]  WARN
> {org.wso2.carbon.kernel.internal.startupresolver.StartupOrderResolver} -
> Startup component netty-transports-mgt from
> bundle(org.wso2.carbon.transport.http.netty:1.0.0) will be in the pending
> state until Capability
> org.wso2.carbon.transport.http.netty.listener.CarbonNettyServerInitializer
> from bundle(org.wso2.carbon.transport.http.netty:1.0.0) is available
> [2016-04-08 17:24:26,866]  WARN
> {org.wso2.carbon.kernel.internal.startupresolver.StartupOrderResolver} -
> Startup component carbon-transport-mgt from
> bundle(org.wso2.carbon.core:5.1.0.SNAPSHOT) will be in the pending state
> until Capability
> org.wso2.carbon.transport.http.netty.internal.NettyTransportServiceComponent
> from bundle(org.wso2.carbon.transport.http.netty:1.0.0) is available
>
>
> Thanks,
> Hasitha.
>
> On Thu, Apr 7, 2016 at 6:57 PM, Rasika Perera 
> wrote:
>
>> Hi Himasha,
>>
>> This usually happens when MSF4J is waiting for its required
>> capabilities. MSF4J has cardinality of AT_LEAST_ONE as required
>> capabilities for the Carbon Transport. Which means server is waiting
>> on the startup for at least one OSGi service implementing
>> CarbonTransport.class interface[1]. As Aruna mentioned can you
>> verify whether you are packing carbon transport.
>>
>> However one issue found on your pom file.
>>
>> 
>> org.wso2.carbon.bpmn.rest.**,*
>> version=${carbon.business-process.exp.pkg.version},
>> 
>>
>> should be corrected as;
>>
>> 
>> org.wso2.carbon.bpmn.rest.**;*
>> version=${carbon.business-process.exp.pkg.version},
>> 
>>
>> [1]
>> https://github.com/wso2/msf4j/blob/master/core/src/main/java/org/wso2/msf4j/internal/MicroservicesServerSC.java#L74
>>
>> Thanks
>> ~Rasika
>>
>>
>> On Thu, Apr 7, 2016 at 2:47 PM, Aruna Karunarathna 
>> wrote:
>>
>>> Have you guys added the carbon-transport-mgt?
>>>
>>> On Thu, Apr 7, 2016 at 1:57 PM, Hasitha Aravinda 
>>> wrote:
>>>
 Hi Manu,

 were you able to solve this issue, I am getting the same error.

 Thanks,
 Hasitha.

 On Wed, Feb 10, 2016 at 1:42 PM, Manuranga Perera 
 wrote:

> MSS product hangs when I deploy my service, but fat-jar mode works.
>
> prints
> Waiting on pending capability registration. Capability:
> org.wso2.msf4j.Interceptor
>
> how to proceed debugging?
> --
> With regards,
> *Manu*ranga Perera.
>
> phone : 071 7 70 20 50
> mail : m...@wso2.com
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


 --
 --
 Hasitha Aravinda,
 Senior Software Engineer,
 WSO2 Inc.
 Email: hasi...@wso2.com
 Mobile : +94 718 210 200

 ___
 Dev mailing list
 Dev@wso2.org
 

Re: [Dev] product-mss hangs after deploying a (faulty) service

2016-04-18 Thread Hasitha Aravinda
Thanks Azeez.

Hasitha.

On Mon, Apr 18, 2016 at 1:14 PM, Afkham Azeez  wrote:

> Updated to 1.1.0-SNAPSHOT
>
> On Mon, Apr 18, 2016 at 1:13 PM, Afkham Azeez  wrote:
>
>> Updates to 1.1.0-SNAPSHOT.
>>
>> On Mon, Apr 18, 2016 at 10:15 AM, Hasitha Aravinda 
>> wrote:
>>
>>> Hi Kernel team,
>>>
>>> This is happening due to an issue in msf4j 1.0.0 component and solution
>>> is to move latest msf4j version. But still msf4j master branch is set to
>>> 1.0.0-SNAPSHOT. Since MSF4J 1.0.0 is released, Jenkins is not publishing
>>> snapshot artifacts to nexus. Could you please fix this ?
>>>
>>> [1] - https://github.com/wso2/msf4j/tree/master
>>>
>>> Thanks,
>>> Hasitha.
>>>
>>> On Fri, Apr 8, 2016 at 5:35 PM, Hasitha Aravinda 
>>> wrote:
>>>
 I have updated kernel version to 5.1.0-SNAPSHOT and now I am getting
 following error. What could be the issue. ?

 [2016-04-08 17:24:26,865]  WARN
 {org.wso2.carbon.kernel.internal.startupresolver.StartupOrderResolver} -
 Startup component netty-transports-mgt from
 bundle(org.wso2.carbon.transport.http.netty:1.0.0) will be in the pending
 state until Capability
 org.wso2.carbon.transport.http.netty.listener.CarbonNettyServerInitializer
 from bundle(msf4j-core:1.0.0) is available
 [2016-04-08 17:24:26,866]  WARN
 {org.wso2.carbon.kernel.internal.startupresolver.StartupOrderResolver} -
 Startup component netty-transports-mgt from
 bundle(org.wso2.carbon.transport.http.netty:1.0.0) will be in the pending
 state until Capability
 org.wso2.carbon.transport.http.netty.listener.CarbonNettyServerInitializer
 from bundle(org.wso2.carbon.transport.http.netty:1.0.0) is available
 [2016-04-08 17:24:26,866]  WARN
 {org.wso2.carbon.kernel.internal.startupresolver.StartupOrderResolver} -
 Startup component carbon-transport-mgt from
 bundle(org.wso2.carbon.core:5.1.0.SNAPSHOT) will be in the pending state
 until Capability
 org.wso2.carbon.transport.http.netty.internal.NettyTransportServiceComponent
 from bundle(org.wso2.carbon.transport.http.netty:1.0.0) is available


 Thanks,
 Hasitha.

 On Thu, Apr 7, 2016 at 6:57 PM, Rasika Perera  wrote:

> Hi Himasha,
>
> This usually happens when MSF4J is waiting for its required
> capabilities. MSF4J has cardinality of AT_LEAST_ONE as required
> capabilities for the Carbon Transport. Which means server is waiting
> on the startup for at least one OSGi service implementing
> CarbonTransport.class interface[1]. As Aruna mentioned can you verify
> whether you are packing carbon transport.
>
> However one issue found on your pom file.
>
> 
> org.wso2.carbon.bpmn.rest.**,*
> version=${carbon.business-process.exp.pkg.version},
> 
>
> should be corrected as;
>
> 
> org.wso2.carbon.bpmn.rest.**;*
> version=${carbon.business-process.exp.pkg.version},
> 
>
> [1]
> https://github.com/wso2/msf4j/blob/master/core/src/main/java/org/wso2/msf4j/internal/MicroservicesServerSC.java#L74
>
> Thanks
> ~Rasika
>
>
> On Thu, Apr 7, 2016 at 2:47 PM, Aruna Karunarathna 
> wrote:
>
>> Have you guys added the carbon-transport-mgt?
>>
>> On Thu, Apr 7, 2016 at 1:57 PM, Hasitha Aravinda 
>> wrote:
>>
>>> Hi Manu,
>>>
>>> were you able to solve this issue, I am getting the same error.
>>>
>>> Thanks,
>>> Hasitha.
>>>
>>> On Wed, Feb 10, 2016 at 1:42 PM, Manuranga Perera 
>>> wrote:
>>>
 MSS product hangs when I deploy my service, but fat-jar mode works.

 prints
 Waiting on pending capability registration. Capability:
 org.wso2.msf4j.Interceptor

 how to proceed debugging?
 --
 With regards,
 *Manu*ranga Perera.

 phone : 071 7 70 20 50
 mail : m...@wso2.com

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


>>>
>>>
>>> --
>>> --
>>> Hasitha Aravinda,
>>> Senior Software Engineer,
>>> WSO2 Inc.
>>> Email: hasi...@wso2.com
>>> Mobile : +94 718 210 200
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>>
>> *Aruna Sujith Karunarathna *
>> WSO2, Inc | lean. enterprise. middleware.
>> #20, Palm Grove, Colombo 03, Sri Lanka
>> Mobile: +94 71 9040362 | Work: +94 112145345
>> Email: ar...@wso2.com | Web: www.wso2.com
>>
>>
>> ___

Re: [Dev] product-mss hangs after deploying a (faulty) service

2016-04-18 Thread Afkham Azeez
Updated to 1.1.0-SNAPSHOT

On Mon, Apr 18, 2016 at 1:13 PM, Afkham Azeez  wrote:

> Updates to 1.1.0-SNAPSHOT.
>
> On Mon, Apr 18, 2016 at 10:15 AM, Hasitha Aravinda 
> wrote:
>
>> Hi Kernel team,
>>
>> This is happening due to an issue in msf4j 1.0.0 component and solution
>> is to move latest msf4j version. But still msf4j master branch is set to
>> 1.0.0-SNAPSHOT. Since MSF4J 1.0.0 is released, Jenkins is not publishing
>> snapshot artifacts to nexus. Could you please fix this ?
>>
>> [1] - https://github.com/wso2/msf4j/tree/master
>>
>> Thanks,
>> Hasitha.
>>
>> On Fri, Apr 8, 2016 at 5:35 PM, Hasitha Aravinda 
>> wrote:
>>
>>> I have updated kernel version to 5.1.0-SNAPSHOT and now I am getting
>>> following error. What could be the issue. ?
>>>
>>> [2016-04-08 17:24:26,865]  WARN
>>> {org.wso2.carbon.kernel.internal.startupresolver.StartupOrderResolver} -
>>> Startup component netty-transports-mgt from
>>> bundle(org.wso2.carbon.transport.http.netty:1.0.0) will be in the pending
>>> state until Capability
>>> org.wso2.carbon.transport.http.netty.listener.CarbonNettyServerInitializer
>>> from bundle(msf4j-core:1.0.0) is available
>>> [2016-04-08 17:24:26,866]  WARN
>>> {org.wso2.carbon.kernel.internal.startupresolver.StartupOrderResolver} -
>>> Startup component netty-transports-mgt from
>>> bundle(org.wso2.carbon.transport.http.netty:1.0.0) will be in the pending
>>> state until Capability
>>> org.wso2.carbon.transport.http.netty.listener.CarbonNettyServerInitializer
>>> from bundle(org.wso2.carbon.transport.http.netty:1.0.0) is available
>>> [2016-04-08 17:24:26,866]  WARN
>>> {org.wso2.carbon.kernel.internal.startupresolver.StartupOrderResolver} -
>>> Startup component carbon-transport-mgt from
>>> bundle(org.wso2.carbon.core:5.1.0.SNAPSHOT) will be in the pending state
>>> until Capability
>>> org.wso2.carbon.transport.http.netty.internal.NettyTransportServiceComponent
>>> from bundle(org.wso2.carbon.transport.http.netty:1.0.0) is available
>>>
>>>
>>> Thanks,
>>> Hasitha.
>>>
>>> On Thu, Apr 7, 2016 at 6:57 PM, Rasika Perera  wrote:
>>>
 Hi Himasha,

 This usually happens when MSF4J is waiting for its required
 capabilities. MSF4J has cardinality of AT_LEAST_ONE as required
 capabilities for the Carbon Transport. Which means server is waiting
 on the startup for at least one OSGi service implementing
 CarbonTransport.class interface[1]. As Aruna mentioned can you verify
 whether you are packing carbon transport.

 However one issue found on your pom file.

 
 org.wso2.carbon.bpmn.rest.**,*
 version=${carbon.business-process.exp.pkg.version},
 

 should be corrected as;

 
 org.wso2.carbon.bpmn.rest.**;*
 version=${carbon.business-process.exp.pkg.version},
 

 [1]
 https://github.com/wso2/msf4j/blob/master/core/src/main/java/org/wso2/msf4j/internal/MicroservicesServerSC.java#L74

 Thanks
 ~Rasika


 On Thu, Apr 7, 2016 at 2:47 PM, Aruna Karunarathna 
 wrote:

> Have you guys added the carbon-transport-mgt?
>
> On Thu, Apr 7, 2016 at 1:57 PM, Hasitha Aravinda 
> wrote:
>
>> Hi Manu,
>>
>> were you able to solve this issue, I am getting the same error.
>>
>> Thanks,
>> Hasitha.
>>
>> On Wed, Feb 10, 2016 at 1:42 PM, Manuranga Perera 
>> wrote:
>>
>>> MSS product hangs when I deploy my service, but fat-jar mode works.
>>>
>>> prints
>>> Waiting on pending capability registration. Capability:
>>> org.wso2.msf4j.Interceptor
>>>
>>> how to proceed debugging?
>>> --
>>> With regards,
>>> *Manu*ranga Perera.
>>>
>>> phone : 071 7 70 20 50
>>> mail : m...@wso2.com
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> --
>> Hasitha Aravinda,
>> Senior Software Engineer,
>> WSO2 Inc.
>> Email: hasi...@wso2.com
>> Mobile : +94 718 210 200
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>
> *Aruna Sujith Karunarathna *
> WSO2, Inc | lean. enterprise. middleware.
> #20, Palm Grove, Colombo 03, Sri Lanka
> Mobile: +94 71 9040362 | Work: +94 112145345
> Email: ar...@wso2.com | Web: www.wso2.com
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


 --
 With Regards,

 *Rasika Perera*
 Software Engineer
 M: +94 71 680 9060 E: rasi...@wso2.com
 LinkedIn: 

Re: [Dev] product-mss hangs after deploying a (faulty) service

2016-04-18 Thread Afkham Azeez
Updates to 1.1.0-SNAPSHOT.

On Mon, Apr 18, 2016 at 10:15 AM, Hasitha Aravinda  wrote:

> Hi Kernel team,
>
> This is happening due to an issue in msf4j 1.0.0 component and solution is
> to move latest msf4j version. But still msf4j master branch is set to
> 1.0.0-SNAPSHOT. Since MSF4J 1.0.0 is released, Jenkins is not publishing
> snapshot artifacts to nexus. Could you please fix this ?
>
> [1] - https://github.com/wso2/msf4j/tree/master
>
> Thanks,
> Hasitha.
>
> On Fri, Apr 8, 2016 at 5:35 PM, Hasitha Aravinda  wrote:
>
>> I have updated kernel version to 5.1.0-SNAPSHOT and now I am getting
>> following error. What could be the issue. ?
>>
>> [2016-04-08 17:24:26,865]  WARN
>> {org.wso2.carbon.kernel.internal.startupresolver.StartupOrderResolver} -
>> Startup component netty-transports-mgt from
>> bundle(org.wso2.carbon.transport.http.netty:1.0.0) will be in the pending
>> state until Capability
>> org.wso2.carbon.transport.http.netty.listener.CarbonNettyServerInitializer
>> from bundle(msf4j-core:1.0.0) is available
>> [2016-04-08 17:24:26,866]  WARN
>> {org.wso2.carbon.kernel.internal.startupresolver.StartupOrderResolver} -
>> Startup component netty-transports-mgt from
>> bundle(org.wso2.carbon.transport.http.netty:1.0.0) will be in the pending
>> state until Capability
>> org.wso2.carbon.transport.http.netty.listener.CarbonNettyServerInitializer
>> from bundle(org.wso2.carbon.transport.http.netty:1.0.0) is available
>> [2016-04-08 17:24:26,866]  WARN
>> {org.wso2.carbon.kernel.internal.startupresolver.StartupOrderResolver} -
>> Startup component carbon-transport-mgt from
>> bundle(org.wso2.carbon.core:5.1.0.SNAPSHOT) will be in the pending state
>> until Capability
>> org.wso2.carbon.transport.http.netty.internal.NettyTransportServiceComponent
>> from bundle(org.wso2.carbon.transport.http.netty:1.0.0) is available
>>
>>
>> Thanks,
>> Hasitha.
>>
>> On Thu, Apr 7, 2016 at 6:57 PM, Rasika Perera  wrote:
>>
>>> Hi Himasha,
>>>
>>> This usually happens when MSF4J is waiting for its required
>>> capabilities. MSF4J has cardinality of AT_LEAST_ONE as required
>>> capabilities for the Carbon Transport. Which means server is waiting on
>>> the startup for at least one OSGi service implementing
>>> CarbonTransport.class interface[1]. As Aruna mentioned can you verify
>>> whether you are packing carbon transport.
>>>
>>> However one issue found on your pom file.
>>>
>>> 
>>> org.wso2.carbon.bpmn.rest.**,*
>>> version=${carbon.business-process.exp.pkg.version},
>>> 
>>>
>>> should be corrected as;
>>>
>>> 
>>> org.wso2.carbon.bpmn.rest.**;*
>>> version=${carbon.business-process.exp.pkg.version},
>>> 
>>>
>>> [1]
>>> https://github.com/wso2/msf4j/blob/master/core/src/main/java/org/wso2/msf4j/internal/MicroservicesServerSC.java#L74
>>>
>>> Thanks
>>> ~Rasika
>>>
>>>
>>> On Thu, Apr 7, 2016 at 2:47 PM, Aruna Karunarathna 
>>> wrote:
>>>
 Have you guys added the carbon-transport-mgt?

 On Thu, Apr 7, 2016 at 1:57 PM, Hasitha Aravinda 
 wrote:

> Hi Manu,
>
> were you able to solve this issue, I am getting the same error.
>
> Thanks,
> Hasitha.
>
> On Wed, Feb 10, 2016 at 1:42 PM, Manuranga Perera 
> wrote:
>
>> MSS product hangs when I deploy my service, but fat-jar mode works.
>>
>> prints
>> Waiting on pending capability registration. Capability:
>> org.wso2.msf4j.Interceptor
>>
>> how to proceed debugging?
>> --
>> With regards,
>> *Manu*ranga Perera.
>>
>> phone : 071 7 70 20 50
>> mail : m...@wso2.com
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> --
> Hasitha Aravinda,
> Senior Software Engineer,
> WSO2 Inc.
> Email: hasi...@wso2.com
> Mobile : +94 718 210 200
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


 --

 *Aruna Sujith Karunarathna *
 WSO2, Inc | lean. enterprise. middleware.
 #20, Palm Grove, Colombo 03, Sri Lanka
 Mobile: +94 71 9040362 | Work: +94 112145345
 Email: ar...@wso2.com | Web: www.wso2.com


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


>>>
>>>
>>> --
>>> With Regards,
>>>
>>> *Rasika Perera*
>>> Software Engineer
>>> M: +94 71 680 9060 E: rasi...@wso2.com
>>> LinkedIn: http://lk.linkedin.com/in/rasika90
>>>
>>> WSO2 Inc. www.wso2.com
>>> lean.enterprise.middleware
>>>
>>
>>
>>
>> --
>> --
>> Hasitha Aravinda,
>> Senior Software Engineer,
>> WSO2 Inc.
>> Email: hasi...@wso2.com
>> Mobile : +94 718 210 200
>>
>
>
>
> --
> --
> 

Re: [Dev] product-mss hangs after deploying a (faulty) service

2016-04-17 Thread Hasitha Aravinda
Hi Kernel team,

This is happening due to an issue in msf4j 1.0.0 component and solution is
to move latest msf4j version. But still msf4j master branch is set to
1.0.0-SNAPSHOT. Since MSF4J 1.0.0 is released, Jenkins is not publishing
snapshot artifacts to nexus. Could you please fix this ?

[1] - https://github.com/wso2/msf4j/tree/master

Thanks,
Hasitha.

On Fri, Apr 8, 2016 at 5:35 PM, Hasitha Aravinda  wrote:

> I have updated kernel version to 5.1.0-SNAPSHOT and now I am getting
> following error. What could be the issue. ?
>
> [2016-04-08 17:24:26,865]  WARN
> {org.wso2.carbon.kernel.internal.startupresolver.StartupOrderResolver} -
> Startup component netty-transports-mgt from
> bundle(org.wso2.carbon.transport.http.netty:1.0.0) will be in the pending
> state until Capability
> org.wso2.carbon.transport.http.netty.listener.CarbonNettyServerInitializer
> from bundle(msf4j-core:1.0.0) is available
> [2016-04-08 17:24:26,866]  WARN
> {org.wso2.carbon.kernel.internal.startupresolver.StartupOrderResolver} -
> Startup component netty-transports-mgt from
> bundle(org.wso2.carbon.transport.http.netty:1.0.0) will be in the pending
> state until Capability
> org.wso2.carbon.transport.http.netty.listener.CarbonNettyServerInitializer
> from bundle(org.wso2.carbon.transport.http.netty:1.0.0) is available
> [2016-04-08 17:24:26,866]  WARN
> {org.wso2.carbon.kernel.internal.startupresolver.StartupOrderResolver} -
> Startup component carbon-transport-mgt from
> bundle(org.wso2.carbon.core:5.1.0.SNAPSHOT) will be in the pending state
> until Capability
> org.wso2.carbon.transport.http.netty.internal.NettyTransportServiceComponent
> from bundle(org.wso2.carbon.transport.http.netty:1.0.0) is available
>
>
> Thanks,
> Hasitha.
>
> On Thu, Apr 7, 2016 at 6:57 PM, Rasika Perera  wrote:
>
>> Hi Himasha,
>>
>> This usually happens when MSF4J is waiting for its required capabilities.
>> MSF4J has cardinality of AT_LEAST_ONE as required capabilities for the Carbon
>> Transport. Which means server is waiting on the startup for at least one
>> OSGi service implementing CarbonTransport.class interface[1]. As Aruna
>> mentioned can you verify whether you are packing carbon transport.
>>
>> However one issue found on your pom file.
>>
>> 
>> org.wso2.carbon.bpmn.rest.**,*
>> version=${carbon.business-process.exp.pkg.version},
>> 
>>
>> should be corrected as;
>>
>> 
>> org.wso2.carbon.bpmn.rest.**;*
>> version=${carbon.business-process.exp.pkg.version},
>> 
>>
>> [1]
>> https://github.com/wso2/msf4j/blob/master/core/src/main/java/org/wso2/msf4j/internal/MicroservicesServerSC.java#L74
>>
>> Thanks
>> ~Rasika
>>
>>
>> On Thu, Apr 7, 2016 at 2:47 PM, Aruna Karunarathna 
>> wrote:
>>
>>> Have you guys added the carbon-transport-mgt?
>>>
>>> On Thu, Apr 7, 2016 at 1:57 PM, Hasitha Aravinda 
>>> wrote:
>>>
 Hi Manu,

 were you able to solve this issue, I am getting the same error.

 Thanks,
 Hasitha.

 On Wed, Feb 10, 2016 at 1:42 PM, Manuranga Perera 
 wrote:

> MSS product hangs when I deploy my service, but fat-jar mode works.
>
> prints
> Waiting on pending capability registration. Capability:
> org.wso2.msf4j.Interceptor
>
> how to proceed debugging?
> --
> With regards,
> *Manu*ranga Perera.
>
> phone : 071 7 70 20 50
> mail : m...@wso2.com
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


 --
 --
 Hasitha Aravinda,
 Senior Software Engineer,
 WSO2 Inc.
 Email: hasi...@wso2.com
 Mobile : +94 718 210 200

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


>>>
>>>
>>> --
>>>
>>> *Aruna Sujith Karunarathna *
>>> WSO2, Inc | lean. enterprise. middleware.
>>> #20, Palm Grove, Colombo 03, Sri Lanka
>>> Mobile: +94 71 9040362 | Work: +94 112145345
>>> Email: ar...@wso2.com | Web: www.wso2.com
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> With Regards,
>>
>> *Rasika Perera*
>> Software Engineer
>> M: +94 71 680 9060 E: rasi...@wso2.com
>> LinkedIn: http://lk.linkedin.com/in/rasika90
>>
>> WSO2 Inc. www.wso2.com
>> lean.enterprise.middleware
>>
>
>
>
> --
> --
> Hasitha Aravinda,
> Senior Software Engineer,
> WSO2 Inc.
> Email: hasi...@wso2.com
> Mobile : +94 718 210 200
>



-- 
--
Hasitha Aravinda,
Senior Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile : +94 718 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] product-mss hangs after deploying a (faulty) service

2016-04-08 Thread Hasitha Aravinda
I have updated kernel version to 5.1.0-SNAPSHOT and now I am getting
following error. What could be the issue. ?

[2016-04-08 17:24:26,865]  WARN
{org.wso2.carbon.kernel.internal.startupresolver.StartupOrderResolver} -
Startup component netty-transports-mgt from
bundle(org.wso2.carbon.transport.http.netty:1.0.0) will be in the pending
state until Capability
org.wso2.carbon.transport.http.netty.listener.CarbonNettyServerInitializer
from bundle(msf4j-core:1.0.0) is available
[2016-04-08 17:24:26,866]  WARN
{org.wso2.carbon.kernel.internal.startupresolver.StartupOrderResolver} -
Startup component netty-transports-mgt from
bundle(org.wso2.carbon.transport.http.netty:1.0.0) will be in the pending
state until Capability
org.wso2.carbon.transport.http.netty.listener.CarbonNettyServerInitializer
from bundle(org.wso2.carbon.transport.http.netty:1.0.0) is available
[2016-04-08 17:24:26,866]  WARN
{org.wso2.carbon.kernel.internal.startupresolver.StartupOrderResolver} -
Startup component carbon-transport-mgt from
bundle(org.wso2.carbon.core:5.1.0.SNAPSHOT) will be in the pending state
until Capability
org.wso2.carbon.transport.http.netty.internal.NettyTransportServiceComponent
from bundle(org.wso2.carbon.transport.http.netty:1.0.0) is available


Thanks,
Hasitha.

On Thu, Apr 7, 2016 at 6:57 PM, Rasika Perera  wrote:

> Hi Himasha,
>
> This usually happens when MSF4J is waiting for its required capabilities.
> MSF4J has cardinality of AT_LEAST_ONE as required capabilities for the Carbon
> Transport. Which means server is waiting on the startup for at least one
> OSGi service implementing CarbonTransport.class interface[1]. As Aruna
> mentioned can you verify whether you are packing carbon transport.
>
> However one issue found on your pom file.
>
> 
> org.wso2.carbon.bpmn.rest.**,*
> version=${carbon.business-process.exp.pkg.version},
> 
>
> should be corrected as;
>
> 
> org.wso2.carbon.bpmn.rest.**;*
> version=${carbon.business-process.exp.pkg.version},
> 
>
> [1]
> https://github.com/wso2/msf4j/blob/master/core/src/main/java/org/wso2/msf4j/internal/MicroservicesServerSC.java#L74
>
> Thanks
> ~Rasika
>
>
> On Thu, Apr 7, 2016 at 2:47 PM, Aruna Karunarathna  wrote:
>
>> Have you guys added the carbon-transport-mgt?
>>
>> On Thu, Apr 7, 2016 at 1:57 PM, Hasitha Aravinda 
>> wrote:
>>
>>> Hi Manu,
>>>
>>> were you able to solve this issue, I am getting the same error.
>>>
>>> Thanks,
>>> Hasitha.
>>>
>>> On Wed, Feb 10, 2016 at 1:42 PM, Manuranga Perera  wrote:
>>>
 MSS product hangs when I deploy my service, but fat-jar mode works.

 prints
 Waiting on pending capability registration. Capability:
 org.wso2.msf4j.Interceptor

 how to proceed debugging?
 --
 With regards,
 *Manu*ranga Perera.

 phone : 071 7 70 20 50
 mail : m...@wso2.com

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


>>>
>>>
>>> --
>>> --
>>> Hasitha Aravinda,
>>> Senior Software Engineer,
>>> WSO2 Inc.
>>> Email: hasi...@wso2.com
>>> Mobile : +94 718 210 200
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>>
>> *Aruna Sujith Karunarathna *
>> WSO2, Inc | lean. enterprise. middleware.
>> #20, Palm Grove, Colombo 03, Sri Lanka
>> Mobile: +94 71 9040362 | Work: +94 112145345
>> Email: ar...@wso2.com | Web: www.wso2.com
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> With Regards,
>
> *Rasika Perera*
> Software Engineer
> M: +94 71 680 9060 E: rasi...@wso2.com
> LinkedIn: http://lk.linkedin.com/in/rasika90
>
> WSO2 Inc. www.wso2.com
> lean.enterprise.middleware
>



-- 
--
Hasitha Aravinda,
Senior Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile : +94 718 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] product-mss hangs after deploying a (faulty) service

2016-04-07 Thread Rasika Perera
Hi Himasha,

This usually happens when MSF4J is waiting for its required capabilities.
MSF4J has cardinality of AT_LEAST_ONE as required capabilities for the Carbon
Transport. Which means server is waiting on the startup for at least one
OSGi service implementing CarbonTransport.class interface[1]. As Aruna
mentioned can you verify whether you are packing carbon transport.

However one issue found on your pom file.


org.wso2.carbon.bpmn.rest.**,*
version=${carbon.business-process.exp.pkg.version},


should be corrected as;


org.wso2.carbon.bpmn.rest.**;*
version=${carbon.business-process.exp.pkg.version},


[1]
https://github.com/wso2/msf4j/blob/master/core/src/main/java/org/wso2/msf4j/internal/MicroservicesServerSC.java#L74

Thanks
~Rasika


On Thu, Apr 7, 2016 at 2:47 PM, Aruna Karunarathna  wrote:

> Have you guys added the carbon-transport-mgt?
>
> On Thu, Apr 7, 2016 at 1:57 PM, Hasitha Aravinda  wrote:
>
>> Hi Manu,
>>
>> were you able to solve this issue, I am getting the same error.
>>
>> Thanks,
>> Hasitha.
>>
>> On Wed, Feb 10, 2016 at 1:42 PM, Manuranga Perera  wrote:
>>
>>> MSS product hangs when I deploy my service, but fat-jar mode works.
>>>
>>> prints
>>> Waiting on pending capability registration. Capability:
>>> org.wso2.msf4j.Interceptor
>>>
>>> how to proceed debugging?
>>> --
>>> With regards,
>>> *Manu*ranga Perera.
>>>
>>> phone : 071 7 70 20 50
>>> mail : m...@wso2.com
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> --
>> Hasitha Aravinda,
>> Senior Software Engineer,
>> WSO2 Inc.
>> Email: hasi...@wso2.com
>> Mobile : +94 718 210 200
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>
> *Aruna Sujith Karunarathna *
> WSO2, Inc | lean. enterprise. middleware.
> #20, Palm Grove, Colombo 03, Sri Lanka
> Mobile: +94 71 9040362 | Work: +94 112145345
> Email: ar...@wso2.com | Web: www.wso2.com
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
With Regards,

*Rasika Perera*
Software Engineer
M: +94 71 680 9060 E: rasi...@wso2.com
LinkedIn: http://lk.linkedin.com/in/rasika90

WSO2 Inc. www.wso2.com
lean.enterprise.middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] product-mss hangs after deploying a (faulty) service

2016-04-07 Thread Aruna Karunarathna
Have you guys added the carbon-transport-mgt?

On Thu, Apr 7, 2016 at 1:57 PM, Hasitha Aravinda  wrote:

> Hi Manu,
>
> were you able to solve this issue, I am getting the same error.
>
> Thanks,
> Hasitha.
>
> On Wed, Feb 10, 2016 at 1:42 PM, Manuranga Perera  wrote:
>
>> MSS product hangs when I deploy my service, but fat-jar mode works.
>>
>> prints
>> Waiting on pending capability registration. Capability:
>> org.wso2.msf4j.Interceptor
>>
>> how to proceed debugging?
>> --
>> With regards,
>> *Manu*ranga Perera.
>>
>> phone : 071 7 70 20 50
>> mail : m...@wso2.com
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> --
> Hasitha Aravinda,
> Senior Software Engineer,
> WSO2 Inc.
> Email: hasi...@wso2.com
> Mobile : +94 718 210 200
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Aruna Sujith Karunarathna *
WSO2, Inc | lean. enterprise. middleware.
#20, Palm Grove, Colombo 03, Sri Lanka
Mobile: +94 71 9040362 | Work: +94 112145345
Email: ar...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] product-mss hangs after deploying a (faulty) service

2016-04-07 Thread Himasha Guruge
Hi Rasika,

Please find the attached  pom.xml that is in place.

Regards,
Himasha

On Thu, Apr 7, 2016 at 2:07 PM, Manuranga Perera  wrote:

> Rasika is the one who actually fixed it. I think it was some OSGi thing
> being not imported or exported properly.
> Rasika can you please mention the steps.
>
> On Thu, Apr 7, 2016 at 1:57 PM, Hasitha Aravinda  wrote:
>
>> Hi Manu,
>>
>> were you able to solve this issue, I am getting the same error.
>>
>> Thanks,
>> Hasitha.
>>
>> On Wed, Feb 10, 2016 at 1:42 PM, Manuranga Perera  wrote:
>>
>>> MSS product hangs when I deploy my service, but fat-jar mode works.
>>>
>>> prints
>>> Waiting on pending capability registration. Capability:
>>> org.wso2.msf4j.Interceptor
>>>
>>> how to proceed debugging?
>>> --
>>> With regards,
>>> *Manu*ranga Perera.
>>>
>>> phone : 071 7 70 20 50
>>> mail : m...@wso2.com
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> --
>> Hasitha Aravinda,
>> Senior Software Engineer,
>> WSO2 Inc.
>> Email: hasi...@wso2.com
>> Mobile : +94 718 210 200
>>
>
>
>
> --
> With regards,
> *Manu*ranga Perera.
>
> phone : 071 7 70 20 50
> mail : m...@wso2.com
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Himasha Guruge
*Software Engineer*
WS*O2* *Inc.*
Mobile: +94 777459299
himas...@wso2.com


http://maven.apache.org/POM/4.0.0; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd;>


org.wso2.carbon.business-process
bpmn
5.0.0-SNAPSHOT
../pom.xml



4.0.0
org.wso2.carbon.bpmn.rest
bpmn rest api
bundle
WSO2 Carbon - BPMN Rest Component
http://wso2.org




org.codehaus.mojo
findbugs-maven-plugin

false










org.wso2.carbon.business-process
org.wso2.carbon.bpmn




org.wso2.orbit.org.activiti
activiti-all


org.wso2.orbit.com.fasterxml.jackson.core
jackson-core


org.wso2.orbit.com.fasterxml.jackson.core
jackson-annotations


org.wso2.orbit.com.fasterxml.jackson.core
jackson-databind


org.wso2.orbit.com.fasterxml.jackson.module
jackson-module-jaxb-annotations


joda-time
joda-time




org.wso2.msf4j
msf4j-core


org.eclipse.osgi
org.eclipse.osgi





commons-httpclient
commons-httpclient
3.1
provided


commons-logging
commons-logging
provided


org.apache.commons
commons-lang3


org.eclipse.equinox
javax.servlet




true

org.wso2.carbon.bpmn.rest.*,
version=${carbon.business-process.exp.pkg.version},


org.osgi.framework; version="[1.8.0, 2.0.0)",
org.wso2.msf4j.*;version="${carbon.msf4j.version}",
org.slf4j; version="[1.7.7, 2.0.0)",
javax.ws.rs.*,

*


___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] product-mss hangs after deploying a (faulty) service

2016-04-07 Thread Manuranga Perera
Rasika is the one who actually fixed it. I think it was some OSGi thing
being not imported or exported properly.
Rasika can you please mention the steps.

On Thu, Apr 7, 2016 at 1:57 PM, Hasitha Aravinda  wrote:

> Hi Manu,
>
> were you able to solve this issue, I am getting the same error.
>
> Thanks,
> Hasitha.
>
> On Wed, Feb 10, 2016 at 1:42 PM, Manuranga Perera  wrote:
>
>> MSS product hangs when I deploy my service, but fat-jar mode works.
>>
>> prints
>> Waiting on pending capability registration. Capability:
>> org.wso2.msf4j.Interceptor
>>
>> how to proceed debugging?
>> --
>> With regards,
>> *Manu*ranga Perera.
>>
>> phone : 071 7 70 20 50
>> mail : m...@wso2.com
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> --
> Hasitha Aravinda,
> Senior Software Engineer,
> WSO2 Inc.
> Email: hasi...@wso2.com
> Mobile : +94 718 210 200
>



-- 
With regards,
*Manu*ranga Perera.

phone : 071 7 70 20 50
mail : m...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] product-mss hangs after deploying a (faulty) service

2016-04-07 Thread Hasitha Aravinda
Hi Manu,

were you able to solve this issue, I am getting the same error.

Thanks,
Hasitha.

On Wed, Feb 10, 2016 at 1:42 PM, Manuranga Perera  wrote:

> MSS product hangs when I deploy my service, but fat-jar mode works.
>
> prints
> Waiting on pending capability registration. Capability:
> org.wso2.msf4j.Interceptor
>
> how to proceed debugging?
> --
> With regards,
> *Manu*ranga Perera.
>
> phone : 071 7 70 20 50
> mail : m...@wso2.com
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
--
Hasitha Aravinda,
Senior Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile : +94 718 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] product-mss hangs after deploying a (faulty) service

2016-02-10 Thread Manuranga Perera
MSS product hangs when I deploy my service, but fat-jar mode works.

prints
Waiting on pending capability registration. Capability:
org.wso2.msf4j.Interceptor

how to proceed debugging?
-- 
With regards,
*Manu*ranga Perera.

phone : 071 7 70 20 50
mail : m...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev