Problem updating to 4.2.7

classic Classic list List threaded Threaded
18 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem updating to 4.2.7

dleangen
Hi!

I am trying to update my Karaf to 4.2.7. I was using a snapshot of 4.2.0.

Using the default configuration, the container starts up just fine. However, when I attempt to deploy a feature (by placing the file in the deploy directory), the container dies, and then goes into a bad cycle where it is up for about 9 seconds, then dies again, repeat ad infinitum.

Here is the feature:

<features 
  name="enRoute Distribution Features"

    <resource-repository><a href="https://[USER]:[PASS]@repo.bioscene.net/repository/obr/enroute/index-2.0.0.xml&lt;/resource-repository&gt;" class="">https://[USER]:[PASS]@repo.bioscene.net/repository/obr/enroute/index-2.0.0.xml</resource-repository>

    <feature name="enroute" version="2.0.0" install="auto" />
</features> 

The repo is password protected, but basically it just contains a bunch of dependencies, like this:

<repository xmlns="http://www.osgi.org/xmlns/repository/v1.0.0" increment="1500417135076" name="enRoute Distribution">
"); vertical-align: bottom; height: 10px; background-position: initial initial; background-repeat: initial initial;"><resource>
"); vertical-align: bottom; height: 10px; background-position: initial initial; background-repeat: initial initial;"><capability namespace="osgi.identity">
<attribute name="osgi.identity" value="avalon-framework"/>
<attribute name="type" value="jarfile"/>
<attribute name="version" type="Version" value="4.1.3"/>
</capability>
"); vertical-align: bottom; height: 10px; background-position: initial initial; background-repeat: initial initial;"><capability namespace="osgi.content">
<attribute name="osgi.content" value="17731fe321a7a7cc3b56cb797634b8ec29fa0322004886a1523bbc7bc7eecf71"/>
<attribute name="size" type="Long" value="63966"/>
<attribute name="mime" value="application/java-archive"/>
</capability>
</resource>
"); vertical-align: bottom; height: 10px; background-position: initial initial; background-repeat: initial initial;"><resource>
"); vertical-align: bottom; height: 10px; background-position: initial initial; background-repeat: initial initial;"><capability namespace="osgi.identity">
<attribute name="osgi.identity" value="backport-util-concurrent"/>
<attribute name="type" value="jarfile"/>
<attribute name="version" type="Version" value="3.1.0"/>
</capability>
"); vertical-align: bottom; height: 10px; background-position: initial initial; background-repeat: initial initial;"><capability namespace="osgi.content">
<attribute name="osgi.content" value="f5759b7fcdfc83a525a036deedcbd32e5b536b625ebc282426f16ca137eb5902"/>
<attribute name="size" type="Long" value="331716"/>
<attribute name="mime" value="application/java-archive"/>
</capability>
</resource>
"); vertical-align: bottom; height: 10px; font-family: monospace; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2; background-position: initial initial; background-repeat: initial initial;">

I am not able to determine from the error logs what is happening. The log output is below.

Any help would be greatly appreciated!!!

Cheers,
=David


Here is the log output:

Oct 26, 2019 5:52:38 AM org.apache.karaf.main.lock.SimpleFileLock lock
INFO: Trying to lock /opt/karaf/apache-karaf-4.2.7/lock
Oct 26, 2019 5:52:38 AM org.apache.karaf.main.lock.SimpleFileLock lock
INFO: Lock acquired
Oct 26, 2019 5:52:38 AM org.apache.karaf.main.Main$KarafLockCallback lockAcquired
INFO: Lock acquired. Setting startlevel to 100
2019-10-26T05:52:39,523 | INFO  | CM Configuration Updater (ManagedService Update: pid=[org.ops4j.pax.logging]) | EventAdminConfigurationNotifier  | 7 - org.ops4j.pax.logging.pax-logging-log4j2 - 1.11.2 | Sending Event Admin nofification (configuration successful) to org/ops4j/pax/logging/Configuration
2019-10-26T05:52:39,958 | INFO  | FelixStartLevel  | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Starting JMX OSGi agent
2019-10-26T05:52:39,984 | INFO  | FelixStartLevel  | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Registering MBean with ObjectName [osgi.compendium:service=cm,version=1.3,framework=org.apache.felix.framework,uuid=675c4f5a-8f02-4a14-8baf-483ef3e70348] for service with service.id [17]
2019-10-26T05:52:40,440 | INFO  | activator-1-thread-1 | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Registering org.osgi.jmx.service.cm.ConfigurationAdminMBean to MBeanServer org.apache.karaf.management.internal.EventAdminMBeanServerWrapper@3037b763 with name osgi.compendium:service=cm,version=1.3,framework=org.apache.felix.framework,uuid=675c4f5a-8f02-4a14-8baf-483ef3e70348
2019-10-26T05:52:40,442 | INFO  | activator-1-thread-1 | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Registering org.osgi.jmx.framework.ServiceStateMBean to MBeanServer org.apache.karaf.management.internal.EventAdminMBeanServerWrapper@3037b763 with name osgi.core:type=serviceState,version=1.7,framework=org.apache.felix.framework,uuid=675c4f5a-8f02-4a14-8baf-483ef3e70348
2019-10-26T05:52:40,446 | INFO  | activator-1-thread-1 | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Registering org.osgi.jmx.framework.wiring.BundleWiringStateMBean to MBeanServer org.apache.karaf.management.internal.EventAdminMBeanServerWrapper@3037b763 with name osgi.core:type=wiringState,version=1.1,framework=org.apache.felix.framework,uuid=675c4f5a-8f02-4a14-8baf-483ef3e70348
2019-10-26T05:52:40,447 | INFO  | activator-1-thread-1 | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Registering org.osgi.jmx.framework.BundleStateMBean to MBeanServer org.apache.karaf.management.internal.EventAdminMBeanServerWrapper@3037b763 with name osgi.core:type=bundleState,version=1.7,framework=org.apache.felix.framework,uuid=675c4f5a-8f02-4a14-8baf-483ef3e70348
2019-10-26T05:52:40,448 | INFO  | activator-1-thread-1 | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Registering org.osgi.jmx.framework.PackageStateMBean to MBeanServer org.apache.karaf.management.internal.EventAdminMBeanServerWrapper@3037b763 with name osgi.core:type=packageState,version=1.5,framework=org.apache.felix.framework,uuid=675c4f5a-8f02-4a14-8baf-483ef3e70348
2019-10-26T05:52:40,448 | INFO  | activator-1-thread-1 | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Registering org.osgi.jmx.framework.FrameworkMBean to MBeanServer org.apache.karaf.management.internal.EventAdminMBeanServerWrapper@3037b763 with name osgi.core:type=framework,version=1.7,framework=org.apache.felix.framework,uuid=675c4f5a-8f02-4a14-8baf-483ef3e70348
2019-10-26T05:52:40,651 | INFO  | FelixStartLevel  | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Registering commands for bundle org.apache.karaf.bundle.core/4.2.7
2019-10-26T05:52:40,663 | INFO  | FelixStartLevel  | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Registering commands for bundle org.apache.karaf.config.core/4.2.7
2019-10-26T05:52:40,680 | INFO  | activator-1-thread-2 | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Unregistering org.osgi.jmx.service.cm.ConfigurationAdminMBean to MBeanServer org.apache.karaf.management.internal.EventAdminMBeanServerWrapper@3037b763 with name osgi.compendium:service=cm,version=1.3,framework=org.apache.felix.framework,uuid=675c4f5a-8f02-4a14-8baf-483ef3e70348
2019-10-26T05:52:40,681 | INFO  | activator-1-thread-2 | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Unregistering org.osgi.jmx.framework.ServiceStateMBean to MBeanServer org.apache.karaf.management.internal.EventAdminMBeanServerWrapper@3037b763 with name osgi.core:type=serviceState,version=1.7,framework=org.apache.felix.framework,uuid=675c4f5a-8f02-4a14-8baf-483ef3e70348
2019-10-26T05:52:40,690 | INFO  | activator-1-thread-2 | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Unregistering org.osgi.jmx.framework.wiring.BundleWiringStateMBean to MBeanServer org.apache.karaf.management.internal.EventAdminMBeanServerWrapper@3037b763 with name osgi.core:type=wiringState,version=1.1,framework=org.apache.felix.framework,uuid=675c4f5a-8f02-4a14-8baf-483ef3e7034
2019-10-26T05:52:40,691 | INFO  | activator-1-thread-2 | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Unregistering org.osgi.jmx.framework.BundleStateMBean to MBeanServer org.apache.karaf.management.internal.EventAdminMBeanServerWrapper@3037b763 with name osgi.core:type=bundleState,version=1.7,framework=org.apache.felix.framework,uuid=675c4f5a-8f02-4a14-8baf-483ef3e70348
2019-10-26T05:52:40,691 | INFO  | activator-1-thread-2 | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Unregistering org.osgi.jmx.framework.PackageStateMBean to MBeanServer org.apache.karaf.management.internal.EventAdminMBeanServerWrapper@3037b763 with name osgi.core:type=packageState,version=1.5,framework=org.apache.felix.framework,uuid=675c4f5a-8f02-4a14-8baf-483ef3e70348
2019-10-26T05:52:40,692 | INFO  | activator-1-thread-2 | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Unregistering org.osgi.jmx.framework.FrameworkMBean to MBeanServer org.apache.karaf.management.internal.EventAdminMBeanServerWrapper@3037b763 with name osgi.core:type=framework,version=1.7,framework=org.apache.felix.framework,uuid=675c4f5a-8f02-4a14-8baf-483ef3e70348
2019-10-26T05:52:40,692 | WARN  | activator-1-thread-2 | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Task rejected for JMX Notification dispatch of event [org.osgi.framework.ServiceEvent[source=[javax.management.MBeanServer]]] - Dispatcher may have been shutdown
2019-10-26T05:52:40,694 | WARN  | activator-1-thread-2 | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Task rejected for JMX Notification dispatch of event [org.osgi.framework.ServiceEvent[source=[org.osgi.framework.hooks.resolver.ResolverHookFactory]]] - Dispatcher may have been shutdown
2019-10-26T05:52:40,769 | INFO  | FelixStartLevel  | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Registering commands for bundle org.apache.karaf.deployer.kar/4.2.7
2019-10-26T05:52:40,771 | INFO  | FelixStartLevel  | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Registering commands for bundle org.apache.karaf.diagnostic.core/4.2.7
2019-10-26T05:52:40,801 | INFO  | FelixStartLevel  | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Command registration delayed for bundle org.apache.karaf.features.command/4.2.7. Missing dependencies: [org.apache.karaf.features.FeaturesService]
2019-10-26T05:52:40,917 | INFO  | FelixStartLevel  | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Registering commands for bundle org.apache.karaf.instance.core/4.2.7
2019-10-26T05:52:40,959 | INFO  | FelixStartLevel  | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Registering commands for bundle org.apache.karaf.jaas.command/4.2.7
2019-10-26T05:52:40,961 | INFO  | FelixStartLevel  | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Updating commands for bundle org.apache.karaf.jaas.command/4.2.7
2019-10-26T05:52:40,962 | INFO  | FelixStartLevel  | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Updating commands for bundle org.apache.karaf.jaas.command/4.2.7
2019-10-26T05:52:40,982 | INFO  | FelixStartLevel  | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Command registration delayed for bundle org.apache.karaf.kar.core/4.2.7. Missing dependencies: [org.apache.karaf.kar.KarService]
2019-10-26T05:52:41,017 | INFO  | FelixStartLevel  | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Registering commands for bundle org.apache.karaf.log.core/4.2.7
2019-10-26T05:52:41,020 | INFO  | activator-1-thread-2 | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Registering org.osgi.jmx.service.cm.ConfigurationAdminMBean to MBeanServer org.apache.karaf.management.internal.EventAdminMBeanServerWrapper@560d3d79 with name osgi.compendium:service=cm,version=1.3,framework=org.apache.felix.framework,uuid=675c4f5a-8f02-4a14-8baf-483ef3e70348
2019-10-26T05:52:41,021 | INFO  | activator-1-thread-2 | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Registering org.osgi.jmx.framework.ServiceStateMBean to MBeanServer org.apache.karaf.management.internal.EventAdminMBeanServerWrapper@560d3d79 with name osgi.core:type=serviceState,version=1.7,framework=org.apache.felix.framework,uuid=675c4f5a-8f02-4a14-8baf-483ef3e70348
2019-10-26T05:52:41,021 | INFO  | activator-1-thread-2 | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Registering org.osgi.jmx.framework.wiring.BundleWiringStateMBean to MBeanServer org.apache.karaf.management.internal.EventAdminMBeanServerWrapper@560d3d79 with name osgi.core:type=wiringState,version=1.1,framework=org.apache.felix.framework,uuid=675c4f5a-8f02-4a14-8baf-483ef3e70348
2019-10-26T05:52:41,022 | INFO  | activator-1-thread-2 | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Registering org.osgi.jmx.framework.BundleStateMBean to MBeanServer org.apache.karaf.management.internal.EventAdminMBeanServerWrapper@560d3d79 with name osgi.core:type=bundleState,version=1.7,framework=org.apache.felix.framework,uuid=675c4f5a-8f02-4a14-8baf-483ef3e70348
2019-10-26T05:52:41,022 | INFO  | activator-1-thread-2 | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Registering org.osgi.jmx.framework.PackageStateMBean to MBeanServer org.apache.karaf.management.internal.EventAdminMBeanServerWrapper@560d3d79 with name osgi.core:type=packageState,version=1.5,framework=org.apache.felix.framework,uuid=675c4f5a-8f02-4a14-8baf-483ef3e70348
2019-10-26T05:52:41,022 | INFO  | activator-1-thread-2 | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Registering org.osgi.jmx.framework.FrameworkMBean to MBeanServer org.apache.karaf.management.internal.EventAdminMBeanServerWrapper@560d3d79 with name osgi.core:type=framework,version=1.7,framework=org.apache.felix.framework,uuid=675c4f5a-8f02-4a14-8baf-483ef3e70348
2019-10-26T05:52:41,025 | INFO  | FelixStartLevel  | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Registering commands for bundle org.apache.karaf.package.core/4.2.7
2019-10-26T05:52:41,041 | INFO  | FelixStartLevel  | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Registering commands for bundle org.apache.karaf.service.core/4.2.7
2019-10-26T05:52:41,071 | INFO  | FelixStartLevel  | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Registering commands for bundle org.apache.karaf.shell.commands/4.2.7
2019-10-26T05:52:41,740 | INFO  | FelixStartLevel  | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Command registration delayed for bundle org.apache.karaf.shell.ssh/4.2.7. Missing dependencies: [org.apache.sshd.server.SshServer]
2019-10-26T05:52:41,763 | INFO  | FelixStartLevel  | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Registering commands for bundle org.apache.karaf.system.core/4.2.7
2019-10-26T05:52:41,859 | INFO  | FelixStartLevel  | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Registering commands for bundle org.apache.karaf.event/4.2.7
2019-10-26T05:52:42,056 | INFO  | activator-1-thread-2 | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Registering commands for bundle org.apache.karaf.features.command/4.2.7
2019-10-26T05:52:42,090 | INFO  | activator-1-thread-3 | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Registering commands for bundle org.apache.karaf.kar.core/4.2.7
2019-10-26T05:52:42,099 | INFO  | activator-1-thread-2 | Activator                        | 18 - org.apache.karaf.deployer.features - 4.2.7 | Deployment finished. Registering FeatureDeploymentListener
2019-10-26T05:52:42,128 | INFO  | activator-1-thread-1 | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Registering commands for bundle org.apache.karaf.shell.ssh/4.2.7
Oct 26, 2019 5:52:49 AM org.apache.karaf.main.lock.SimpleFileLock lock
INFO: Trying to lock /opt/karaf/apache-karaf-4.2.7/lock
Oct 26, 2019 5:52:49 AM org.apache.karaf.main.lock.SimpleFileLock lock
INFO: Lock acquired
Oct 26, 2019 5:52:49 AM org.apache.karaf.main.Main$KarafLockCallback lockAcquired
INFO: Lock acquired. Setting startlevel to 100
2019-10-26T05:52:50,625 | INFO  | CM Configuration Updater (ManagedService Update: pid=[org.ops4j.pax.logging]) | EventAdminConfigurationNotifier  | 7 - org.ops4j.pax.logging.pax-logging-log4j2 - 1.11.2 | Sending Event Admin nofification (configuration successful) to org/ops4j/pax/logging/Configuration
2019-10-26T05:52:50,978 | INFO  | FelixStartLevel  | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Starting JMX OSGi agent
2019-10-26T05:52:51,047 | INFO  | FelixStartLevel  | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Registering MBean with ObjectName [osgi.compendium:service=cm,version=1.3,framework=org.apache.felix.framework,uuid=a8d8dbe2-d8d0-44e6-9c6e-436af200f8bc] for service with service.id [17]
2019-10-26T05:52:51,502 | INFO  | activator-1-thread-1 | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Registering org.osgi.jmx.service.cm.ConfigurationAdminMBean to MBeanServer org.apache.karaf.management.internal.EventAdminMBeanServerWrapper@8aac0c5 with name osgi.compendium:service=cm,version=1.3,framework=org.apache.felix.framework,uuid=a8d8dbe2-d8d0-44e6-9c6e-436af200f8bc
2019-10-26T05:52:51,516 | INFO  | activator-1-thread-1 | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Registering org.osgi.jmx.framework.ServiceStateMBean to MBeanServer org.apache.karaf.management.internal.EventAdminMBeanServerWrapper@8aac0c5 with name osgi.core:type=serviceState,version=1.7,framework=org.apache.felix.framework,uuid=a8d8dbe2-d8d0-44e6-9c6e-436af200f8bc
2019-10-26T05:52:51,518 | INFO  | activator-1-thread-1 | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Registering org.osgi.jmx.framework.wiring.BundleWiringStateMBean to MBeanServer org.apache.karaf.management.internal.EventAdminMBeanServerWrapper@8aac0c5 with name osgi.core:type=wiringState,version=1.1,framework=org.apache.felix.framework,uuid=a8d8dbe2-d8d0-44e6-9c6e-436af200f8bc
2019-10-26T05:52:51,519 | INFO  | activator-1-thread-1 | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Registering org.osgi.jmx.framework.BundleStateMBean to MBeanServer org.apache.karaf.management.internal.EventAdminMBeanServerWrapper@8aac0c5 with name osgi.core:type=bundleState,version=1.7,framework=org.apache.felix.framework,uuid=a8d8dbe2-d8d0-44e6-9c6e-436af200f8bc
2019-10-26T05:52:51,520 | INFO  | activator-1-thread-1 | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Registering org.osgi.jmx.framework.FrameworkMBean to MBeanServer org.apache.karaf.management.internal.EventAdminMBeanServerWrapper@8aac0c5 with name osgi.core:type=framework,version=1.7,framework=org.apache.felix.framework,uuid=a8d8dbe2-d8d0-44e6-9c6e-436af200f8bc
2019-10-26T05:52:51,520 | INFO  | activator-1-thread-1 | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Registering org.osgi.jmx.framework.PackageStateMBean to MBeanServer org.apache.karaf.management.internal.EventAdminMBeanServerWrapper@8aac0c5 with name osgi.core:type=packageState,version=1.5,framework=org.apache.felix.framework,uuid=a8d8dbe2-d8d0-44e6-9c6e-436af200f8bc
2019-10-26T05:52:51,729 | INFO  | activator-1-thread-2 | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Unregistering org.osgi.jmx.service.cm.ConfigurationAdminMBean to MBeanServer org.apache.karaf.management.internal.EventAdminMBeanServerWrapper@8aac0c5 with name osgi.compendium:service=cm,version=1.3,framework=org.apache.felix.framework,uuid=a8d8dbe2-d8d0-44e6-9c6e-436af200f8bc
2019-10-26T05:52:51,729 | INFO  | activator-1-thread-2 | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Unregistering org.osgi.jmx.framework.ServiceStateMBean to MBeanServer org.apache.karaf.management.internal.EventAdminMBeanServerWrapper@8aac0c5 with name osgi.core:type=serviceState,version=1.7,framework=org.apache.felix.framework,uuid=a8d8dbe2-d8d0-44e6-9c6e-436af200f8bc
2019-10-26T05:52:51,790 | INFO  | activator-1-thread-2 | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Unregistering org.osgi.jmx.framework.wiring.BundleWiringStateMBean to MBeanServer org.apache.karaf.management.internal.EventAdminMBeanServerWrapper@8aac0c5 with name osgi.core:type=wiringState,version=1.1,framework=org.apache.felix.framework,uuid=a8d8dbe2-d8d0-44e6-9c6e-436af200f8bc
2019-10-26T05:52:51,791 | INFO  | activator-1-thread-2 | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Unregistering org.osgi.jmx.framework.BundleStateMBean to MBeanServer org.apache.karaf.management.internal.EventAdminMBeanServerWrapper@8aac0c5 with name osgi.core:type=bundleState,version=1.7,framework=org.apache.felix.framework,uuid=a8d8dbe2-d8d0-44e6-9c6e-436af200f8bc
2019-10-26T05:52:51,792 | WARN  | FelixStartLevel  | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Task rejected for JMX Notification dispatch of event [org.osgi.framework.ServiceEvent[source=[org.apache.felix.service.command.CommandProcessor]]] - Dispatcher may have been shutdown
2019-10-26T05:52:51,794 | INFO  | activator-1-thread-2 | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Unregistering org.osgi.jmx.framework.FrameworkMBean to MBeanServer org.apache.karaf.management.internal.EventAdminMBeanServerWrapper@8aac0c5 with name osgi.core:type=framework,version=1.7,framework=org.apache.felix.framework,uuid=a8d8dbe2-d8d0-44e6-9c6e-436af200f8bc
2019-10-26T05:52:51,794 | INFO  | activator-1-thread-2 | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Unregistering org.osgi.jmx.framework.PackageStateMBean to MBeanServer org.apache.karaf.management.internal.EventAdminMBeanServerWrapper@8aac0c5 with name osgi.core:type=packageState,version=1.5,framework=org.apache.felix.framework,uuid=a8d8dbe2-d8d0-44e6-9c6e-436af200f8bc
2019-10-26T05:52:51,795 | WARN  | activator-1-thread-2 | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Task rejected for JMX Notification dispatch of event [org.osgi.framework.ServiceEvent[source=[javax.management.MBeanServer]]] - Dispatcher may have been shutdown
2019-10-26T05:52:51,947 | INFO  | FelixStartLevel  | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Registering commands for bundle org.apache.karaf.bundle.core/4.2.7
2019-10-26T05:52:51,963 | INFO  | FelixStartLevel  | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Registering commands for bundle org.apache.karaf.config.core/4.2.7
2019-10-26T05:52:52,027 | INFO  | activator-1-thread-2 | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Registering org.osgi.jmx.service.cm.ConfigurationAdminMBean to MBeanServer org.apache.karaf.management.internal.EventAdminMBeanServerWrapper@282f3fc4 with name osgi.compendium:service=cm,version=1.3,framework=org.apache.felix.framework,uuid=a8d8dbe2-d8d0-44e6-9c6e-436af200f8bc
2019-10-26T05:52:52,028 | INFO  | activator-1-thread-2 | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Registering org.osgi.jmx.framework.ServiceStateMBean to MBeanServer org.apache.karaf.management.internal.EventAdminMBeanServerWrapper@282f3fc4 with name osgi.core:type=serviceState,version=1.7,framework=org.apache.felix.framework,uuid=a8d8dbe2-d8d0-44e6-9c6e-436af200f8bc
2019-10-26T05:52:52,028 | INFO  | activator-1-thread-2 | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Registering org.osgi.jmx.framework.wiring.BundleWiringStateMBean to MBeanServer org.apache.karaf.management.internal.EventAdminMBeanServerWrapper@282f3fc4 with name osgi.core:type=wiringState,version=1.1,framework=org.apache.felix.framework,uuid=a8d8dbe2-d8d0-44e6-9c6e-436af200f8bc
2019-10-26T05:52:52,029 | INFO  | activator-1-thread-2 | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Registering org.osgi.jmx.framework.BundleStateMBean to MBeanServer org.apache.karaf.management.internal.EventAdminMBeanServerWrapper@282f3fc4 with name osgi.core:type=bundleState,version=1.7,framework=org.apache.felix.framework,uuid=a8d8dbe2-d8d0-44e6-9c6e-436af200f8bc
2019-10-26T05:52:52,029 | INFO  | activator-1-thread-2 | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Registering org.osgi.jmx.framework.FrameworkMBean to MBeanServer org.apache.karaf.management.internal.EventAdminMBeanServerWrapper@282f3fc4 with name osgi.core:type=framework,version=1.7,framework=org.apache.felix.framework,uuid=a8d8dbe2-d8d0-44e6-9c6e-436af200f8bc
2019-10-26T05:52:52,029 | INFO  | activator-1-thread-2 | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Registering org.osgi.jmx.framework.PackageStateMBean to MBeanServer org.apache.karaf.management.internal.EventAdminMBeanServerWrapper@282f3fc4 with name osgi.core:type=packageState,version=1.5,framework=org.apache.felix.framework,uuid=a8d8dbe2-d8d0-44e6-9c6e-436af200f8bc
2019-10-26T05:52:52,113 | INFO  | FelixStartLevel  | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Registering commands for bundle org.apache.karaf.deployer.kar/4.2.7
2019-10-26T05:52:52,115 | INFO  | FelixStartLevel  | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Registering commands for bundle org.apache.karaf.diagnostic.core/4.2.7
2019-10-26T05:52:52,160 | INFO  | FelixStartLevel  | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Command registration delayed for bundle org.apache.karaf.features.command/4.2.7. Missing dependencies: [org.apache.karaf.features.FeaturesService]
2019-10-26T05:52:52,187 | INFO  | FelixStartLevel  | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Registering commands for bundle org.apache.karaf.instance.core/4.2.7
2019-10-26T05:52:52,220 | INFO  | FelixStartLevel  | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Registering commands for bundle org.apache.karaf.jaas.command/4.2.7
2019-10-26T05:52:52,240 | INFO  | FelixStartLevel  | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Updating commands for bundle org.apache.karaf.jaas.command/4.2.7

2019-10-26T05:52:52,241 | INFO  | FelixStartLevel  | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Updating commands for bundle org.apache.karaf.jaas.command/4.2.7
2019-10-26T05:52:52,245 | INFO  | FelixStartLevel  | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Command registration delayed for bundle org.apache.karaf.kar.core/4.2.7. Missing dependencies: [org.apache.karaf.kar.KarService]
2019-10-26T05:52:52,266 | INFO  | FelixStartLevel  | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Registering commands for bundle org.apache.karaf.log.core/4.2.7
2019-10-26T05:52:52,275 | INFO  | FelixStartLevel  | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Registering commands for bundle org.apache.karaf.package.core/4.2.7
2019-10-26T05:52:52,278 | INFO  | FelixStartLevel  | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Registering commands for bundle org.apache.karaf.service.core/4.2.7
2019-10-26T05:52:52,321 | INFO  | FelixStartLevel  | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Registering commands for bundle org.apache.karaf.shell.commands/4.2.7
2019-10-26T05:52:52,659 | INFO  | activator-1-thread-2 | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Registering commands for bundle org.apache.karaf.features.command/4.2.7
2019-10-26T05:52:52,712 | INFO  | activator-1-thread-2 | Activator                        | 18 - org.apache.karaf.deployer.features - 4.2.7 | Deployment finished. Registering FeatureDeploymentListener
2019-10-26T05:52:52,774 | INFO  | activator-1-thread-3 | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Registering commands for bundle org.apache.karaf.kar.core/4.2.7
2019-10-26T05:52:53,081 | INFO  | FelixStartLevel  | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Command registration delayed for bundle org.apache.karaf.shell.ssh/4.2.7. Missing dependencies: [org.apache.sshd.server.SshServer]
2019-10-26T05:52:53,126 | INFO  | FelixStartLevel  | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Registering commands for bundle org.apache.karaf.system.core/4.2.7
2019-10-26T05:52:53,158 | INFO  | FelixStartLevel  | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Registering commands for bundle org.apache.karaf.event/4.2.7
2019-10-26T05:52:53,566 | INFO  | activator-1-thread-1 | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Registering commands for bundle org.apache.karaf.shell.ssh/4.2.7
Oct 26, 2019 5:53:01 AM org.apache.karaf.main.lock.SimpleFileLock lock
INFO: Trying to lock /opt/karaf/apache-karaf-4.2.7/lock
Oct 26, 2019 5:53:01 AM org.apache.karaf.main.lock.SimpleFileLock lock
INFO: Lock acquired
Oct 26, 2019 5:53:01 AM org.apache.karaf.main.Main$KarafLockCallback lockAcquired
INFO: Lock acquired. Setting startlevel to 100
8
Reply | Threaded
Open this post in threaded view
|

Re: Problem updating to 4.2.7

jbonofre

Hi David,

Does Karaf stop or restart ?

About what you said, it seems to restart. It's maybe not the whole container but just the shell console, due to a refresh.

Can you try feature:install -t -v to see what's going on ?

Did you test on intermediate version like 4.2.3 ? And eventually do you have a simple test case in order to me to reproduce it. I'm asking because we updated the Felix Resolver couple of times on 4.2.x series.

Thanks,

Regards
JB

On 26/10/2019 07:59, David Leangen wrote:
Hi!

I am trying to update my Karaf to 4.2.7. I was using a snapshot of 4.2.0.

Using the default configuration, the container starts up just fine. However, when I attempt to deploy a feature (by placing the file in the deploy directory), the container dies, and then goes into a bad cycle where it is up for about 9 seconds, then dies again, repeat ad infinitum.

Here is the feature:

<features 
  name="enRoute Distribution Features"

    <resource-repository><a href="https://[USER]:[PASS]@repo.bioscene.net/repository/obr/enroute/index-2.0.0.xml&lt;/resource-repository&gt;" class="" moz-do-not-send="true">https://[USER]:[PASS]@repo.bioscene.net/repository/obr/enroute/index-2.0.0.xml</resource-repository>

    <feature name="enroute" version="2.0.0" install="auto" />
</features> 

The repo is password protected, but basically it just contains a bunch of dependencies, like this:

<repository xmlns="http://www.osgi.org/xmlns/repository/v1.0.0" increment="1500417135076" name="enRoute Distribution">
<resource>
<capability namespace="osgi.identity">
<attribute name="osgi.identity" value="avalon-framework"/>
<attribute name="type" value="jarfile"/>
<attribute name="version" type="Version" value="4.1.3"/>
</capability>
<capability namespace="osgi.content">
<attribute name="osgi.content" value="17731fe321a7a7cc3b56cb797634b8ec29fa0322004886a1523bbc7bc7eecf71"/>
<attribute name="size" type="Long" value="63966"/>
<attribute name="mime" value="application/java-archive"/>
</capability>
</resource>
<resource>
<capability namespace="osgi.identity">
<attribute name="osgi.identity" value="backport-util-concurrent"/>
<attribute name="type" value="jarfile"/>
<attribute name="version" type="Version" value="3.1.0"/>
</capability>
<capability namespace="osgi.content">
<attribute name="osgi.content" value="f5759b7fcdfc83a525a036deedcbd32e5b536b625ebc282426f16ca137eb5902"/>
<attribute name="size" type="Long" value="331716"/>
<attribute name="mime" value="application/java-archive"/>
</capability>
</resource>

I am not able to determine from the error logs what is happening. The log output is below.

Any help would be greatly appreciated!!!

Cheers,
=David


Here is the log output:

Oct 26, 2019 5:52:38 AM org.apache.karaf.main.lock.SimpleFileLock lock
INFO: Trying to lock /opt/karaf/apache-karaf-4.2.7/lock
Oct 26, 2019 5:52:38 AM org.apache.karaf.main.lock.SimpleFileLock lock
INFO: Lock acquired
Oct 26, 2019 5:52:38 AM org.apache.karaf.main.Main$KarafLockCallback lockAcquired
INFO: Lock acquired. Setting startlevel to 100
2019-10-26T05:52:39,523 | INFO  | CM Configuration Updater (ManagedService Update: pid=[org.ops4j.pax.logging]) | EventAdminConfigurationNotifier  | 7 - org.ops4j.pax.logging.pax-logging-log4j2 - 1.11.2 | Sending Event Admin nofification (configuration successful) to org/ops4j/pax/logging/Configuration
2019-10-26T05:52:39,958 | INFO  | FelixStartLevel  | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Starting JMX OSGi agent
2019-10-26T05:52:39,984 | INFO  | FelixStartLevel  | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Registering MBean with ObjectName [osgi.compendium:service=cm,version=1.3,framework=org.apache.felix.framework,uuid=675c4f5a-8f02-4a14-8baf-483ef3e70348] for service with service.id [17]
2019-10-26T05:52:40,440 | INFO  | activator-1-thread-1 | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Registering org.osgi.jmx.service.cm.ConfigurationAdminMBean to MBeanServer org.apache.karaf.management.internal.EventAdminMBeanServerWrapper@3037b763 with name osgi.compendium:service=cm,version=1.3,framework=org.apache.felix.framework,uuid=675c4f5a-8f02-4a14-8baf-483ef3e70348
2019-10-26T05:52:40,442 | INFO  | activator-1-thread-1 | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Registering org.osgi.jmx.framework.ServiceStateMBean to MBeanServer org.apache.karaf.management.internal.EventAdminMBeanServerWrapper@3037b763 with name osgi.core:type=serviceState,version=1.7,framework=org.apache.felix.framework,uuid=675c4f5a-8f02-4a14-8baf-483ef3e70348
2019-10-26T05:52:40,446 | INFO  | activator-1-thread-1 | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Registering org.osgi.jmx.framework.wiring.BundleWiringStateMBean to MBeanServer org.apache.karaf.management.internal.EventAdminMBeanServerWrapper@3037b763 with name osgi.core:type=wiringState,version=1.1,framework=org.apache.felix.framework,uuid=675c4f5a-8f02-4a14-8baf-483ef3e70348
2019-10-26T05:52:40,447 | INFO  | activator-1-thread-1 | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Registering org.osgi.jmx.framework.BundleStateMBean to MBeanServer org.apache.karaf.management.internal.EventAdminMBeanServerWrapper@3037b763 with name osgi.core:type=bundleState,version=1.7,framework=org.apache.felix.framework,uuid=675c4f5a-8f02-4a14-8baf-483ef3e70348
2019-10-26T05:52:40,448 | INFO  | activator-1-thread-1 | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Registering org.osgi.jmx.framework.PackageStateMBean to MBeanServer org.apache.karaf.management.internal.EventAdminMBeanServerWrapper@3037b763 with name osgi.core:type=packageState,version=1.5,framework=org.apache.felix.framework,uuid=675c4f5a-8f02-4a14-8baf-483ef3e70348
2019-10-26T05:52:40,448 | INFO  | activator-1-thread-1 | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Registering org.osgi.jmx.framework.FrameworkMBean to MBeanServer org.apache.karaf.management.internal.EventAdminMBeanServerWrapper@3037b763 with name osgi.core:type=framework,version=1.7,framework=org.apache.felix.framework,uuid=675c4f5a-8f02-4a14-8baf-483ef3e70348
2019-10-26T05:52:40,651 | INFO  | FelixStartLevel  | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Registering commands for bundle org.apache.karaf.bundle.core/4.2.7
2019-10-26T05:52:40,663 | INFO  | FelixStartLevel  | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Registering commands for bundle org.apache.karaf.config.core/4.2.7
2019-10-26T05:52:40,680 | INFO  | activator-1-thread-2 | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Unregistering org.osgi.jmx.service.cm.ConfigurationAdminMBean to MBeanServer org.apache.karaf.management.internal.EventAdminMBeanServerWrapper@3037b763 with name osgi.compendium:service=cm,version=1.3,framework=org.apache.felix.framework,uuid=675c4f5a-8f02-4a14-8baf-483ef3e70348
2019-10-26T05:52:40,681 | INFO  | activator-1-thread-2 | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Unregistering org.osgi.jmx.framework.ServiceStateMBean to MBeanServer org.apache.karaf.management.internal.EventAdminMBeanServerWrapper@3037b763 with name osgi.core:type=serviceState,version=1.7,framework=org.apache.felix.framework,uuid=675c4f5a-8f02-4a14-8baf-483ef3e70348
2019-10-26T05:52:40,690 | INFO  | activator-1-thread-2 | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Unregistering org.osgi.jmx.framework.wiring.BundleWiringStateMBean to MBeanServer org.apache.karaf.management.internal.EventAdminMBeanServerWrapper@3037b763 with name osgi.core:type=wiringState,version=1.1,framework=org.apache.felix.framework,uuid=675c4f5a-8f02-4a14-8baf-483ef3e7034
2019-10-26T05:52:40,691 | INFO  | activator-1-thread-2 | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Unregistering org.osgi.jmx.framework.BundleStateMBean to MBeanServer org.apache.karaf.management.internal.EventAdminMBeanServerWrapper@3037b763 with name osgi.core:type=bundleState,version=1.7,framework=org.apache.felix.framework,uuid=675c4f5a-8f02-4a14-8baf-483ef3e70348
2019-10-26T05:52:40,691 | INFO  | activator-1-thread-2 | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Unregistering org.osgi.jmx.framework.PackageStateMBean to MBeanServer org.apache.karaf.management.internal.EventAdminMBeanServerWrapper@3037b763 with name osgi.core:type=packageState,version=1.5,framework=org.apache.felix.framework,uuid=675c4f5a-8f02-4a14-8baf-483ef3e70348
2019-10-26T05:52:40,692 | INFO  | activator-1-thread-2 | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Unregistering org.osgi.jmx.framework.FrameworkMBean to MBeanServer org.apache.karaf.management.internal.EventAdminMBeanServerWrapper@3037b763 with name osgi.core:type=framework,version=1.7,framework=org.apache.felix.framework,uuid=675c4f5a-8f02-4a14-8baf-483ef3e70348
2019-10-26T05:52:40,692 | WARN  | activator-1-thread-2 | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Task rejected for JMX Notification dispatch of event [org.osgi.framework.ServiceEvent[source=[javax.management.MBeanServer]]] - Dispatcher may have been shutdown
2019-10-26T05:52:40,694 | WARN  | activator-1-thread-2 | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Task rejected for JMX Notification dispatch of event [org.osgi.framework.ServiceEvent[source=[org.osgi.framework.hooks.resolver.ResolverHookFactory]]] - Dispatcher may have been shutdown
2019-10-26T05:52:40,769 | INFO  | FelixStartLevel  | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Registering commands for bundle org.apache.karaf.deployer.kar/4.2.7
2019-10-26T05:52:40,771 | INFO  | FelixStartLevel  | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Registering commands for bundle org.apache.karaf.diagnostic.core/4.2.7
2019-10-26T05:52:40,801 | INFO  | FelixStartLevel  | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Command registration delayed for bundle org.apache.karaf.features.command/4.2.7. Missing dependencies: [org.apache.karaf.features.FeaturesService]
2019-10-26T05:52:40,917 | INFO  | FelixStartLevel  | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Registering commands for bundle org.apache.karaf.instance.core/4.2.7
2019-10-26T05:52:40,959 | INFO  | FelixStartLevel  | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Registering commands for bundle org.apache.karaf.jaas.command/4.2.7
2019-10-26T05:52:40,961 | INFO  | FelixStartLevel  | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Updating commands for bundle org.apache.karaf.jaas.command/4.2.7
2019-10-26T05:52:40,962 | INFO  | FelixStartLevel  | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Updating commands for bundle org.apache.karaf.jaas.command/4.2.7
2019-10-26T05:52:40,982 | INFO  | FelixStartLevel  | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Command registration delayed for bundle org.apache.karaf.kar.core/4.2.7. Missing dependencies: [org.apache.karaf.kar.KarService]
2019-10-26T05:52:41,017 | INFO  | FelixStartLevel  | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Registering commands for bundle org.apache.karaf.log.core/4.2.7
2019-10-26T05:52:41,020 | INFO  | activator-1-thread-2 | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Registering org.osgi.jmx.service.cm.ConfigurationAdminMBean to MBeanServer org.apache.karaf.management.internal.EventAdminMBeanServerWrapper@560d3d79 with name osgi.compendium:service=cm,version=1.3,framework=org.apache.felix.framework,uuid=675c4f5a-8f02-4a14-8baf-483ef3e70348
2019-10-26T05:52:41,021 | INFO  | activator-1-thread-2 | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Registering org.osgi.jmx.framework.ServiceStateMBean to MBeanServer org.apache.karaf.management.internal.EventAdminMBeanServerWrapper@560d3d79 with name osgi.core:type=serviceState,version=1.7,framework=org.apache.felix.framework,uuid=675c4f5a-8f02-4a14-8baf-483ef3e70348
2019-10-26T05:52:41,021 | INFO  | activator-1-thread-2 | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Registering org.osgi.jmx.framework.wiring.BundleWiringStateMBean to MBeanServer org.apache.karaf.management.internal.EventAdminMBeanServerWrapper@560d3d79 with name osgi.core:type=wiringState,version=1.1,framework=org.apache.felix.framework,uuid=675c4f5a-8f02-4a14-8baf-483ef3e70348
2019-10-26T05:52:41,022 | INFO  | activator-1-thread-2 | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Registering org.osgi.jmx.framework.BundleStateMBean to MBeanServer org.apache.karaf.management.internal.EventAdminMBeanServerWrapper@560d3d79 with name osgi.core:type=bundleState,version=1.7,framework=org.apache.felix.framework,uuid=675c4f5a-8f02-4a14-8baf-483ef3e70348
2019-10-26T05:52:41,022 | INFO  | activator-1-thread-2 | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Registering org.osgi.jmx.framework.PackageStateMBean to MBeanServer org.apache.karaf.management.internal.EventAdminMBeanServerWrapper@560d3d79 with name osgi.core:type=packageState,version=1.5,framework=org.apache.felix.framework,uuid=675c4f5a-8f02-4a14-8baf-483ef3e70348
2019-10-26T05:52:41,022 | INFO  | activator-1-thread-2 | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Registering org.osgi.jmx.framework.FrameworkMBean to MBeanServer org.apache.karaf.management.internal.EventAdminMBeanServerWrapper@560d3d79 with name osgi.core:type=framework,version=1.7,framework=org.apache.felix.framework,uuid=675c4f5a-8f02-4a14-8baf-483ef3e70348
2019-10-26T05:52:41,025 | INFO  | FelixStartLevel  | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Registering commands for bundle org.apache.karaf.package.core/4.2.7
2019-10-26T05:52:41,041 | INFO  | FelixStartLevel  | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Registering commands for bundle org.apache.karaf.service.core/4.2.7
2019-10-26T05:52:41,071 | INFO  | FelixStartLevel  | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Registering commands for bundle org.apache.karaf.shell.commands/4.2.7
2019-10-26T05:52:41,740 | INFO  | FelixStartLevel  | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Command registration delayed for bundle org.apache.karaf.shell.ssh/4.2.7. Missing dependencies: [org.apache.sshd.server.SshServer]
2019-10-26T05:52:41,763 | INFO  | FelixStartLevel  | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Registering commands for bundle org.apache.karaf.system.core/4.2.7
2019-10-26T05:52:41,859 | INFO  | FelixStartLevel  | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Registering commands for bundle org.apache.karaf.event/4.2.7
2019-10-26T05:52:42,056 | INFO  | activator-1-thread-2 | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Registering commands for bundle org.apache.karaf.features.command/4.2.7
2019-10-26T05:52:42,090 | INFO  | activator-1-thread-3 | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Registering commands for bundle org.apache.karaf.kar.core/4.2.7
2019-10-26T05:52:42,099 | INFO  | activator-1-thread-2 | Activator                        | 18 - org.apache.karaf.deployer.features - 4.2.7 | Deployment finished. Registering FeatureDeploymentListener
2019-10-26T05:52:42,128 | INFO  | activator-1-thread-1 | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Registering commands for bundle org.apache.karaf.shell.ssh/4.2.7
Oct 26, 2019 5:52:49 AM org.apache.karaf.main.lock.SimpleFileLock lock
INFO: Trying to lock /opt/karaf/apache-karaf-4.2.7/lock
Oct 26, 2019 5:52:49 AM org.apache.karaf.main.lock.SimpleFileLock lock
INFO: Lock acquired
Oct 26, 2019 5:52:49 AM org.apache.karaf.main.Main$KarafLockCallback lockAcquired
INFO: Lock acquired. Setting startlevel to 100
2019-10-26T05:52:50,625 | INFO  | CM Configuration Updater (ManagedService Update: pid=[org.ops4j.pax.logging]) | EventAdminConfigurationNotifier  | 7 - org.ops4j.pax.logging.pax-logging-log4j2 - 1.11.2 | Sending Event Admin nofification (configuration successful) to org/ops4j/pax/logging/Configuration
2019-10-26T05:52:50,978 | INFO  | FelixStartLevel  | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Starting JMX OSGi agent
2019-10-26T05:52:51,047 | INFO  | FelixStartLevel  | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Registering MBean with ObjectName [osgi.compendium:service=cm,version=1.3,framework=org.apache.felix.framework,uuid=a8d8dbe2-d8d0-44e6-9c6e-436af200f8bc] for service with service.id [17]
2019-10-26T05:52:51,502 | INFO  | activator-1-thread-1 | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Registering org.osgi.jmx.service.cm.ConfigurationAdminMBean to MBeanServer org.apache.karaf.management.internal.EventAdminMBeanServerWrapper@8aac0c5 with name osgi.compendium:service=cm,version=1.3,framework=org.apache.felix.framework,uuid=a8d8dbe2-d8d0-44e6-9c6e-436af200f8bc
2019-10-26T05:52:51,516 | INFO  | activator-1-thread-1 | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Registering org.osgi.jmx.framework.ServiceStateMBean to MBeanServer org.apache.karaf.management.internal.EventAdminMBeanServerWrapper@8aac0c5 with name osgi.core:type=serviceState,version=1.7,framework=org.apache.felix.framework,uuid=a8d8dbe2-d8d0-44e6-9c6e-436af200f8bc
2019-10-26T05:52:51,518 | INFO  | activator-1-thread-1 | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Registering org.osgi.jmx.framework.wiring.BundleWiringStateMBean to MBeanServer org.apache.karaf.management.internal.EventAdminMBeanServerWrapper@8aac0c5 with name osgi.core:type=wiringState,version=1.1,framework=org.apache.felix.framework,uuid=a8d8dbe2-d8d0-44e6-9c6e-436af200f8bc
2019-10-26T05:52:51,519 | INFO  | activator-1-thread-1 | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Registering org.osgi.jmx.framework.BundleStateMBean to MBeanServer org.apache.karaf.management.internal.EventAdminMBeanServerWrapper@8aac0c5 with name osgi.core:type=bundleState,version=1.7,framework=org.apache.felix.framework,uuid=a8d8dbe2-d8d0-44e6-9c6e-436af200f8bc
2019-10-26T05:52:51,520 | INFO  | activator-1-thread-1 | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Registering org.osgi.jmx.framework.FrameworkMBean to MBeanServer org.apache.karaf.management.internal.EventAdminMBeanServerWrapper@8aac0c5 with name osgi.core:type=framework,version=1.7,framework=org.apache.felix.framework,uuid=a8d8dbe2-d8d0-44e6-9c6e-436af200f8bc
2019-10-26T05:52:51,520 | INFO  | activator-1-thread-1 | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Registering org.osgi.jmx.framework.PackageStateMBean to MBeanServer org.apache.karaf.management.internal.EventAdminMBeanServerWrapper@8aac0c5 with name osgi.core:type=packageState,version=1.5,framework=org.apache.felix.framework,uuid=a8d8dbe2-d8d0-44e6-9c6e-436af200f8bc
2019-10-26T05:52:51,729 | INFO  | activator-1-thread-2 | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Unregistering org.osgi.jmx.service.cm.ConfigurationAdminMBean to MBeanServer org.apache.karaf.management.internal.EventAdminMBeanServerWrapper@8aac0c5 with name osgi.compendium:service=cm,version=1.3,framework=org.apache.felix.framework,uuid=a8d8dbe2-d8d0-44e6-9c6e-436af200f8bc
2019-10-26T05:52:51,729 | INFO  | activator-1-thread-2 | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Unregistering org.osgi.jmx.framework.ServiceStateMBean to MBeanServer org.apache.karaf.management.internal.EventAdminMBeanServerWrapper@8aac0c5 with name osgi.core:type=serviceState,version=1.7,framework=org.apache.felix.framework,uuid=a8d8dbe2-d8d0-44e6-9c6e-436af200f8bc
2019-10-26T05:52:51,790 | INFO  | activator-1-thread-2 | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Unregistering org.osgi.jmx.framework.wiring.BundleWiringStateMBean to MBeanServer org.apache.karaf.management.internal.EventAdminMBeanServerWrapper@8aac0c5 with name osgi.core:type=wiringState,version=1.1,framework=org.apache.felix.framework,uuid=a8d8dbe2-d8d0-44e6-9c6e-436af200f8bc
2019-10-26T05:52:51,791 | INFO  | activator-1-thread-2 | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Unregistering org.osgi.jmx.framework.BundleStateMBean to MBeanServer org.apache.karaf.management.internal.EventAdminMBeanServerWrapper@8aac0c5 with name osgi.core:type=bundleState,version=1.7,framework=org.apache.felix.framework,uuid=a8d8dbe2-d8d0-44e6-9c6e-436af200f8bc
2019-10-26T05:52:51,792 | WARN  | FelixStartLevel  | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Task rejected for JMX Notification dispatch of event [org.osgi.framework.ServiceEvent[source=[org.apache.felix.service.command.CommandProcessor]]] - Dispatcher may have been shutdown
2019-10-26T05:52:51,794 | INFO  | activator-1-thread-2 | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Unregistering org.osgi.jmx.framework.FrameworkMBean to MBeanServer org.apache.karaf.management.internal.EventAdminMBeanServerWrapper@8aac0c5 with name osgi.core:type=framework,version=1.7,framework=org.apache.felix.framework,uuid=a8d8dbe2-d8d0-44e6-9c6e-436af200f8bc
2019-10-26T05:52:51,794 | INFO  | activator-1-thread-2 | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Unregistering org.osgi.jmx.framework.PackageStateMBean to MBeanServer org.apache.karaf.management.internal.EventAdminMBeanServerWrapper@8aac0c5 with name osgi.core:type=packageState,version=1.5,framework=org.apache.felix.framework,uuid=a8d8dbe2-d8d0-44e6-9c6e-436af200f8bc
2019-10-26T05:52:51,795 | WARN  | activator-1-thread-2 | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Task rejected for JMX Notification dispatch of event [org.osgi.framework.ServiceEvent[source=[javax.management.MBeanServer]]] - Dispatcher may have been shutdown
2019-10-26T05:52:51,947 | INFO  | FelixStartLevel  | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Registering commands for bundle org.apache.karaf.bundle.core/4.2.7
2019-10-26T05:52:51,963 | INFO  | FelixStartLevel  | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Registering commands for bundle org.apache.karaf.config.core/4.2.7
2019-10-26T05:52:52,027 | INFO  | activator-1-thread-2 | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Registering org.osgi.jmx.service.cm.ConfigurationAdminMBean to MBeanServer org.apache.karaf.management.internal.EventAdminMBeanServerWrapper@282f3fc4 with name osgi.compendium:service=cm,version=1.3,framework=org.apache.felix.framework,uuid=a8d8dbe2-d8d0-44e6-9c6e-436af200f8bc
2019-10-26T05:52:52,028 | INFO  | activator-1-thread-2 | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Registering org.osgi.jmx.framework.ServiceStateMBean to MBeanServer org.apache.karaf.management.internal.EventAdminMBeanServerWrapper@282f3fc4 with name osgi.core:type=serviceState,version=1.7,framework=org.apache.felix.framework,uuid=a8d8dbe2-d8d0-44e6-9c6e-436af200f8bc
2019-10-26T05:52:52,028 | INFO  | activator-1-thread-2 | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Registering org.osgi.jmx.framework.wiring.BundleWiringStateMBean to MBeanServer org.apache.karaf.management.internal.EventAdminMBeanServerWrapper@282f3fc4 with name osgi.core:type=wiringState,version=1.1,framework=org.apache.felix.framework,uuid=a8d8dbe2-d8d0-44e6-9c6e-436af200f8bc
2019-10-26T05:52:52,029 | INFO  | activator-1-thread-2 | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Registering org.osgi.jmx.framework.BundleStateMBean to MBeanServer org.apache.karaf.management.internal.EventAdminMBeanServerWrapper@282f3fc4 with name osgi.core:type=bundleState,version=1.7,framework=org.apache.felix.framework,uuid=a8d8dbe2-d8d0-44e6-9c6e-436af200f8bc
2019-10-26T05:52:52,029 | INFO  | activator-1-thread-2 | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Registering org.osgi.jmx.framework.FrameworkMBean to MBeanServer org.apache.karaf.management.internal.EventAdminMBeanServerWrapper@282f3fc4 with name osgi.core:type=framework,version=1.7,framework=org.apache.felix.framework,uuid=a8d8dbe2-d8d0-44e6-9c6e-436af200f8bc
2019-10-26T05:52:52,029 | INFO  | activator-1-thread-2 | core                             | 13 - org.apache.aries.jmx.core - 1.1.8 | Registering org.osgi.jmx.framework.PackageStateMBean to MBeanServer org.apache.karaf.management.internal.EventAdminMBeanServerWrapper@282f3fc4 with name osgi.core:type=packageState,version=1.5,framework=org.apache.felix.framework,uuid=a8d8dbe2-d8d0-44e6-9c6e-436af200f8bc
2019-10-26T05:52:52,113 | INFO  | FelixStartLevel  | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Registering commands for bundle org.apache.karaf.deployer.kar/4.2.7
2019-10-26T05:52:52,115 | INFO  | FelixStartLevel  | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Registering commands for bundle org.apache.karaf.diagnostic.core/4.2.7
2019-10-26T05:52:52,160 | INFO  | FelixStartLevel  | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Command registration delayed for bundle org.apache.karaf.features.command/4.2.7. Missing dependencies: [org.apache.karaf.features.FeaturesService]
2019-10-26T05:52:52,187 | INFO  | FelixStartLevel  | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Registering commands for bundle org.apache.karaf.instance.core/4.2.7
2019-10-26T05:52:52,220 | INFO  | FelixStartLevel  | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Registering commands for bundle org.apache.karaf.jaas.command/4.2.7
2019-10-26T05:52:52,240 | INFO  | FelixStartLevel  | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Updating commands for bundle org.apache.karaf.jaas.command/4.2.7

2019-10-26T05:52:52,241 | INFO  | FelixStartLevel  | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Updating commands for bundle org.apache.karaf.jaas.command/4.2.7
2019-10-26T05:52:52,245 | INFO  | FelixStartLevel  | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Command registration delayed for bundle org.apache.karaf.kar.core/4.2.7. Missing dependencies: [org.apache.karaf.kar.KarService]
2019-10-26T05:52:52,266 | INFO  | FelixStartLevel  | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Registering commands for bundle org.apache.karaf.log.core/4.2.7
2019-10-26T05:52:52,275 | INFO  | FelixStartLevel  | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Registering commands for bundle org.apache.karaf.package.core/4.2.7
2019-10-26T05:52:52,278 | INFO  | FelixStartLevel  | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Registering commands for bundle org.apache.karaf.service.core/4.2.7
2019-10-26T05:52:52,321 | INFO  | FelixStartLevel  | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Registering commands for bundle org.apache.karaf.shell.commands/4.2.7
2019-10-26T05:52:52,659 | INFO  | activator-1-thread-2 | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Registering commands for bundle org.apache.karaf.features.command/4.2.7
2019-10-26T05:52:52,712 | INFO  | activator-1-thread-2 | Activator                        | 18 - org.apache.karaf.deployer.features - 4.2.7 | Deployment finished. Registering FeatureDeploymentListener
2019-10-26T05:52:52,774 | INFO  | activator-1-thread-3 | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Registering commands for bundle org.apache.karaf.kar.core/4.2.7
2019-10-26T05:52:53,081 | INFO  | FelixStartLevel  | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Command registration delayed for bundle org.apache.karaf.shell.ssh/4.2.7. Missing dependencies: [org.apache.sshd.server.SshServer]
2019-10-26T05:52:53,126 | INFO  | FelixStartLevel  | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Registering commands for bundle org.apache.karaf.system.core/4.2.7
2019-10-26T05:52:53,158 | INFO  | FelixStartLevel  | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Registering commands for bundle org.apache.karaf.event/4.2.7
2019-10-26T05:52:53,566 | INFO  | activator-1-thread-1 | CommandExtension                 | 34 - org.apache.karaf.shell.core - 4.2.7 | Registering commands for bundle org.apache.karaf.shell.ssh/4.2.7
Oct 26, 2019 5:53:01 AM org.apache.karaf.main.lock.SimpleFileLock lock
INFO: Trying to lock /opt/karaf/apache-karaf-4.2.7/lock
Oct 26, 2019 5:53:01 AM org.apache.karaf.main.lock.SimpleFileLock lock
INFO: Lock acquired
Oct 26, 2019 5:53:01 AM org.apache.karaf.main.Main$KarafLockCallback lockAcquired
INFO: Lock acquired. Setting startlevel to 100
8
Reply | Threaded
Open this post in threaded view
|

Re: Problem updating to 4.2.7

dleangen

Hi JB,

Thank you for your amazingly fast reply!

Ok, I will try these out, but unfortunately it won’t be today. I’ll let you know.

Cheers,
=David


On Oct 26, 2019, at 15:10, Jean-Baptiste Onofré <[hidden email]> wrote:

Hi David,

Does Karaf stop or restart ?

About what you said, it seems to restart. It's maybe not the whole container but just the shell console, due to a refresh.

Can you try feature:install -t -v to see what's going on ?

Did you test on intermediate version like 4.2.3 ? And eventually do you have a simple test case in order to me to reproduce it. I'm asking because we updated the Felix Resolver couple of times on 4.2.x series.

Thanks,

Regards
JB


Reply | Threaded
Open this post in threaded view
|

Re: Problem updating to 4.2.7

jbonofre
Hi David,

No problem, please let me know.
Don't hesitate to ping me when you can, we will figure it out together.

Regards
JB

On 26/10/2019 08:19, David Leangen wrote:

>
> Hi JB,
>
> Thank you for your amazingly fast reply!
>
> Ok, I will try these out, but unfortunately it won’t be today. I’ll
> let you know.
>
> Cheers,
> =David
>
>
>> On Oct 26, 2019, at 15:10, Jean-Baptiste Onofré <[hidden email]
>> <mailto:[hidden email]>> wrote:
>>
>> Hi David,
>>
>> Does Karaf stop or restart ?
>>
>> About what you said, it seems to restart. It's maybe not the whole
>> container but just the shell console, due to a refresh.
>>
>> Can you try feature:install -t -v to see what's going on ?
>>
>> Did you test on intermediate version like 4.2.3 ? And eventually do
>> you have a simple test case in order to me to reproduce it. I'm
>> asking because we updated the Felix Resolver couple of times on 4.2.x
>> series.
>>
>> Thanks,
>>
>> Regards
>> JB
>>
>
Reply | Threaded
Open this post in threaded view
|

Re: Problem updating to 4.2.7

dleangen

Thanks JB!

Unfortunately, exactly the same problem occurs with 4.2.3.

Should I try a different version? Which one do you suggest?


Cheers,
=David



> On Oct 26, 2019, at 16:43, Jean-Baptiste Onofré <[hidden email]> wrote:
>
> Hi David,
>
> No problem, please let me know.
> Don't hesitate to ping me when you can, we will figure it out together.
>
> Regards
> JB
>
> On 26/10/2019 08:19, David Leangen wrote:
>>
>> Hi JB,
>>
>> Thank you for your amazingly fast reply!
>>
>> Ok, I will try these out, but unfortunately it won’t be today. I’ll let you know.
>>
>> Cheers,
>> =David
>>
>>
>>> On Oct 26, 2019, at 15:10, Jean-Baptiste Onofré <[hidden email] <mailto:[hidden email]>> wrote:
>>>
>>> Hi David,
>>>
>>> Does Karaf stop or restart ?
>>>
>>> About what you said, it seems to restart. It's maybe not the whole container but just the shell console, due to a refresh.
>>>
>>> Can you try feature:install -t -v to see what's going on ?
>>>
>>> Did you test on intermediate version like 4.2.3 ? And eventually do you have a simple test case in order to me to reproduce it. I'm asking because we updated the Felix Resolver couple of times on 4.2.x series.
>>>
>>> Thanks,
>>>
>>> Regards
>>> JB
>>>
>>

Reply | Threaded
Open this post in threaded view
|

Re: Problem updating to 4.2.7

jbonofre
Hi,

And I worked in 4.2.0 / 4.2.0-SNAPSHOT ?

That's weird.

Can you try a feature:install -v -t install of going via the deploy folder ?

Regards
JB

On 28/10/2019 06:28, David Leangen wrote:

> Thanks JB!
>
> Unfortunately, exactly the same problem occurs with 4.2.3.
>
> Should I try a different version? Which one do you suggest?
>
>
> Cheers,
> =David
>
>
>
>> On Oct 26, 2019, at 16:43, Jean-Baptiste Onofré <[hidden email]> wrote:
>>
>> Hi David,
>>
>> No problem, please let me know.
>> Don't hesitate to ping me when you can, we will figure it out together.
>>
>> Regards
>> JB
>>
>> On 26/10/2019 08:19, David Leangen wrote:
>>> Hi JB,
>>>
>>> Thank you for your amazingly fast reply!
>>>
>>> Ok, I will try these out, but unfortunately it won’t be today. I’ll let you know.
>>>
>>> Cheers,
>>> =David
>>>
>>>
>>>> On Oct 26, 2019, at 15:10, Jean-Baptiste Onofré <[hidden email] <mailto:[hidden email]>> wrote:
>>>>
>>>> Hi David,
>>>>
>>>> Does Karaf stop or restart ?
>>>>
>>>> About what you said, it seems to restart. It's maybe not the whole container but just the shell console, due to a refresh.
>>>>
>>>> Can you try feature:install -t -v to see what's going on ?
>>>>
>>>> Did you test on intermediate version like 4.2.3 ? And eventually do you have a simple test case in order to me to reproduce it. I'm asking because we updated the Felix Resolver couple of times on 4.2.x series.
>>>>
>>>> Thanks,
>>>>
>>>> Regards
>>>> JB
>>>>
Reply | Threaded
Open this post in threaded view
|

Re: Problem updating to 4.2.7

dleangen

Hi,

Excuse my ignorance…

But given this feature file:

<features 
  name="enRoute Distribution Features"

    <resource-repository><a href="https://[USER]:[PASS]@repo.bioscene.net/repository/obr/enroute/index-2.0.0.xml&lt;/resource-repository&gt;" class="" moz-do-not-send="true">https://[USER]:[PASS]@repo.bioscene.net/repository/obr/enroute/index-2.0.0.xml</resource-repository>

    <feature name="enroute" version="2.0.0" install="auto" />
</features> 


How do I install it using feature:install -v -t?

I checked the documentation, but I am none the wiser. 😢
The URL is just a link to a repository. When I feature:list -i, of course the feature is not listed, so I can’t just “feature:install -t -v enroute”.

I must be missing a step.


Cheers,
=David


On Oct 28, 2019, at 14:48, Jean-Baptiste Onofré <[hidden email]> wrote:

Hi,

And I worked in 4.2.0 / 4.2.0-SNAPSHOT ?

That's weird.

Can you try a feature:install -v -t install of going via the deploy folder ?

Regards
JB



Reply | Threaded
Open this post in threaded view
|

Re: Problem updating to 4.2.7

jbonofre
Hi,

You can do:

feature:repo-add file:/path/to/your/features.xml

Then

feature:install -v -t enroute

Regards
JB

On 28/10/2019 07:56, David Leangen wrote:

>
> Hi,
>
> Excuse my ignorance…
>
> But given this feature file:
>
>> <features
>>   name="enRoute Distribution Features"
>>   xmlns="http://karaf.apache.org/xmlns/features/v1.4.0">
>>
>>   <resource-repository>https://[USER]:[PASS]@repo.bioscene.net/repository/obr/enroute/index-2.0.0.xml</resource-repository>
>>
>>   <feature name="enroute" version="2.0.0" install="auto" />
>> </features>
>
>
> How do I install it using feature:install -v -t?
>
> I checked the documentation, but I am none the wiser. 😢
> The URL is just a link to a repository. When I feature:list -i, of
> course the feature is not listed, so I can’t just “feature:install -t
> -v enroute”.
>
> I must be missing a step.
>
>
> Cheers,
> =David
>
>
>> On Oct 28, 2019, at 14:48, Jean-Baptiste Onofré <[hidden email]
>> <mailto:[hidden email]>> wrote:
>>
>> Hi,
>>
>> And I worked in 4.2.0 / 4.2.0-SNAPSHOT ?
>>
>> That's weird.
>>
>> Can you try a feature:install -v -t install of going via the deploy
>> folder ?
>>
>> Regards
>> JB
>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Problem updating to 4.2.7

dleangen

You amaze me! How are you so fast?

Anyway…

Again you’ll have to excuse my ignorance, but…

[root@deimos features]# pwd
/home/karaf/features
[root@deimos features]# ls
01-enroute.xml  03-base.xml     05-platform.xml  07-ddd.xml          09-app.xml           integral.xml   ws.xml
02-patches.xml  04-bucketz.xml  06-web.xml       08-application.xml  10-installation.xml  licensing.xml
[root@deimos features]# 


Then:

karaf@root()> feature:repo-add file:/home/karaf/features/01-enroute.xml
Adding feature url file:/home/karaf/features/01-enroute.xml
Error executing command: /home/karaf/features/01-enroute.xml (No such file or directory) : file:/home/karaf/features/01-enroute.xml
karaf@root()>  


Cheers,
=David


On Oct 28, 2019, at 16:04, Jean-Baptiste Onofré <[hidden email]> wrote:

Hi,

You can do:

feature:repo-add file:/path/to/your/features.xml

Then

feature:install -v -t enroute

Regards
JB

Reply | Threaded
Open this post in threaded view
|

Re: Problem updating to 4.2.7

jbonofre
Hmmm,

does the user running Karaf has permission to read the file/folder ?

Regards
JB

On 28/10/2019 08:11, David Leangen wrote:

>
> You amaze me! How are you so fast?
>
> Anyway…
>
> Again you’ll have to excuse my ignorance, but…
>
> [root@deimos features]# pwd
> /home/karaf/features
> [root@deimos features]# ls
> 01-enroute.xml  03-base.xml   05-platform.xml  07-ddd.xml         
> 09-app.xml integral.xml   ws.xml
> 02-patches.xml 04-bucketz.xml  06-web.xml       08-application.xml
> 10-installation.xml  licensing.xml
> [root@deimos features]#
>
>
> Then:
>
> karaf@root()> feature:repo-addfile:/home/karaf/features/01-enroute.xml
> Adding feature url file:/home/karaf/features/01-enroute.xml
> Error executing command: /home/karaf/features/01-enroute.xml (No such
> file or directory) : file:/home/karaf/features/01-enroute.xml
> karaf@root()>
>
>
> Cheers,
> =David
>
>
>> On Oct 28, 2019, at 16:04, Jean-Baptiste Onofré <[hidden email]
>> <mailto:[hidden email]>> wrote:
>>
>> Hi,
>>
>> You can do:
>>
>> feature:repo-add file:/path/to/your/features.xml
>>
>> Then
>>
>> feature:install -v -t enroute
>>
>> Regards
>> JB
>
Reply | Threaded
Open this post in threaded view
|

Re: Problem updating to 4.2.7

dleangen

The owner of the file (as well as the directory) is karaf.karaf.

From /etc/passwd:

karaf:x:1001:1001::/home/karaf:/bin/bash


From /etc/group:

karaf:x:1001:


The owner of the docker process in which karaf is running is root.


So I don’t think it’s a permissions problem.

The etc directory is mounted as a volume. It seems to be working fine (i.e. files can be changed both within the container and on the host).


Cheers,
=David



On Oct 28, 2019, at 17:17, Jean-Baptiste Onofré <[hidden email]> wrote:

Hmmm,

does the user running Karaf has permission to read the file/folder ?

Regards
JB

On 28/10/2019 08:11, David Leangen wrote:

You amaze me! How are you so fast?

Anyway…

Again you’ll have to excuse my ignorance, but…

[root@deimos features]# pwd
/home/karaf/features
[root@deimos features]# ls
01-enroute.xml  03-base.xml   05-platform.xml  07-ddd.xml          09-app.xml integral.xml   ws.xml
02-patches.xml 04-bucketz.xml  06-web.xml       08-application.xml 10-installation.xml  licensing.xml
[root@deimos features]#


Then:

karaf@root()> feature:repo-addfile:/home/karaf/features/01-enroute.xml
Adding feature url file:/home/karaf/features/01-enroute.xml
Error executing command: /home/karaf/features/01-enroute.xml (No such file or directory) : file:/home/karaf/features/01-enroute.xml
karaf@root()>


Cheers,
=David


On Oct 28, 2019, at 16:04, Jean-Baptiste Onofré <[hidden email]<[hidden email]>> wrote:

Hi,

You can do:

feature:repo-add file:/path/to/your/features.xml

Then

feature:install -v -t enroute

Regards
JB

Reply | Threaded
Open this post in threaded view
|

Re: Problem updating to 4.2.7

dleangen

Hi,

FYI it looks like 4.2.0 worked. I am having trouble with resolution of my bundles now, but at least the problem I was seeing in 4.2.7 is not there.

I will give it a try with 4.2.1 next.


Cheers,
=David



On Oct 28, 2019, at 20:14, David Leangen <[hidden email]> wrote:


The owner of the file (as well as the directory) is karaf.karaf.

From /etc/passwd:

karaf:x:1001:1001::/home/karaf:/bin/bash


From /etc/group:

karaf:x:1001:


The owner of the docker process in which karaf is running is root.


So I don’t think it’s a permissions problem.

The etc directory is mounted as a volume. It seems to be working fine (i.e. files can be changed both within the container and on the host).


Cheers,
=David



On Oct 28, 2019, at 17:17, Jean-Baptiste Onofré <[hidden email]> wrote:

Hmmm,

does the user running Karaf has permission to read the file/folder ?

Regards
JB

On 28/10/2019 08:11, David Leangen wrote:

You amaze me! How are you so fast?

Anyway…

Again you’ll have to excuse my ignorance, but…

[root@deimos features]# pwd
/home/karaf/features
[root@deimos features]# ls
01-enroute.xml  03-base.xml   05-platform.xml  07-ddd.xml          09-app.xml integral.xml   ws.xml
02-patches.xml 04-bucketz.xml  06-web.xml       08-application.xml 10-installation.xml  licensing.xml
[root@deimos features]#


Then:

karaf@root()> feature:repo-addfile:/home/karaf/features/01-enroute.xml
Adding feature url file:/home/karaf/features/01-enroute.xml
Error executing command: /home/karaf/features/01-enroute.xml (No such file or directory) : file:/home/karaf/features/01-enroute.xml
karaf@root()>


Cheers,
=David


On Oct 28, 2019, at 16:04, Jean-Baptiste Onofré <[hidden email]<[hidden email]>> wrote:

Hi,

You can do:

feature:repo-add file:/path/to/your/features.xml

Then

feature:install -v -t enroute

Regards
JB


Reply | Threaded
Open this post in threaded view
|

Re: Problem updating to 4.2.7

dleangen

4.2.1 was a no-go. The same problem occurred as with 4.2.7.

So it appears that the problematic change got introduced sometime between 4.2.0 and 4.2.1.

For now, I will try to get my system up and running in 4.2.0 if I can figure out the resolution problems, but it would still be great to figure out why 4.2.7 won’t start up…


Cheers,
=David



On Oct 29, 2019, at 17:15, David Leangen <[hidden email]> wrote:


Hi,

FYI it looks like 4.2.0 worked. I am having trouble with resolution of my bundles now, but at least the problem I was seeing in 4.2.7 is not there.

I will give it a try with 4.2.1 next.


Cheers,
=David



On Oct 28, 2019, at 20:14, David Leangen <[hidden email]> wrote:


The owner of the file (as well as the directory) is karaf.karaf.

From /etc/passwd:

karaf:x:1001:1001::/home/karaf:/bin/bash


From /etc/group:

karaf:x:1001:


The owner of the docker process in which karaf is running is root.


So I don’t think it’s a permissions problem.

The etc directory is mounted as a volume. It seems to be working fine (i.e. files can be changed both within the container and on the host).


Cheers,
=David



On Oct 28, 2019, at 17:17, Jean-Baptiste Onofré <[hidden email]> wrote:

Hmmm,

does the user running Karaf has permission to read the file/folder ?

Regards
JB

On 28/10/2019 08:11, David Leangen wrote:

You amaze me! How are you so fast?

Anyway…

Again you’ll have to excuse my ignorance, but…

[root@deimos features]# pwd
/home/karaf/features
[root@deimos features]# ls
01-enroute.xml  03-base.xml   05-platform.xml  07-ddd.xml          09-app.xml integral.xml   ws.xml
02-patches.xml 04-bucketz.xml  06-web.xml       08-application.xml 10-installation.xml  licensing.xml
[root@deimos features]#


Then:

karaf@root()> feature:repo-addfile:/home/karaf/features/01-enroute.xml
Adding feature url file:/home/karaf/features/01-enroute.xml
Error executing command: /home/karaf/features/01-enroute.xml (No such file or directory) : file:/home/karaf/features/01-enroute.xml
karaf@root()>


Cheers,
=David


On Oct 28, 2019, at 16:04, Jean-Baptiste Onofré <[hidden email]<[hidden email]>> wrote:

Hi,

You can do:

feature:repo-add file:/path/to/your/features.xml

Then

feature:install -v -t enroute

Regards
JB



Reply | Threaded
Open this post in threaded view
|

Re: Problem updating to 4.2.7

jbonofre
Hi David,

do you think you can have a simple test case you can send to me ?

It would help to identify the issues between 4.2.0 and 4.2.1.

Thanks,
Regards
JB

On 29/10/2019 09:29, David Leangen wrote:

>
> 4.2.1 was a no-go. The same problem occurred as with 4.2.7.
>
> So it appears that the problematic change got introduced sometime
> between 4.2.0 and 4.2.1.
>
> For now, I will try to get my system up and running in 4.2.0 if I can
> figure out the resolution problems, but it would still be great to
> figure out why 4.2.7 won’t start up…
>
>
> Cheers,
> =David
>
>
>
>> On Oct 29, 2019, at 17:15, David Leangen <[hidden email]
>> <mailto:[hidden email]>> wrote:
>>
>>
>> Hi,
>>
>> FYI it looks like 4.2.0 worked. I am having trouble with resolution
>> of my bundles now, but at least the problem I was seeing in 4.2.7 is
>> not there.
>>
>> I will give it a try with 4.2.1 next.
>>
>>
>> Cheers,
>> =David
>>
>>
>>
>>> On Oct 28, 2019, at 20:14, David Leangen <[hidden email]
>>> <mailto:[hidden email]>> wrote:
>>>
>>>
>>> The owner of the file (as well as the directory) is karaf.karaf.
>>>
>>> From /etc/passwd:
>>>
>>> karaf:x:1001:1001::/home/karaf:/bin/bash
>>>
>>>
>>> From /etc/group:
>>>
>>> karaf:x:1001:
>>>
>>>
>>> The owner of the docker process in which karaf is running is root.
>>>
>>>
>>> So I don’t think it’s a permissions problem.
>>>
>>> The etc directory is mounted as a volume. It seems to be working
>>> fine (i.e. files can be changed both within the container and on the
>>> host).
>>>
>>>
>>> Cheers,
>>> =David
>>>
>>>
>>>
>>>> On Oct 28, 2019, at 17:17, Jean-Baptiste Onofré <[hidden email]
>>>> <mailto:[hidden email]>> wrote:
>>>>
>>>> Hmmm,
>>>>
>>>> does the user running Karaf has permission to read the file/folder ?
>>>>
>>>> Regards
>>>> JB
>>>>
>>>> On 28/10/2019 08:11, David Leangen wrote:
>>>>>
>>>>> You amaze me! How are you so fast?
>>>>>
>>>>> Anyway…
>>>>>
>>>>> Again you’ll have to excuse my ignorance, but…
>>>>>
>>>>> [root@deimos features]# pwd
>>>>> /home/karaf/features
>>>>> [root@deimos features]# ls
>>>>> 01-enroute.xml  03-base.xml 05-platform.xml  07-ddd.xml 09-app.xml
>>>>> integral.xml   ws.xml
>>>>> 02-patches.xml 04-bucketz.xml 06-web.xml       08-application.xml
>>>>> 10-installation.xml  licensing.xml
>>>>> [root@deimos features]#
>>>>>
>>>>>
>>>>> Then:
>>>>>
>>>>> karaf@root()> feature:repo-addfile:/home/karaf/features/01-enroute.xml
>>>>> Adding feature url file:/home/karaf/features/01-enroute.xml
>>>>> Error executing command: /home/karaf/features/01-enroute.xml (No
>>>>> such file or directory) : file:/home/karaf/features/01-enroute.xml
>>>>> karaf@root()>
>>>>>
>>>>>
>>>>> Cheers,
>>>>> =David
>>>>>
>>>>>
>>>>>> On Oct 28, 2019, at 16:04, Jean-Baptiste Onofré <[hidden email]
>>>>>> <mailto:[hidden email]><mailto:[hidden email]>> wrote:
>>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> You can do:
>>>>>>
>>>>>> feature:repo-add file:/path/to/your/features.xml
>>>>>>
>>>>>> Then
>>>>>>
>>>>>> feature:install -v -t enroute
>>>>>>
>>>>>> Regards
>>>>>> JB
>>>
>>
>
Reply | Threaded
Open this post in threaded view
|

Re: Problem updating to 4.2.7

dleangen

Hi JB,

Sure! What would be the best way of doing that?

I could give you a reference to my docker image, config changes, and repo and you run it?

Or give you access to a running server instance?

Or something else?


Cheers,
=David



> On Oct 29, 2019, at 17:45, Jean-Baptiste Onofré <[hidden email]> wrote:
>
> Hi David,
>
> do you think you can have a simple test case you can send to me ?
>
> It would help to identify the issues between 4.2.0 and 4.2.1.
>
> Thanks,
> Regards
> JB
>
> On 29/10/2019 09:29, David Leangen wrote:
>>
>> 4.2.1 was a no-go. The same problem occurred as with 4.2.7.
>>
>> So it appears that the problematic change got introduced sometime between 4.2.0 and 4.2.1.
>>
>> For now, I will try to get my system up and running in 4.2.0 if I can figure out the resolution problems, but it would still be great to figure out why 4.2.7 won’t start up…
>>
>>
>> Cheers,
>> =David
>>
>>
>>
>>> On Oct 29, 2019, at 17:15, David Leangen <[hidden email] <mailto:[hidden email]>> wrote:
>>>
>>>
>>> Hi,
>>>
>>> FYI it looks like 4.2.0 worked. I am having trouble with resolution of my bundles now, but at least the problem I was seeing in 4.2.7 is not there.
>>>
>>> I will give it a try with 4.2.1 next.
>>>
>>>
>>> Cheers,
>>> =David
>>>
>>>
>>>
>>>> On Oct 28, 2019, at 20:14, David Leangen <[hidden email] <mailto:[hidden email]>> wrote:
>>>>
>>>>
>>>> The owner of the file (as well as the directory) is karaf.karaf.
>>>>
>>>> From /etc/passwd:
>>>>
>>>> karaf:x:1001:1001::/home/karaf:/bin/bash
>>>>
>>>>
>>>> From /etc/group:
>>>>
>>>> karaf:x:1001:
>>>>
>>>>
>>>> The owner of the docker process in which karaf is running is root.
>>>>
>>>>
>>>> So I don’t think it’s a permissions problem.
>>>>
>>>> The etc directory is mounted as a volume. It seems to be working fine (i.e. files can be changed both within the container and on the host).
>>>>
>>>>
>>>> Cheers,
>>>> =David
>>>>
>>>>
>>>>
>>>>> On Oct 28, 2019, at 17:17, Jean-Baptiste Onofré <[hidden email] <mailto:[hidden email]>> wrote:
>>>>>
>>>>> Hmmm,
>>>>>
>>>>> does the user running Karaf has permission to read the file/folder ?
>>>>>
>>>>> Regards
>>>>> JB
>>>>>
>>>>> On 28/10/2019 08:11, David Leangen wrote:
>>>>>>
>>>>>> You amaze me! How are you so fast?
>>>>>>
>>>>>> Anyway…
>>>>>>
>>>>>> Again you’ll have to excuse my ignorance, but…
>>>>>>
>>>>>> [root@deimos features]# pwd
>>>>>> /home/karaf/features
>>>>>> [root@deimos features]# ls
>>>>>> 01-enroute.xml  03-base.xml 05-platform.xml  07-ddd.xml 09-app.xml integral.xml   ws.xml
>>>>>> 02-patches.xml 04-bucketz.xml 06-web.xml       08-application.xml 10-installation.xml  licensing.xml
>>>>>> [root@deimos features]#
>>>>>>
>>>>>>
>>>>>> Then:
>>>>>>
>>>>>> karaf@root()> feature:repo-addfile:/home/karaf/features/01-enroute.xml
>>>>>> Adding feature url file:/home/karaf/features/01-enroute.xml
>>>>>> Error executing command: /home/karaf/features/01-enroute.xml (No such file or directory) : file:/home/karaf/features/01-enroute.xml
>>>>>> karaf@root()>
>>>>>>
>>>>>>
>>>>>> Cheers,
>>>>>> =David
>>>>>>
>>>>>>
>>>>>>> On Oct 28, 2019, at 16:04, Jean-Baptiste Onofré <[hidden email] <mailto:[hidden email]><mailto:[hidden email]>> wrote:
>>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> You can do:
>>>>>>>
>>>>>>> feature:repo-add file:/path/to/your/features.xml
>>>>>>>
>>>>>>> Then
>>>>>>>
>>>>>>> feature:install -v -t enroute
>>>>>>>
>>>>>>> Regards
>>>>>>> JB
>>>>
>>>
>>

Reply | Threaded
Open this post in threaded view
|

Re: Problem updating to 4.2.7

jbonofre
Hi,

the easy path would be the features XML with a zip of your resources
repository.

A simple test should be enough.

Thanks a lot !

Regards
JB

On 29/10/2019 11:13, David Leangen wrote:

> Hi JB,
>
> Sure! What would be the best way of doing that?
>
> I could give you a reference to my docker image, config changes, and repo and you run it?
>
> Or give you access to a running server instance?
>
> Or something else?
>
>
> Cheers,
> =David
>
>
>
>> On Oct 29, 2019, at 17:45, Jean-Baptiste Onofré <[hidden email]> wrote:
>>
>> Hi David,
>>
>> do you think you can have a simple test case you can send to me ?
>>
>> It would help to identify the issues between 4.2.0 and 4.2.1.
>>
>> Thanks,
>> Regards
>> JB
>>
>> On 29/10/2019 09:29, David Leangen wrote:
>>> 4.2.1 was a no-go. The same problem occurred as with 4.2.7.
>>>
>>> So it appears that the problematic change got introduced sometime between 4.2.0 and 4.2.1.
>>>
>>> For now, I will try to get my system up and running in 4.2.0 if I can figure out the resolution problems, but it would still be great to figure out why 4.2.7 won’t start up…
>>>
>>>
>>> Cheers,
>>> =David
>>>
>>>
>>>
>>>> On Oct 29, 2019, at 17:15, David Leangen <[hidden email] <mailto:[hidden email]>> wrote:
>>>>
>>>>
>>>> Hi,
>>>>
>>>> FYI it looks like 4.2.0 worked. I am having trouble with resolution of my bundles now, but at least the problem I was seeing in 4.2.7 is not there.
>>>>
>>>> I will give it a try with 4.2.1 next.
>>>>
>>>>
>>>> Cheers,
>>>> =David
>>>>
>>>>
>>>>
>>>>> On Oct 28, 2019, at 20:14, David Leangen <[hidden email] <mailto:[hidden email]>> wrote:
>>>>>
>>>>>
>>>>> The owner of the file (as well as the directory) is karaf.karaf.
>>>>>
>>>>>  From /etc/passwd:
>>>>>
>>>>> karaf:x:1001:1001::/home/karaf:/bin/bash
>>>>>
>>>>>
>>>>>  From /etc/group:
>>>>>
>>>>> karaf:x:1001:
>>>>>
>>>>>
>>>>> The owner of the docker process in which karaf is running is root.
>>>>>
>>>>>
>>>>> So I don’t think it’s a permissions problem.
>>>>>
>>>>> The etc directory is mounted as a volume. It seems to be working fine (i.e. files can be changed both within the container and on the host).
>>>>>
>>>>>
>>>>> Cheers,
>>>>> =David
>>>>>
>>>>>
>>>>>
>>>>>> On Oct 28, 2019, at 17:17, Jean-Baptiste Onofré <[hidden email] <mailto:[hidden email]>> wrote:
>>>>>>
>>>>>> Hmmm,
>>>>>>
>>>>>> does the user running Karaf has permission to read the file/folder ?
>>>>>>
>>>>>> Regards
>>>>>> JB
>>>>>>
>>>>>> On 28/10/2019 08:11, David Leangen wrote:
>>>>>>> You amaze me! How are you so fast?
>>>>>>>
>>>>>>> Anyway…
>>>>>>>
>>>>>>> Again you’ll have to excuse my ignorance, but…
>>>>>>>
>>>>>>> [root@deimos features]# pwd
>>>>>>> /home/karaf/features
>>>>>>> [root@deimos features]# ls
>>>>>>> 01-enroute.xml  03-base.xml 05-platform.xml  07-ddd.xml 09-app.xml integral.xml   ws.xml
>>>>>>> 02-patches.xml 04-bucketz.xml 06-web.xml       08-application.xml 10-installation.xml  licensing.xml
>>>>>>> [root@deimos features]#
>>>>>>>
>>>>>>>
>>>>>>> Then:
>>>>>>>
>>>>>>> karaf@root()> feature:repo-addfile:/home/karaf/features/01-enroute.xml
>>>>>>> Adding feature url file:/home/karaf/features/01-enroute.xml
>>>>>>> Error executing command: /home/karaf/features/01-enroute.xml (No such file or directory) : file:/home/karaf/features/01-enroute.xml
>>>>>>> karaf@root()>
>>>>>>>
>>>>>>>
>>>>>>> Cheers,
>>>>>>> =David
>>>>>>>
>>>>>>>
>>>>>>>> On Oct 28, 2019, at 16:04, Jean-Baptiste Onofré <[hidden email] <mailto:[hidden email]><mailto:[hidden email]>> wrote:
>>>>>>>>
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> You can do:
>>>>>>>>
>>>>>>>> feature:repo-add file:/path/to/your/features.xml
>>>>>>>>
>>>>>>>> Then
>>>>>>>>
>>>>>>>> feature:install -v -t enroute
>>>>>>>>
>>>>>>>> Regards
>>>>>>>> JB
Reply | Threaded
Open this post in threaded view
|

Re: Problem updating to 4.2.7

dleangen

Thanks JB,

I’ll try to comb through the lists to figure out precisely what you mean by “a simple test”. Apologies for my ignorance… 😬

I’ll get back to you soon.


Cheers,
=David



> On Oct 30, 2019, at 2:10, Jean-Baptiste Onofré <[hidden email]> wrote:
>
> Hi,
>
> the easy path would be the features XML with a zip of your resources repository.
>
> A simple test should be enough.
>
> Thanks a lot !
>
> Regards
> JB
>
> On 29/10/2019 11:13, David Leangen wrote:
>> Hi JB,
>>
>> Sure! What would be the best way of doing that?
>>
>> I could give you a reference to my docker image, config changes, and repo and you run it?
>>
>> Or give you access to a running server instance?
>>
>> Or something else?
>>
>>
>> Cheers,
>> =David
>>
>>
>>
>>> On Oct 29, 2019, at 17:45, Jean-Baptiste Onofré <[hidden email]> wrote:
>>>
>>> Hi David,
>>>
>>> do you think you can have a simple test case you can send to me ?
>>>
>>> It would help to identify the issues between 4.2.0 and 4.2.1.
>>>
>>> Thanks,
>>> Regards
>>> JB
>>>
>>> On 29/10/2019 09:29, David Leangen wrote:
>>>> 4.2.1 was a no-go. The same problem occurred as with 4.2.7.
>>>>
>>>> So it appears that the problematic change got introduced sometime between 4.2.0 and 4.2.1.
>>>>
>>>> For now, I will try to get my system up and running in 4.2.0 if I can figure out the resolution problems, but it would still be great to figure out why 4.2.7 won’t start up…
>>>>
>>>>
>>>> Cheers,
>>>> =David
>>>>
>>>>
>>>>
>>>>> On Oct 29, 2019, at 17:15, David Leangen <[hidden email] <mailto:[hidden email]>> wrote:
>>>>>
>>>>>
>>>>> Hi,
>>>>>
>>>>> FYI it looks like 4.2.0 worked. I am having trouble with resolution of my bundles now, but at least the problem I was seeing in 4.2.7 is not there.
>>>>>
>>>>> I will give it a try with 4.2.1 next.
>>>>>
>>>>>
>>>>> Cheers,
>>>>> =David
>>>>>
>>>>>
>>>>>
>>>>>> On Oct 28, 2019, at 20:14, David Leangen <[hidden email] <mailto:[hidden email]>> wrote:
>>>>>>
>>>>>>
>>>>>> The owner of the file (as well as the directory) is karaf.karaf.
>>>>>>
>>>>>> From /etc/passwd:
>>>>>>
>>>>>> karaf:x:1001:1001::/home/karaf:/bin/bash
>>>>>>
>>>>>>
>>>>>> From /etc/group:
>>>>>>
>>>>>> karaf:x:1001:
>>>>>>
>>>>>>
>>>>>> The owner of the docker process in which karaf is running is root.
>>>>>>
>>>>>>
>>>>>> So I don’t think it’s a permissions problem.
>>>>>>
>>>>>> The etc directory is mounted as a volume. It seems to be working fine (i.e. files can be changed both within the container and on the host).
>>>>>>
>>>>>>
>>>>>> Cheers,
>>>>>> =David
>>>>>>
>>>>>>
>>>>>>
>>>>>>> On Oct 28, 2019, at 17:17, Jean-Baptiste Onofré <[hidden email] <mailto:[hidden email]>> wrote:
>>>>>>>
>>>>>>> Hmmm,
>>>>>>>
>>>>>>> does the user running Karaf has permission to read the file/folder ?
>>>>>>>
>>>>>>> Regards
>>>>>>> JB
>>>>>>>
>>>>>>> On 28/10/2019 08:11, David Leangen wrote:
>>>>>>>> You amaze me! How are you so fast?
>>>>>>>>
>>>>>>>> Anyway…
>>>>>>>>
>>>>>>>> Again you’ll have to excuse my ignorance, but…
>>>>>>>>
>>>>>>>> [root@deimos features]# pwd
>>>>>>>> /home/karaf/features
>>>>>>>> [root@deimos features]# ls
>>>>>>>> 01-enroute.xml  03-base.xml 05-platform.xml  07-ddd.xml 09-app.xml integral.xml   ws.xml
>>>>>>>> 02-patches.xml 04-bucketz.xml 06-web.xml       08-application.xml 10-installation.xml  licensing.xml
>>>>>>>> [root@deimos features]#
>>>>>>>>
>>>>>>>>
>>>>>>>> Then:
>>>>>>>>
>>>>>>>> karaf@root()> feature:repo-addfile:/home/karaf/features/01-enroute.xml
>>>>>>>> Adding feature url file:/home/karaf/features/01-enroute.xml
>>>>>>>> Error executing command: /home/karaf/features/01-enroute.xml (No such file or directory) : file:/home/karaf/features/01-enroute.xml
>>>>>>>> karaf@root()>
>>>>>>>>
>>>>>>>>
>>>>>>>> Cheers,
>>>>>>>> =David
>>>>>>>>
>>>>>>>>
>>>>>>>>> On Oct 28, 2019, at 16:04, Jean-Baptiste Onofré <[hidden email] <mailto:[hidden email]><mailto:[hidden email]>> wrote:
>>>>>>>>>
>>>>>>>>> Hi,
>>>>>>>>>
>>>>>>>>> You can do:
>>>>>>>>>
>>>>>>>>> feature:repo-add file:/path/to/your/features.xml
>>>>>>>>>
>>>>>>>>> Then
>>>>>>>>>
>>>>>>>>> feature:install -v -t enroute
>>>>>>>>>
>>>>>>>>> Regards
>>>>>>>>> JB

Reply | Threaded
Open this post in threaded view
|

Re: Problem updating to 4.2.7

jbonofre
Hi David,

No problem. As the mailing list doesn't accept attachment, feel free to
send to me directly.

Thanks

Regards
JB

On 30/10/2019 01:19, David Leangen wrote:

> Thanks JB,
>
> I’ll try to comb through the lists to figure out precisely what you mean by “a simple test”. Apologies for my ignorance… 😬
>
> I’ll get back to you soon.
>
>
> Cheers,
> =David
>
>
>
>> On Oct 30, 2019, at 2:10, Jean-Baptiste Onofré <[hidden email]> wrote:
>>
>> Hi,
>>
>> the easy path would be the features XML with a zip of your resources repository.
>>
>> A simple test should be enough.
>>
>> Thanks a lot !
>>
>> Regards
>> JB
>>
>> On 29/10/2019 11:13, David Leangen wrote:
>>> Hi JB,
>>>
>>> Sure! What would be the best way of doing that?
>>>
>>> I could give you a reference to my docker image, config changes, and repo and you run it?
>>>
>>> Or give you access to a running server instance?
>>>
>>> Or something else?
>>>
>>>
>>> Cheers,
>>> =David
>>>
>>>
>>>
>>>> On Oct 29, 2019, at 17:45, Jean-Baptiste Onofré <[hidden email]> wrote:
>>>>
>>>> Hi David,
>>>>
>>>> do you think you can have a simple test case you can send to me ?
>>>>
>>>> It would help to identify the issues between 4.2.0 and 4.2.1.
>>>>
>>>> Thanks,
>>>> Regards
>>>> JB
>>>>
>>>> On 29/10/2019 09:29, David Leangen wrote:
>>>>> 4.2.1 was a no-go. The same problem occurred as with 4.2.7.
>>>>>
>>>>> So it appears that the problematic change got introduced sometime between 4.2.0 and 4.2.1.
>>>>>
>>>>> For now, I will try to get my system up and running in 4.2.0 if I can figure out the resolution problems, but it would still be great to figure out why 4.2.7 won’t start up…
>>>>>
>>>>>
>>>>> Cheers,
>>>>> =David
>>>>>
>>>>>
>>>>>
>>>>>> On Oct 29, 2019, at 17:15, David Leangen <[hidden email] <mailto:[hidden email]>> wrote:
>>>>>>
>>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> FYI it looks like 4.2.0 worked. I am having trouble with resolution of my bundles now, but at least the problem I was seeing in 4.2.7 is not there.
>>>>>>
>>>>>> I will give it a try with 4.2.1 next.
>>>>>>
>>>>>>
>>>>>> Cheers,
>>>>>> =David
>>>>>>
>>>>>>
>>>>>>
>>>>>>> On Oct 28, 2019, at 20:14, David Leangen <[hidden email] <mailto:[hidden email]>> wrote:
>>>>>>>
>>>>>>>
>>>>>>> The owner of the file (as well as the directory) is karaf.karaf.
>>>>>>>
>>>>>>>  From /etc/passwd:
>>>>>>>
>>>>>>> karaf:x:1001:1001::/home/karaf:/bin/bash
>>>>>>>
>>>>>>>
>>>>>>>  From /etc/group:
>>>>>>>
>>>>>>> karaf:x:1001:
>>>>>>>
>>>>>>>
>>>>>>> The owner of the docker process in which karaf is running is root.
>>>>>>>
>>>>>>>
>>>>>>> So I don’t think it’s a permissions problem.
>>>>>>>
>>>>>>> The etc directory is mounted as a volume. It seems to be working fine (i.e. files can be changed both within the container and on the host).
>>>>>>>
>>>>>>>
>>>>>>> Cheers,
>>>>>>> =David
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>> On Oct 28, 2019, at 17:17, Jean-Baptiste Onofré <[hidden email] <mailto:[hidden email]>> wrote:
>>>>>>>>
>>>>>>>> Hmmm,
>>>>>>>>
>>>>>>>> does the user running Karaf has permission to read the file/folder ?
>>>>>>>>
>>>>>>>> Regards
>>>>>>>> JB
>>>>>>>>
>>>>>>>> On 28/10/2019 08:11, David Leangen wrote:
>>>>>>>>> You amaze me! How are you so fast?
>>>>>>>>>
>>>>>>>>> Anyway…
>>>>>>>>>
>>>>>>>>> Again you’ll have to excuse my ignorance, but…
>>>>>>>>>
>>>>>>>>> [root@deimos features]# pwd
>>>>>>>>> /home/karaf/features
>>>>>>>>> [root@deimos features]# ls
>>>>>>>>> 01-enroute.xml  03-base.xml 05-platform.xml  07-ddd.xml 09-app.xml integral.xml   ws.xml
>>>>>>>>> 02-patches.xml 04-bucketz.xml 06-web.xml       08-application.xml 10-installation.xml  licensing.xml
>>>>>>>>> [root@deimos features]#
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Then:
>>>>>>>>>
>>>>>>>>> karaf@root()> feature:repo-addfile:/home/karaf/features/01-enroute.xml
>>>>>>>>> Adding feature url file:/home/karaf/features/01-enroute.xml
>>>>>>>>> Error executing command: /home/karaf/features/01-enroute.xml (No such file or directory) : file:/home/karaf/features/01-enroute.xml
>>>>>>>>> karaf@root()>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Cheers,
>>>>>>>>> =David
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>> On Oct 28, 2019, at 16:04, Jean-Baptiste Onofré <[hidden email] <mailto:[hidden email]><mailto:[hidden email]>> wrote:
>>>>>>>>>>
>>>>>>>>>> Hi,
>>>>>>>>>>
>>>>>>>>>> You can do:
>>>>>>>>>>
>>>>>>>>>> feature:repo-add file:/path/to/your/features.xml
>>>>>>>>>>
>>>>>>>>>> Then
>>>>>>>>>>
>>>>>>>>>> feature:install -v -t enroute
>>>>>>>>>>
>>>>>>>>>> Regards
>>>>>>>>>> JB