Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-4706

Failed to startup Fuse 6.2.1 due to separate "KARAF_HOME" and "KARAF_BASE" variables.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • jboss-fuse-6.3
    • jboss-fuse-6.2.1
    • Karaf
    • % %
    • Hide

      Using Fuse 6.2.1 with separate "KARAF_HOME" and "KARAF_BASE" variables with below steps:
      1. extract fuse at /opt/jboss/fuse6.2/
      2. create folder at /app/fuse01
      3. copy the "bin" and "etc" folder from /opt/jboss/fuse6.2/ to /app/fuse01/
      4. changed files at "/app/fuse01/bin/karaf" and "/app/fuse01/bin/setenv"(attached)
      5. run the fuse from /app/fuse01/bin/fuse

      Show
      Using Fuse 6.2.1 with separate "KARAF_HOME" and "KARAF_BASE" variables with below steps: 1. extract fuse at /opt/jboss/fuse6.2/ 2. create folder at /app/fuse01 3. copy the "bin" and "etc" folder from /opt/jboss/fuse6.2/ to /app/fuse01/ 4. changed files at "/app/fuse01/bin/karaf" and "/app/fuse01/bin/setenv"(attached) 5. run the fuse from /app/fuse01/bin/fuse
    • 6.3 Sprint 1 (4-Jan->29-Jan)

    Description

      Copy "bin" and "etc" folder from Fuse_Home to a new created folder in different path.
      Then set "KARAF_BASE" to the new created folder and start fuse form new folder.

      Output
      ~~~
      Unable to update instance pid: Child instance started but no root registered in /app/fuse01/instances/instance.properties
      Please wait while JBoss Fuse is loading...
      Could not create framework: java.lang.NullPointerException
      java.lang.NullPointerException
      at org.apache.karaf.main.Main.findFile(Main.java:1320)
      at org.apache.karaf.main.Main.findFile(Main.java:1305)
      at org.apache.karaf.main.Main.processConfigurationProperties(Main.java:1263)
      at org.apache.karaf.main.Main.loadStartupProperties(Main.java:1100)
      at org.apache.karaf.main.Main.launch(Main.java:346)
      at org.apache.karaf.main.Main.main(Main.java:561)
      Unable to update instance pid: Child instance stopped but no root registered in /app/fuse01/instances/instance.properties
      ~~~

      We would like to know if Fuse supports this usage or is there anything wrong/missing?

      Found a similar issue:https://issues.apache.org/jira/browse/KARAF-4005

      Attachments

        1. setenv
          2 kB
        2. karaf
          13 kB

        Activity

          People

            janstey@redhat.com Jonathan Anstey
            zhangxu1324_jira xu zhang (Inactive)
            Tomas Plevko Tomas Plevko
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: