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

Setting KARAF_DATA Results in Error When Creating Fabric

    XMLWordPrintable

Details

    • % %
    • Hide

      End user would like to have the data directory reside somewhere other than the default location.

      1. unzip jboss-fuse-full-6.2.1.redhat-084.zip
      2. cd jboss-fuse-6.2.1.redhat-084
      3. vi etc/users.properties to enable admin
      4. vi bin/setenv

      insert line
      export KARAF_DATA=/home/pfry/karaf_data_test (OR SIMILAR)

      5. bin/fuse
      6. fabric:create

      You'll then get the exception

      Show
      End user would like to have the data directory reside somewhere other than the default location. 1. unzip jboss-fuse-full-6.2.1.redhat-084.zip 2. cd jboss-fuse-6.2.1.redhat-084 3. vi etc/users.properties to enable admin 4. vi bin/setenv insert line export KARAF_DATA=/home/pfry/karaf_data_test (OR SIMILAR) 5. bin/fuse 6. fabric:create You'll then get the exception
    • 6.3 Sprint 2 (1-Feb - 26-Feb)

    Description

      Setting KARAF_DATA to point someplace other than default results in this exception:

      JBossFuse:karaf@root> ERROR: io.fabric8.patch.patch-management (1): Invalid remote: origin
      org.eclipse.jgit.api.errors.InvalidRemoteException: Invalid remote: origin
      	at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:136)
      	at io.fabric8.patch.management.impl.GitPatchManagementServiceImpl.ensurePatchManagementInitialized(GitPatchManagementServiceImpl.java:1621)
      	at io.fabric8.patch.management.impl.GitPatchManagementServiceImpl.alignTo(GitPatchManagementServiceImpl.java:2876)
      	at io.fabric8.agent.DeploymentAgent$11.done(DeploymentAgent.java:700)
      	at io.fabric8.agent.service.Agent$2.done(Agent.java:352)
      	at io.fabric8.agent.service.Deployer.deploy(Deployer.java:983)
      	at io.fabric8.agent.service.Agent.provision(Agent.java:366)
      	at io.fabric8.agent.service.Agent.provision(Agent.java:199)
      	at io.fabric8.agent.DeploymentAgent.doUpdate(DeploymentAgent.java:727)
      	at io.fabric8.agent.DeploymentAgent$4.run(DeploymentAgent.java:283)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: org.eclipse.jgit.errors.NoRemoteRepositoryException: /home/joeferna/tmp/jboss-fuse-6.2.1.redhat-084/data/git/local/fabric: not found.
      	at org.eclipse.jgit.transport.TransportLocal$1.open(TransportLocal.java:131)
      	at org.eclipse.jgit.transport.TransportBundleFile$1.open(TransportBundleFile.java:106)
      	at org.eclipse.jgit.transport.Transport.open(Transport.java:561)
      	at org.eclipse.jgit.transport.Transport.open(Transport.java:438)
      	at org.eclipse.jgit.transport.Transport.open(Transport.java:319)
      	at org.eclipse.jgit.transport.Transport.open(Transport.java:288)
      	at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:120)
      	... 14 more
      

      Attachments

        Activity

          People

            pantinor@redhat.com Paolo Antinori
            Argo_Integration Travis North (Inactive)
            Tomas Plevko Tomas Plevko
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: