Hi,
I am using Jboss 3.2
I installed Jboss on two different machines and I deployed web component on one 
machine and ejb compoent on another machine
>From web component I am using the following code to get references of home and 
>then remote interfaces.



Properties env = new Properties();
env.setProperty(Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingContextFactory");
env.setProperty(Context.PROVIDER_URL,"jnp://IPaddress:2020");
env.setProperty(Context.URL_PKG_PREFIXES,"org.jboss.naming:org.jnp.interfaces");
            Context ctx = new InitialContext(env);

        home = ()ctx.lookup("");
       remote = home.create();

With this code , I am able to get references of home and remote interfaces
but while I am invoking a method on remote interface I am getting 
"java.lang.reflect.UndeclaredThrowableException" exception

Please give me the reason if anybody knows

          Thanking you,

Best Regards
Kulkarni



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

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


-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to