Skip to Content
Former Member
May 16, 2007 at 12:28 PM

Accessing a file from a jar inside an adapter module


Hi folks,

I have some problems accesing an xml-file inside my jar (inside the ear) in an adapter module.

I do use some library (my own) to do some special jco-calls. The jco-configuration (system connection data) is stored inside the jar as an xml. I can use this library without any problems in a message mapping, it works like a charm.

But when I call the library from an adapter module (the library is linked into the ear) the returned resource is just null. I'm using getResourceAsStream.

Do I have to configure the EAR-file in a special way to make this work?

Kind regards,

Joscha Metze