> Hi,
>       I tried to invoke an EJb from a JSP..
>       I faced an Error . No message is assosiated with the Error thrown.
>       I'm using Weblogic 5.1 and jdk1.3
>
>       I tried the same thing with a servlet by converting the JSP to a
> servlet and the same example works fine.
>
>       Can someove throw light on this Error and describe the cause of
> this.
> Thanks in adv.,
> Rajan J.T.
>
>       The stacktrace is
>
> java.lang.IncompatibleClassChangeError
>         at jsp_servlet._test._rajan._jspService(_rajan.java:118)
>         at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
>         at
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
> pl.java:105)
>         at
> weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
> textImpl.java:742)
>         at
> weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
> textImpl.java:686)
>         at
> weblogic.servlet.internal.ServletContextManager.invokeServlet(Servlet
> ContextManager.java:247)
>         at
> weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.jav
> a:361)
>         at
> weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:261)
>
>         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>
> The code of JSP is
>
>               InitialContext ic = new InitialContext( new Properties() );
>               CatalogHome home = ( CatalogHome ) ic.lookup("CatalogJNDI");
>               remote = home.create();
>               Item it = remote.getItem("1"); // Place of Error. Commenting
> this avoids the Error. But this is the basic business method.
>               remote.remove();

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