Re: [Dev] Issue activating component in wso2 server

2016-01-05 Thread Ruwan Abeykoon
Hi Nipuna, >>You cannot use a class level comment in component activation class with having following block in the class. Are you sure on this? I have seen class comments available in most of the component activation classes. e.g. [1] [1]

Re: [Dev] Issue activating component in wso2 server

2016-01-05 Thread Nipuna Prashan
Hi Ruwan, you are correct, I mean we cannot use like this, I have used two blocks. That was the problem. /** * @scr.component name="org.wso2.carbon.apimgt.apideletion" * @scr.reference name="realm.service" * interface="org.wso2.carbon.user.core.service.RealmService" cardinality="1..1" *

Re: [Dev] Issue activating component in wso2 server

2016-01-05 Thread Nipuna Prashan
Hi, I found out the problem, I will leave it here with the solution You cannot use a class level comment in component activation class with having following block in the class. /** * @scr.component name="" * immediate="true" *... *... */ On Tue, Jan 5, 2016 at 5:49 PM, Nipuna Prashan

[Dev] Issue activating component in wso2 server

2016-01-05 Thread Nipuna Prashan
Hi all, I have a problem with a osgi component. When I start the server(APIM 1.9.1) the log that gets printed when the component gets activated is not printed implying it has not been activated. But, when I check in the OSGI console in the server, it says that component has activated. No errors