Errors when loading XML SQL Utility

I'm working on a Unix machine, attempting
to load the Oracle XML SQL Utility classes
into my database so that I can use them in
stored procedures.
My problem is occuring when I try to use
loadjava to install the classes. I haved
altered both env.csh and oraclrxmlsqlload.csh to match my shell and desired settings, but I get a core dump when loadjava executes in the script:
SIGSEGV received. Processing terminated
full version ""
Full thread dump:
"Async Garbage Collector" (TID:0x3002bd00, sys_thread_t:0x2006b7d8)
Native Thread State: ThreadID: 00000203 Reuse: 1 DAEMON MONITOR WAIT
Native Stack Data : base: 201133a0 pointer 20113018 used(904) free(257144)
----- Monitors held -----
----- Native stack -----
------ Java stack ------ () prio=1
"Finalizer thread" (TID:0x3002bd38, sys_thread_t:0x2006b588)
Native Thread State: ThreadID: 00000102 Reuse: 1 DAEMON MONITOR WAIT
Native Stack Data : base: 200ca230 pointer 200c9f68 used(712) free(257336)
----- Monitors held -----
----- Native stack -----
------ Java stack ------ () prio=1
"main" (TID:0x3002bd70, sys_thread_t:0x20007278)
Native Thread State: ThreadID: 00000001 Reuse: 1 USER PRIMORDIAL RUNNING
Native Stack Data : base: 2ff22004 pointer 2ff1f658 used(10668) free(247380)
----- Monitors held -----
java.lang.Class java/sql/DriverManager@30025318
oracle.jdbc.oci8.OCIDBAccess@300304e8
----- Native stack -----
eoj_memcpy(d15779b8)
eoj_memcpy(d1574d08)
eoj_memcpy(d1574484)
inflate_copyright(2c203a6e)
inflate_copyright(2c203a6e)
[sigsegv]...
------ Java stack ------ () prio=5 current thread
Anyone have any ideas what might be the problem?

Sorry...missed your first question there.
I'm running AIX 4.3.2 on an IBM RS/6000 Server. I've got Java 1.1.6 installed.

Similar Messages

  • Error when loading XML file

    When using Load XML Data utility I am getting an error:
    ORA-00942: table or view does not exist
    Error loading XML.
    Loading as CSV text works except some records with new line characters.
    Also, when xml file is really small – “Load XML” works too. The actual file is ~ 12 MB.
    How to resolve this issue?
    Application Express 3.2.0.00.27
    Oracle 10.2.0.1.0
    Your help will be appreciated,
    Anatoly

    Hi Anatoly,
    I suspect this is a problem with the underlying package DBMS_XMLGEN and not directly in APEX.
    Can you reproduce this issue on apex.oracle.com?
    Joel

  • Problem to load XML SQL Utility into other user

    Hi,
    I need help to load XML Utility into other user than
    "scott"tiger".
    I loaded both xmlparser.jar and oraclexmlsql.jar into
    "scott/tiger", it works and creating functions and testing work
    fine. But when change USER_PASSWORD to another user, it gave me
    some errors like
    creating : org/xml/sax/helpers/AttributeListImpl
    Error while creating class org/xml/sax/helpers/AttributeListImpl
    ORA-29506: invalid query derived from USING clause
    ORA-00942: table or view does not exist
    Error while accessing MD5 table
    ORA-00942: table or view does not exist
    Do I need create any table or view for my another oracle account?
    Or did I missed any thing. From the installation instruction, I
    cano not find any about creating table or view before I load the
    two jar files.
    Thanks
    Yuping
    null

    Hi Yuping,
    Great to hear that! Thx for posting the solution to the
    problem! Let us know if you have any problems with the utility
    or if u need any enhancements!
    Thx
    Murali
    Yuping Zhu (guest) wrote:
    : Hi,Murali,
    : The problem is fixed now. When load xmlparser into the user, it
    : creates two tables automatically, my mistake is I did not grant
    : "create table" privilege to the user. After I granted the
    : privilege to it, it works fine.
    : Thanks!
    : Yuping
    : Murali K (guest) wrote:
    : : Hi,
    : : I will check this out with the Java folks and let u know
    : : Thx
    : : Murali K
    : : Yuping Zhu (guest) wrote:
    : : : Hi, Murali
    : : : I'm using Oracle8i on Solaris 2.6. When I load xmlparser
    : using
    : : : loadjava -resolve -verbose -user $USER_PASSWORD
    xmlparser.jar
    : : : I get error message and I catch part of erros
    : : : PS, I can load it into scott/tiger.
    : : : Thanks!
    : : : Yuping
    : : : loading : org/w3c/dom/html/HTMLLegendElement
    : : : Error while loading org/w3c/dom/html/HTMLLegendElement
    : : : ORA-04068: existing state of packages has been
    discarded
    : : : ORA-04063: package body "IOEXML.LOADLOBS" has errors
    : : : ORA-06508: PL/SQL: could not find program unit being called
    : : : ORA-06512: at line 1
    : : : creating : org/w3c/dom/html/HTMLLegendElement
    : : : Error while creating class
    org/w3c/dom/html/HTMLLegendElement
    : : : ORA-29506: invalid query derived from USING clause
    : : : ORA-00942: table or view does not exist
    : : : Error while accessing MD5 table
    : : : ORA-00942: table or view does not exist
    : : : loading : org/w3c/dom/html/HTMLImageElement
    : : : Error while loading org/w3c/dom/html/HTMLImageElement
    : : : ORA-04068: existing state of packages has been
    discarded
    : : : ORA-04063: package body "IOEXML.LOADLOBS" has errors
    : : : ORA-06508: PL/SQL: could not find program unit being called
    : : : ORA-06512: at line 1
    : : : creating : org/w3c/dom/html/HTMLImageElement
    : : : Error while creating class
    org/w3c/dom/html/HTMLImageElement
    : : : ORA-29506: invalid query derived from USING clause
    : : : ORA-00942: table or view does not exist
    : : : Error while accessing MD5 table
    : : : ORA-00942: table or view does not exist
    : : : loading : oracle/xml/parser/v2/XSLException
    : : : Error while loading oracle/xml/parser/v2/XSLException
    : : : ORA-04068: existing state of packages has been
    discarded
    : : : ORA-04063: package body "IOEXML.LOADLOBS" has errors
    : : : ORA-06508: PL/SQL: could not find program unit being called
    : : : ORA-06512: at line 1
    : : : Murali K (guest) wrote:
    : : : : Hi Yuping,
    : : : : I tried the same on a 8i database and it seems to be
    : : working
    : : : : fine. (loading into two schemas). In fact I just created
    : the
    : : : : other user and it doesnt have any tables or anything in
    it.
    : : : : You do not need to create anything (table/view) extra
    for
    : : : these
    : : : : to work.
    : : : : Which database (Oracle8 or 8i) are u using?
    : : : : Thanks
    : : : : Murali
    : : : : Yuping Zhu (guest) wrote:
    : : : : : Hi,
    : : : : : I need help to load XML Utility into other user than
    : : : : : "scott"tiger".
    : : : : : I loaded both xmlparser.jar and oraclexmlsql.jar into
    : : : : : "scott/tiger", it works and creating functions and
    : testing
    : : : work
    : : : : : fine. But when change USER_PASSWORD to another user,
    it
    : : gave
    : : : me
    : : : : : some errors like
    : : : : : creating : org/xml/sax/helpers/AttributeListImpl
    : : : : : Error while creating class
    : : : : org/xml/sax/helpers/AttributeListImpl
    : : : : : ORA-29506: invalid query derived from USING clause
    : : : : : ORA-00942: table or view does not exist
    : : : : : Error while accessing MD5 table
    : : : : : ORA-00942: table or view does not exist
    : : : : : Do I need create any table or view for my another
    oracle
    : : : : account?
    : : : : : Or did I missed any thing. From the installation
    : : instruction,
    : : : I
    : : : : : cano not find any about creating table or view before
    I
    : : load
    : : : : the
    : : : : : two jar files.
    : : : : : Thanks
    : : : : : Yuping
    null

  • Error when loading web-based utility

    i have numerous errors when i attempt to load the web-based utility in both IE and Firefox.  most of them are java errors and seem to be related to the font.  i've updated the java on my machine. i've also reset the router numerous times.  part of the page will load but most of the options are missing.  i'm at a loss to try to get the page to load correctly.  please help!
    Here are the errors that show up in firebug in Firebox....
    Unknown property 'mso-style-parent'. Declaration dropped.
    undefined
    style.css (line 50)
    Unknown property 'mso-style-parent'. Declaration dropped.
    undefined
    style.css (line 55)
    Unknown property 'mso-style-parent'. Declaration dropped.
    undefined
    style.css (line 62)
    illegal character
    ‹ '6ÐC
    share.js (line 1)
    illegal character
    ‹ $6ÐC
    help.js (line 1)
    share is not defined
    <b><a target="_blank" href="HSetup.htm"><script>Capture(share.more)</script><br>...
    192.168.1.1 (line 1202)
    hsetup is not defined
    <script>Capture(hsetup.phase38)</script><br>
    192.168.1.1 (line 1201)
    hsetup is not defined
    <script>Capture(hsetup.phase37)</script><br><br><br>
    192.168.1.1 (line 1200)
    hsetup is not defined
    document.write(hsetup.phase44);
    192.168.1.1 (line 1167)
    share is not defined
    <TD width=101 height=25>&nbsp;<script>Capture(share.timezone)</script>...
    192.168.1.1 (line 1065)
    share is not defined
    face=Arial>&nbsp;<script>Capture(share.wins)</script>:&nbsp;</FONT><...
    192.168.1.1 (line 1034)
    share is not defined
    face=Arial>&nbsp;<script>Capture(share.clileasetime)</script>:</FONT...
    192.168.1.1 (line 968)
    share is not defined
    face=Arial>&nbsp;<script>Capture(share.startipaddr)</script>:</FONT>...
    192.168.1.1 (line 946)
    share is not defined
    name=lan_proto><B><script>Capture(share.disable)</script></B></TD>
    192.168.1.1 (line 938)
    share is not defined
    type=radio checked value="Enable" name=lan_proto><B><script>Capture(...
    192.168.1.1 (line 936)
    share is not defined
    <TD width=101 height=25>&nbsp;<script>Capture(share.dhcpsrv)</script>:...
    192.168.1.1 (line 934)
    share is not defined
    face=Arial>&nbsp;<script>Capture(share.submask)</script>:</FONT></TD...
    192.168.1.1 (line 902)
    share is not defined
    document.write("<OPTION value=0 selected>"+share.auto+"</OPTION>");
    192.168.1.1 (line 837)
    share is not defined
    face=Arial>&nbsp;<script>Capture(share.mtu)</script>:</FONT></TD>
    192.168.1.1 (line 833)
    share is not defined
    face=Arial>&nbsp;<script>Capture(share.domainname)</script>:&nbsp;</...
    192.168.1.1 (line 822)
    share is not defined
    face=Arial>&nbsp;<script>Capture(share.hostname)</script>:&nbsp;</FO...
    192.168.1.1 (line 811)
    share is not defined
    face=Arial>&nbsp;<script>Capture(share.routename)</script>:&nbsp;</F...
    192.168.1.1 (line 800)
    share is not defined
    document.write("<OPTION value=1 >"+share.staticip+"</OPTION>")
    192.168.1.1 (line 613)
    share is not defined
    href="DDNS.htm"><script>Capture(share.ddns)</script></A>...
    192.168.1.1 (line 543)
    bmenu is not defined
    href="StaRouter.htm"><script>Capture(bmenu.statu)</script></A>...
    192.168.1.1 (line 531)
    bmenu is not defined
    href="Manage.htm"><script>Capture(bmenu.admin)</script></A>&nb...
    192.168.1.1 (line 527)
    bmenu is not defined
    <script>Capture(bmenu.gaming)</script></A>&nbsp;&nbsp;&nbsp;&n...
    192.168.1.1 (line 523)
    bmenu is not defined
    href="Forward.htm"><script>Capture(bmenu.applications)</script...
    192.168.1.1 (line 522)
    bmenu is not defined
    href="Filters.htm"><script>Capture(bmenu.accrestriction)</scri...
    192.168.1.1 (line 518)
    bmenu is not defined
    href="Firewall.htm"><script>Capture(bmenu.security)</script></...
    192.168.1.1 (line 514)
    bmenu is not defined

    These are JavaScript errors and no Java errors. Java has nothing to do with them. Updating Java won't make any difference.
    Do you run any software firewall on the computer? As the problems occurs on IE and Firefox it could well be that your firewall damages the JavaScript in the web pages. Firewalls like to do that to protect your "privacy".

  • Loading XML SQL Utility's OracleXMLStore class

    I have downloaded the XSU111 and loaded all the java classes. but the when I load OracleXMlsql.jar it does not resolves classes OracleXMLStore, OracleXML and OracleXMLSave givinf error ORA-29354.
    What can I do to load these particular
    classes?

    I also have downloaded the XSU111 and loaded all the java classes. My situation is quite similar. Once I load OracleXMlsqlLoad.csh, it does not resolves classes OracleXMLStore, OracleXML and OracleXMLSave giving error ORA-29541. Then I tried to loadjava xsu111.jar, it can't create resource and can't fins valid column giving error ORA-29547 and ORA-00904.

  • Ora-01830 error when loading xml doc

    Hi,
    I keep getting this error whenever I try to load an xml document.
    ora-01830: date format picture ends before converting entire input string.
    The date element in the xml document is in this format:
    2003-06-26T11:17:40.130
    The datatype in the XML Schema is DATE and the "table" created by Oracle gives the column datatype as DATE.
    The settings in oracle are as follows:
    PARAMETER VALUE
    ------------------------------ ---------------------------NLS_LANGUAGE AMERICAN
    NLS_TERRITORY AMERICA
    NLS_CURRENCY $
    NLS_ISO_CURRENCY AMERICA
    NLS_NUMERIC_CHARACTERS .,
    NLS_CALENDAR GREGORIAN
    NLS_DATE_FORMAT DD-MON-RR
    NLS_DATE_LANGUAGE AMERICAN
    NLS_SORT BINARY
    NLS_TIME_FORMAT HH.MI.SSXFF AM
    NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
    NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZR
    NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZR
    NLS_DUAL_CURRENCY $
    NLS_COMP BINARY
    NLS_LENGTH_SEMANTICS BYTE
    NLS_NCHAR_CONV_EXCP FALSE
    17 rows selected.
    Can anybody tell me how Oracle is expecting the date to appear ?
    Thanks,
    Ned

    I think you need .000000 at the end of the Time

  • Error when loading xml in Indesign CS4

    Hello,
    A couple of years ago, we wrote a little javascript file to import an xml file in Indesign CS2. Which worked fine.
    But now in CS4, we get the following error message:
    Javascript Error!
    Error Number: 55
    Error String: Object does not support the property or method '[object InsertionPoint]'
    I narrowed it down to this little method:
    function verwijderlege(elm) => elm = app.activedocument which is an XML file.
    var i, offset;
      for (i = elm.xmlElements.length - 1 ; i > -1 ; i--)
      if (elm.xmlElements[i].contents == "")
      offset = elm.xmlElements[i].storyOffset;
      parentst = elm.xmlElements[i].parentStory;
      elm.xmlElements[i].remove();
    parentst.characters[offset].remove(); (Error message sais it's this line)
        else 
      verwijderlege(elm.xmlElements[i]);
    I hope someone can help me with this.
    Thanks in advance,
    Gunther Christiaens

    Hi Anatoly,
    I suspect this is a problem with the underlying package DBMS_XMLGEN and not directly in APEX.
    Can you reproduce this issue on apex.oracle.com?
    Joel

  • Error when  importing xml data

    I am getting the following error when loading xml datafile to my Oracle XE database table. This data I exported from htmldb.oracle.com.
    ORA-31011: XML parsing failed ORA-19202: Error occurred in XML processing LPX-00222: error received from SAX callback function
    please help
    George

    George,
    I expect that this is simply an incompatibility with the date format that was used for XML Import/Export as part of XE Beta. This is a bug that has been fixed for XE production and you will be able to freely export from HTML DB 2.0 and import into XE and vice versa.
    Your NLS settings do not control this. The date format used for XML Export is fixed - a canonical date format is always used.
    If you want to be able to import into XE Beta, your date fields probably look like:
    <HIREDATE>2005-12-03T00:00:00.000</HIREDATE>Just remove the trailing .000 from your date entries.
    <HIREDATE>2005-12-03T00:00:00</HIREDATE>
    Note: This will only be necessary for XE Beta. You should not have to do this for XE Production.
    Joel

  • Unable to load Oracle XML SQL utility

    The following error appears for each java
    class, when we attempt to load Oracle XML sql
    utility into Oracle using the oraclexmlsqlload
    script:
    E.g.
    Error while resolving class OracleXMLStore
    ORA-00904: invalid column name
    Does anyone know why we would receive this error?
    Platform: Hp-UX 11.0
    Oracle Version: 8.1.5.0
    Background information:
    The database was original created with the
    compatible=8.0.5 set in the init.ora file, and
    the creatation of java classes failed due to this,
    so switched compatible to 8.1.0. Now after we
    we adjusted the compatible setting and restarted
    database, we started to receive the errors as
    described above.
    null

    Murali,
    Thank you, after I initialized Oracle's javavm
    the errors disappeared.
    The scripts were located under the javavm/install
    directory.
    Thanks again.
    Murali K (guest) wrote:
    : Hi Steven,
    : Is the JavaVM loaded. i.e. are all the classes necessary for
    : running Java in the server are loaded into the server? The
    most
    : common answer to your problem is that the javavm has not been
    : initialized correctly or the database does not have all the
    java
    : library files necessary to load java programs.
    : Please read chapter 4 in the Oracle8i java developers guide
    : which talks about initializing a java-enabled database by
    : running the initjvm script.
    : If this still occurs then maybe it is a bug and we will have
    to
    : look at it.
    : Thx
    : Murali
    : Steven Wegner (guest) wrote:
    : : The following error appears for each java
    : : class, when we attempt to load Oracle XML sql
    : : utility into Oracle using the oraclexmlsqlload
    : : script:
    : : E.g.
    : : Error while resolving class OracleXMLStore
    : : ORA-00904: invalid column name
    : : Does anyone know why we would receive this error?
    : : Platform: Hp-UX 11.0
    : : Oracle Version: 8.1.5.0
    : : Background information:
    : : The database was original created with the
    : : compatible=8.0.5 set in the init.ora file, and
    : : the creatation of java classes failed due to this,
    : : so switched compatible to 8.1.0. Now after we
    : : we adjusted the compatible setting and restarted
    : : database, we started to receive the errors as
    : : described above.
    null

  • XML SQL utility - Error

    Hi,
    I am trying to retrieve data from a DB table and generate an XML file. I am using Oracle8i and IIS 4.0.
    I have downloaded XML SQL utility and I followed the installation instructions. I executed oraclexmlsqlload.bat file. It got executed and then I got the following error
    ORA-12203: TNS:unable to connect to destination.
    Let me know whether I should have JDK1.1x and JDBC 1.x compliant drivers installed in my machine. can any one help me ??
    vik

    Use xmlgen.setDateFormat('yyyy-MM-dd hh:mm:ss') and try it out
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Mark Hansen:
    I am having trouble with the xmlgen package within the XML SQL utility software version 1.1.1. I wrote a package that gets an XML file and loads it into a temporary CLOB and then using xmlgen.insertXML it inserts the XML into table. Everything works fine except for a date column in the table. I get an error when it tries to parse the date. Using the procedure xmlgen.setDateFormat, I tried to set the default date format, but I still get an error. Below you will find the text of the error message that I am getting:
    ORA-29532: Java call terminated by uncaught Java exception:
    oracle.xml.sql.OracleXMLSQLException: Exception
    'java.text.ParseException:Unparseable date: "2000-08-24 08:34:24"' encountered
    during processing ROW element 0All prior XML row changes were rolled back. in
    the XML document.
    ORA-06512: at "SITESTEPPER.SS_LOG", line 30
    ORA-06512: at line 1
    I've tried a number of diferent date formats including the database default date format. I have a work around to this but it involves the use of a temporary table. Please Help!
    <HR></BLOCKQUOTE>
    null

  • XML SQL Utility - declaration error

    Hi,
    I'm trying to use the XSU API in a Java server page and am getting an error with the <?xml version='1.0'> declaration tag. The parser seems to think it is not well-formed. Here is what I am doing: Using JSP, I query my database and use XSU to return the results as an XML string. I'm working on an Oracle personal edition version 8.1.7 on an Windows 2000 machine. When I had the Microsoft XML Parser version 2.5 installed, XSU would work and it would print out the XML document tree view. The document was well-formed, according to IE5.5. However, I wanted to use an XSLT stylesheet that would print out the xml results in an HTML table. The MS XML Parser 2.5 had to be upgraded to version 3.0 in replace mode, in order for the XSLT stylesheets to work. When I upgraded, the stylesheets worked, but then for all the JSP pages that were utilizing the XML SQL Utility, when I tried to view the page in IE5.5, I would get the declaration tag error I mentioned above.
    Any suggestions on how I can get the JSPs to work with XSU (without having to revert back to the older MS parser)? Is there another parser that I can use? I'm working with the Apache web server that Oracle personal edition installs.
    Thanks,
    SY

    The XML Declaration needs to be:
    <?xml version="1.0"?>
    and it must be the very first bytes of the file. There must not be any whitespace before the <?xml version="1.0"?> in what the JSP returns to the browser.
    This extra whitespace is frequently the cause of the problem in JSP cases that I've seen.

  • SOAP  oracle xml sql utility class definition not found error

    I have created a java class that connects to database using JDBC runs an sql statement and produces xml using Oracle XML SQL Utility class. The java class works perfectly when I deploy it as a soap web service and try to run through SOAP server it gives a SOAP error oracle/xml/sql/query/OracleXML/Query [java.lang.NoClassDefFoundError].
    Can anyone help please.
    Thanks
    Alina

    Sounds like you have not included the xsu12.jar file in the server-side CLASSPATH.
    This depends also on the xmlparserv2.jar and on the Oracle JDBC driver. Later versions
    of XSU may also depend on the xdb.jar file, too.

  • Oracle XML SQL utility, error oracle.xml.sql.OracleXMLSQLException:....

    I am using Oracle XML SQL utility to generate some XML using CURSOR
    operator.
    Following is the query -
    SELECT PROJECT.PROJ_CD,
    PROJECT.PROJ_TITLE,
    CURSOR(SELECT ISSUES.ISSUE_ID
    FROM ISSUES
    WHERE PROJECT.PROJ_ID = ISSUES.PROJ_ID )
    as ISSUES_DATA
    FROM PROJECT
    WHERE PROJECT.PROJ_ID = 1
    This query works fine when I create a direct connection using Oracle JDBC
    thin driver. But when I execute same thing using a connection from a
    Weblogic connection pool (which uses exactly the same Oracle JDBC thin
    driver, classes12.zip), I get following error-
    <?xml version = '1.0'?>
    <ERROR>oracle.xml.sql.OracleXMLSQLException: cursorGetMetaData: this method
    is not supported by OracleXMLDataSetGenJdbc' class. Please use
    'OracleXMLDataSetExtJdbc' instead.</ERROR>
    Following are the details about my environment:
    Weblogic5.1 on Windows NT 4.0
    Oracle 8.1.5 on Sun Solaris
    Oracle JDBC thin Classes12.zip (from Oracle 8.1.6)
    Oracle XML SQL utility XSU12_ver1_2_1
    Does anyone have any idea what is going on. Please help.
    Thanks.

    Thanks for your reply.
    Here is what I am doing:
    I have connection pool defined in welogic.properties file
    weblogic.jdbc.connectionPool.oraclePool=\
    url=jdbc:oracle:thin:@192.168.2.251:1521:orcl,\
    driver=oracle.jdbc.driver.OracleDriver,\
    loginDelaySecs=1,\
    initialCapacity=1,\
    maxCapacity=15,\
    capacityIncrement=1,\
    allowShrinking=true,\
    shrinkPeriodMins=5,\
    refreshMinutes=5,\
    testTable=,\
    props=user=someuser;password=somepasswd
    weblogic.allow.reserve.weblogic.jdbc.connectionPool.oraclePool=everyone
    weblogic.jdbc.TXDataSource.orclDataSource=oraclePool
    Then I have a DBConnection class which gets connection from the pool
    following is some code from DBConnection class
    private Connection con = null;
    private DataSource ds = null;
    private String providerURL;
    private String dataSource;
    private String contextFactory;
    private IpmsProps ipmsProp = null;
    public Connection getConnection() {
    if ( con == null ) {
    try {
    ipmsProp = IpmsProps.getInstance();
    providerURL = ipmsProp.getProviderURL();
    dataSource = ipmsProp.getDataSource();
    contextFactory = ipmsProp.getContextFactory();
    Properties p = new Properties();
    p.put(javax.naming.Context.PROVIDER_URL, providerURL);
    p.put(javax.naming.Context.INITIAL_CONTEXT_FACTORY,
    contextFactory);
    Context ctx = new InitialContext(p);
    Context ctx = new InitialContext();
    ds = (DataSource) ctx.lookup(dataSource);
    con = ds.getConnection();
    } catch (Exception e) {
    System.out.println("Error While creating connection! " +
    e.toString());
    } // catch
    I Hope you will be able to provide me some work around.
    Thank you very much for the help.
    Rajinder.
    "Joseph Weinstein" <[email protected]> wrote in message
    news:[email protected]...
    Hi. It's probably because you're calling some Oracle-specific method,passing it
    a pool JDBC object, and though the Oracle methos signature says it will
    take a generic java.sql.XXX object, it really is going to assume the thingis
    an Oracle class, and fails when it tries to cast it to such.
    Depending on how you're getting your pool connection, I may have aworkaround.
    Joe
    Rajinder Arora wrote:
    I am using Oracle XML SQL utility to generate some XML using CURSOR
    operator.
    Following is the query -
    SELECT PROJECT.PROJ_CD,
    PROJECT.PROJ_TITLE,
    CURSOR(SELECT ISSUES.ISSUE_ID
    FROM ISSUES
    WHERE PROJECT.PROJ_ID =
    ISSUES.PROJ_ID )
    as ISSUES_DATA
    FROM PROJECT
    WHERE PROJECT.PROJ_ID = 1
    This query works fine when I create a direct connection using OracleJDBC
    thin driver. But when I execute same thing using a connection from a
    Weblogic connection pool (which uses exactly the same Oracle JDBC thin
    driver, classes12.zip), I get following error-
    <?xml version = '1.0'?>
    <ERROR>oracle.xml.sql.OracleXMLSQLException: cursorGetMetaData: thismethod
    is not supported by OracleXMLDataSetGenJdbc' class. Please use
    'OracleXMLDataSetExtJdbc' instead.</ERROR>
    Following are the details about my environment:
    Weblogic5.1 on Windows NT 4.0
    Oracle 8.1.5 on Sun Solaris
    Oracle JDBC thin Classes12.zip (from Oracle 8.1.6)
    Oracle XML SQL utility XSU12_ver1_2_1
    Does anyone have any idea what is going on. Please help.
    Thanks.--
    PS: Folks: BEA WebLogic is expanding rapidly, with both entry and advancedpositions
    for people who want to work with Java, XML, SOAP and E-Commerceinfrastructure products.
    We have jobs at Nashua NH, Liberty Corner NJ, San Francisco and San JoseCA.
    Send resumes to [email protected]

  • XML SQL Utility Thread Error

    Greetings:
    I am working on how to use xml and 8i to our benefit. I have
    installed Oracle 8i and I have downloaded the XML SQL Utility.
    In checking out the installation using the standard "java ...
    select from" example I get the following error:
    Exception in thread "main" java.lang.NoClassDefFoundError:
    OracleXML
    The first place I checked was the env.bat file, I found an
    incorrect classpath and changed it:
    rem - JDK_HOME
    set JDK_HOME=C:\JDK1.1.6 (no such folder)
    to
    rem - JDK_HOME
    set JDK_HOME=C:\JDK1.2.2
    All other paths look good. I executed the bat file and tried the
    example again. Same error.
    Any Ideas??
    null

    Still same error.
    Here is what I've done.
    1. rem the JDK Home
    2. downloaded Java 1.1.8 JDK
    3. changed computer env. path to include 1.1.8 JDK
    I have checked all the paths in the bat file and all are pointing
    to the correct place to find the file listed with one exception:
    I don't have a src file in the %PD% folder.
    rem This need not be changed
    set
    XMLSQL_DIR=%PD%\lib\oraclexmlsql.jar;%PD%;%PD%\src;%PD%\lib;%PD%\
    sample
    Where should it be pointing for the src file?
    Oracle XML Team wrote:
    : Hi Michael,
    : Based on the symptoms described, I am guessing something in
    : your environment still isn't right (i.e. env.bat hasn't been
    : configured correctly). Please confirm that all the paths in
    that
    : directory point to the right places. In particular make
    : sure that your CLASSPATH includes the directory in which
    : oraclexmlsql.jar and parser.jar reside. Also, the XSU is
    : supposed to run against JDK1.1.6 (we haven't tested it against
    : 1.2). One last thing... make sure that JAVA_HOME environment
    : variable is NOT set (i.e. make sure it is undefined).
    : Michael Cline (guest) wrote:
    : : Greetings:
    : : I am working on how to use xml and 8i to our benefit. I have
    : : installed Oracle 8i and I have downloaded the XML SQL
    Utility.
    : : In checking out the installation using the standard "java ...
    : : select from" example I get the following error:
    : : Exception in thread "main" java.lang.NoClassDefFoundError:
    : : OracleXML
    : : The first place I checked was the env.bat file, I found an
    : : incorrect classpath and changed it:
    : : rem - JDK_HOME
    : : set JDK_HOME=C:\JDK1.1.6 (no such folder)
    : : to
    : : rem - JDK_HOME
    : : set JDK_HOME=C:\JDK1.2.2
    : : All other paths look good. I executed the bat file and tried
    : the
    : : example again. Same error.
    : : Any Ideas??
    : Oracle Technology Network
    : http://technet.oracle.com
    null

  • 1.2 JVM crashes using XML SQL Utility 1.1.10 (NT 8.1.5)

    I am trying to use the XML SQL Utility for Java (Oracle 8.1.5) to obtain a DTD or XML schema for tables in our database.
    I have installed the XSU111.ZIP archive,
    set the CLASSPATH and stuff, loaded the JAR
    files (xmlparserv2.jar, oraclexmlsql.jar)
    processed the xmlgenpkg.sql script (following the installation instructions)
    When I execute the samples in Java, the JVM (JDK 1.2.2) crashes in javai.dll.
    The same error occurs when I run java OracleXML getXML ....
    The installation file (env.bat) lists the JDBC driver ZIP as CLASSES12.ZIP, which is of course, not available for 8.1.5, which is what the download instructions indicated is appropriate for XSU 1.1.1.
    Any ideas? Do I need to upgrade to 8.1.6?
    Can I patch the JDBC with classes12.ZIP.
    By the way, when I execute the commands in PL/SQL using xmlgen package, everything is fine.
    Regards and Much thanks

    Set JDK_HOME to the directory where you install your JDK (Java Development Kit).
    So instance, I've install JDK1.1.8 on my
    C drive so
    set JDK_HOME=c:\jdk1.1.8;c:\jdk1.1.8\bin

Maybe you are looking for

  • TS5376 How do I update iTunes to the latest version without removing it and starting again?

    Mine didnt update automatically and its not prompting for an update, other than redirecting me to the iTunes website to start again...??

  • MacBook Pro 13'' FireWire 800 Port

    Hey all I'm quite worried about the FW 800 port in my macbook pro 13''. Any time i connect my camcorder to it, it doesn't show up in iMovie nor final cut pro. However in system profiler Firewire is showing up but all that is displayed is the speed of

  • How to disable automatic font embedding in CS5?

    I installed CS5 and opened an old .fla which did not embed the Arial font because everyone has it already. Mostly it is used for user-entered and dynamic content.  However, CS5 is auto-embedding the few characters I use in Arial, and all of the other

  • Developer-Online Tutorial Announcement: jQuery usefull scripts

    jQuery usefull scripts In this free pack I'll make a very simple and usefull jQuery scripts to give more effects to your Web site.  This folder blends different effects:      * Images Alpha Effect     * Switch different Layouts     * Input Live Previ

  • Set up a media server and backup

    I hope I picked the best community for maximum exposure to this set of questions: I want to build a video distribution system.  I have teh ability to send audio throughout the house and HD video via 2 CAT 6 in every room.  From my research and being