I am putting my config xml (config.xml) in a jar file (say MyConfig.jar) under a package "com.my.package". This jar is kept as a project utility jar under in my ear. Another utility jar (say MyUtil.jar) is having classes which need to read this xml. This jar is also kept as a project utility jar in the ear. The manifest of MyUtil.jar contains MyConfig.jar in the classpath. Now from a class within MyUtil.jar, how do i read config.xml ? I have tried the following.