You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by Niels Stevens <ni...@kabisa.nl> on 2013/07/31 14:08:07 UTC

[fileinstall] stuck on starting new bundle

Hi,

I stumbling across an issue where I can start a bundle with the File
Install mechanism or manually.
Our application heavily depends on the Felix File Install functionality to
deploy or uninstall bundles.
We have several instances of Servicemix running with the exact same setting
and bundles installed.
But there is only one Servicemix instances causing problems.

>From the moment we move a jar into the default fileinstall directory
'deploy', felix will recognise the jar install it.
But, here comes the troubling part, not start the bundle. It tries to start
the bundle, I can tell by looking into logfile.
This entry is appearing in the logs:

14:00:45,222 | INFO  | mix-4.5.1/deploy | fileinstall
 | 7 - org.apache.felix.fileinstall - 3.2.4 | Started bundle:
file:/opt/esb/apache-servicemix-4.5.1/deploy/test.jar
14:00:46,229 | INFO  | mix-4.5.1/deploy | fileinstall
 | 7 - org.apache.felix.fileinstall - 3.2.4 | Started bundle:
file:/opt/esb/apache-servicemix-4.5.1/deploy/test.jar
14:00:47,236 | INFO  | mix-4.5.1/deploy | fileinstall
 | 7 - org.apache.felix.fileinstall - 3.2.4 | Started bundle:
file:/opt/esb/apache-servicemix-4.5.1/deploy/test.jar
14:00:48,245 | INFO  | mix-4.5.1/deploy | fileinstall
 | 7 - org.apache.felix.fileinstall - 3.2.4 | Started bundle:
file:/opt/esb/apache-servicemix-4.5.1/deploy/test.jar

As you will notice it tries to start the bundle every second.

Also when we remove a installed bundle from the deploy folder the bundle
will get stuck in 'stopping' state.
And Felix will try to stop the bundle repeatedly without any luck.
Another cause of this is no other bundle will be picked up because Felix is
already busy starting or stopping a bundle.

I'm using a Servicemix 4.5.1 instance with the default Felix 3.2.4, as OS
we use Ubuntu 12.04.2 LTS.
Anybody encountered this before? Or have a slightest idea where I can look
or what I'm doing wrong?

Any help or info is very much appreciated!
Thanks in advance.

Kind Regards,

Niels

Re: [fileinstall] stuck on starting new bundle

Posted by bokie <jm...@gmail.com>.
Hi Neils,

I'm not sure what the problem is, but as a first attempt try changing out
the fileinstall 3.2.4 version for the 3.1.6 version.

Regards,
Jorge





--
View this message in context: http://apache-felix.18485.x6.nabble.com/fileinstall-stuck-on-starting-new-bundle-tp5004445p5004601.html
Sent from the Apache Felix - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org