[jboss-user] [EJB/JBoss] - Re: Remote not bound

kstrunk do-not-reply at jboss.com
Mon Feb 5 15:22:54 EST 2007


Thank you for your answers, but I still have the same problems.

@jaikiran:
When I do like you've posted, I get the following exception:

javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file:  java.naming.factory.initial


@ALRubinger
I tried also your suggestion, but I still get the same exception.
My code looks as following now:

@Stateless
@Local(org.community.ejb.business.local.UserManager.class)
@Remote(org.community.ejb.business.remote.UserManager.class)
public class UserManagerBean implements org.community.ejb.business.local.UserManager, org.community.ejb.business.remote.UserManager {
...
}

@local
public interface UserManager {
...
}

@remote
public interface UserManager {
...
}

Local and remote interfaces are in different packages.

Do you have any more ideas how I can call my bean remote?

Best regards,
Strunker

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011549#4011549

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011549



More information about the jboss-user mailing list