this is the actual line, which causes the problem: InitialContext ctx = new InitialContext(); View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4234789#4234789 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4234789