I'm tring to create a sar file I can deploy. The Sar file will provide a Castor Database object. I'm using Jboss 3 + Tomcat 4 - RC1
I got the neccessary classes from CVS etc. Now I get a FileNotFoundException when I deploy the sar. I'll spare you all the stack trace. Basically JBoss is looking for my jdo-config.xml file in SERVER_HOME/bin.
I want to keep the file right in the sar. I can't figure out a way to make the deployer look for the file in the sar archive.
Here is a snip from my jboss-service.xml file:
Thanks in advance.
ClassLoader loader = Thread.currentThread().getContextClassLoader();
URL configUrl = loader.getResource(configuration);
With this code, you could also put the xml in