This content has been marked as final.
Show 2 replies
-
1. Re: java.rmi.ServerException: null; nested exception is: jav
will.houck Apr 23, 2002 4:08 PM (in response to synotix)I'm also having the same problem from a jsp custom tag. Can anyone help or at least confirm that this is a bug?
-
2. Re: java.rmi.ServerException: null; nested exception is: jav
emmanuel_bonnet Apr 25, 2002 5:53 AM (in response to synotix)I have the same pb and same message.
My conf is PC NT4 SP6.
The code looks all right and looks like yours
--------------------------------------
QuoteHandlerHome home = getHome();
quoteHandler = home.create();
....
....
public static QuoteHandlerHome getHome() throws NamingException
{
InitialContext initialContext = new InitialContext();
try
{
Object objRef = initialContext.lookup(QuoteHandlerHome.JNDI_NAME);
QuoteHandlerHome home = (QuoteHandlerHome)PortableRemoteObject.narrow(objRef, QuoteHandlerHome.class);
return home;
}
finally
{
initialContext.close();
}
}
-------------------------------------------------