Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

OSGi bundle not working until restarted

Avatar

Avatar
Give Back
Level 2
Manh_Nguyen
Level 2

Likes

4 likes

Total Posts

29 posts

Correct Reply

1 solution
Top badges earned
Give Back
Ignite 1
Validate 1
Boost 3
Boost 1
View profile

Avatar
Give Back
Level 2
Manh_Nguyen
Level 2

Likes

4 likes

Total Posts

29 posts

Correct Reply

1 solution
Top badges earned
Give Back
Ignite 1
Validate 1
Boost 3
Boost 1
View profile
Manh_Nguyen
Level 2

02-09-2018

Hi,

I have a problem of the OSGi bundle not working. When first upload and install the package which contain the bundle, all the functions from the bundle was working and status is "active". And then I didn't touch the bundle for few days, then some functions of this bundle are not working until I stop then start the bundle again.

Please let me know how to resolve this permanently, because restarting the bundle is not an option for this. Any help would be appreciated.

Thanks and Regards,

Manh

Replies

Avatar

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,345 likes

Total Posts

3,220 posts

Correct Reply

914 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,345 likes

Total Posts

3,220 posts

Correct Reply

914 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile
Arun_Patidar
MVP

02-09-2018

Hi,

I am not sure but worth to check below

Avatar

Avatar
Give Back
Level 2
Manh_Nguyen
Level 2

Likes

4 likes

Total Posts

29 posts

Correct Reply

1 solution
Top badges earned
Give Back
Ignite 1
Validate 1
Boost 3
Boost 1
View profile

Avatar
Give Back
Level 2
Manh_Nguyen
Level 2

Likes

4 likes

Total Posts

29 posts

Correct Reply

1 solution
Top badges earned
Give Back
Ignite 1
Validate 1
Boost 3
Boost 1
View profile
Manh_Nguyen
Level 2

02-09-2018

Hi Arun,

Thanks for your reply.

Like you said, I found that there is no immediate=true inside @Component, however, the function inside the component was working correctly when first install the package, but I leave this bundle for a few days and do a re-test, this function is not working anymore.

Avatar

Avatar
Coach
Employee
Jörg_Hoh
Employee

Likes

1,111 likes

Total Posts

3,145 posts

Correct Reply

1,072 solutions
Top badges earned
Coach
Give back 600
Ignite 5
Ignite 3
Ignite 1
View profile

Avatar
Coach
Employee
Jörg_Hoh
Employee

Likes

1,111 likes

Total Posts

3,145 posts

Correct Reply

1,072 solutions
Top badges earned
Coach
Give back 600
Ignite 5
Ignite 3
Ignite 1
View profile
Jörg_Hoh
Employee

03-09-2018

That does not seem to be a product thing, but rather your code might run into some trouble (exception?) and stop working. You should check the log and search for messages pertaining to the services in your bundle.

Jörg