4 Replies Latest reply on Jun 18, 2001 4:43 PM by 3004

    XSQL with Weblogic 5.1 SP 6

    3004
      Hi there,

      I'm trying to use the XSQL framework with our current system.

      My system configuration is :
      -Windows NT 4.0
      -Weblogic 5.1 SP 6
      -Oracle 8.1.5
      -Xalan version=2.0.1
      -Xerces version=1_3_1 (Support SAX2)

      In particular, I was wondering how to set up the CLASSPATH order of specifing Xerces and SAX2(as part of the XSQL libraries)

      Thanks in advance,
      dan stepanov

        • 1. XSQL with Weblogic 5.1 SP 6
          3004
          XSQL must work with Oracle XML Parser V2 release 2.0.2.9, 2.0.2.10, or release 9.0.0.0.

          Are you getting errors?
          • 2. XSQL with Weblogic 5.1 SP 6
            3004
            Thanks Steven for the message. We make it work here - XSQL framework with
            Weblogic 5.1 SP 6.
            In particular the key is the precedence for the lib files in CLASSPATH and WEBLOGIC_CLASSPATH.
            In particular for my case: CLASSPATH="${oradriver.lib}:${servlets.lib}:${jaxp.lib}:${xerces.lib}:${xalan.lib}:${xsql.lib}:${weblogic.home.dir}/lib/weblogic510sp${weblogic.sp.version}boot.jar:${weblogic.home. dir}/classes/boot"
            WEBLOGIC_CLASSPATH="${jaxp.lib}:${xerces.lib}:${xalan.lib}:${xsql.lib}:${weblogic.lib}:${jdom.lib}:${oreilly.lib}:${jdriver.lib}:${build.classes.dir}"

            I should mention that our interest was in the latest Xalan and Xerces to be combined with Oracle XSQL parser.

            cheers,
            dan stepanov



            null
            • 3. XSQL with Weblogic 5.1 SP 6
              3004
              Hi there,

              I've managed to configure XSQL with Weblogic 5.1 SP6 and to run the demos from the Oracle site.

              My system configuration is :
              -Windows NT 4.0
              -Weblogic 5.1 SP 6
              -Oracle 8.1.7
              -Xalan version=2.0.1
              -Xerces version=1_3_1 (Support SAX2)

              CLASSPATH="${oradriver.lib}:${servlets.lib}:${jaxp.lib}:${xerces.lib}:${xalan.lib}:${xsql.lib}:${weblogic.home.dir}/lib/weblogic510sp${weblogic.sp.version}boot.jar:${weblogic.home. dir}/classes/boot"
              WEBLOGIC_CLASSPATH="${jaxp.lib}:${xerces.lib}:${xalan.lib}:${xsql.lib}:${weblogic.lib}:${jdom.lib}:${oreilly.lib}:${jdriver.lib}:${build.classes.dir}"

              Now when trying to integrate my XSQL framework in the big picture of the webapp - I'm getting errors.

              the error is:
              =============================================
              <WebAppServletContext-ads> looking for taglib uri
              /tlds/taglib.tld as resource /WEB-INF/tlds/taglib.tld
              in Web Application root:
              Sat Jun 16 14:30:37 PDT 2001:<E>
              <WebAppServletContext-ads> Servlet failed with
              Exception
              java.lang.NoSuchMethodError:
              javax.servlet.jsp.tagext.TagAttributeInfo: method
              <init>(Ljava/lang/String;ZZLjava/lang/String;)V not
              found
              at
              weblogic.servlet.jsp.MyAttInfo.<init>(StandardTagLib.java:34)
              at
              weblogic.servlet.jsp.StandardTagLib.processTag(StandardTagLib.java:280)
              =========================================

              If I remove from the classpath the servlets.lib(which contains servlets.jar) I'm able to access my webapp again but I cannot process the .xsql extensions.
              -the error from Weblogic appserver is:
              cannot find XSQLServletPageProcessor

              My question is that somebody has any ideea of what other type of servlet lib will be needed or if something else in the configuration files has to be modified?

              Thanks in advance,
              dan stepanov


              null
              • 4. XSQL with Weblogic 5.1 SP 6
                3004
                Mon Jun 18 09:42:45 PDT 2001:<I> <WebAppServletContext-ads> oracle-xsql-servlet: init
                In conjunction with previous messages I should correct the error that I'm getting if I remove from the classpath the servlets.lib(which contains servlets.jar) I'm able to access my webapp again but I cannot process the .xsql extensions.
                -the error from Weblogic appserver is:
                =========================================
                <WebAppServletContext-ads> Servlet failed with Exception
                java.lang.NoClassDefFoundError: javax/servlet/ServletRequest
                at
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)

                any suggestions?
                thanks,
                dan s.