The root cause is still a NULL pointer exception so I doubt that adding java:comp/env/jsm actually any difference. What are your JNDI server properties? In other words, what JNDI server have you configured it to lookup? Just the default?
[Message sent by forum member 'matterbury' (matterbury_at_abinitio.com)]
http://forums.java.net/jive/thread.jspa?messageID=361979