Hello All again :)
I just posted a question on Deplyment in Jboss2.2. Anyways since i got down
2.2.1 i deployed my beans and it was deployed successfully. So that's fine
now. anyways the problerm i have now is, i have 2 beans of which one bean is
talking to the other. well earlier i had probelerms in getting the b2b call
right in 2.0. but now i cant even lookup the bean from the client. the
lookup() method gives out a NamingException which has the Explanation as
*null*. The parameter to the lookup() method is the jndi-name of that bean,
which is also listed in the JNDI View. i'll list the code which i'm using to
lookup the bean. appreciate if some one can give a quick reply cos i'm in
bit of a hurry.
// Get a reference to the Handler Bean
Object ref = jndiContext.lookup("handler/HD"); //--> breask
out here
System.out.println("Got reference");
// Get a reference from this to the Bean's Home interface
HandlerHome home = (HandlerHome) PortableRemoteObject.narrow
(ref, HandlerHome.class);
Thanks in Advance
Cheers
Imran
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user