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

child instances don't get ESB config but vanilla Karaf config

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 7.0.0.fuse-beta-051
    • 7.0.0.fuse-beta-042
    • None
    • None
    • % %

      (11:36:15 AM) gnodet: gertv: janstey: i have a problem with fuseesb
      (11:36:24 AM) gnodet: the way it handles child instances
      (11:36:48 AM) janstey: whats the issue?
      (11:36:49 AM) gnodet: fuseesb does some modifications in etc/config.properties and etc/startup.properties
      (11:37:02 AM) gnodet: and when you create a child instance, those are not modified
      (11:37:14 AM) gnodet: i mean the child gets the original karaf ones
      (11:37:43 AM) gnodet: so we need to fix that in order to fix the xalan / xerces issues
      (11:38:16 AM) gnodet: that can be done by either modifying the karaf distribution to include all the needed tweaks (which would also benefit fabric and mq distro)
      (11:38:31 AM) gnodet: or fix the karaf code to copy rather than extract
      (11:38:38 AM) gnodet: which is think is fixed in karaf trunk
      (11:38:40 AM) gnodet: iirc
      (11:41:08 AM) janstey: gnodet: updating karaf to use the xerces tweaks would be easiest probably but sounds like the other option is better is it a big job to backport the extract->copy fix from trunk?
      (11:41:32 AM) gnodet: i first need to find the commit (if it even exists)
      (11:43:03 AM) gnodet: but we'd have to move the tweaks to fabric at least i think
      (11:43:54 AM) janstey: the xerces and xalan tweaks (if I understand what tweaks you mean) were moved to fabric
      (11:44:15 AM) gnodet: yes, but the packages are not exported / boot delegated
      (11:44:25 AM) gnodet: so i have failures with camel for example
      (11:44:53 AM) gnodet: which i've fixed locally to find out that it still does not work on child instances
      (11:46:00 AM) gnodet: mmh, karaf trunk still extracts the files from the admin-core
      (11:46:04 AM) gnodet: bundle
      (11:46:18 AM) gnodet: so it may be easier to move all the tweaks into our karaf distro for now
      (11:47:26 AM) janstey: gnodet: ah, I didn't add any tweaks from config/startup.properties http://fusesource.com/forge/git/fuseenterprise.git/?p=fuseenterprise.git;a=commit;h=890b2edfb1c0b57b87f5c9d53ada0df975c23752 only from custom/system.properties
      (11:48:42 AM) gnodet: right, but if we move this back into karaf, it's easier to just hack etc/config.properties with the right value and keep the other files clean for the customer
      (11:48:57 AM) janstey: yep +1

            janstey@redhat.com Jonathan Anstey
            janstey@redhat.com Jonathan Anstey
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: