5 Replies Latest reply on Oct 24, 2014 7:07 AM by A K

    unable to see any feature in FuseESB...

    Sriram N Newbie

      Hi All,

       

      I have installed FuseESB7.1

      After insatlling, when I try to view the features using the comand "features:list", I get the message

      "No features available".

      Could some one help me understand why this is happening?

      I am unable to install any feature as well.

       

      Regards,

      Sriram

        • 1. Re: unable to see any feature in FuseESB...
          Claus Ibsen Master

          Can you check the log to see if there is any exception or something that indicates why?

           

          The log is in the data/logs directory or there is a log command to view the logs also.

           

          Also which Java version do you use? As you need Java 6 or java 7, etc.

          • 2. Re: unable to see any feature in FuseESB...
            Sriram N Newbie

            I use JDK1.7u67 64 bit version on my 64 Windows OS

            The log shows information like this...

             

            00:35:00,362 | WARN  | -71-047-thread-1 | FeaturesServiceImpl              | 21 - org.apache.karaf.features.core - 2.3.0.fuse-71-047 | Unable to add features repository mvn:org.apache.servicemix.nmr/apache-servicemix-nmr/1.6.0.fuse-71-047/xml/features at startup

            java.lang.RuntimeException: Could not parse settings [file:/C:/Users/502348606/.m2/settings.xml]

            at org.ops4j.pax.url.maven.commons.MavenSettingsImpl.readSettings(MavenSettingsImpl.java:417)

            at org.ops4j.pax.url.maven.commons.MavenSettingsImpl.getLocalRepository(MavenSettingsImpl.java:191)

            at org.ops4j.pax.url.maven.commons.MavenConfigurationImpl.getLocalRepository(MavenConfigurationImpl.java:256)

            at org.ops4j.pax.url.maven.commons.MavenConfigurationImpl.getDefaultRepositories(MavenConfigurationImpl.java:173)

            at org.ops4j.pax.url.mvn.internal.Connection.collectDefaultPossibleDownloads(Connection.java:231)

            at org.ops4j.pax.url.mvn.internal.Connection.getInputStream(Connection.java:146)

            at org.apache.karaf.features.internal.FeatureValidationUtil.validate(FeatureValidationUtil.java:47)[21:org.apache.karaf.features.core:2.3.0.fuse-71-047]

            at org.apache.karaf.features.internal.FeaturesServiceImpl.validateRepository(FeaturesServiceImpl.java:198)[21:org.apache.karaf.features.core:2.3.0.fuse-71-047]

            at org.apache.karaf.features.internal.FeaturesServiceImpl.internalAddRepository(FeaturesServiceImpl.java:239)[21:org.apache.karaf.features.core:2.3.0.fuse-71-047]

            at org.apache.karaf.features.internal.FeaturesServiceImpl.start(FeaturesServiceImpl.java:1042)[21:org.apache.karaf.features.core:2.3.0.fuse-71-047]

            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.7.0_60]

            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[:1.7.0_60]

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.7.0_60]

            at java.lang.reflect.Method.invoke(Method.java:606)[:1.7.0_60]

            at org.apache.aries.blueprint.utils.ReflectionUtils.invoke(ReflectionUtils.java:297)[8:org.apache.aries.blueprint.core:1.0.1.fuse-71-047]

            at org.apache.aries.blueprint.container.BeanRecipe.invoke(BeanRecipe.java:958)[8:org.apache.aries.blueprint.core:1.0.1.fuse-71-047]

            at org.apache.aries.blueprint.container.BeanRecipe.runBeanProcInit(BeanRecipe.java:712)[8:org.apache.aries.blueprint.core:1.0.1.fuse-71-047]

            at org.apache.aries.blueprint.container.BeanRecipe.internalCreate2(BeanRecipe.java:824)[8:org.apache.aries.blueprint.core:1.0.1.fuse-71-047]

            at org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:787)[8:org.apache.aries.blueprint.core:1.0.1.fuse-71-047]

            at org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractRecipe.java:79)[8:org.apache.aries.blueprint.core:1.0.1.fuse-71-047]

            at java.util.concurrent.FutureTask.run(FutureTask.java:262)[:1.7.0_60]

            at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:88)[8:org.apache.aries.blueprint.core:1.0.1.fuse-71-047]

            at org.apache.aries.blueprint.container.BlueprintRepository.createInstances(BlueprintRepository.java:245)[8:org.apache.aries.blueprint.core:1.0.1.fuse-71-047]

            at org.apache.aries.blueprint.container.BlueprintRepository.createAll(BlueprintRepository.java:183)[8:org.apache.aries.blueprint.core:1.0.1.fuse-71-047]

            at org.apache.aries.blueprint.container.BlueprintContainerImpl.instantiateEagerComponents(BlueprintContainerImpl.java:649)[8:org.apache.aries.blueprint.core:1.0.1.fuse-71-047]

            at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:356)[8:org.apache.aries.blueprint.core:1.0.1.fuse-71-047]

            at org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:255)[8:org.apache.aries.blueprint.core:1.0.1.fuse-71-047]

            at org.apache.aries.blueprint.container.BlueprintExtender.checkBundle(BlueprintExtender.java:325)[8:org.apache.aries.blueprint.core:1.0.1.fuse-71-047]

            at org.apache.aries.blueprint.container.BlueprintExtender.bundleChanged(BlueprintExtender.java:243)[8:org.apache.aries.blueprint.core:1.0.1.fuse-71-047]

            at org.apache.aries.blueprint.container.BlueprintExtender$BlueprintBundleTrackerCustomizer.modifiedBundle(BlueprintExtender.java:471)[8:org.apache.aries.blueprint.core:1.0.1.fuse-71-047]

            at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:198)[10:org.apache.aries.util:1.0.0]

            at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:128)[10:org.apache.aries.util:1.0.0]

            at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$AbstractTracked.track(BundleHookBundleTracker.java:468)[10:org.apache.aries.util:1.0.0]

            at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.bundleChanged(BundleHookBundleTracker.java:161)[10:org.apache.aries.util:1.0.0]

            at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$BundleEventHook.event(BundleHookBundleTracker.java:117)[10:org.apache.aries.util:1.0.0]

            at org.apache.felix.framework.util.SecureAction.invokeBundleEventHook(SecureAction.java:1103)[org.apache.felix.framework-4.0.3.fuse-71-047.jar:]

            at org.apache.felix.framework.util.EventDispatcher.createWhitelistFromHooks(EventDispatcher.java:696)[org.apache.felix.framework-4.0.3.fuse-71-047.jar:]

            at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:484)[org.apache.felix.framework-4.0.3.fuse-71-047.jar:]

            at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4479)[org.apache.felix.framework-4.0.3.fuse-71-047.jar:]

            at org.apache.felix.framework.Felix$4.run(Felix.java:2019)[org.apache.felix.framework-4.0.3.fuse-71-047.jar:]

            at org.apache.felix.framework.Felix$5.run(Felix.java:2061)[org.apache.felix.framework-4.0.3.fuse-71-047.jar:]

            at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.7.0_60]

            at java.util.concurrent.FutureTask.run(FutureTask.java:262)[:1.7.0_60]

            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_60]

            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_60]

            at java.lang.Thread.run(Thread.java:745)[:1.7.0_60]

            Caused by: org.xml.sax.SAXParseException: The processing instruction target matching "[xX][mM][lL]" is not allowed.

            at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)[:]

            at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)[:]

            at org.ops4j.util.xml.XmlUtils.parseDoc(XmlUtils.java:77)

            at org.ops4j.pax.url.maven.commons.MavenSettingsImpl.readSettings(MavenSettingsImpl.java:409)

            ... 45 more

             

            My settings xml is as shown here below...

             

            <?xml version="1.0" encoding="UTF-8"?>

            <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
                     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                     xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
            <localRepository>C:/Projects/Softwares/apache-maven-3.0.5/repository</localRepository>

            <proxies>
            <proxy>
            <id>optional</id>
            <active>true</active>
            <protocol>http</protocol>
            <host>http-proxy.ae.xyz.com</host>
                <port>80</port>
            <nonProxyHosts>*.xyz.com|localhost</nonProxyHosts>
            </proxy>
            </proxies>
            <servers>
            <server>
            <id>swcoealppcr01</id>
            <username>id</username>
            <password>*******</password>
            </server>
            </servers>
            <profiles>
            <profile>
            <id>my-profile</id>
            <activation>
            <activeByDefault>true</activeByDefault>
            </activation>
            <repositories>
            <repository>
            <id>fusesource</id>
            <url>http://repo.fusesource.com/nexus/content/groups/public/</url>
            <snapshots>
            <enabled>false</enabled>
            </snapshots>
            <releases>
            <enabled>true</enabled>
            </releases>
            </repository>
            </repositories>
            </profile>
            </profiles>
            </settings>

            Could you help me identify the issue please...???

             

            Regards,

            Sriram

             

            • 3. Re: unable to see any feature in FuseESB...
              Claus Ibsen Master

              Maybe your maven settings.xml file is a bit corrupt. That error maybe indicate the start bytes of the file is utf-16 or something.

               

              Maybe try to do a backup of the file. And then create a new file from scratch. And then copy the text over, but make sure that the <xml> declaration in the top is not corrupt.

              • 4. Re: unable to see any feature in FuseESB...
                Sriram N Newbie

                Thanks a lot for that reply Mr.Ibsen...

                I just recreated the xml and now, also I get the same issue "No features available".

                Logs dont show me any error
                But, when I try to install any feature ;like jndi, I get an error as shown here below

                "Error executing command: No feature named 'jndi' with version '0.0.0' available"

                When I went to check the logs, I found the following stack trace....

                 

                08:04:57,445 | INFO  | ispatcher thread | AbstractZKClient                 | 52 - org.fusesource.fabric.fabric-zookeeper - 7.1.0.fuse-047 | Starting StateChangeDispatcher

                08:06:19,041 | INFO  | l Console Thread | Console                          | 15 - org.apache.karaf.shell.console - 2.3.0.fuse-71-047 | Exception caught while executing command

                java.lang.Exception: No feature named 'jndi' with version '0.0.0' available

                at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:380)[21:org.apache.karaf.features.core:2.3.0.fuse-71-047]

                at org.apache.karaf.features.command.InstallFeatureCommand.doExecute(InstallFeatureCommand.java:62)[25:org.apache.karaf.features.command:2.3.0.fuse-71-047]

                at org.apache.karaf.features.command.FeaturesCommandSupport.doExecute(FeaturesCommandSupport.java:41)[25:org.apache.karaf.features.command:2.3.0.fuse-71-047]

                at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:38)[15:org.apache.karaf.shell.console:2.3.0.fuse-71-047]

                at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)[15:org.apache.karaf.shell.console:2.3.0.fuse-71-047]

                at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[15:org.apache.karaf.shell.console:2.3.0.fuse-71-047]

                at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:474)[15:org.apache.karaf.shell.console:2.3.0.fuse-71-047]

                at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:400)[15:org.apache.karaf.shell.console:2.3.0.fuse-71-047]

                at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[15:org.apache.karaf.shell.console:2.3.0.fuse-71-047]

                at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[15:org.apache.karaf.shell.console:2.3.0.fuse-71-047]

                at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[15:org.apache.karaf.shell.console:2.3.0.fuse-71-047]

                at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)[15:org.apache.karaf.shell.console:2.3.0.fuse-71-047]

                at org.apache.karaf.shell.console.jline.Console.run(Console.java:171)[15:org.apache.karaf.shell.console:2.3.0.fuse-71-047]

                at org.apache.karaf.shell.console.jline.DelayedStarted.run(DelayedStarted.java:61)[15:org.apache.karaf.shell.console:2.3.0.fuse-71-047]

                 

                Any idea as what this issue could be?

                 

                Regards,

                Sriram

                • 5. Re: unable to see any feature in FuseESB...
                  A K Newbie

                  There are some features that comes pre-installed with Fuse. Can you check if features files present in JBOSSFUSE_HOME\system directory, example JBOSSFUSE_HOME\system\org\apache\camel\karaf\apache-camel\2.12.0.redhat-610379\apache-camel-2.12.0.redhat-610379-features.xml