Hi man,
try this:
Instead of this [b]@Stateless(mappedName = "Time")[/b] write this [b]@Stateless(mappedName = "session.TimeService")[/b] and than in the lookup do this [b]TimeService timeService = (TimeService) ctx.lookup("session.TimeService");[/b]
Your mappedName need to be equal to your lookup name.
[Message sent by forum member 'dpandulev' (deyan.pandulev_at_gmail.com)]
http://forums.java.net/jive/thread.jspa?messageID=370856