What can cause IllegalStateException when JNDI loopup is performed to receive for example Datasource?
If it is a not good question please let me know.