WebRowSet properties for Oracle 10g XML

//I am writing data into a database
//Clob field then useing a WebRowSet writing
//it as XML to the clob
ResultSet rs = statement.executeQuery();
WebRowSet webRowSet = new WebRowSetImpl();
webRowSet.setCommand(sql);
webRowSet.populate(rs);
// First add the base entry to the database
ReportResultDao rrDao = new ReportResultDao();
ReportResultVo rrVo = new ReportResultVo();
rrVo.setProcessRequestId(processRequest.getRequestId());
rrVo.setDescription("Report_UserListByRealmSecurityCode");
int reportResultId = rrDao.addReportResult(rrVo);
// Next read that entry back so that the CLOB can be inserted
rrVo = rrDao.getReportResult(reportResultId);
Clob results = rrVo.getResult();
// write the clob value
Writer clobWriter = new BufferedWriter(results.setCharacterStream(0L));
webRowSet.writeXml(clobWriter);
clobWriter.close();
//I then read the XMl but get an error
Clob clob = reportResult.getResult();
clobCharacterStream = new BufferedReader(clob.getCharacterStream());
webRowSet = new WebRowSetImpl();
webRowSet.readXml(clobCharacterStream);
// This is the error
     : XML-20220: (Fatal Error) Invalid InputSource.
// I validated the XML using an XML Validator tool
//and found the following flaws
<datasource><null /></datasource>
<table-name><null /></table-name>
<url><null /></url>
// I removed the <null /> string and re-validate
// and success with
<datasource></datasource>
<table-name></table-name>
<url></url>
//Now how do I do that so the row set produces the
//same thing???
//I tried the following
// before writing the xml I set the following
webRowSet.setDataSourceName(" "); // there was no setdataSource method
webRowSet.setTableName(" ");
webRowSet.setUrl(" ");
// and before reading I set
webRowSet.setDataSourceName(" "); // there was no setdataSource method
webRowSet.setTableName(" ");
webRowSet.setUrl(" ");
// Still I got error
     : XML-20220: (Fatal Error) Invalid InputSource.
// But this time when I validated I just got an reported flaw on
<datasource><null /></datasource>
// The url and table-name both accepted " "
Can anyone help me with this issue?
Edited by: user1814985 on Oct 23, 2008 6:18 AM

David
The decsion to prevent access to the filesystem was taken as part of the general process of hardening the database for security reasons.
I use XSL with includes in the following form without any problems
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:n1="http://www.w3.org/2001/XMLSchema" xmlns:r="http://xmlns.oracle.com/xdb/XDBResource.xsd" xmlns:xfiles="http://xmlns.oracle.com/xfiles" xmlns:xr="http://xmlns.oracle.com/xdb/XDBResource.xsd">
     <xsl:output version="1.0" encoding="utf-8" omit-xml-declaration="no" indent="no" media-type="text/html" method="html"/>
     <xsl:include href="/cabo/XSL/XFilesCommon.xsl"/>
     <xsl:variable name="reverseSort">

