Skip to content

Not able to load ResourceBundle required by dependency jar which bundled inside my batch jar #16562

@Yavdhesh

Description

@Yavdhesh

Friends,

I have created one batch jar named 'myBatch.jar' which has a dependency jar 'confidentialGDPR.jar'

'confidentialGDPR.jar' has a line of code :

`ResourceBundle resource= new ResourceBundle('GDPR.properties');`
export CLASSPATH=/branch/jboss-eap-6.4/modules/system/layers/base/com/gobi/jars/Batches/

nohup /usr/bin/java -Djava.security.egd=file:/dev/./urandom -Dlogging.config=./log4j.xml -Dspring.profiles.active=dev -jar  /branch/jboss-eap-6.4/modules/system/layers/base/com/gobi/jars/Batches/myBatch.jar --spring.config.location=CLASSPATH:/GDPR.properties --spring.config.additional-location=CLASSPATH:/GDPR.properties  &

--

Even after mentioning config.location and config.additional-location.
GDPR properties, I am not able to load.

Metadata

Metadata

Assignees

No one assigned

    Labels

    for: stackoverflowA question that's better suited to stackoverflow.com

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions