ORACLE XSQL SERVLET INSERT PROBLEM

Discussions

XML & Web services: ORACLE XSQL SERVLET INSERT PROBLEM

  1. ORACLE XSQL SERVLET INSERT PROBLEM (2 messages)

    FOR INSERT XML THROUGH XSQL I AN FACING A PECULIAR PROBLEM
    THE DATABASE IS ORACLE 8.1.5.0.0
    WHEN I USE THE classes12.zip(for JDBC Drivers) for oracle 8I ,I get the
    error

    <H2>Oracle XDK Java 9.2.0.5.0 Production</H2>
    <font size='-1' face='monospace'>XSQL-017: Unexpected Error Occurred</font><BR>
    <font size='-1' face='monospace'>java.lang.NoClassDefFoundError: oracle/sql/OPAQUE

    AND ITS TRUE THAT CLASSES12.ZIP DOES NOT CONTAIN THE CLASS oracle/sql/OPAQUE

    WHEN I USE classes12.zip for oracle 9i
    I get
    <xsql-error action="xsql:insert-request"><message>java.lang.ClassCastException</
    message></xsql-error>

    FOR BOTH CASES THE SELECT THROUGH XSQL WORKS .

    Pleaseeee help :-( I am in a fix

    regards
    Ramandeep Singh

    Threaded Messages (2)

  2. Make sure you're using the latest xsu12.jar that comes with the XDK for Java 9.2.0.5 release. It's always best to use the xmlparserv2.jar, oraclexsql.jar, and xsu12.jar from the same XDK for Java release together.

    Also, using the latest JDBC driver is recommended, too.

    You can ask Oracle XSQL Pages questions in the XML forum on the Oracle Technology Network discussion forums.
  3. RE[ Go to top ]

    Workind fine with Tomcat 3.3.1a
    No java.lang.ClasscastException