I've been trying to sort this for a day now and it's driving me mad!!
I had JNDI working to lookup JDBC and JMS. I've done something in IntelliJ and it no longer works. Everything looks OK, but the log files report something along the following lines...
javax.naming.NameNotFoundException: Name jms is not bound in this Context
Strangely enough, when I deploy the same project in an instance of Tomcat started outside of IntelliJ (same Tomcat as referenced in IntelliJ), it all works.
Any help gratefully received