Xtra Coder created KARAF-6400:
---------------------------------
Summary: org.osgi.framework.BundleException: The origin update
count has changed since the replacement copy was created.
Key: KARAF-6400
URL: https://issues.apache.org/jira/browse/KARAF-6400
Project: Karaf
Issue Type: Bug
Affects Versions: 4.2.6
Reporter: Xtra Coder
During regular deployment of our application hosted within Karaf we perform
clean start for each deployment and approximately 1 of 10..20 attempts fails
because of error provided below.
Consecutive retry typically runs OK. It looks like something is not
synchronized correctly and error depends on some micro-timings.
Happens with Karaf 4.2.6 + CentOS 7.
We have additional features in
{code:java}
featuresBoot = \
...
scr/4.2.6, \
webconsole/4.2.6, \
jetty/4.2.6
{code}
Exception:
{code:java}
2019-09-02T03:00:11,474 | ERROR | activator-1-thread-2 |
BootFeaturesInstaller | 12 - org.apache.karaf.features.core - 4.2.6
| Error installing boot features
org.osgi.framework.BundleException: The origin update count has changed since
the replacement copy was created.
at
org.eclipse.equinox.internal.region.StandardRegionDigraph.replace(StandardRegionDigraph.java:429)
~[?:?]
at
org.eclipse.equinox.internal.region.StandardRegionDigraph.replace(StandardRegionDigraph.java:408)
~[?:?]
at
org.apache.karaf.features.internal.service.BundleInstallSupportImpl.replaceDigraph(BundleInstallSupportImpl.java:285)
~[?:?]
at
org.apache.karaf.features.internal.service.FeaturesServiceImpl.replaceDigraph(FeaturesServiceImpl.java:1173)
~[?:?]
at
org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:839)
~[?:?]
at
org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1062)
~[?:?]
at
org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doProvisionInThread$13(FeaturesServiceImpl.java:998)
~[?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
[?:?]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
[?:?]
at java.lang.Thread.run(Thread.java:834) [?:?]
{code}
--
This message was sent by Atlassian Jira
(v8.3.2#803003)