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

Indeterminite / Non-portable Behavior in Camel Blueprint with Jasypt Encrypted Placeholder

XMLWordPrintable

    • % %
    • Hide

      Reproducer attached.
      Run the mvn camel:run target.

      • Under RHEL 7.2, context fails with EncryptionNotPossibleException
      • Under older versions of OSX (Yosemite -) route works
      • Under OSX Sierra / El Capitan - endless loop
      Show
      Reproducer attached. Run the mvn camel:run target. Under RHEL 7.2, context fails with EncryptionNotPossibleException Under older versions of OSX (Yosemite -) route works Under OSX Sierra / El Capitan - endless loop

      When using Jasypt encrypted property placeholders with Camel and Blueprint, varying results are encountered, depending on operating system environment. For example when camel:run target is invoked, the attached example fails on RHEL 7 with "EncryptionNotPossibleException," passes on OSX Yosemite with JDK 1.7 or 1.8, and falls into an endless loop in OSX Sierra / El Capitan (appears to be caused by setting the configAdminPid in the Camel Maven Plugin).

      Changing the JasyptPropertiesParser config to use a JVM property works on RHEL. Several other permutations were tested and working on RHEL, but failed in the newer OSX environments.

            ggrzybek Grzegorz Grzybek
            rhn-support-dhawkins Duane Hawkins
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: