WEBUTIL: ora-305501 when running howto_ole.html

When running OTN demo file http://otn.oracle.com/products/forms/htdocs/webutil/howto_ole.html Word gets open and text replaced but SaveAs command is not executed. Instead. Error ora-305501 is displayed in the forms status bar.
I have only changed the name of the file to open.
This is my code from OTN demo:
DECLARE
app CLIENT_OLE2.OBJ_TYPE;
docs CLIENT_OLE2.OBJ_TYPE;
doc CLIENT_OLE2.OBJ_TYPE;
selection CLIENT_OLE2.OBJ_TYPE;
args CLIENT_OLE2.LIST_TYPE;
BEGIN
-- create a new document
app := CLIENT_OLE2.CREATE_OBJ('Word.Application');
CLIENT_OLE2.SET_PROPERTY(app,'Visible',1);
docs := CLIENT_OLE2.GET_OBJ_PROPERTY(app, 'Documents');
doc := CLIENT_OLE2.INVOKE_OBJ(docs, 'add');
selection := CLIENT_OLE2.GET_OBJ_PROPERTY(app, 'Selection');
-- insert data into new document from long item
CLIENT_OLE2.SET_PROPERTY(selection, 'Text', 'Texto añadido');
-- save document as example.doc
args := OLE2.CREATE_ARGLIST;
CLIENT_OLE2.ADD_ARG(args, 'c:\pepe.doc');
CLIENT_OLE2.INVOKE(doc, 'SaveAs', args);
CLIENT_OLE2.DESTROY_ARGLIST(args);
-- close example.doc
args := CLIENT_OLE2.CREATE_ARGLIST;
CLIENT_OLE2.ADD_ARG(args, 0);
CLIENT_OLE2.INVOKE(doc, 'Close', args);
CLIENT_OLE2.DESTROY_ARGLIST(args);
CLIENT_OLE2.RELEASE_OBJ(selection);
CLIENT_OLE2.RELEASE_OBJ(doc);
CLIENT_OLE2.RELEASE_OBJ(docs);
-- exit MSWord
CLIENT_OLE2.INVOKE(app,'Quit');
exception
when others then
message(sqlcode);
message(sqlerrm);
message('Ha habido un error');
END;

