Thanks again. I did not understand that you meant ClassNotFoundException when you meant could not be found. I thought you meant cannot be found in JNDI.
I work from Eclipse and I think that Eclipse does not undeploy properly when you add and remove projects, because your workaround did not work there.
But now I got it working! Thanks for your help!
[Message sent by forum member 'jeltejansons' (jeltejansons)]
http://forums.java.net/jive/thread.jspa?messageID=323372