I am trying to get a reference to the home class with the following code in
another web server (on the same machine):
Properties p =new Properties();
p.put(Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.T3InitialContextFactory
");
Context ctx = new InitialContext(p);
CustomerBeanHome home = (CustomerBeanHome) ctx.lookup("CustomerBeanHome");
This code gives me the following error
[18/Jul/2000:14:42:48] failure ( 123): Internal error: exception thrown
from the servlet service function (uri=/CustQuery.jsp):
javax.servlet.ServletException: trial.CustomerBeanHomeImpl_ServiceStub,
Stack: javax.servlet.ServletException:
trial.CustomerBeanHomeImpl_ServiceStub
at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
l.java:384)
at _CustQuery_jsp._jspService(_CustQuery_jsp.java:112)
at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:126)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at
com.netscape.server.http.servlet.NSServletRunner.Service(NSServletRunner.jav
a:476)
Please tell me what could be the reason for such an exception. The same code
has worked in a standalone application.
Please answer ASAP
With regards and best wishes,
Sohail Hirani
(Normal is boring)
*Off 91- 2139-32800/1.
Extn No. 2684 @ Hjw.
Res 91-20-6683416
Infosys Technologies limited
* sohail_hirani @ inf.com
INFOSYS(r)
Powered by intellect. Driven by values.
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".