OracleXSU12

If we are trying to give this command after installation of xmlsql utility :-
C:\>java OracleXML getXML -user "dnet09/dnet03@dealernet" "select * from dnt_dndiv_mstr "
Following error is coming :-
Exception in thread "main" java.lang.UnsatisfiedLinkError: no ocijdbc8 in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1290)
at java.lang.Runtime.loadLibrary0(Runtime.java:473)
at java.lang.System.loadLibrary(System.java:777)
at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:209)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:198)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:251)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:224)
at java.sql.DriverManager.getConnection(DriverManager.java:457)
at java.sql.DriverManager.getConnection(DriverManager.java:137)
at OracleXML.getConnection(OracleXML.java:1073)
at OracleXML.To_XML(OracleXML.java, Compiled Code)
at OracleXML.ExecuteGetXML(OracleXML.java, Compiled Code)
at OracleXML.main(OracleXML.java:159)

It looks like you aren't telling it which drivers to use in making the connection. You might want to check out the XSU docs such as this link I found with a Google search (http://fncduh.fnal.gov/oracledoc/v8.1.7/DOC/appdev.817/a86030/adx04x26.htm)
On that page is the following:
Using XML-SQL Utility Command Line
Question
I am using the XML SQL Utility's command line front end, and I am passing a connect string but I get a TNS error back.
Can you provide examples of a thin driver connect string and an OCI8 driver connect string?
Answer
An example of an JDBC thin driver connect string is: "jdbc:oracle:thin:<user>/<password>@<hostname>:<port
number>:<DB SID>"; furthermore, the db. has to have a active TCP/IP listener. A valid OCI8 connect string would be:
"jdbc:oracle:oci8:<user>/<password>@<hostname>".
Hope this helps.
Mike
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Nidhi Khanna ([email protected]):
If we are trying to give this command after installation of xmlsql utility :-
C:\>java OracleXML getXML -user "dnet09/dnet03@dealernet" "select * from dnt_dndiv_mstr "
Following error is coming :-
Exception in thread "main" java.lang.UnsatisfiedLinkError: no ocijdbc8 in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1290)
at java.lang.Runtime.loadLibrary0(Runtime.java:473)
at java.lang.System.loadLibrary(System.java:777)
at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:209)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:198)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:251)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:224)
at java.sql.DriverManager.getConnection(DriverManager.java:457)
at java.sql.DriverManager.getConnection(DriverManager.java:137)
at OracleXML.getConnection(OracleXML.java:1073)
at OracleXML.To_XML(OracleXML.java, Compiled Code)
at OracleXML.ExecuteGetXML(OracleXML.java, Compiled Code)
at OracleXML.main(OracleXML.java:159)<HR></BLOCKQUOTE>
null

