How about:
builder.build(this.getClass().getClassLoader().getResourceAsStream("DBConfig.xml"));
Assuming that the DBConfig.xml is at the root of your jar.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4072348#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...