Hi all, I have a small problem trying to conect to a remote bean im runing the remote on a debian server with apache and jboss 3.2.3 on an other server im running tomcat-5.0.19 i got it to conect but the create method returns null private Carrito carritoX = null;
public void jspInit() { try { java.util.Properties p = new java.util.Properties(); p.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory"); p.put(Context.URL_PKG_PREFIXES, "jboss.naming:org.jnp.interfaces"); p.put(Context.PROVIDER_URL, "xxx.xxx.1.39:1099"); Context jndiContext = new InitialContext(p); Object ref = jndiContext.lookup("CarritoEJB"); servimx.CarritoHome home = (servimx.CarritoHome)PortableRemoteObject.narrow(ref, servimx.CarritoHome.class); Carrito carritoX = home.create(); I GET NO EXECPTION ERROR BUT WHEN I TRY TO ACCESS carritoX it's null , need help urgently <a href="http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3826427#3826427">View the original post</a> <a href="http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3826427>Reply to the post</a> ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user