PDA

View Full Version : Help to run on Weblogic 6.1



puttappaiahm
08-29-2002, 04:36 PM
Hi,
I have configured on Weblogic 6.1. I have the following problems.
1. When I choose any query from index.jsp, I get the following error.
<Aug 29, 2002 8:27:22 PM PDT> <Error> <HTTP> <[WebAppServletContext(7079564,rola
p,/rolap)] Error loading servlet: 'MDXQueryServlet'
java.lang.VerifyError: (class: mondrian/xom/wrappers/XercesDOMParser, method: pa
rse signature: (Lorg/xml/sax/InputSource;)Lorg/w3c/dom/Document;) Incompatible o
bject argument for function call
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:120)
at mondrian.xom.XOMUtil.createDefaultParser(XOMUtil.java:165)
at mondrian.resource.Util.load(Util.java:49)
at mondrian.resource.Util.load(Util.java:41)
at mondrian.resource.ResourceBase.init(ResourceBase.java:34)
at mondrian.olap.MondrianResource.<init>(MondrianResource.java:24)
at mondrian.olap.MondrianResource.instance(MondrianResource.java:42)
at mondrian.web.servlet.MDXQueryServlet.init(MDXQueryServlet.java:44)
at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubIm
pl.java:700)
at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStub
Impl.java:643)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubI
mpl.java:588)
at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.
java:368)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:242)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:200)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java:2495)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java:2204)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>
<Aug 29, 2002 8:27:22 PM PDT> <Error> <HTTP> <[WebAppServletContext(7079564,rola
p,/rolap)] Error loading servlet: "MDXQueryServlet"
java.lang.VerifyError: (class: mondrian/xom/wrappers/XercesDOMParser, method: pa
rse signature: (Lorg/xml/sax/InputSource;)Lorg/w3c/dom/Document;) Incompatible o
bject argument for function call
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:120)
at mondrian.xom.XOMUtil.createDefaultParser(XOMUtil.java:165)
at mondrian.resource.Util.load(Util.java:49)
at mondrian.resource.Util.load(Util.java:41)
at mondrian.resource.ResourceBase.init(ResourceBase.java:34)
at mondrian.olap.MondrianResource.<init>(MondrianResource.java:24)
at mondrian.olap.MondrianResource.instance(MondrianResource.java:42)
at mondrian.web.servlet.MDXQueryServlet.init(MDXQueryServlet.java:44)
at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubIm
pl.java:700)
at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStub
Impl.java:643)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubI
mpl.java:588)
at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.
java:368)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:242)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:200)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java:2495)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java:2204)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>
<Aug 29, 2002 8:27:22 PM PDT> <Error> <HTTP> <[WebAppServletContext(7079564,rola
p,/rolap)] Servlet failed with ServletException
javax.servlet.ServletException: Servlet class: 'mondrian.web.servlet.MDXQuerySer
vlet' couldn't be verified
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubI
mpl.java:612)
at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.
java:368)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:242)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:200)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java:2495)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java:2204)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>
2. If I try to execute taglib.jsp I get the following error.
<Aug 29, 2002 8:30:46 PM PDT> <Error> <HTTP> <[WebAppServletContext(7079564,rola
p,/rolap)] Servlet failed with Exception
java.lang.NoSuchMethodError
at mondrian.web.taglib.ResultCache.getInstance(ResultCache.java:43)
at mondrian.web.taglib.QueryTag.doAfterBody(QueryTag.java:50)
at jsp_servlet.__taglib._jspService(__taglib.java:120)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:265)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:304)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:200)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java:2495)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java:2204)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>

puttappaiahm
08-29-2002, 05:33 PM
This looks like, due to wrong JDBC Configurations.
Can some one please tell me the exact parameters to connect to Oracle 9i.

jhyde
08-29-2002, 08:12 PM
I don't think it's JDBC. The problem is similar to
http://sourceforge.net/forum/message.php?msg_id=1624502,
namely, weblogic is using a different version of xerces than mondrian is expecting.
I'm working on a fix which uses the jaxp api, and so should not be as susceptible to xerces versions. I'll send you an experimental version; please let me know whether it helps.

jhyde
08-30-2002, 07:07 AM
I've uploaded the experimental patch as a binary distribution: mondrian-0.3.123-bin.zip. See if that works.
Regarding jdbc connect strings, there are some hints in the install guide. I've never tried running against oracle 9i. I think you use 'oci' rather than 'oci8' in the connect string. And as ever, you must ensure that the jdbc drivers are on your classpath and driver path.
See if you can run the unit tests against oracle9i. (Which should not run into the VerifyError issues, even if I haven't managed to fix the problem.)