You haven't said what's wrong, but I suspect you're getting Naming exceptions saying something like 'ejb not bound'. The global JNDI name of your bean will be something like /ejb/rwTenantSearch. Beans are not bound under the java: namespace.
Yes, I am getting naming exceptions. I will try your suggestion.
i'm trying to call from my schedule class the ejb but i'm getting the exception: java.lang.NoClassDefFoundError....
my schedle class is in a jar my file in the LIB directory of my web application and all the ejbs are in a jar file in the deploy jar and work fine beside my in schedule class...
what can i do?