Similar Messages

  • VSS Agent for Oracle 10g ?

    Hi there,
    I have SAP NW2004s, Windows 2003 server 64bit, Oracle 10g
    4 partition with 1 hdd, C for OS, D for SAP application E for system and oracle logs+archived, F for only database files
    We are trying to get backup in extrinal HDD 3TB HDD... through Symantic exec backup utility ver. 12
    C and D drivers are backup fine, but sometime when server very busy and symantic start full backup for E and D drive database shutdown... sap instance is fine, but only DB instance is stoped
    We are not using Symantec Agent software, is there any other software can help for that for-exmaple VSS for oracle 10g... if yes, where may i get this software any link?
    Why we are not using BR tools:
    1 - as i maintion before when I select "E" drive which is all logs files located symantec stoped db instance
    2 - in case if i am taking backup from brtools full backup online + archived so its only take database backup + archived, not all others structure in case hard-drive failer, and data restore from symantec so its will be ok with C drive and D drive, but its nohting resotre for E and D
    when I try to restore from oracle brtools to restore its getting an error for missing structure in E
    so thats why I am looking only one solution either perfect symantec with online backup
    please give me some advised
    Thanks

    Hi,
    Please use the standard & reliable Backup/Restore methods for any DB, to avoid more headache while Backup/Restore Operations.
    Please refer [this thread|Re: Need some advise]. it will attend your most of questions. Some other alternatives (without using Backup agent) are mentioned there.
    If you use Backup Agent to perform any DB backup, then It will be reliable method to perform Backup/Restore operations of DB.
    With BR*tools u can also perform Non-Database Backup. Please refer [this link|http://help.sap.com/saphelp_NW04/helpdata/en/0c/cd271365debc42bef96ac7fd907787/frameset.htm] and other relative links.
    If you have configured the Backup Exec utility with Oracle agent on the DB server, then you can perform Online Backup by deselecting "Perform the backup offline" option withing that Oracle Backup Job properties.
    Regards,
    Bhavik G. Shroff

  • Pls send me oracle 10g xml desktop publisher ebook and software.

    can any body send me oracle 10g xml desktop publisher ebook and software.
    Thankin you in advance.

    Hi,
    It looks like it is trying to create an account for SAP and getting error. It's permission problem. You may want to continue installation with administration previliges.
    or try restart.
    Thanks,

  • Error while creating datasource userdsn for oracle 10g Errorcode (998)

    while creating datasource userdsn for oracle 10g i am getting error "The setup routines for the oracle in OraDb10g_home1 odbc driver could not be loaded due to system error code 998" please give reply soon

    Thanks for your reply , Steve.
    I noticed that there is a default datasouce on the EM with the following parameters:
    <data-source
              class="com.evermind.sql.DriverManagerDataSource"
              name="OracleDS"
              location="jdbc/OracleCoreDS"
              xa-location="jdbc/xa/OracleXADS"
              ejb-location="jdbc/OracleDS"
              connection-driver="oracle.jdbc.driver.OracleDriver"
              username="scott"
              password="->pwForScott"
              url="jdbc:oracle:thin:@localhost:1521:oracle"
              inactivity-timeout="30"
         />
    The location and xa-location attributes that I use for my "test" data source are the same as the default one. So, could this be the issue?
    What should be the values for location and xa-location attributes from my "test" data source?
    Any help will be greatly appreciated.
    Thanks,
    Shyam

  • Oracle gateway for Oracle 10g DB on Windows 64 bit server

    Is there any place that I can find Oracle dateway for Oracle 10g DB on Windows 64 bit server? I can only find Gateway for Oracle 11g on Windows 32 bit server. Please help me to identify this. Thanks.

    yingkuan:
    Thanks a lot. The link tells the details. It seems that Oracle has not release Gateway for Oracle database 10.2.0.x on Windows 64 bit server. Probably they don't do it.
    So under this circumstance, if I want to install Gateway (32 bit) on Oracle 10.2.0.3 DB on Windows 64 bit server for Teradata, I probably have to install Gateway software in another Oracle Home, then configure it right. Please give more advice on this. 32 bit Gateway will work for 64 bit database?

  • Long-term  retention backup strategy for Oracle 10g

    Hello,
    I need design a Archivelog, Level 0 and Level 1 long-term retention backup strategy for Oracle 10g, It must be based in Rman with tapes.
    ¿Somebody could tell me what it's the best option to configure long-term retention backups in Oracle?, "CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 1825 DAYS;" It's posibble ?
    Regards and thanks in advance

    Hello;
    RECOVERY WINDOW is an integer so yes its possible. Does it make sense?
    Later My bad, this is Oracle 11 only ( the gavinsoorma link ) . Getting harder and harder to think about 10. Don't think I would use RECOVERY WINDOW.
    I would let the tape backup system handle the retention of your rman backups.
    Using crosscheck and delete expired commands you can keep the catalog current with the available backups on tape.
    Oracle 10
    Keeping a Long-Term Backup: Example
    http://docs.oracle.com/cd/B19306_01/backup.102/b14191/rcmbackp.htm#i1006840
    http://web.njit.edu/info/oracle/DOC/backup.102/b14191/advmaint005.htm
    Oracle 11
    If you want to keep 5 years worth of backups I might just use KEEP specific date using the UNTIL TIME clause :
    keep until time 'sysdate+1825'More info :
    RMAN KEEP FOREVER, KEEP UNTIL TIME and FORCE commands
    http://gavinsoorma.com/2010/04/rman-keep-forever-keep-until-time-and-force-commands/
    Best Regards
    mseberg
    Edited by: mseberg on Dec 4, 2012 7:20 AM

  • Note 830576 - Parameter recommendations for Oracle 10g

    hi all DBA experts.
    I am not good familiar with Oracle database while i read a Note 830576 - Parameter recommendations for Oracle 10g. in which SAP General Recommendation:
    You should delete obsolete initialization parameters from the profile.
    To determine which obsolete parameters are currently set, proceed as follows:
    SQL> SELECT NAME FROM V$OBSOLETE_PARAMETER WHERE ISSPECIFIED = 'TRUE';
    when i execute above command then result is no rows selected
    while there are many parameters in above SAP Note which are already obsolete and not set in initSID.ora file.
    for exp.  the parameter OPTIMIZER_INDEX_COST_ADJ  is showing
    #### OPTIMIZER MODE
    #optimizer_index_cost_adj = 10
    as you know that this parameter is very important regarding System Performance.
    now please guide me . I have to set these parameter or no need while there is not showing any parameters against obsolete command.
    waiting you valuable reply.
    Regards,

    hi both,
    thanks for knowledge sharing with me other SDN users,
    Dear Orkun,
    Ok. At this stage, I can recommend you that apply what they have suggested,
    in the message. So, you already did a part of it by configuring
    Oracle parameters, already.
    SAP support sent me this file (PRD_Parameters)
    *** INFORMATION  1 ***
    *** INFORMATION  2 ***
    *** INFORMATION  3 ***
    *** INFORMATION  4 ***
    *** INFORMATION  5 ***
    *** INFORMATION  6 ***
    *** INFORMATION  7 ***
    *** INFORMATION  8 ***
    *** INFORMATION  9 ***
    *** INFORMATION 10 ***
    *** INFORMATION 11 ***
    _b_tree_bitmap_plans
    _fix_control (4728348)
    event (10753)
    event (38087)
    event (10183)
    optimizer_index_cost_adj
    star_transformation_enabled
    event (10027)
    event (10028)
    event (10411)
    event (10629)
    event (14532)
    _fix_control (5705630)
    _fix_control (5765456)
    _optimizer_mjc_enabled
    _sort_elimination_cost_ratio
    event (10091)
    event (10142)
    event (38068)
    event (38085)
    event (44951)
    parallel_execution_message_size
    parallel_threads_per_cpu
    query_rewrite_enabled
    log_archive_dest_1
    log_archive_format
    max_dump_file_size
    optimizer_features_enable
    log_archive_dest
    _push_join_union_view
    _cursor_features_enabled
    _first_spare_parameter
    event (10049)
    db_writer_processes
    parallel_max_servers
    db_cache_size
    pga_aggregate_target
    processes
    sessions
    dml_locks
    job_queue_processes
    log_checkpoint_interval
    remote_login_passwordfile
    sga_max_size
    shared_pool_reserved_size
    sort_area_retained_size
    sort_area_size
    statistics_level
    workarea_size_policy
    they only highlighted these following parameters from above
    **** INFORMATION  8 ***     DB Patchset: 10.2.0.4.0
    **** INFORMATION  9 ***     DB Mergefix: 0 (released before 2008-07-11)
    FYI... recently, i applied the Oracle Patches 10.2.0.4 in this sequence
    MS Windows x86-64 (64-bit)
    Patchset_10204_MSWIN-x86-64aa.bin
    Patchset_10204_MSWIN-x86-64ab.bin
    Patchset_10204_MSWIN-x86-64ac.bin
    OPatch
    OPatch_10205_Generic_v0.zip
    Generic (32-bit / 64-bit)
    p8350262_10204_Generic.zip
    p7592030_10204_WIN_GENERIC.zip
    p9254968_10204_WIN_GENERIC.zip
    10204_Patch44_MSWIN-x86-64.zip
    p9584028_102040_Generic.zip
    p9843740_10204_Generic.zip
    and please tell me , still i have to apply highlighted parameters or now no need.
    Regards,

  • Can't Create the ODBC connection for Oracle 10g

    Hi,
         I am working with Oracle 10g Database Release 2 in windows XP professional. I am trying to create an ODBC connection for oracle but become failure because its generating the following errors:
    system error code 998
    could not locate the setup or translator library
    Please help me how can I solve this problem and create the ODBC connection for oracle 10g database.
    Best Regards,

    mwz wrote:
    I am trying to create an ODBC connection for oracle but become failure because its generating the following errors:
    system error code 998
    could not locate the setup or translator libraryThe symptom described is typical of an incorrect system env PATH setting (used by the data source admin tool), compared to that of the Oracle Home (specifically, path $OH/bin). The odbc driver config routine will search directories listed in PATH variable for necessary libraries (Client dll's). If some library fails to load (from e.g. oraoci*.dll or oraclient10.dll) it will probably error out, as in your case.
    Are you creating the odbc dsn on the databse server host or on some other machine? I.e. are you using the db host as a client or not?

  • Where can I download the ODBC driver for Oracle 10g XE?

    where can I download the ODBC driver for Oracle 10g XE?
    I need the ODBC drivers for windows 7 x64, I installed Oracle Database 10g Express Edition, the use and connects with RazorSQL well, I just want to make a connection THROUGH ConnectionString language using the ODBC driver

    already checked these http://www.connectionstrings.com/oracle, I need Help Please.

  • SAP Note 830576 - Parameter recommendations for Oracle 10g

    As per SAP Note 830576 - Parameter recommendations for Oracle 10g, I have tried to change the value for
    parameter "db_file_multiblock_read_count".
    In sql prompt it shows:
    SQL> show parameter DB_FILE_MULTIBLOCK_READ_COUNT
    NAME                                 TYPE        VALUE
    db_file_multiblock_read_count        integer     128
    and in brtools it shows:
    58 - db_file_multiblock_read_count      both     no      *       yes   128
    But  I got the following error, when i tried to set it null
    1 * Parameter description (desc) ..... [db block to be read each IO]
    2 * Parameter type (type) ............ [integer]
    3 * Current parameter value (parval) . [128]
    4 * Value in spfile (spfval) ......... []
    5 # New parameter value (value) ...... [null]
    6 - Scope for new value (scope) ...... [both]
    7 # Database instance (instance) ..... []
    8 ~ Comment on update (comment) ...... []
    9 - SQL command (command) ............ [alter system reset db_file_multiblock_read_count scope = spfile sid = '*'; alter system reset db_file_multiblock_read_count scope = memory sid = 'MBD']
    BR0662I Enter your choice:
    c
    BR0280I BRSPACE time stamp: 2008-08-14 18.19.22
    BR0663I Your choice: 'c'
    BR0259I Program execution will be continued...
    BR0280I BRSPACE time stamp: 2008-08-14 18.19.23
    BR0301E SQL error -32010 at location BrSqlExecute-1, SQL statement:
    '/* BRSPACE / alter system reset db_file_multiblock_read_count scope = spfile sid = '''
    ORA-32010: cannot find entry to delete in SPFILE
    BR1017E Execution of SQL statement 'alter system reset db_file_multiblock_read_count scope = spfile sid = '*'; alter system reset db_file_multiblock_read_count scope = memory sid = 'MBD'' failed
    BR0669I Cannot continue due to previous warnings or errors - you can go back to repeat the last action
    BR0280I BRSPACE time stamp: 2008-08-14 18.19.23
    BR0671I Enter 'b[ack]' to go back, 's[top]' to abort:
    Kinldy let me know, what could me wrong.

    Hi Markus,
    As per your suggestion we have downloaded the files from UCLIB_3-20000978.SAR. But now getting the error as
    sapccmsr -DCCMS -j2ee pf=profile value
    INFO: use SAPLOCALHOST hostname
    INFO: CCMS agent sapccmsr working directory is /usr/sap/ccms/XX1_00/sapccmsr
    INFO: CCMS agent sapccmsr config file is /usr/sap/ccms/XX1_00/sapccmsr/csmconf
    INFO: Central Monitoring System is [XX1]. (found in config file)
    INFO: additional Central Monitoring System is [AS2]. (found in config file)
    ERROR: Cannot open Monitoring Segment 0 rtc = 245
    Last reported error: [249]  CCMS monitoring segment has wrong EYE CATCH. It seems to be created as non-unicode segment.
    This program runs as unicode. Please use non-unicode version
    Please suggest
    Thanks,
    Anu

  • Should I go for Oracle 10g OCA/OCP or 11g OCA/OCP Certification?

    Hi all,
    I am lil bit confuse to decide about my oracle core dba certification.
    Please help me to know, as per the present requirements of the business organizations.
    ***Should I go for Oracle 10g OCA/OCP or 11g OCA/OCP Certification?***
    Hope u guys answer me earliest.
    Thanks & Regards,

    Most likely, it doesn't matter too much. I doubt that most employers are terribly concerned with what recent version of Oracle you have a certification on.
    That said, if it matters
    - What does your organization use? What are their plans to upgrade? If your company still uses 9.2 primarily and has plans to upgrade to 10.2 this year, you're probably better off with a 10g certification. If your company is already running mostly 11.2, you're probably better off with an 11g certification.
    - What do most employers in your particular part of the world tend to use? What do job postings in your particular part of the world generally list?
    Justin

  • New features for oracle 10g DBA

    hi all,
    i want to download new features for oracle 10g dba in free, but i cant found it free.so if somebody know anylink which provide it free or if somebody have it.plz let me know.i need it on urgent basis.
    Ihsan DBA from Pak

    http://www.oracle.com/pls/db102/to_toc?pathname=server.102%2Fb14214%2Ftoc.htm&remark=portal+%28Getting+Started%29
    Could you not download from here?

  • PL/SQL New Features for Oracle 10g

    Hi,
    If anybody asks what are the new features in PL/SQL for Oracle 10g version, what would be the answer?
    Thanks,
    Mrinmoy

    user3001930 wrote:
    Hi,
    If anybody asks what are the new features in PL/SQL for Oracle 10g version, what would be the answer?
    Thanks,
    MrinmoyI would say: Who cares about 10g features nowadays. And they I would tell them about the new 11g features (that I remember).

  • Golden Gate 32bit for Oracle 10g and 11g

    Does oracle released Golden Gate 32bit for Oracle 10g and 11g, i could not able to find out 32bit http://edelivery.oracle.com or OTN.
    Thanks

    never mind, i was able to download from e-delivery.

  • SUNWsprox package with solaris 10 for Oracle 10g Installation....

    Hi
    I am in problem with a Solaris 10 package "SUNWsprox - Sun workshop Bundled 64-bit make library" for Oracle 10g Installation. I checked the CDs (In the /.../products) but did't found this packege. Can any one tell me please can I go without this package or where I found this package...Please Its very URGENT for me....
    Thanks
    Mohammed Tanvir

    Hi...
    I had the same issue, but found out that the SUNWsprox was replaced by SUNWsprot. The OUI 10.1 Release 2 will 'pass' as the doco in the Oracle quick install guide is wrong (as well as 10g Application Server).
    The only way to lay a 10g Release database on Solaris 10 is to lay the software doen only, then cd in the .../bin directory, step your Rdbms ORACLE_HOME, ORACLE_SID, LD_LIBRARY_PATH and of course the DISPLAY (is X-windowing into the server), and run dbca manually. Oracle 10g is a bit buggy.
    Roger

Maybe you are looking for

  • Installation prob Essbase Administration Services 9.3.1 on HP-UX 11.11

    Hello, I'm having problems while installing the Essbase Administration Console 9.3.1 on HP-UX 11.11. At the last step, I have the following messages in the Unix console: ...........May 29, 2008 12:29:37 PM com.hyperion.cis.ExpandArchives execute SEVE

  • PDF Layers lost while importing to Illustrator

    We are using Adobe PDF Library to create PDF documents. The layers created are visible from Acrobat Viewer. However the original layers in PDF are not maintained while importing the PDF in Illustrator (CS2 and CS3). Is this not supported? If not any

  • SQL 2005 mirroring : Abrupt Automatic failover

    hi All,  We have a SQL 2005 SP4 mirroring  setup of 15 DBs with Principal(P), Mirror(M) & Witness (W). We have now seen abrupt DB failovers for some of the databases (yest it was 4 out of 15) from P to M. Errors were seen on Witness server as follows

  • Change default coding (Unicode) to other languages (T. Chinese-Big5)

    Is there any way to change the default coding in Mac? I have difficulty to open the MS Word doc. which is coded by Big5 instead of Unicode. Pls advise. Thx.

  • Like a BAD BAD joke! - PS tools removed from Bridge CC 2014

    This is like a BAD BAD joke, sitting on about 60 PSD files with about 2 gig each ... ned to show them to a client as JPG ... so now i have to open EVERY single PSD in Photoshop and save it as JPG.... GREAT. I urge adobe on bringing back the PS tools