[jboss-user] finding the temp deploy directory from within a bean

Dominic Reynolds dominicreynolds at gmail.com
Mon Nov 10 12:43:05 EST 2008


Hi,

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 it is copied to by the container in
jboss.

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

thanks,
dominic



More information about the jboss-user mailing list