This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
It's typically java:xxx/name or java:env/xxx/name.
Can you please verify the jndi name in console after starting your jboss: http://localhost:8080/?
you can refer this thread for jndi naming conventions in jboss.
If you are not laughing at yourself, then you just didn't get the joke.