Similar Messages

  • What's the best way to insert a long raw using OracleXSU12?

    I am currently reading a string from a document file and dump the content in a field in a row in a rowset in the xml file. I am just wondering if there is a better way to do this using the name of the text file instead. Thanks.
    null

    (1) you can't insert a sheet in Pages. Only tables !
    (2) before pasting your table in Pages, you may resize it so that it may fit in a page.
    (3) the users which took time to look in Pages User Guide are aware of a feature described as : Linking Text Boxes.
    It's a good answer to your problem.
    In a Word Processor document, create a text box and paste your table in the new tex box.
    At the bottom of the box you will see a small square with a symbol plus. It's a flag warning you  that the box contents is too large for the box.
    No problem, insert a page break to force the opening of a new page then read carefully the user guide :
    Applying what I highlighted, you will create a new box linked to the first one so that your table will flow in it.
    If it's not sufficient, you may link a third box …
    More, we are allowed to rotate the text boxes so you may edit them a way allowing them to host your landscape table.
    From my user's point of view, it's absolutely intuitive.
    Yvan KOENIG (VALLAURIS, France) dimanche 26 juin 2011 21:29:56
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • While inserting values from a xml file into the database.

    Dear Forum Members,
    While using Samp10.java (given in XSU!2_ver1_2_1/oracleXSU12/Sample)for inserting values from xml file Sampdoc.xml into database table xmltest_tab1,the error shown below appears on the DOS prompt.
    The code for sam10 is:
    import oracle.xml.sql.dml.*;
    import java.sql.*;
    import oracle.jdbc.driver.*;
    import oracle.jdbc.*;
    import java.net.*;
    public class samp10
    public static void main(String args[]) throws SQLException
    String tabName = "xmltest_tab1";
    String fileName = "sampdoc.xml";
    try{
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection conn=DriverManager.getConnection("jdbc:odbc:BookingSealinerScott","scott","tiger");
    OracleXMLSave sav = new OracleXMLSave(conn, tabName);
    URL url = sav.createURL(fileName);
    int rowCount = sav.insertXML(url);
    System.out.println(" successfully inserted "+rowCount+
    " rows into "+ tabName);
    conn.close();
    }catch (Exception e){e.printStackTrace();}
    The Structure of Sampdoc.xml is:
    <?xml version="1.0"?>
    <ROWSET>
    <ROW num="1">
    <EMPNO>7369</EMPNO>
    <ENAME>SMITH</ENAME>
    <JOB>CLERK</JOB>
    </ROW>
    <ROW num="2">
    <EMPNO>7499</EMPNO>
    <ENAME>ALLEN</ENAME>
    <JOB>SALESMAN</JOB>
    </ROW>
    <ROW num="3">
    <EMPNO>7521</EMPNO>
    <ENAME>WARD</ENAME>
    <JOB>SALESMAN</JOB>
    </ROW>
    </ROWSET>
    Description of table xmltest_tab1 is:
    SQL> desc xmltest_tab1;
    Name Null? Type
    EMPNO NUMBER(4)
    ENAME CHAR(10)
    JOB VARCHAR2(9)
    Error Displayed is:
    A nonfatal internal JIT (3.00.078(x)) error 'Structured Exception(c0000005)' has
    occurred in :
    'oracle/xml/sql/dml/OracleXMLSave.cleanLobList ()V': Interpreting method.
    Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cgi
    oracle.xml.sql.OracleXMLSQLException: sun.jdbc.odbc.JdbcOdbcConnection
    at oracle.xml.sql.dml.OracleXMLSave.saveXML(OracleXMLSave.java:1967)
    at oracle.xml.sql.dml.OracleXMLSave.saveXML(OracleXMLSave.java:1880)
    at oracle.xml.sql.dml.OracleXMLSave.insertXML(OracleXMLSave.java:1013)
    at samp10.main(samp10.java:36)
    Press any key to continue . . .
    Please send me the solution as soon as possible.
    Thanks,
    Waiting for your Reply,
    Bye,
    Vineet Choudhary
    Email id: [email protected]
    null

    Go and read about JDBC. You need to know some basics before asking such a st&*id questions.
    Paul

  • Problems load XSU

    Whe tryign to load the XSU package into the DBMS I get the following error:
    <---------------------->
    C:\Oracle\OracleXSU12\lib>echo "Loading jar files..."
    "Loading jar files..."
    C:\Oracle\OracleXSU12\lib>echo "Loading xmlparser..."
    "Loading xmlparser..."
    C:\Oracle\OracleXSU12\lib>call loadjava -r -v -u "SSDR/IPT@ipt" xmlparserv2.jar
    initialization complete
    loading : oracle/xml/parser/v2/XSLResultElement
    creating : oracle/xml/parser/v2/XSLResultElement
    Error while creating class oracle/xml/parser/v2/XSLResultElement
    ORA-29516: Aurora assertion failure: Assertion failure at eox.c:187
    Uncaught exception Root of all Java exceptions:
    loading : oracle/xml/parser/v2/XSLCopy
    creating : oracle/xml/parser/v2/XSLCopy
    Error while creating class oracle/xml/parser/v2/XSLCopy
    ORA-29516: Aurora assertion failure: Assertion failure at eox.c:187
    Uncaught exception Root of all Java exceptions:
    loading : oracle/xml/parser/v2/XMLByteReader
    creating : oracle/xml/parser/v2/XMLByteReader
    <----------------->
    the initjvm.sql is performed wo errors
    null

    hi
    i am also doing the same..but the same worked for me....which version of xsu ur trying to install??
    i am working with xsu111
    my problem is something else...when i am trying to execute the SQL statement..i am getting a JVM error and Java is terminating the program
    any idea what might be the reason??
    aniket
    null

  • NoClassDefFoundError - XSLException

    I'm receiving the following error when I run a very simple XMLQuery.getXMLString routine:
    Exception in thread "main" java.lang.NoClassDefFoundError: oracle/xml/parser/v2/XSLException
    This suggests a classpath error, but I've checked my classpath and it looks fine (e.g. it points to both JAR files in the OracleXSU12/lib folder.
    I'm on RH Linux using the latest JDK and Oracle 8.1.6.
    My code is below. Specifically, it breaks at the line where i create a new OracleXMLQuery. I'm importing, oracle.xml.sql.query.*, of course. I can't for the life of me figure out why its giving an XSLException, since I'm not calling anything XSL related:
    Connection con = getConnection();
    OracleXMLQuery qry = new OracleXMLQuery(con,"select * from TABLE");
    String xmlString = qry.getXMLString();
    System.out.println("OUTPUT IS: " + xmlString);

    Do you have xmlparserv2.jar in the CLASSPATH?

  • XML Flight Finder Sample - Again

    Oracle XSQL Servlet Page Processor 1.0.0.0 (Production)
    XSQL-007: Cannot acquire a database connection to process page.
    Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=135290880)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4))))
    i still get the above error
    i have downloaded OracleXSU12 & the pkgs are
    loaded in the fly schema. also copied over
    also copied over xmlparserv2.jar & xsu12.jar
    to the c:\xsql\lib dir.....
    now what else do i need to do to get this to run ??
    if anyone can outline the exact steps i'd appreciate it
    thanx
    pete
    btw in response to roberts posting ...theres
    no firewall or proxy the oracle box is sitting below my desk

    Hi,
    I have just downloaded the project and I have tried to install on my notebook.
    I have modified the .bat correctly but when I have started it, the WTG respond me with this message:
    WTG-10109: Web-to-go could not locate requested URL
    Web-to-go could not locate requested URL /xsql/index.html
    Please contact the application vendor
    is there anything that I have forgotten?
    thanks!
    Pier Paolo.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Robert Hall ([email protected]):
    The XML Flight Finder sample application uses Oracle8i's XML capabilities to generate flight information for PCs, PDAs and cell phones. See how it's built using Oracle's XSQL Servlet.
    To read more and download the source code, visit: http://technet.oracle.com/software/index.htm
    Feel free to post questions, comments, etc., in this thread.
    Thanks,
    -rh<HR></BLOCKQUOTE>
    null

Maybe you are looking for

  • Plans larger than 500GB

    Are there any plans of having quotas increased from the maximum 500GB that is available now. I'm finding my limit is being used quite frequently and quickly as the months go on. I utilise iTunes for a lot of my TV and am finding that for the qaulity

  • Can't login to the store,get a blank white screen

    I am running the latest Itunes, on a Mac running OS 10.5.8.  I can open Itunes, but when I try to reach the store all I get is a white screen. Upon itunes shutdown a page of errors is listed as long as your arm.  Any thoughts on how to fix this. 

  • I restored my laptop to an ealier date and lost my private browsing capability

    My private browser selection on the tools dropdown is grayed out. Mozilla 3.6.10 was reloaded. It still does not work.

  • Sending HTML Email Notification

    Hi All, I created an Email Definition to send a notificiation email to the manager. For that, In the Email defn body, I specified the following: http://example.oracle.com:8080/xlWebApp/requestDetail.do?startIndexOfPage=1&searchResults.sortColumn= *&b

  • Final Cut Studio 2 - Problems Capturing From XL2

    Hey guys - I upgraded to FC Studio 2 a while ago, and haven't tried to capture video until today. For some reason, the log and capture window is not displaying anything but color bars. It's communicating with the camera, because is starts to play, bu