1 Reply Latest reply on Nov 11, 2008 12:01 PM by Max Rydahl Andersen

    Finding the temp deploy directory from within a bean

    Dominic Reynolds Newbie


      I have a timer bean and I want it to read some configuration from a file. I package the file in the ear (copied to under the META-INF directory).

      In the timer I want to read this file but I can't figure out how to resolve the temporary deployment directoy that the ear file is extracted to by the container.

      Does anyone know how to do this? Or the correct way to get at files packaged in the ear file?