I have three projects in my workspace :
- prjData, a "simple" project (no java nor any other facet) including many configuration files (xml, properties and so on)
- prjWeb, a "dynamic web" project
- prjEar, an ear project which has prjWeb in its "project references"
I try to deploy the prjEar on a JBoss 4.2 from inside eclipse (helios).
I created the server (in server view), then added the prdData/config in its wtp launcher's classpath (double clic on the server item, then from the Overview window, clic "Open Launch Configuration", select Classpath tab, Advanced / Add folders).
When I start the server from the server view, console view confirms that Jboss starts the webapp, but fails on all tasks requiring config files actually located in this additional classpath folder, as log4j or OJB configuration.
I'm used to make it that way with Tomcat, and it works quite fine. But for the current project it is mandatory to stick to JBoss.
What is wrong in the way classpath additional folders set in the wtp launcher view are taken (or not ?) into account by Jboss and the webapp ?