Hello,
I'm having trouble where I have a webapp that I am deploying to glassfish 3.1.
I've added a startup singleton to do some initialization and keep configuration values.
This startup singleton ejb class attempts to load a resource via (this is called in the method annotated with @PostConstruct)
this.getClass().getClassLoader().getResourceAsStream("myfile.xml")
However, this always returns null. The file myfile.xml is located in WEB-INF/classes/myfile.xml.
Any ideas?
Thanks!
Matt