I am using Sling in the context of an ear. ie., in a webapp.

I am getting this exception on accessing a tag library,with a custom include
tag.
It accesses jsps from an outside webapp, in the same ear.

java.lang.ClassCastException:
org.apache.sling.scripting.jsp.jasper.runtime.JspWriterImpl cannot be cast
to weblogic.servlet.jsp.ByteWriter
       at jsp_servlet.__fragment1._jspService(__fragment1.java:80)
       at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
       at
weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
       at
weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
       at
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
       at
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
       at
weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:526)

       at
weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:447)
       at gopa.tags.IncludeTag.doEndTag(IncludeTag.java:300)

Does this stacktrace provide any clues on what is going on ? and how to
remedy the situation ?

Thanks
Tim

Reply via email to