It looks like somewhere in your code or deployment descriptors, you have used java:jboss/resources/jdbc/Church instead of java:jboss/jdbc/Church.
Okay, so the second string (jboss.naming.context.java.jboss.resources.jdbc.Church) represents the resource it is looking for. What does the first string represent? (jboss.naming.context.java.module.Church.Church.env.jdbc.Church) My war name is Church.war so I would guess that jboss.naming.context.java.module.Church would represent the war, but what is the rest?
And, do all resources have to be registered under the jndi name of java:jboss?
Up it's similar to what is happening to me, can someone give some hints about this naming problem in porting old ear to Jboss 7.1?