This is the output I have got in my Java Console.
I hope this will help you.
JInitiator: Versión 1.3.1.9
Usar versión JRE 1.3.1.9 Java HotSpot(TM) Client VM
Directorio local del usuario = C:\Documents and Settings\lobato
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
q: hide console
s: dump system properties
t: dump thread list
x: clear classloader cache
0-5: set trace level to <n>
RegisterWebUtil - Loading Webutil Version 1.0.2 Beta
connectMode=HTTP, native.
La versión del applet Forms es: 902110
2003-ago-29 08:19:04.772 WUI[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
2003-ago-29 08:19:04.782 WUI[VBeanCommon.getIPAddress()] 192.168.0.58
2003-ago-29 08:19:04.802 WUF[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
2003-ago-29 08:19:04.812 WUF[VBeanCommon.getIPAddress()] 192.168.0.58
2003-ago-29 08:19:04.832 WUH[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
2003-ago-29 08:19:04.842 WUH[VBeanCommon.getIPAddress()] 192.168.0.58
2003-ago-29 08:19:04.862 WUS[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
2003-ago-29 08:19:04.872 WUS[VBeanCommon.getIPAddress()] 192.168.0.58
2003-ago-29 08:19:04.882 WUT[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
2003-ago-29 08:19:04.902 WUT[VBeanCommon.getIPAddress()] 192.168.0.58
2003-ago-29 08:19:04.922 WUO[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
2003-ago-29 08:19:04.932 WUO[VBeanCommon.getIPAddress()] 192.168.0.58
2003-ago-29 08:19:04.952 WUL[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
2003-ago-29 08:19:04.962 WUL[VBeanCommon.getIPAddress()] 192.168.0.58
2003-ago-29 08:19:04.972 WUB[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
2003-ago-29 08:19:04.992 WUB[VBeanCommon.getIPAddress()] 192.168.0.58
2003-ago-29 08:19:20.224 WUT[setProperty()] Setting property WUC_GET_LOCAL_PROPERTY to syslib.jacob.dll
2003-ago-29 08:19:20.254 WUT[getProperty()] Getting property WUC_GET_LOCAL_PROPERTY
2003-ago-29 08:19:20.284 WUT[loadSettings()] Local properties file loaded
2003-ago-29 08:19:20.294 WUT[getProperty()] Value of WUC_GET_LOCAL_PROPERTY=1.0
2003-ago-29 08:19:20.315 WUT[setProperty()] Setting property WUC_GET_LOCAL_PROPERTY to syslib.JNIsharedstubs.dll
2003-ago-29 08:19:20.335 WUT[getProperty()] Getting property WUC_GET_LOCAL_PROPERTY
2003-ago-29 08:19:20.345 WUT[getProperty()] Value of WUC_GET_LOCAL_PROPERTY=1.0
2003-ago-29 08:19:20.365 WUT[setProperty()] Setting property WUC_GET_LOCAL_PROPERTY to syslib.d2kwut60.dll
2003-ago-29 08:19:20.385 WUT[getProperty()] Getting property WUC_GET_LOCAL_PROPERTY
2003-ago-29 08:19:20.395 WUT[getProperty()] Value of WUC_GET_LOCAL_PROPERTY=1.0
2003-ago-29 08:19:26.23 WUO[setProperty()] Setting property WUO_OLE2_OBJNAME to Word.Application
2003-ago-29 08:19:26.43 WUO[getProperty()] Getting property WUO_OLE2_CREATE_OBJ
2003-ago-29 08:19:28.196 WUO[getProperty()] Value of WUO_OLE2_CREATE_OBJ=1
2003-ago-29 08:19:28.216 WUO[setProperty()] Setting property WUO_OLE2_HANDLE to 1
2003-ago-29 08:19:28.266 WUO[setProperty()] Setting property WUO_OLE2_PROPNAME to Visible
2003-ago-29 08:19:28.286 WUO[setProperty()] Setting property WUO_OLE2_SET_PROPERTY to N1
2003-ago-29 08:19:28.556 WUO[setProperty()] Setting property WUO_OLE2_HANDLE to 1
2003-ago-29 08:19:28.707 WUO[setProperty()] Setting property WUO_OLE2_PROPNAME to Documents
2003-ago-29 08:19:28.727 WUO[getProperty()] Getting property WUO_OLE2_GET_OBJ_PROPERTY
2003-ago-29 08:19:28.767 WUO[getProperty()] Value of WUO_OLE2_GET_OBJ_PROPERTY=2
2003-ago-29 08:19:28.787 WUO[getProperty()] Getting property WUO_OLE2_CREATE_ARGLIST
2003-ago-29 08:19:28.787 WUO[getProperty()] Value of WUO_OLE2_CREATE_ARGLIST=3
2003-ago-29 08:19:28.807 WUO[setProperty()] Setting property WUO_OLE2_HANDLE to 3
2003-ago-29 08:19:28.827 WUO[setProperty()] Setting property WUO_OLE2_HANDLE to 2
2003-ago-29 08:19:28.837 WUO[setProperty()] Setting property WUO_OLE2_PROPNAME to add
2003-ago-29 08:19:28.857 WUO[getProperty()] Getting property WUO_OLE2_INVOKE_OBJ
2003-ago-29 08:19:29.908 WUO[getProperty()] Value of WUO_OLE2_INVOKE_OBJ=4
2003-ago-29 08:19:29.928 WUO[setProperty()] Setting property WUO_OLE2_HANDLE to 1
2003-ago-29 08:19:29.978 WUO[setProperty()] Setting property WUO_OLE2_PROPNAME to Selection
2003-ago-29 08:19:29.998 WUO[getProperty()] Getting property WUO_OLE2_GET_OBJ_PROPERTY
2003-ago-29 08:19:30.49 WUO[getProperty()] Value of WUO_OLE2_GET_OBJ_PROPERTY=5
2003-ago-29 08:19:30.59 WUO[setProperty()] Setting property WUO_OLE2_HANDLE to 5
2003-ago-29 08:19:30.79 WUO[setProperty()] Setting property WUO_OLE2_PROPNAME to Text
2003-ago-29 08:19:30.99 WUO[setProperty()] Setting property WUO_OLE2_SET_PROPERTY to STexto añadido

Similar Messages

  • Ora-3113 when running sql in sqlplus mts. dedicated works fine

    when i try to execute a simple query (return 1 row), from sqlplus (in the server database) by shared connection, i recive ora-3113. by dedicated conection it works fine. environment datas : server side (windows 2003 server; 10.2.0.1).
    part of my trace file :
    nsprecv: normal exit
    nsrdr: got NSPTDA packet
    nsrdr: NSPTDA flags: 0x40
    nsrdr: normal exit
    nsdo: entry
    nsdo: cid=0, opcode=85, bl=2001, what=0, uflgs=0x0, cflgs=0x1
    nsdo: nsctx: state=6, flg=0x620d, mvd=0
    nsdo: gtn=127, gtc=127, ptn=10, ptc=2011
    nserror: entry
    nsdo: error exit
    nsdo: nsctxrnk=0
    nsdo: error exit
    nioqer: entry
    nioqer: incoming err = 12151
    nioqce: entry
    nioqce: exit
    nioqer: returning err = 3113
    nioqer: exit
    nioqrc: exit
    nioqbr: entry
    nioqbr: state = normal (0)
    nioqsm: entry
    nioqsm: Sending break packet (1)...
    nsdo: entry
    nsdo: cid=0, opcode=67, bl=1, what=17, uflgs=0x100, cflgs=0x3
    nsdo: rank=64, nsctxrnk=0
    nsdo: nsctx: state=3, flg=0x420d, mvd=0
    nsdo: nsctxrnk=0
    nsdo: error exit
    nioqsm: send-break: failed to send break...
    nioqper: error from send-marker
    nioqper: nr err code: 0
    nioqper: ns main err code: 12583
    nioqper: ns (2) err code: 0
    nioqper: nt main err code: 0
    nioqper: nt (2) err code: 0
    nioqper: nt OS err code: 0
    nioqsm: exit
    nioqer: entry
    nioqer: incoming err = 12152
    nioqce: entry
    nioqce: exit
    nioqer: returning err = 3113
    nioqer: exit
    nioqbr: returning 3113
    nioqbr: exit
    nioqds: entry
    nioqds: disconnecting...
    thanks

    Thread continued at -->
    ora-3113 when running sql in sqlplus mts. dedicated works fine

  • Getting ora-0600 when running PROFLOAD.sql

    Hi,
    I was getting ORA-0600 when running PROFLOAD.sql script for DBMS_PROFILER (from SYS account). I am running Oracle 9i personal edition on win98. Did anybody had the same problem??

    Here is the full dump..
    QL> @profload
    Package created.
    Grant succeeded.
    Synonym created.
    create or replace library sys.dbms_profiler_lib wrapped
    ERROR at line 1:
    ORA-00600: internal error code, arguments: [16201], [], [], [], [], [], [], []
    create or replace
    ERROR at line 1:
    ORA-00600: internal error code, arguments: [16201], [], [], [], [], [], [], []
    Testing for correct installation
    PACKAGE BODY sys.DBMS_PROFILER - missing or invalid
    PL/SQL procedure successfully completed.

  • The "Next" button is grayed out on quiz slides when running in HTML 5 Chrome browser and iPad

    Hi,
    Has anyone run into this problem for Captivate 8? The "Next" button is grayed out on quiz slides when running in HTML 5 Chrome browser and iPad. The Next button shows in IE/Flash mode.
    Thanks in advance for providing your help!
    Zhuoran.

    Thank you Rod.... I changed the option to "Required - User must take the quiz to continue." Now the next is working .
    Thank you for pointing the right direction. But one quick question.. will the above setting affect my assessment? I have set the pass percentage to 100%...
    My next question - I have a open course menu (TOC). If the learner clicks the Knowledge check page, the knowledge check page is visible, but if you click any other page from knowledge check, it is not going...... by default, it takes to the next page. From that page, you can click any other page... IS this also related to the above option .. pls let me know..

  • ORA -04062 when running forms aginst a different schema

    Hello,
    I am getting this error (ORA -04062 signature of 'procedure' has been changed)when I try to run my form aginst my test- schema (different from my development schema). I get rid of the error if I compile the form against the test schema. In the production environment I have to run this form against multiple schemas, so recompilation is not a possible solution.
    Has anybody else come across this problem.
    null

    Thanks John for your reply !
    I think my problem is close to the second thing you mention as a possible cause. I found out that I had used a parameter of type table%ROWTYPE in call to a pacakged procedure. When I defined a "TYPE MyRec IS RECORD" record type in my pacakge specification and used that as the type for the parameter my form seems to work against my test schema without recompilation. Unfortunately the table is pretty large so my package specification does not look so neat anymore. And I lost the dynamics associated with the %ROWTYPE attribute.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by John Alexander ([email protected]):
    That's a well-known bug. Its worse with a v7 database, but still can occur with 8/8i.
    A couple of things to look for:
    1) REMOTE_DEPENDENCIES_MODE is SIGNATURE instead of TIMESTAMP in init.ora.
    2) Forms that call stored procedures with a large parameter list (about 55 or more) can get a run-time error ORA-4062 if running on a different schema than where it was compiled.
    3) You can also hit a snag if you are calling a dbms_XX package within the form. Instead, call it within a db procedure, which you can call from the form.
    John Alexander
    St. Petersburg, FL www.SummitSoftwareDesign.com <HR></BLOCKQUOTE>
    null

  • ORA-01816 when running with Oracle Instant Client

    good morning
    we are running the same SQL script on 2 computers.
    - native system with DB
    - via Oracle Instant client
    when running via the instant client i get the following error.
    ( select to_char(to_date('1970-01-01') + "DATE" / 86400000, 'YYYY-MM-DD') "CD", logical_name
    ERROR at line 2:
    ORA-01861: literal does not match format string
    thanks for any hint

    It probably works on one and not the other because you have set the NLS_DATE_FORMAT for one system to match the format of the string you are passing in, so Oracle knows how to do the implicit conversion.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Runtime error ora-12703 when running utl_mail

    hello,
    I call a procedure through push button to use UTL_MAIL.send(..) and I got error ora-12703.
    There is no error during compilation.
    For your info, I manage to execute the same code on stored procedure using TOAD and I received the email sent using TOAD and telnet from my local.
    For info:
    Forms developer version:
    Forms [32 Bit] Version 10.1.2.0.2 (Production)
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    procedure:
    PROCEDURE test_email IS
    BEGIN
    UTL_MAIL.send (
    sender => '[email protected]',
    recipients => '[email protected]',
    cc => '[email protected]',
    bcc => '[email protected]',
    subject => 'Test',
    MESSAGE => 'Hello World',
    mime_type => 'text; charset=us-ascii',
    priority => 3
    END;
    Could anyone please help me on this.
    Regards,
    Dayang

    Hi All,
    I tried another function that use utl_smtp to send email.
    Again I could recieve email when I execute the function in TOAD but got error ora-12703 when I ran using forms.
    When I ran the form, only "debug 1st" apear, then after that it returned error ora-12703.
    Function:
    FUNCTION SEND_MAIL
    (pIssuer IN VARCHAR2,
    pReceiver IN VARCHAR2,
    pSender IN VARCHAR2,
    pSubject IN VARCHAR2,
    pMessage IN VARCHAR2) RETURN VARCHAR2 IS
    c utl_smtp.connection;
    respuesta utl_smtp.reply;
    pServer VARCHAR2(50) := '10.0.3.79';
    CRLF CHAR(2) := CHR(13) || CHR(10);
    BEGIN
    message('debug 1st');
    -- Abre la conexión al Server de correo
    c := utl_smtp.open_connection(pServer);
    message('debug2nd');
    respuesta := utl_smtp.helo(c, pServer);
    -- Inicia el Issuer del correo.
    respuesta := utl_smtp.mail(c, pSender);
    -- Inicia el Receiver
    respuesta := utl_smtp.rcpt(c, pReceiver);
    respuesta := utl_smtp.open_data(c);
    -- Escribe la cabecera del e-mail
    utl_smtp.write_data(c, 'From: ' || pIssuer || CRLF);
    utl_smtp.write_data(c, 'To: ' || pReceiver || CRLF);
    -- Escribe el Subject
    utl_smtp.write_data(c, 'Subject: ' || pSubject || CRLF);
    -- Escribe el texto del Message.
    utl_smtp.write_data(c, CRLF || pMessage);
    utl_smtp.write_data(c, CRLF || '.');
    respuesta := utl_smtp.close_data(c);
    -- Cierra la conexión
    respuesta := utl_smtp.quit(c);
    RETURN '0';
    EXCEPTION
    WHEN utl_smtp.transient_error OR utl_smtp.permanent_error THEN
    utl_smtp.quit(c);
    RETURN sqlerrm;
    --raise_application_error(-20000,
    -- 'El envío del email ha fallado devolviendo el siguiente error: ' || sqlerrm);
    END;
    Regards,
    Dayang

  • ORA-44356 when running report from Oracle Application Server 10g

    All,
    We have some reports that we developed using Reports Builder 10g. We use a few program units that run with every record that use the exec_sql package to run dynamic sql in a remote database. Everything runs fine when we test the reports in Reports Builder. After we compile the reports into the .rep format and place them on our Oracle Application Server 10g portal instance, we are running into the subject error when we try to run the report from the website. From the research that I've done, it seems that this error has to do with the use of exec_sql, but there is not too much info on the web regarding this error number. Running a trace when running the report in Reports Builder doesn't show any errors, and to further complicate things, this error only occurs on some reports...others that use the exec_sql package work fine.
    Does anyone have any ideas as to why this might be happening?
    Thanks for your help,
    Tom

    Nothing is different between the reports in the exec_sql section. The strange part is that the reports will bomb out seemingly at random, at different times, and during the execution of different program units. I was able to find a work-around using DB Links, but I'd rather not use the DB Link if I can avoid it.

  • Getting ORA-06508 when running 6i form in 10g

    hi,
    I am upgrading my forms from 6i to 10g. I have created the following directory structure on my system.
    c:\old_system\<module_name>\<forms60> --- All FMBs and FMXs
    c:\old_system\<module_name>\<lib> --- All libraries
    c:\old_system\<module_name>\<reports60> ---All Reports
    c:\10g_upgrade\<module_name>\<forms60> --- All FMBs and FMXs
    c:\10g_upgrade\<module_name>\<lib> --- All libraries
    c:\10g_upgrade\<module_name>\<reports60> ---All Reports
    i have edited the registery entry for
    for forms6i
    Forms60_PATH --- c:\old_system\<module_name>\<lib>
    for forms10g
    Forms_PATH -- c:\10g_upgrade\<module_name>\<lib>
    I have two template forms:
    1. TMXSTAND.FMB
    2. PPSSTAND.FMB inherits TMXSTAND.FMB
    when i run the FPPS003.FMB then it gives this error.
    ON-ERROR raised an unhandled exception ORA-06508.
    Please suggest where is the problem.
    Thanks.
    null

    I have given the proper path of the library folder in Forms_Path. Still I am getting this error...
    Is this error because of having both the versions of forms (6i and 10g)?
    Message was edited by:
    gammit

  • ORA-27092 when running startsap

    Hi All,
    We have a weird one. Following a reboot of out AIX 6.1 box, we are unable to start SAP as it fails when starting the database:
    Caused by: java.sql.SQLException: ORA-01116: error in opening database file 5
    ORA-01110: data file 5: '/oracle/EPD/sapdata4/sr3db_2/sr3db.data2'
    ORA-27092: size of file exceeds file size limit of the process
    Additional information: 131071
    Additional information: 256001
    Now, a few points that make this an odd issue.
    sidadm has unlimited ulimits on this box:
    time(seconds)        unlimited
    file(blocks)         unlimited
    data(kbytes)         unlimited
    stack(kbytes)        unlimited
    memory(kbytes)       unlimited
    coredump(blocks)     unlimited
    nofiles(descriptors) unlimited
    threads(per process) unlimited
    processes(per user)  unlimited
    And with the SIDADM user, I can run SQLplus and start/stop the database without issue. However, SAP is not startable for the reason above and an R3trans -d run returns the same error code.
    Any thoughts? Thanks!

    Dear All,
    I facing same error which is generated from DB13 only (not command prompt). the problem is stated after system is shutdown abnormal. after restarted, these error always generated.
    10.01.2012     16:19:47     Job started
    10.01.2012     16:19:47     Step 001 started (program RSDBAJOB, variant &0000000000998, user ID JOHNMAR)
    10.01.2012     16:19:47     Execute logical command BRCONNECT On host sapdev
    10.01.2012     16:19:47     Parameters: -u / -jid CHECK20120110161947 -c -f check
    10.01.2012     16:19:47     BR0801I BRCONNECT 7.20 (16)
    10.01.2012     16:19:47     BR0805I Start of BRCONNECT processing: cehqcljn.chk 2012-01-10 16.19.47
    10.01.2012     16:19:47     BR0484I BRCONNECT log file: /oracle/DEV/sapcheck/cehqcljn.chk
    10.01.2012     16:19:47     BR0477I Oracle pfile /oracle/DEV/102_64/dbs/initDEV.ora created from spfile /oracle/DEV/102_64/dbs/spfileDEV.ora
    10.01.2012     16:19:47     BR0280I BRCONNECT time stamp: 2012-01-10 16.19.47
    10.01.2012     16:19:47     BR0301E SQL error -1116 at location BrLicCheck-12, SQL statement:
    10.01.2012     16:19:47     'SELECT MAX(SYSTEMNAME), MAX(SYSID) FROM SAP_MLICHECK WHERE EXPIRATION_DATE = (SELECT MAX(EXPIRATION_DATE) FROM SAP_MLICHECK)'
    10.01.2012     16:19:47     ORA-01116: error in opening database file 17
    10.01.2012     16:19:47     ORA-01110: data file 17: '/oracle/DEV/sapdata2/sr3_14/sr3.data14'
    10.01.2012     16:19:47     ORA-27092: size of file exceeds file size limit of the process
    10.01.2012     16:19:47     Additional information: 262143
    10.01.2012     16:19:47     Additional information: 453121
    10.01.2012     16:19:47     BR0280I BRCONNECT time stamp: 2012-01-10 16.19.47
    10.01.2012     16:19:47     BR0301W SQL error -1116 at location brc_dblog_open-1, SQL statement:
    10.01.2012     16:19:47     'INSERT INTO SAP_SDBAH (BEG, FUNCT, SYSID, OBJ, RC, ENDE, ACTID, LINE) VALUES ('20120110161947', 'chk', 'DEV', 'DATABASE', '9999
    10.01.2012     16:19:47     ORA-01116: error in opening database file 34
    10.01.2012     16:19:47     ORA-01110: data file 34: '/oracle/DEV/sapdata2/sr3_31/sr3.data31'
    10.01.2012     16:19:47     ORA-27092: size of file exceeds file size limit of the process
    10.01.2012     16:19:47     Additional information: 262143
    10.01.2012     16:19:47     Additional information: 706561
    10.01.2012     16:19:47     BR0324W Insertion of database log header failed
    10.01.2012     16:19:47     
    10.01.2012     16:19:47     BR0806I End of BRCONNECT processing: cehqcljn.chk2012-01-10 16.19.47
    10.01.2012     16:19:47     BR0280I BRCONNECT time stamp: 2012-01-10 16.19.47
    10.01.2012     16:19:47     BR0804I BRCONNECT terminated with errors
    10.01.2012     16:19:47     External program terminated with exit code 3
    10.01.2012     16:19:47     BRCONNECT returned error status E
    10.01.2012     16:19:47     Job finished
    You may need to check oracle metalink . this below solution may be helpful but it' s working for me.
    1. stopsap and all sap processes
    2. delete all things in /tmp
    3. check your user and group <sid>adm, ora<sid>
    Ex:
    sapsys:  devadm,sapadm,daaadm
    dba:        :oradev,devadm
    oper:      oradev,devadm
    4. change /etc/security/limits:
    default:
            fsize = 2097151
            core = 2097151
            cpu = -1
            data = 262144
            rss = 65536
            stack = 65536
            nofiles = 32000
    root:
            fsize = -1
            core = -1
            cpu = -1
            data = -1
            rss = -1
      pconsole:
            stack_hard = 131072
            data = 1280000
            data_hard = 1280000
    esaadmin:
            stack = 393216
            stack_hard = 393216
    devadm:
            fsize = -1
            data = -1
            stack = -1
            core = -1
            rss = -1
            nofiles = -1
            threads = -1
            nproc = -1
            cpu_hard = -1
            fsize_hard = -1
            data_hard = -1
            stack_hard = -1
            stack = -1
            nofiles = -1
            threads_hard = -1
            nproc_hard = -1
    oradev:
            fsize = -1
            data = -1
            stack = -1
            core = -1
            rss = -1
            nofiles = -1
            threads = -1
            nproc = -1
            cpu_hard = -1
            fsize_hard = -1
            data_hard = -1
            stack_hard = -1
            core_hard = 2097151
            rss_hard = -1
            nofiles_hard = -1
            threads_hard = -1
            nproc_hard = -1
    5. startsap and try DB13 again
    Good luck

  • ORA-07445 WHEN RUNNING XMLTYPE

    HI ALL
    I hit an ora-07445 error when I running the below SQL.  BUT if I repleace the xmltyp character strings from a physical table(means I input the xml strings into a xmltable), this SQL was working.
    anyone hit this issue before??
    SELECT * FORM TEST
    WHERE WLOT_ID IN 
    (SELECT wlot_id
      FROM opto_admin.wip_lot_attrs
      WHERE sla_attr_nr = 1073 AND wla_attr_value IN
      (SELECT val FROM XMLTABLE('/Xml/Spfi' PASSING XMLTYPE('<Xml>'||'<Spfi Id="TECHNIC" /><Spfi Id="WELNEW" />'||'</Xml>') COLUMNS val VARCHAR2(20) PATH '@Id'))

    Mentioning the database version would be nice (all digits).
    That said ORA-07445 is a mayor software error, so I guess that if you really want some advice you should create a Service Request with http://support.oracle.com

  • ORA-12705 when running application what was linked statically

    I am trying to link our application statically, which is ProC and Oci application, compiled with oracle 9.2.0.6.
    I am compiling on HP-UX 11.00.
    I used the static linkage of oracle's sample1.pc, to see which libraries are taken by oracle, and I got the following:
    -lclntst9 -lnbeq9 -lnhost9 -lnus9 -lnldap9 -lldapclnt9 -lnsslb9 -lnoname9 -lntcp9 -lntcps9 -l:libcl.sl -l:librt.sl -lpthread -l:libnss_dns.1 -l:libdld.sl -lm -lpthread -lpthread
    After linking my application with the following libraries, I try to run it. I didn’t supply my application ORA_NLS33. NLS_CHARACTERSET of the database I am trying to connect is WE8ISO8859P1.
    When I tried running it, I got:
    ORA-12705: invalid or unknown NLS parameter value specified
    Therefore I tried to add the nls libraries, -lnls9 -lsnls9 -lunls9, to the static compilation, but when I try to rerun my application, I still got the same error.
    Only after applying my application ORA_NLS33, it worked fine.
    The question is:
    When I am linking statically, does my application must have a client, in order to work properly, or am I missing other libraries that I need to link with?

    Well, given that, I think getting a sqlnet trace would be a good idea. Have you done that before by chance? It's not terribly difficult, but maybe a bit messy to do through a forum posting (not impossible mind)... If you have a support contract you can open an SR to help with that.
    As an example, here's my sqlnet.ora file from an 11.2 ODAC install with all the tracing enabled (need to change path as appropriate, of course):
    SQLNET.AUTHENTICATION_SERVICES=(NTS)
    NAMES.DIRECTORY_PATH=(TNSNAMES, EZCONNECT)
    DIAG_ADR_ENABLED=OFF
    TRACE_LEVEL_CLIENT=16
    TRACE_DIRECTORY_CLIENT=C:\oracle\11.2\odac\Network\Admin\TraceWhen I deliberately place an invalid host name in my tnsnames.ora file as a simple test, the section of the resulting trace file of interest looks like this:
    (5840) [11-MAY-2010 11:10:08:581] nttbnd2addr: entry
    (5840) [11-MAY-2010 11:10:08:581] snlinGetAddrInfo: entry
    (5840) [11-MAY-2010 11:10:08:581] snlinGetAddrInfo: getaddrinfo() failed with error 11001
    (5840) [11-MAY-2010 11:10:08:581] snlinGetAddrInfo: exit
    (5840) [11-MAY-2010 11:10:08:581] nttbnd2addr: looking up IP addr for host: bogus
    (5840) [11-MAY-2010 11:10:08:581] snlinGetAddrInfo: entry
    (5840) [11-MAY-2010 11:10:10:833] snlinGetAddrInfo: getaddrinfo() failed with error 11004
    (5840) [11-MAY-2010 11:10:10:833] snlinGetAddrInfo: exit
    (5840) [11-MAY-2010 11:10:10:833] nttbnd2addr:  *** hostname lookup failure! ***
    (5840) [11-MAY-2010 11:10:10:834] nttbnd2addr: exit
    (5840) [11-MAY-2010 11:10:10:834] nserror: entry
    (5840) [11-MAY-2010 11:10:10:834] nserror: nsres: id=0, op=77, ns=12545, ns2=12560; nt[0]=515, nt[1]=1004, nt[2]=0; ora[0]=0, ora[1]=0, ora[2]=0
    (5840) [11-MAY-2010 11:10:10:834] nsc2addr: error exitSo, you can clearly see the 12545 in this trace and the file will have lots of other information such as the tnsnames.ora file used, etc.
    Regards,
    Mark

  • ORA-00942 when running application after import

    APEX 4.1.1
    Hi,
    I transferred my application via export/import to our production database. I got no errors during installation, but when I run the application I am getting the following error message.
    User not found
    ORA-00942: table or view does not exist
    Technical Info (only visible for developers)
        is_internal_error: true
        ora_sqlcode: -942
        ora_sqlerrm: ORA-00942: table or view does not exist
        component.type: APEX_APPLICATION_COMPUTATIONS
        component.id: 3102806535980644
        component.name: LANG
        error_backtrace:
        ORA-06512: at "SYS.DBMS_SYS_SQL", line 1325
        ORA-06512: at "SYS.WWV_DBMS_SQL", line 1287
        ORA-06512: at "SYS.WWV_DBMS_SQL", line 1358
        ORA-06512: at "SYS.WWV_DBMS_SQL", line 1375
        ORA-06512: at "APEX_040100.WWV_FLOW_DYNAMIC_EXEC", line 776
        ORA-06512: at "APEX_040100.WWV_FLOW", line 4155I do not know, where to look for the error. I do have an application item with the name LANG and there is an application computation for LANG:
    SELECT  LANG_CODE
    FROM    GPS_WEB_USERS
    WHERE user_name = upper('&APP_USER.')Any Hints where to look?
    Edited by: Anne-Marie Rosa on Aug 16, 2012 5:37 AM
    Edited by: Anne-Marie Rosa on Aug 16, 2012 6:32 AM

    Hi,
    >
    I transferred my application via export/import to our production database. I got no errors during installation, but when I run the application I am getting the following error message.
    User not found
    ORA-00942: table or view does not exist
    Technical Info (only visible for developers)
    is_internal_error: true
    ora_sqlcode: -942
    ora_sqlerrm: ORA-00942: table or view does not exist
    component.type: APEX_APPLICATION_COMPUTATIONS
    component.id: 3102806535980644
    component.name: LANG
    error_backtrace:
    ORA-06512: at "SYS.DBMS_SYS_SQL", line 1325
    ORA-06512: at "SYS.WWV_DBMS_SQL", line 1287
    ORA-06512: at "SYS.WWV_DBMS_SQL", line 1358
    ORA-06512: at "SYS.WWV_DBMS_SQL", line 1375
    ORA-06512: at "APEX_040100.WWV_FLOW_DYNAMIC_EXEC", line 776
    ORA-06512: at "APEX_040100.WWV_FLOW", line 4155I do not know, where to look for the error. I do have an application item with the name LANG and there is an application computation for LANG:
    SELECT LANG_CODE
    FROM GPS_WEB_USERS
    WHERE user_name = upper('&APP_USER.')The source of the error is ora_sqlerrm: ORA-00942: table or view does not exist
    Look for the name of the Application Computation in APEX_APPLICATION_COMPUTATIONS APEX View using component.id: 3102806535980644 to find its name.
    Once you have the name you can edit that App Comp and figure out which Table/View is not accessible.
    Cheers,
    PS: &#123;code&#125; is the tag, lower case.
    Edited by: Prabodh on Aug 16, 2012 6:01 PM

  • ORA-12545 when running on another machine

    Hi All,
    I have developed an app in Visual C# 2008, which uses ODP.NET for connecting to Oracle.
    It works perfectly, but when I pass the application binaries to my colleagues, they keep getting the [ORA-12545|http://ora-12545.ora-code.com/] error.
    They have the same client version (11.1.0.6.0), but at a different location.
    From the nature of the error, I assume that the application "finds" the oracle client (and thus the Oracle.DataAccess.dll) correctly.
    What can I do to make the app run on their computer as well? They have the same tnsnames.ora and every setting is the same, other applications (like Toad) work for them using the same client and tnsnames.ora.
    Thanks,
    David.
    Edited by: king4aday on 2010.05.11. 6:26

    Well, given that, I think getting a sqlnet trace would be a good idea. Have you done that before by chance? It's not terribly difficult, but maybe a bit messy to do through a forum posting (not impossible mind)... If you have a support contract you can open an SR to help with that.
    As an example, here's my sqlnet.ora file from an 11.2 ODAC install with all the tracing enabled (need to change path as appropriate, of course):
    SQLNET.AUTHENTICATION_SERVICES=(NTS)
    NAMES.DIRECTORY_PATH=(TNSNAMES, EZCONNECT)
    DIAG_ADR_ENABLED=OFF
    TRACE_LEVEL_CLIENT=16
    TRACE_DIRECTORY_CLIENT=C:\oracle\11.2\odac\Network\Admin\TraceWhen I deliberately place an invalid host name in my tnsnames.ora file as a simple test, the section of the resulting trace file of interest looks like this:
    (5840) [11-MAY-2010 11:10:08:581] nttbnd2addr: entry
    (5840) [11-MAY-2010 11:10:08:581] snlinGetAddrInfo: entry
    (5840) [11-MAY-2010 11:10:08:581] snlinGetAddrInfo: getaddrinfo() failed with error 11001
    (5840) [11-MAY-2010 11:10:08:581] snlinGetAddrInfo: exit
    (5840) [11-MAY-2010 11:10:08:581] nttbnd2addr: looking up IP addr for host: bogus
    (5840) [11-MAY-2010 11:10:08:581] snlinGetAddrInfo: entry
    (5840) [11-MAY-2010 11:10:10:833] snlinGetAddrInfo: getaddrinfo() failed with error 11004
    (5840) [11-MAY-2010 11:10:10:833] snlinGetAddrInfo: exit
    (5840) [11-MAY-2010 11:10:10:833] nttbnd2addr:  *** hostname lookup failure! ***
    (5840) [11-MAY-2010 11:10:10:834] nttbnd2addr: exit
    (5840) [11-MAY-2010 11:10:10:834] nserror: entry
    (5840) [11-MAY-2010 11:10:10:834] nserror: nsres: id=0, op=77, ns=12545, ns2=12560; nt[0]=515, nt[1]=1004, nt[2]=0; ora[0]=0, ora[1]=0, ora[2]=0
    (5840) [11-MAY-2010 11:10:10:834] nsc2addr: error exitSo, you can clearly see the 12545 in this trace and the file will have lots of other information such as the tnsnames.ora file used, etc.
    Regards,
    Mark

  • ORA-01745 when running Explain Plan

    Hello everybody,
    I would like to know what is the best way to report a bug. In fact I believe just found one and I would like it fixed. I am using the latest version of SQLDeveloper on WinXP that uses its own JDK.
    To replicate the bug it's very easy, just try to do an explain plan of the following query:
    SELECT * FROM scott.emp
    where empno = &&emp_nr;and the "*ORA-01745: invalid host/bind variable name*" error appears. Since the query executes properly, but the Explain plan errors out, I believe this could be a bug.
    Thanks,
    Paolo

    Gary,
    thanks a lot for your feedback.
    I have found this weird behaviour, because I was trying to avoid another one. In fact I tried using the substitution variable syntax instead of the bind variable syntax in SQLDeveloper, especially to avoid the issues coming from automatic data conversions.
    For example, if I run the following query using the bind variable syntax (passing SYSDATE as the parameter value):
    SELECT *
       FROM scott.emp
      WHERE hiredate BETWEEN TRUNC(:p_eff_date,'yyyy')
                         AND TRUNC(add_months(:p_eff_date,12),'yyyy') - 1;it will go in error with "*ORA-00932: inconsistent datatypes: expected DATE got NUMBER*", because the filter predicate will be converted automatically as follows:
    TRUNC(TO_NUMBER(:P_EFF_DATE),TO_NUMBER('yyyy'))<=TRUNC(ADD_MONTHS(:P_EFF_DATE,12),'fmyyyy')-1This behaviour is visible by running the explain plan on the above query. Isn't that TO_NUMBER(:P_EFF_DATE),TO_NUMBER('yyyy') a little bit too wrong? Note that the second occurrence of the P_EFF_DATE parameter does not get converted. Can't this "automatic conversion" behaviour be disabled somehow?
    Due to this weird issue I tried to use the substitution variable syntax, but the main issue with the single ampersand is that you have to enter the value of the parameter as many times as the parameter is referenced in the query and you can imagine that with big queries written by other people this is not so easy.
    Is there another way to pass parameters to a query in the SQL Worksheet? How can I "use literals rather than variables" as you suggest? Do you mean NOT using parameters at all?
    Thanks,
    Paolo

Maybe you are looking for

  • Being able to Save a document

    I created a "fill in" document for my employees; however, when they fill in the document (ie. check boxes, etc.), they are not able to save as a new file, with the inputted information. My employees only have Reader. Is there something I can do when

  • Unable to launch Adobe editor in netweaver developer studio.

    Hi, Any one helps me to open adobe editor. I was created up to UI element. And pdfSource as binary variable. When I was to edit interactive form in Outline, the problem was occurred Like, Unable to create part: interactive from. And an error has occu

  • ITunes Library generic icon after transfer.

    Just upgraded to a new Mac and transfered my iTunes music and Library files manually. Everything works perfectly. I maintained Playcounts, Playlists, Last Played Dates. One small thing that's bugging me though is that the iTunes Library file has a wh

  • Dreamweaver CS6 won't install

    I tried to install DW from the Creative cloud through the download manager, as well as the trial version. Both DW installations stop at 15%. What might be the problem? I have Sophos antivirus running which I can't deactivate as long as my computer is

  • VPN Lan2Lan SA error 2

    hi, First sorry fo my bad english. I need help for this: i have 3 sites with 3 cisco connected in vpn ipsec and GRE. I have to add another router in this configuration, i copy the previous commande line to configure it from a working running config b