Skip to main content

hi all,

 

I am using mulesoft encryption vault mechanism to encrypt properties from property file and secure passwords.

 

<secure-property-placeholder:config name="Secure_Property_Placeholder" key="${password}" location="${mule.env}.properties" doc:name="Secure Property Placeholder" ignoreResourceNotFound="true" ignoreUnresolvablePlaceholders="true" />

 

I am able to get this working on local machine.

While deploying same application on PCF(pivotal cloud foundry) somehow it is not working.

it throws me below error-

 

org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:43) ~[?:?]

2018-07-05T16:29:05.889+01:00 [APP/PROC/WEB/0] [OUT] Caused by: org.mule.api.lifecycle.InitialisationException: Error creating bean with name 'Secure_Property_Placeholder': Error setting property values; nested exception is org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are:

2018-07-05T16:29:05.889+01:00 [APP/PROC/WEB/0] [OUT] PropertyAccessException 1: org.springframework.beans.MethodInvocationException: Property 'location' threw exception; nested exception is java.lang.RuntimeException: Property mule.env could not be found

2018-07-05T16:29:05.889+01:00 [APP/PROC/WEB/0] [OUT] at org.mule.registry.AbstractRegistry.initialise(AbstractRegistry.java:112) ~[?:?]

2018-07-05T16:29:05.889+01:00 [APP/PROC/WEB/0] [OUT] at

2 respuestas
0/9000