2 Replies Latest reply on Mar 22, 2011 9:05 AM by Vladimir Valouch

    Fuse ESB 4.3.1 featuresBoot troubles

    Vladimir Valouch Newbie

      Hi,

       

      when I was running 4.3.0-03.00 I had defined this features boot and everything was working just fine:

      featuresBoot=config,activemq,camel,camel-hawtdb,camel-jms,camel-cxf

       

      When I try it in the 4.3.1, I get always the error below.

      Step to reproduce:

      1) download and unzip Fuse ESB 4.3.1

      2) change features boot as I did above

      3) see the error in the log

       

      br, Vlad

       

       

      22.3.2011 12:33:43 org.apache.karaf.main.SimpleFileLock lock

      INFO: locking

      12:33:44,211 | INFO  | Event Dispatcher | jmx                              | 25 - org.apache.aries.jmx - 0.2.0.incubating | Starting JMX OSGi agent

      12:33:44,223 | INFO  | Event Dispatcher | jmx                              | 25 - org.apache.aries.jmx - 0.2.0.incubating | Registering MBean with ObjectName osgi.core:service=permissionadmin,version=1.2 for service with service.id

      12:33:44,225 | INFO  | Event Dispatcher | jmx                              | 25 - org.apache.aries.jmx - 0.2.0.incubating | Registering MBean with ObjectName osgi.compendium:service=cm,version=1.3 for service with service.id

      12:33:44,334 | WARN  | JMX OSGi Agent   | jmx                              | 25 - org.apache.aries.jmx - 0.2.0.incubating | There are no MBean servers registred, can't register MBeans

      12:33:44,334 | WARN  | JMX OSGi Agent   | jmx                              | 25 - org.apache.aries.jmx - 0.2.0.incubating | There are no MBean servers registred, can't register MBeans

      12:33:44,414 | WARN  | rint Extender: 1 | BlueprintContainerImpl           | 7 - org.apache.aries.blueprint - 0.2.0.incubating | Bundle org.apache.karaf.shell.log is waiting for namespace handlers (&(objectClass=org.apache.aries.blueprint.NamespaceHandler)(osgi.service.blueprint.namespace=http://karaf.apache.org/xmlns/shell/v1.0.0))

      12:33:44,418 | WARN  | rint Extender: 1 | BlueprintContainerImpl           | 7 - org.apache.aries.blueprint - 0.2.0.incubating | Bundle org.apache.karaf.jaas.modules is waiting for namespace handlers (&(objectClass=org.apache.aries.blueprint.NamespaceHandler)(osgi.service.blueprint.namespace=http://karaf.apache.org/xmlns/jaas/v1.0.0))

      12:33:44,422 | WARN  | rint Extender: 1 | BlueprintContainerImpl           | 7 - org.apache.aries.blueprint - 0.2.0.incubating | Bundle org.apache.karaf.shell.commands is waiting for namespace handlers (&(objectClass=org.apache.aries.blueprint.NamespaceHandler)(osgi.service.blueprint.namespace=http://karaf.apache.org/xmlns/shell/v1.0.0))

      12:33:44,424 | WARN  | rint Extender: 1 | BlueprintContainerImpl           | 7 - org.apache.aries.blueprint - 0.2.0.incubating | Bundle org.apache.karaf.shell.dev is waiting for namespace handlers (&(objectClass=org.apache.aries.blueprint.NamespaceHandler)(osgi.service.blueprint.namespace=http://karaf.apache.org/xmlns/shell/v1.0.0))

      12:33:44,440 | WARN  | rint Extender: 1 | BlueprintContainerImpl           | 7 - org.apache.aries.blueprint - 0.2.0.incubating | Bundle org.apache.karaf.shell.ssh is waiting for namespace handlers (&(objectClass=org.apache.aries.blueprint.NamespaceHandler)(osgi.service.blueprint.namespace=http://karaf.apache.org/xmlns/shell/v1.0.0))

      12:33:45,125 | INFO  | rint Extender: 3 | SecurityUtils                    | 30 - sshd-core - 0.4.0 | BouncyCastle not registered, using the default JCE provider

      12:33:45,971 | INFO  | JMX OSGi Agent   | jmx                              | 25 - org.apache.aries.jmx - 0.2.0.incubating | Registering org.osgi.jmx.framework.FrameworkMBean to MBeanServer com.sun.jmx.mbeanserver.JmxMBeanServer@1cb25f1 with name osgi.core:type=framework,version=1.5

      12:33:45,971 | INFO  | JMX OSGi Agent   | jmx                              | 25 - org.apache.aries.jmx - 0.2.0.incubating | Registering org.osgi.jmx.service.permissionadmin.PermissionAdminMBean to MBeanServer com.sun.jmx.mbeanserver.JmxMBeanServer@1cb25f1 with name osgi.core:service=permissionadmin,version=1.2

      12:33:45,971 | INFO  | JMX OSGi Agent   | jmx                              | 25 - org.apache.aries.jmx - 0.2.0.incubating | Registering org.osgi.jmx.framework.PackageStateMBean to MBeanServer com.sun.jmx.mbeanserver.JmxMBeanServer@1cb25f1 with name osgi.core:type=packageState,version=1.5

      12:33:45,971 | INFO  | JMX OSGi Agent   | jmx                              | 25 - org.apache.aries.jmx - 0.2.0.incubating | Registering org.osgi.jmx.service.cm.ConfigurationAdminMBean to MBeanServer com.sun.jmx.mbeanserver.JmxMBeanServer@1cb25f1 with name osgi.compendium:service=cm,version=1.3

      12:33:45,971 | INFO  | JMX OSGi Agent   | jmx                              | 25 - org.apache.aries.jmx - 0.2.0.incubating | Registering org.osgi.jmx.framework.BundleStateMBean to MBeanServer com.sun.jmx.mbeanserver.JmxMBeanServer@1cb25f1 with name osgi.core:type=bundleState,version=1.5

      12:33:45,972 | INFO  | JMX OSGi Agent   | jmx                              | 25 - org.apache.aries.jmx - 0.2.0.incubating | Registering org.osgi.jmx.framework.ServiceStateMBean to MBeanServer com.sun.jmx.mbeanserver.JmxMBeanServer@1cb25f1 with name osgi.core:type=serviceState,version=1.5

      12:33:52,271 | INFO  | Thread-6         | FeaturesServiceImpl              | 24 - org.apache.karaf.features.core - 2.1.3.fuse-00-00 | Bundles to refresh:

      12:33:52,756 | INFO  | Thread-6         | Activator                        | 63 - org.apache.camel.camel-core - 2.6.0.fuse-00-00 | Camel activator starting

      12:33:52,835 | INFO  | Thread-6         | Activator                        | 63 - org.apache.camel.camel-core - 2.6.0.fuse-00-00 | Camel activator started

      12:33:52,863 | INFO  | Thread-6         | ContextLoaderListener            | 67 - org.springframework.osgi.extender - 1.2.0 | Starting bundle v.[1.2.0]

      12:33:52,895 | WARN  | Thread-6         | NamespaceManager                 | 67 - org.springframework.osgi.extender - 1.2.0 | Bundle activemq-ra (org.apache.activemq.activemq-ra) cannot see class ; ignoring its namespace handlers

      12:33:52,946 | INFO  | Thread-6         | ExtenderConfiguration            | 67 - org.springframework.osgi.extender - 1.2.0 | No custom extender configuration detected; using defaults...

      12:33:52,952 | INFO  | Thread-6         | TimerTaskExecutor                | 56 - org.springframework.context - 3.0.5.RELEASE | Initializing Timer

      12:33:53,209 | ERROR | Thread-6         | FeaturesServiceImpl              | 24 - org.apache.karaf.features.core - 2.1.3.fuse-00-00 | Error installing boot features

      java.lang.Exception: Could not start bundle mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.jaxb-impl/2.2.1.1_1 in feature(s) cxf-2.3.2-fuse-00-00, camel-core-2.6.0-fuse-00-00, servicemix-wsn2005-2011.01.0-fuse-00-00: The bundle "org.apache.servicemix.bundles.jaxb-impl_2.2.1.1_1 " could not be resolved. Reason: Missing Constraint: Import-Package: javax.xml.bind; version="[2.2.0,3.0.0)"

           at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeatures(FeaturesServiceImpl.java:326)[24:org.apache.karaf.features.core:2.1.3.fuse-00-00]

           at org.apache.karaf.features.internal.FeaturesServiceImpl$1.run(FeaturesServiceImpl.java:812)[24:org.apache.karaf.features.core:2.1.3.fuse-00-00]

      Caused by: org.osgi.framework.BundleException: The bundle "org.apache.servicemix.bundles.jaxb-impl_2.2.1.1_1 " could not be resolved. Reason: Missing Constraint: Import-Package: javax.xml.bind; version="[2.2.0,3.0.0)"

           at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1317)[osgi-3.6.0.v20100517.jar:]

           at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1301)[osgi-3.6.0.v20100517.jar:]

           at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:319)[osgi-3.6.0.v20100517.jar:]

           at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:284)[osgi-3.6.0.v20100517.jar:]

           at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:276)[osgi-3.6.0.v20100517.jar:]

           at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeatures(FeaturesServiceImpl.java:323)[24:org.apache.karaf.features.core:2.1.3.fuse-00-00]

           ... 1 more