[jboss-user] [JBoss Tools (users)] - Finding the temp deploy directory from within a bean

dominicreynolds do-not-reply at jboss.com
Tue Nov 11 11:48:13 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 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?                                                                                                               
                                                                                                                               
thanks,                                                                                                                        
dominic                 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4188523#4188523

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4188523



More information about the jboss-user mailing list