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

profile url handler in <ext:property-placeholder> doesn't resolve properties

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • fuse-6.x-GA
    • jboss-fuse-6.3, fuse-6.x-GA
    • Fabric8 v1
    • None
    • % %

      Using the profile URL handler in <ext:property-placeholder> don't resolve properties:

      e.g;

      <ext:property-placeholder>
      <ext:location>
      profile:com.workflow-inflow.properties
      </ext:location>
      </ext:property-placeholder>
      

      This ends with the following ERROR:

      aused by: java.net.MalformedURLException: Unknown protocol: profile
          at java.net.URL.<init>(URL.java:630)[:1.7.0_101]
          at java.net.URL.<init>(URL.java:493)[:1.7.0_101]
          at java.net.URL.<init>(URL.java:442)[:1.7.0_101]
          at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)[:1.7.0_101]
          at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)[:1.7.0_101]
          at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)[:1.7.0_101]
          at java.lang.reflect.Constructor.newInstance(Constructor.java:526)[:1.7.0_101]
          at org.apache.aries.blueprint.utils.ReflectionUtils.newInstance(ReflectionUtils.java:331)[15:org.apache.aries.blueprint.core:1.4.4]
          at org.apache.aries.blueprint.container.AggregateConverter.createObject(AggregateConverter.java:319)[15:org.apache.aries.blueprint.core:1.4.4]
          ... 33 more
      

      Note that changing start-level or applying the workaround of this KCS in 630329 doesn't work.

        1. child3_fuse.log
          110 kB
        2. fuse_child2.log
          302 kB
        3. fuse.log
          881 kB
        4. jstack.out
          62 kB

              ggrzybek Grzegorz Grzybek
              rhn-support-aboucham Abel Bouchama
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: