I have experienced this exception when the class for the Home interface is
found in multiple places in the classpath - (jar, and classpath)

> -----Original Message-----
> From: Govindan, Manoj (CTS) [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, June 23, 2000 2:57 AM
> To:   [EMAIL PROTECTED]
> Subject:      Class cast exception while using a servlet client
>
> I am trying to connect to a bean in a remote machine(weblogic server)
> using
> a servlet client in my local machine(weblogic server).
> I do  a lookup for "Billing.CustomerHome" and when I run a client, I get
> an
> excetipon as follows:
>         java.lang.ClassCastException:
> Billing.CustomerBeanHomeImpl_ServiceStub at
> clients.CustomerClient.connectToBean(CustomerClient.java:97) at
> clients.CustomerClient.doPost(CustomerClient.java:145) at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:747) at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:840) at
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.ja
> va
> :75) at
> weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextI
> mp
> l.java:286) at
> weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextI
> mp
> l.java:238) at
> weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:501
> )
> at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:260)
> at
> weblogic.t3.srvr.ExecuteThread.run(Compiled Code)
> I've made sure that the system classpath(in my case set in NT using the
> environment variables option) does not contain any directory which is used
> by the weblogic server.
> Does anybody have ideas on this?
> Manoj Govindan
>
> ==========================================================================
> =
> 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".

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