| Author |
access romote ejb
|
nesta fdb
Greenhorn
Joined: May 18, 2003
Posts: 6
|
|
I deployed ejb.jar in contain a and web.war in container b, but it can't not run well. The error is "can not find remote interface 'UserLogin' Class. Thanks in advance. part of jsp code: Hashtable props = new Hashtable(); props.put( InitialContext.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory"); props.put(Context.URL_PKG_PREFIXES, "org.jboss.naming rg.jnp.interfaces"); props.put(InitialContext.PROVIDER_URL, "202.113.67.27:1099"); InitialContext ctx = new InitialContext(props); Object objref = ctx.lookup("UserLoginBean"); homeuserlogin = (UserLoginHome) PortableRemoteObject.narrow( objref, UserLoginHome.class);
|
 |
 |
|
|
subject: access romote ejb
|
|
|