> From: sohail_hirani [mailto:[EMAIL PROTECTED]]
>
>
> I am trying to get a reference to the home class of a entity
> bean deployed
> in weblogic 5.1 server with the following code in a JSP on
> iplanet4.1 web
> server (on the same machine):
>
thatsavendorspecificquestionuseavendorspecificnewsgroupormailinglist.

- Avi
--
s/\be(\w+)/e-\1/g;

> Properties p =new Properties();
> p.put(Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.T3Initial
> ContextFactory
> ");
> 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(NSSer
> vletRunner.jav
> a:476)
>
> Please tell me what could be the reason for such an
> exception. The same code
> has works fine 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.
>

Yeah.

===========================================================================
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".

Reply via email to