//Fix Start Thread l_thread = Thread.currentThread(); l_thread.setContextClassLoader(this.getClass().getClassLoader()); //Fix End initialContext = new InitialContext();