XML retrieval query

Hi folks,
I'm still developing my system monitoring application using
spry, but have noticed a curious issues when monitoring the
xmlhttprequest's through firebug.
The first time the dynamic xml files are called, one
httprequest is run for each ds entry, however, on the second and
later calls, it seems to generate 2 or 3 httprequests per ds entry.
I've included the code below in case i've missed something
completely obvious.
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml"
xmlns:spry="
http://ns.adobe.com/spry">
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=utf-8" />
<title>Server Perfomance Monitoring
System</title>
<script src="SpryAssets/SpryAccordion.js"
type="text/javascript"></script>
<script src="SpryAssets/xpath.js"
type="text/javascript"></script>
<script src="SpryAssets/SpryData.js"
type="text/javascript"></script>
<link href="SpryAssets/SpryAccordion.css" rel="stylesheet"
type="text/css" />
<script type="text/javascript">
<!--
var ds1 = new Spry.Data.XMLDataSet("wmitest.asp",
"/root/server", { useCache: false, loadInterval: 60000 });
var ds2 = new Spry.Data.XMLDataSet("memory.asp",
"/root/server", { useCache: false, loadInterval: 60000 });
var ds3 = new Spry.Data.XMLDataSet("cpu.asp", "/root/server",
{ useCache: false, loadInterval: 60000 });
//-->
</script>
<style>
body {
color:#666666;
font-family:Arial,Helvetica,sans-serif;
font-size:small;
img {
border-top-style: none;
border-right-style: none;
border-bottom-style: none;
border-left-style: none;
</style>
</head>
<body>
<p> </p>
<div id="Accordion1" class="Accordion" tabindex="0">
<div class="AccordionPanel">
<div class="AccordionPanelTab">IIS Statistics - Key
Perfomance Stats for IIS Servers (avg. 30 second
refresh)</div>
<div class="AccordionPanelContent">
<div spry:region="ds1">
<table width="100%">
<tr>
<th>Server Name</th>
<th>Active ASP Sessions</th>
<th>Current Connections</th>
<th>Wait Time for Last ASP Request</th>
<th>Queued ASP Requests</th>
<th>Last Updated</th>
</tr>
<tr spry:repeat="ds1">
<td align="center">{servername}</td>
<td align="center">{activeSessions}</td>
<td align="center">{currConnections}</td>
<td align="center">{requestWaitTime}</td>
<td align="center">{requestsQueued}</td>
<td align="center">{timestamp}</td>
</tr>
</table>
</div>
</div>
</div>
<div class="AccordionPanel">
<div class="AccordionPanelTab">Memory - Free Memory
Indicators for monitored Servers (avg. 30 second refresh)
</div>
<div class="AccordionPanelContent">
<div spry:region="ds2">
<table width="100%">
<tr>
<th>Server Name</th>
<th>Free Memory</th>
<th>Last Updated</th>
</tr>
<tr spry:repeat="ds2">
<td align="center">{servername}</td>
<td align="center">{memAvailable}</td>
<td align="center">{timestamp}</td>
</tr>
</table>
</div>
</div>
</div>
<div class="AccordionPanel">
<div class="AccordionPanelTab">CPU - CPU Usage
statistics for monitored servers (avg. 30 second
refresh)</div>
<div class="AccordionPanelContent">
<div spry:region="ds3">
<table width="100%">
<tr>
<th>Server Name</th>
<th>Processor Usage</th>
<th>Last Updated</th>
</tr>
<tr spry:repeat="ds3">
<td align="center">{servername}</td>
<td align="center">{procUsage}%</td>
<td align="center">{timestamp}</td>
</tr>
</table>
</div>
</div>
</div>
<div class="AccordionPanel">
<div class="AccordionPanelTab">Detailed Server
Statistics - (avg. 30 second refresh)</div>
<div class="AccordionPanelContent">
<div spry:region="ds3">
<table width="100%">
<tr>
<th>Server Name</th>
<th>Disk Statistics</th>
<th>Network Statistics</th>
<th>Services Statistics</th>
</tr>
<tr spry:repeat="ds3">
<td align="center">{servername}</td>
<td align="center"><a
href="disk.asp?server={servername}" target="_blank"><img
src="images/disk.GIF" width="16" height="16"
/></a></td>
<td align="center"><a
href="network.asp?server={servername}" target="_blank"><img
src="images/network.GIF" width="16" height="16"
/></a></td>
<td align="center"><a
href="services.asp?server={servername}" target="_blank"><img
src="images/services.GIF" width="16" height="16"
/></a></td>
</tr>
</table>
</div>
</div>
</div>
</div>
<script type="text/javascript">
<!--
var Accordion1 = new Spry.Widget.Accordion("Accordion1");
//-->
</script>
</body>
</html>
Regards
James
EDIT: Forgot to mention, I'm using spry 1.5
pre-release.

Ok, I think I've tracked this down. It's the loadInterval
that's causing the issue. If I set all three datasets to refresh at
the same time, I get the symptoms as above. However, if I stagger
the loadIntervals (eg, ds1 - 5000, ds2 - 7000,ds3 - 9000) no
repeated xml requests are seen.
Is this a limitation of the xmlhttp request, not being able
to process several requests at the same time?
Regards
James
EDIT
I've confirmed this now with several other pages. Is there a
bug in the code somewhere that multiplies the requests??

Similar Messages

  • Generate xml form retrieved query...

    HI,
    To start with am working to generate xml programatically for the first time ,I'd appreciate if anybody could help me out on the following...
    I have some records in the database and am supposed to generate an xml file from the retrieved query and store the xml in a specific location.
    iam using DOM parser to write the xml file.
    Please let me know as of what is the classpath that i should set and what i need to compile my class
    How can i generate the required xml file.
    Thanks in advance...
    Great day ahead....

    hi thans for the code and after writing the folloing code am getting the erros as
    I had set my classpath to Jdom.jar and compiled and got this error...can u let me know the classpath that i have to set????
    i think it is the problem with only classpath( if am thinking right)......
    location: class com.Fortune.adminusers.AdminUsers
    Element root = new Element("top");
    ^
    src\Admin\AdminUsers.java:48: cannot resolve symbol
    symbol : class Element
    location: class com.Fortune.adminusers.AdminUsers
    Element root = new Element("top");
    ^
    src\Admin\AdminUsers.java:53: cannot resolve symbol
    symbol : class Element
    location: class com.Fortune.adminusers.AdminUsers
    Element next = new Element("next");
    ^
    src\Admin\AdminUsers.java:53: cannot resolve symbol
    symbol : class Element
    location: class com.Fortune.adminusers.AdminUsers
    Element next = new Element("next");
    ^
    src\Admin\AdminUsers.java:56: cannot resolve symbol
    symbol : variable Format
    location: class com.Fortune.adminusers.AdminUsers
    XMLOutputter writer = new XMLOutputter(Format.getPrettyFormat());
    ^
    ------------------------Code Sample-----------------------------------------------
    import java.sql.*;
    import <app packages>
    import org.jdom.Document;
    import org.jdom.JDOMException;
    import org.jdom.input.DOMBuilder;
    import org.jdom.output.XMLOutputter;
    public class <XXXXXXX>
    private DBC dbConnector = null;
    public Users getUsers(String loginid)
              Users user = null;
              ResultSet rs_users=null;
              Statement get_users=null;
              Connection conn=null;
                   try
                        String query_select_user = "";
                        query_select_user = <Database Query>
                        conn = dbConnector.getConnection();
                        get_users = conn.createStatement();
                        rs_users = get_users.executeQuery(query_select_user);
                        if((rs_users != null) && (rs_users.next()))
                             do
                                  user = new Users();
                                  user.setMainMod(rs_users.getString("MainModuleId"));
                                  user.setModDesc(rs_users.getString("ModuleDesc"));
                                  String top = user.getMainMod();
                                  Element root = new Element("top");
                                  root.setText(top);
                                  String child = user.getModDesc();
                                  System.out.println(top);
                                  System.out.println(child);
                                  Element next = new Element("next");
                                  next.setText(child);
                                  Document doc = new Document(root);
                                  XMLOutputter writer = new XMLOutputter(Format.getPrettyFormat());
                                  OutputStream out = new FileOutputStream("1.xml");
                                  writer.output(doc, out);
                                  writer.output(doc, System.out);
                             }while(rs_users.next());
                   }catch (Exception e) {e.printStackTrace();}
                        finally
                             try
                                  if ( rs_users != null)
                                  rs_users.close();
                                  if(get_users!=null)
                                  get_users.close();
                                  if(conn!=null)
                                  conn.close();
                             }catch (SQLException se){}
         return user;
    }

  • Where is the oracle.xml.sql.query package?

    Hi,
    I have downloaded the xmlparser_v2_0_2_9.zip. I hoped I have everything to compile the example for retrieving XML document with an sql query. However, the jar file is missing the entire package oracle.xml.sql.query which contains for instance the crucial class OracleXMLQuery. Does anyone know where I could get this package - is it part of another download that I have to do, or can I buy it anywhere? Thanks for your help.
    Karel

    It's part of the XML SQL Utility for Java, avialable for download from http://technet.oracle.com/tech/xml

  • Logical operation in xml path query

    Hello
    If I have this XML data
    <a>
    <b>
    <c>
         <d>United States</d>
         <f>1</f>
         <g>Creditcard</g>
         <h>Will ship only within country</h>
         <k>something</k>
    </c>
    <c>
         <d>United States</d>
         <f>2</f>
         <g>MasterCard</g>
         <h>international</h>
         <k>something</k>
    </c>
    <c>
         <d>United States</d>
         <f>2</f>
         <g>MasterCard</g>
         <h>international</h>
         <k>something</k>
    </c>
    <c>
         <d>United States</d>
         <f>2</f>
         <g>MasterCard</g>
         <h>international</h>
         <k>something</k>
    </c>
    <c>
         <d>United States</d>
         <f>2</f>
         <g>MasterCard</g>
         <h>international</h>
         <k>something</k>
    </c>
    </b>
    </a>
    and I have this query:
    Q1: //c[NOT [[[/d="United States" AND /f="1" AND /g="Creditcard"] OR h="Will ship only within country"]]]
    How to write xml/sql query for it to retrive THE COUNT of the result , count of "c"
    Q2: //c[NOT [[[/d="United States" AND /f="1" AND /g="Creditcard"] OR h="Will ship only within country"]]]/k
    How to write xml/sql query for it to retrive THE COUNT of the result , count of "c/k"
    Thank you

    For example :
    SQL> with sample_data as (
      2      select xmltype('<a>
      3      <b>
      4      <c>
      5           <d>United States</d>
      6           <f>1</f>
      7           <g>Creditcard</g>
      8           <h>Will ship only within country</h>
      9           <k>something</k>
    10      </c>
    11      <c>
    12           <d>United States</d>
    13           <f>2</f>
    14           <g>MasterCard</g>
    15           <h>international</h>
    16           <k>something</k>
    17      </c>
    18      <c>
    19           <d>United States</d>
    20           <f>2</f>
    21           <g>MasterCard</g>
    22           <h>international</h>
    23           <k>something</k>
    24      </c>
    25      <c>
    26           <d>United States</d>
    27           <f>2</f>
    28           <g>MasterCard</g>
    29           <h>international</h>
    30           <k>something</k>
    31      </c>
    32      <c>
    33           <d>United States</d>
    34           <f>2</f>
    35           <g>MasterCard</g>
    36           <h>international</h>
    37           <k>something</k>
    38      </c>
    39      </b>
    40      </a>') xmldoc
    41      from dual
    42  )
    43  select count(*)
    44  from sample_data
    45     , xmltable(
    46         '//c[not(((d="United States" and f="1" and g="Creditcard") or h="Will ship only within country"))]'
    47         passing xmldoc
    48       ) x ;
      COUNT(*)
             4

  • From XML To Query

    Hi,
    This is My problem:
    I receive datas from an xml Feed and I always worked in this
    way:
    <cftry>
    <!--- fetch data from web service --->
    <cfhttp url="
    http://www.............
    method="get" charset="utf-8"/>
    <cfset xmldata = cfhttp.fileContent>
    <cftry>
    <!--- extract data from XML document and convert to query
    --->
    <cfset lstColumns =
    "KH,NH,KC,NC,KD,ND,KS,NS,KL,NL,KZ,NZ,LR"/>
    <cfset q2 = queryNew(lstColumns)/>
    <!--- <cfif isXml(cfhttp.fileContent)> avialable in
    CF7 only --->
    <cfset xmlObject = xmlParse(xmldata)/>
    <cfloop index="i" from="1"
    to="#arrayLen(xmlObject["ArrayOfHotelRoom"].xmlChildren)#">
    <cfset queryAddRow(q2,1)/>
    <cfloop index="ii" list="#lstColumns#">
    <cfset
    querySetCell(q2,ii,xmlObject["ArrayOfHotelRoom"].xmlChildren
    [ii].xmlText)/>
    </cfloop>
    </cfloop>
    <!--- </cfif> --->
    <cfcatch type="any"> <!--- any errors return empty
    result set --->
    <cfset q2 = queryNew(lstColumns)/>
    </cfcatch>
    </cftry>
    <cfcatch type="any">
    <cfoutput>There has been an internal problem. Please
    try again later</cfoutput>
    <cfexit>
    </cfcatch>
    </cftry>
    <!--- use QoQ to filter by hotel name --->
    <cfquery name="q" dbtype="query">
    select * from q2
    where SH = 'A' <!--- only show available hotels --->
    </cfquery>
    NOW THE PROBLEM IS THAT I NEED NOW TO IMPROVE MY SYSTEM USING
    A NEW VERSION OF THE XML CATALOGUE THAT NOW INCLUDE XML.CHILDREN:
    THE NEW XML:
    <?xml version="1.0" encoding="utf-8"?>
    <ArrayOfHotelRoom xmlns:xsd="
    http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="
    http://www.w3.org/2001/XMLSchema-instance"
    xmlns="
    http://tempuri.org/xml/xmlService">
    <HotelRoom>
    <KH>717</KH>
    <NH>Acanto Suites & Lounge</NH>
    <KC>PDC</KC>
    <NC>Playa del Carmen</NC>
    <KD>16</KD>
    <ND>Playa del Carmen</ND>
    <KS>7E</KS>
    <NS>Special Category</NS>
    <KL>CENT</KL>
    <NL>City</NL>
    <KZ>1</KZ>
    <NZ>The Yucatan Peninsula</NZ>
    <LR>132.5000</LR>
    <Rooms>
    <RoomType>
    <KR>VLLBR1</KR>
    <NR>One Bedroom Villa</NR>
    <MP>RO</MP>
    <RR>132.5</RR>
    <IP>0</IP>
    <IL>0</IL>
    <IN>0</IN>
    <IF>0</IF>
    <PH>0</PH>
    <SH>A</SH>
    </RoomType>
    </Rooms>
    </HotelRoom>
    AS YOU SEE AFTER "LR" NOW I FIND OTHERS CHILDREN AND I DO
    NOT HOW TO REDUCE MY NEW XML TO QUERY
    Thank You
    Andrea

    Hi Charlie,
    thanks for your fast answer. I try to figure out what's are
    my doubts and need:
    1) Yes it must to be a query because i need to filter data to
    be shown in many different outputs.
    2) I understand that it should be possible to create
    something like 2 database table :
    one for the Hotel and
    one for Rooms with all the subitems( I confirm you that there
    will be situations with more RoomType Item for each Rooms. My doubt
    now is how I will be able to manage the query joining the 2 tables
    when I miss a common date to show in the statement WHERE ( Example
    : WHERE Hoteltable.#KH#( hotel ID ) = RoomsTable.#Here I will miss
    the compare data that in the second table is not provided by the
    xml#.
    How will I be able to manage the query??????
    I think this is our way but I am really lost at this level.
    Of course the solutions with only one table with multiple
    rows for each rooms type will create me problems in outputs results
    . I will have results where the selection will not be the hotel but
    the rooms type and will be inconvenient to receive dinamically 5
    times the same hotel with the different rooms type details.
    What I need is to receive each hotel only once with all the
    roomstype details inside.
    Thanks for your help
    Andrea

  • Oracle XSU: oracle.xml.sql.query.OracleXMLQuery is not recognized

    Hi, there!
    I've got a problem when tryed to use Oracle XSU (xml-sql utility to generate xml). My simple java application works fine using XSU. But when I created session stateless bean I've got an EJBException regarding this
    line:
    oracle.xml.sql.query.OracleXMLQuery qry = new oracle.xml.sql.query.OracleXMLQuery(conn, commandSQLStatement);
    It doesn't recognize OracleXMLQuery class as I've got in dump. So my classpath includes original location of that utility and Oracle parser.
    I really appreciate for any help.
    Thanks.
    strXML = qry.getXMLString();

    Patricia,
    Did you go through the link
    Re: XML SQL Utility
    You have to put xsu12.jar in the lib directory of the jdev.
    xsu12.jar is in the lib directory of the XDK installation.
    You can download XDK from
    http://www.oracle.com/technology/tech/xml/xdk/software/prod/xdk_java.html
    Just download the XDK kit, get the xsu12.jar from the lib directory and put in the lib directory of the jdev.
    -- Arvind

  • Oracle.xml.sql.query.OracleXMLQuery   GetXML -withDTD

    I'm trying to create a dtd for each table in my schema. I've created a java program that loops through the user_tables and I am then trying to create the DTD with oracle.xml.sql.query.OracleXMLQuery -withDTD. I am able to make it work using the XSU Command Line Utility, but I'm having a hard time trying to find out where the -withDTD flag goes inside my java program. Anyone know how to use the -withDTD option inside of a java program?
    Thanks

    [from XmlRpc-Java]
    As a result, my XML
    is contained in a String instead of an InputStream.
    It is possible to convert a String to an InputStream using
    StringBufferInputStream, but this class is deprecated in favor of
    StringReader (as StringBufferInputStream does not properly convert
    characters into bytes).
    For the default HTTP transport, an InputStreamReader could be used to
    wrap the InputStream before calling parse().
    Ultimately, the InputStream is converted to an InputSource for use by
    the SAX parser. InputSource will accept a Reader as well.
    [from XmlRpc-Java]
    There should be a way to go from "getXMLString()" to "parse(Reader)" also. In the meantime I'm stuck.
    null

  • Oracle.xml.sql.query.OracleXMLQuery not found

    Hi!
    Sorry, but I got a project to continue and there is an import statement "import oracle.xml.sql.query.OracleXMLQuery;" and this gives me a compilation error...
    What do I need to do, where do I find this class??? Any help?
    //Patricia

    Patricia,
    Did you go through the link
    Re: XML SQL Utility
    You have to put xsu12.jar in the lib directory of the jdev.
    xsu12.jar is in the lib directory of the XDK installation.
    You can download XDK from
    http://www.oracle.com/technology/tech/xml/xdk/software/prod/xdk_java.html
    Just download the XDK kit, get the xsu12.jar from the lib directory and put in the lib directory of the jdev.
    -- Arvind

  • Oracle.xml.sql.query.OracleXMLQuery?

    Anyone know where I can find a java doc or any method infomation on:
    oracle.xml.sql.query.OracleXMLQuery
    thanks,
    chad.

    [from XmlRpc-Java]
    As a result, my XML
    is contained in a String instead of an InputStream.
    It is possible to convert a String to an InputStream using
    StringBufferInputStream, but this class is deprecated in favor of
    StringReader (as StringBufferInputStream does not properly convert
    characters into bytes).
    For the default HTTP transport, an InputStreamReader could be used to
    wrap the InputStream before calling parse().
    Ultimately, the InputStream is converted to an InputSource for use by
    the SAX parser. InputSource will accept a Reader as well.
    [from XmlRpc-Java]
    There should be a way to go from "getXMLString()" to "parse(Reader)" also. In the meantime I'm stuck.
    null

  • ORA-29540: class oracle/xml/sql/query/OracleXMLStaticQuery does not exist

    I am getting below error when trying to generate xml. Browsing on google did not help me. I would appreciate if someone can provide the solution.
    SQL> select dbms_xmlquery.getxml('select * from dual', 2) from dual;
    ERROR:
    ORA-29540: class oracle/xml/sql/query/OracleXMLStaticQuery does not exist
    ORA-06512: at "SYS.DBMS_XMLQUERY", line 19
    ORA-06512: at "SYS.DBMS_XMLQUERY", line 271
    ORA-06512: at line 1

    Then it is probably not the case that you are affected by the issue described in Metalink document 185857.1, but if I were you I would check it anyway, since it might be the problem.

  • Java.lang.NoClassDefFoundError: oracle/xml/sql/query/OracleXMLQuery

    Hello, all.
    I get this error message:
    java.lang.NoClassDefFoundError: oracle/xml/sql/query/OracleXMLQuery
    at oracle.xml.xsql.actions.XSQLQueryHandler.handleAction(Compiled Code) ...
    when trying to view an xsql page with the jswdk 1.0.1 web server. (I have no problems when using Web-to-go)
    Classpath includes:
    C:\jdk1.1.8\lib\classes.zip;
    C:\xsql\lib\oraclexsql.jar;
    C:\xsql\lib\xmlparserv2.jar;
    C:\xsql\lib\xsu111.jar;
    C:\xsql\lib\classes111.zip;
    C:\xsql\lib;
    What could be the problem?
    Mateja
    null

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Steven Muench ([email protected]):
    Only thing I can think of is that maybe your server classpath is getting too long. I recall one of the Java Web Server releases having a classpath length limit that caused strange errors like this because that .jar files you thought were on your classpath were getting their path names truncated so the Java VM cannot find the JAR's.
    Try putting xsu111.jar earlier in the list of JAR's and/or try shortening the classpath (perhaps by using SUBST'd drive letters or softlinks on Unix to shorten the path names).<HR></BLOCKQUOTE>
    Putting the xsu11.jar file towards the start of the path did not help.
    I have rewriten the entire bat file that creates the CLASSPATH and starts the server and things now seem to work. There must have been some error in the original bat file, that I just couldn't see.
    Anyway - I thank you for your help.
    null

  • Problem in importing oracle.xml.sql.query.*

    When i am importing this
    import oracle.xml.sql.query.*;
    it is giving me error that
    "package oracle.xml.sql.query.* does not exist".
    What Should i install or set .

    [from XmlRpc-Java]
    As a result, my XML
    is contained in a String instead of an InputStream.
    It is possible to convert a String to an InputStream using
    StringBufferInputStream, but this class is deprecated in favor of
    StringReader (as StringBufferInputStream does not properly convert
    characters into bytes).
    For the default HTTP transport, an InputStreamReader could be used to
    wrap the InputStream before calling parse().
    Ultimately, the InputStream is converted to an InputSource for use by
    the SAX parser. InputSource will accept a Reader as well.
    [from XmlRpc-Java]
    There should be a way to go from "getXMLString()" to "parse(Reader)" also. In the meantime I'm stuck.
    null

  • Error in oracle.xml.sql.query

    I am trying to write small piece of code as
    follows
    import java.sql.*;
    import java.math.*;
    import oracle.xml.sql.query.*;
    import oracle.jdbc.*;
    import oracle.jdbc.driver.*;
    Actual Code
    When i try to compile
    the java file it errors out on Package Oracle.xml.sql.query not found in import
    Pacakage oracle.jdbc.* not found
    Package oracle.jdbc.driver not found
    Is there any files to be installed.
    I installed default Enterprise edition of Oracle 8.1.7 on NT
    Please advise
    Thanks,
    Vidhya
    null

    Have you include classes12.jar/zip, xsu12.jar in your classpath?(assume using JDK 1.2.x)

  • Import oracle.xml.sql.query

    what file do I need to use this class?
    Thanks.

    oracle.xml.sql.query is a package.
    Please refer
    http://www.devx.com/xml/Article/32046

  • Class oracle.xml.sql.query.OracleXMLQuery not found in import

    I tried to perform load java using a non-sys user :
    loadjava -user user1/passwd -v -o -r Archive.java
    but encountered the following error:
    Errors in Archive:
    ORA-29535: source requires recompilation
    Archive:11: Class oracle.xml.sql.query.OracleXMLQuery not found in import.
    Info: 1 errors
    loadjava: 3 errors
    But if I use sys user I don't have any error:
    loadjava -user sys/manager -v -o -r Arachive.java
    initialization complete
    loading : Archive
    creating : Archive
    resolver :
    resolving: Archive
    Why is this so?
    ANy security setup that I missed?
    Thanks in advance.
    Note:
    my Archive.java file contains:
    // Core Java Classes
    import java.io.*;
    import java.sql.*;
    // Oracle Java classes
    import oracle.jdbc.*;
    import oracle.jdbc.driver.*;
    import oracle.xml.sql.query.OracleXMLQuery;
    null

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Azman Diron ([email protected]):
    I tried to perform load java using a non-sys user :
    loadjava -user user1/passwd -v -o -r Archive.java
    but encountered the following error:
    Errors in Archive:
    ORA-29535: source requires recompilation
    Archive:11: Class oracle.xml.sql.query.OracleXMLQuery not found in import.
    Info: 1 errors
    loadjava: 3 errors
    But if I use sys user I don't have any error:
    loadjava -user sys/manager -v -o -r Arachive.java
    initialization complete
    loading : Archive
    creating : Archive
    resolver :
    resolving: Archive
    Why is this so?
    ANy security setup that I missed?
    Thanks in advance.
    Note:
    my Archive.java file contains:
    // Core Java Classes
    import java.io.*;
    import java.sql.*;
    // Oracle Java classes
    import oracle.jdbc.*;
    import oracle.jdbc.driver.*;
    import oracle.xml.sql.query.OracleXMLQuery;
    <HR></BLOCKQUOTE>
    Managed to solve this problem.
    Drop all xml objects owned by sys and user1.
    Reload xml objcets for user1 with -force option.
    null

Maybe you are looking for

  • How to move tracks from one album to another in itunes library?

    I have imported an album from my 'Vuze Downloads' folder in my 'iTunes library' but it appears in the library as three seperate albums. How to i get all the tracks into one album as they were meant to be? Cheers

  • Updates makes Mac Mini slow

    Hello, After I installed the Sept. 15th updates, and the new itunes 8 updates, my mini is slow to restart. it takes almost 5 mins to restart. 1st comes a grey screen, then a light blue screen, and just sits there before the login screen finally comes

  • GOA + Local Contract distribution to R/3 in Extended Classic Scenario

    Dear SRM Gurus, System Information: SRM Server 5.5   EBP5.5 Technical Scenario: Extended Classic Scenario. Q1) We have created a Global Outline Agreement in EBP. We want this to be distributed to R/3. But when we click on distribute, it does not get

  • 9i DB and 9iAS

    Need help in setting up 9iDB and 9iAS 1.0.2.2.1 on the same box running solaris 8. My question is, can I run these two on the same box, if so how?

  • Pan HD still in SD project

    Hi all! How can i import a HD 1080i still into a SD project so i can pan it? When i do it FCP resize it... i need full imagem (larger then 768x576) so i can pan as i need! Thank you HBars