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

Similar Messages

  • 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: {code} is the tag, lower case.
    Edited by: Prabodh on Aug 16, 2012 6:01 PM

  • Crashes when running applications from network share - "Windows cannot access the file for one of the following reasons"

    Hi,
    starting a couple of weeks ago, we get the following error(s) when running applications from a network share. We don't know what causes this, we are not aware of any major changes in our network infrastructure or client/Server configuration. We did upgrade
    a lot of machines to Windows 8, but the issue also occurs on older Win7 computers.
    We figured out a workaround though: The applications run fine when launching from a FQDN share (like
    \\share.domain.Company.com) and only cause problems when running from
    \\share directly. They have worked fine for years without FQDN though.
    Any ideas?
    Error Details (the Kind of error differs greatly):
    # 1 #
    Log Name: Application
    Source: Application Error
    Date: ...
    Event ID: 1005
    Task Category: (100)
    Level: Error
    Keywords: Classic
    User: N/A
    Computer: vmDEV
    Description:
    Windows cannot access the file for one of the following reasons: there is a problem with the network connection, the disk that the file is stored on, or the storage drivers installed on this computer; or the disk is missing. Windows closed the program XYZ
    because of this error.
    Program: XYZ
    File:
    The error value is listed in the Additional Data section.
    User Action
    1. Open the file again. This situation might be a temporary problem that corrects itself when the program runs again.
    2. If the file still cannot be accessed and
    - It is on the network, your network administrator should verify that there is not a problem with the network and that the server can be contacted.
    - It is on a removable disk, for example, a floppy disk or CD-ROM, verify that the disk is fully inserted into the computer.
    3. Check and repair the file system by running CHKDSK. To run CHKDSK, click Start, click Run, type CMD, and then click OK. At the command prompt, type CHKDSK /F, and then press ENTER.
    4. If the problem persists, restore the file from a backup copy.
    5. Determine whether other files on the same disk can be opened. If not, the disk might be damaged. If it is a hard disk, contact your administrator or computer hardware vendor for further assistance.
    Additional data
    Error value: C000020C [ also seen with code C00000C4]
    #2 (German error Messages from now on, we only use German OSes, the above english one is translated based on similar error Messages I found on the web) #
    Name der fehlerhaften Anwendung: XYZ.exe, Version: 2015.0.496.5054, Zeitstempel: 0x54ea67c3
    Name des fehlerhaften Moduls: clr.dll, Version: 4.0.30319.34014, Zeitstempel: 0x52e0b784
    Ausnahmecode: 0xc0000006
    Fehleroffset: 0x00026549
    ID des fehlerhaften Prozesses: 0x13ac
    Startzeit der fehlerhaften Anwendung: 0x01d055a854d36445
    Pfad der fehlerhaften Anwendung: \\share\application.exe
    Pfad des fehlerhaften Moduls: C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll
    Berichtskennung: 949ea933-c19b-11e4-bf04-78542e186754
    Vollständiger Name des fehlerhaften Pakets:
    Anwendungs-ID, die relativ zum fehlerhaften Paket ist:
    Anwendung: XYZ.exe
    Frameworkversion: v4.0.30319
    Beschreibung: Der Prozess wurde aufgrund einer unbehandelten Ausnahme beendet.
    Ausnahmeinformationen: Ausnahmecode c0000006, Ausnahmeadresse 720B6549
    Stapel:
    # 3 #
    Anwendung: WpfApp.exe
    Frameworkversion: v4.0.30319
    Beschreibung: Der Prozess wurde aufgrund einer unbehandelten Ausnahme beendet.
    Ausnahmeinformationen: System.Runtime.InteropServices.SEHException
    Stapel:
       bei SP.Forms.AutoCompleteSelectionBase.OnEnter(System.EventArgs)
       bei System.Windows.Forms.Control.NotifyEnter()
       bei System.Windows.Forms.ContainerControl.UpdateFocusedControl()
    # 4 #
    Anwendung: WpfApp.exe
    Frameworkversion: v4.0.30319
    Beschreibung: Der Prozess wurde aufgrund einer unbehandelten Ausnahme beendet.
    Ausnahmeinformationen: System.Runtime.InteropServices.SEHException
    Stapel:
       bei System.IO.UnmanagedMemoryStream.ReadByte()
       bei System.IO.BinaryReader.ReadByte()
       bei System.IO.BinaryReader.Read7BitEncodedInt()
       bei System.Resources.ResourceReader._LoadObjectV2(Int32, System.Resources.ResourceTypeCode ByRef)
       bei System.Resources.ResourceReader.LoadObjectV2(Int32, System.Resources.ResourceTypeCode ByRef)
       bei System.Resources.ResourceReader.LoadObject(Int32, System.Resources.ResourceTypeCode ByRef)
       bei System.Resources.RuntimeResourceSet.GetObject(System.String, Boolean, Boolean)
       bei System.Resources.RuntimeResourceSet.GetObject(System.String, Boolean)
       bei System.Resources.ResourceManager.GetObject(System.String, System.Globalization.CultureInfo, Boolean)
       bei System.Resources.ResourceManager.GetStream(System.String, System.Globalization.CultureInfo)
    # 5 #
    Anwendung: WpfApp.exe
    Frameworkversion: v4.0.30319
    Beschreibung: Der Prozess wurde aufgrund einer unbehandelten Ausnahme beendet.
    Ausnahmeinformationen: System.Runtime.InteropServices.SEHException
    Stapel:
       bei System.Reflection.RuntimeParameterInfo.get_Name()
       bei System.Diagnostics.StackTrace.ToString(TraceFormat)
       bei System.Environment.GetStackTrace(System.Exception, Boolean)
       bei System.Exception.GetStackTrace(Boolean)
       bei System.Exception.ToString(Boolean, Boolean)
       bei System.Exception.ToString(Boolean, Boolean)
       bei System.Exception.ToString(Boolean, Boolean)
       bei System.Exception.ToString()
    # 6 #
    Name der fehlerhaften Anwendung: XYZ.exe, Version: 2015.0.496.5054, Zeitstempel: 0x54ea834f
    Name des fehlerhaften Moduls: KERNELBASE.dll, Version: 6.3.9600.17278, Zeitstempel: 0x53eeb460
    Ausnahmecode: 0xe0434352
    Fehleroffset: 0x00012f71
    ID des fehlerhaften Prozesses: 0xa68
    Startzeit der fehlerhaften Anwendung: 0x01d0559cb7ec4ed6
    Pfad der fehlerhaften Anwendung: \\share\XYZ.exe
    Pfad des fehlerhaften Moduls: C:\WINDOWS\SYSTEM32\KERNELBASE.dll
    Berichtskennung: 010514d0-c190-11e4-bf04-78542e186754
    Vollständiger Name des fehlerhaften Pakets:
    Anwendungs-ID, die relativ zum fehlerhaften Paket ist:
    # 7 #
    Name der fehlerhaften Anwendung: XYZ.exe, Version: 2015.0.496.5054, Zeitstempel: 0x54ea7a6e
    Name des fehlerhaften Moduls: ntdll.dll, Version: 6.3.9600.17630, Zeitstempel: 0x54b0d74f
    Ausnahmecode: 0xc0000006
    Fehleroffset: 0x0006db27
    ID des fehlerhaften Prozesses: 0x18dc
    Startzeit der fehlerhaften Anwendung: 0x01d0559cb08529c3
    Pfad der fehlerhaften Anwendung: \\share\xyz.exe
    Pfad des fehlerhaften Moduls: C:\WINDOWS\SYSTEM32\ntdll.dll
    Berichtskennung: ef389186-c18f-11e4-bf04-78542e186754
    Vollständiger Name des fehlerhaften Pakets:
    Anwendungs-ID, die relativ zum fehlerhaften Paket ist:

    Hi,
    >>The applications run fine when launching from a FQDN share
    It sounds like a DNS suffix issue. When this issue occurs, please try to ping share on the client, then check if the corresponding IP address is correct. If the IP address is wrong, please adjust your settings of DNS to make sure that the client can resolve
    the share correctly.
    If it's very hard to change the settings of the DNS for some reason, as a work around, we can add the entry into the clients' hosts file.
    Best Regards.
    Steven Lee Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • 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.

  • Error when run application

    I am create data sourse name in ODBC Drivers and starrt
    Dreamweaver to connect a database already but when I press F12 to
    run application there was error message like this :
    Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
    [Microsoft][ODBC Microsoft Access Driver] Could not use
    '(unknown)'; file already in use.
    How should I do ? Please help me.

    I've an article on the issue.
    http://www.charon.co.uk/content.aspx?CategoryID=27&ArticleID=56
    Jules
    http://www.charon.co.uk/charoncart
    Charon Cart 3
    Shopping Cart Extension for Dreamweaver MX/MX 2004

  • Error when run Application  Help me please

    Message Error when run Application A_Anexo_7:
    java.lang.NoClassDefFoundError: etica.Anexo_7
         void etica.A_Anexo_7.<init>()
              A_Anexo_7.java:13
         void etica.A_Anexo_7.main(java.lang.String[])
              A_Anexo_7.java:46

    you need to provides more info
    basically, it's saying that it cannot find the class specified.
    You need to include the class in your classpath.

  • Following error occurring when running application in wireless tool kit

    Hi
    Following error occurring when running application in wireless tool kit
    java/lang/ClassFormatError: Bad version information.
    can any suggest y ?

    Hi,
    I am also facing the same problem......................
    java/lang/ClassFormatError: Bad version information
    The error occurs when I try to simulate the mobile device using wireless tool kit. Does it have anything to do with the antivirus/firewall running on my system?
    Did Ram get a solution to his problem? Can anybody please help?
    Many Thanks
    Merin
    HI
    Sorry i could not find any related information there
    the version of wireless toolkit i am using is 2.1
    well in release notes its given that it also
    supports cldc1.0 and midp1.0
    presently i am using cldc1.0.4 and midp1.0.3
    versions
    is there any version compatability error
    please suggest me its quite urgent

  • 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.

  • ORA-00604 and ORA-12705 when adding datasource in Mapviewer

    Hi,
    I am trying to add a datasource using standalone OC4J Mapviewer and I'm having some problems.
    I'm using Oracle8i on Windows 2000 Server. Windows 2000 is in Spanish.
    When I add the datasource I get the following XML error
    <?xml version="1.0" encoding="UTF-8" ?>
    <oms_error>Message:[MapperConfig] no se puede agregar el origen de datos de mapa. Wed Oct 12 21:29:58 ART 2005 Severity: 0 Description: at oracle.lbs.mapserver.core.MapperConfig.addMapDataSource(MapperConfig.java:528) at oracle.lbs.mapserver.MapServerImpl.addMapDataSource(MapServerImpl.java:308) at oracle.lbs.mapserver.oms.addDataSource(oms.java:937) at oracle.lbs.mapserver.oms.doPost(oms.java:329) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:810) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186) at java.lang.Thread.run(Thread.java:534)</oms_error>
    The part in spanish means: Map Datasource cannot be added.
    In the console I get ORA-00604 and ORA-12705
    I know that ora-12705 has something to do with NLS_LANG.
    I put the following query in sql*plus:
    select *
    from v$nls_parameters
    where parameter in ('NLS_LANGUAGE', 'NLS_TERRITORY', 'NLS_CHARACTERSET');
    And got AMERICAN.AMERICA.WE8ISO8859P1
    I also changed the NLS_LANG variables in the registry to the same characterset. (One of them was in spanish characterset).
    I don't know what else to do! Pleas help!

    Yes, you are in the wrong forum, but it sounds like you have your environment variable (or registry entry) for ORA_NLS33 pointing at the wrong directory.
    Steve

  • ORA-2020 when trying to verify database links

    I have a problem with verifying database links. I want to create a procedure for checking all database links. this is done like the following:
    declare
    xRefCursor sys_refcursor;
    cursor cDBLinks is
    select db_link
    from user_db_links;
    nDummy number;
    begin
    for rL in cDBLinks loop
    begin
    open xRefCursor for 'select 1 from dual@'||rL.db_link;
    fetch xRefCursor into nDummy;
    close xRefCursor;
    dbms_output.put_line(rL.db_link||' established');
    exception
    when others then
    if xRefCursor%isopen then
    close xRefCursor;
    end if;
    dbms_output.put_line(rL.db_link||' error '||sqlerrm);
    end;
    end loop;
    end;
    when running the procedure, I get a ORA-2020 : too many database links in use
    Cause: The current session has exceeded the INIT.ORA OPEN_LINKS maximum.
    Action: Increase the OPEN_LINKS limit, or free up some open links by committing or rolling back the transaction and canceling open cursors that reference remote databases
    exact after the count of database links specified in the OPEN_LINKS parameter. As you can see I don't issue any transaction, and also I close every cursor I open...so there should be just one db link active in time. note that increasing the OPEN_LINKS parameter will not be a good solution, as I can't tell how much links are existing for a user.
    any suggestions?
    regards
    Christian
    oh, forgot to mention: tried this with 9.2.0.6 and 10.2.0.3 on WINDOWS (so I believe this also occurs in 9.2.0.6 <= DBVersion <= 10.2.0.3)
    Message was edited by:
    W1zard

    As you can see I don't issue any transaction, and also I close every cursor I
    open...so there should be just one db link active in time.This is wrong assumption. The closing of the cursor does not mean DB link will be closed too. You have to close database link explicitly.
    See:
    Managing Database Link
    Rgds.

  • 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

  • Webcenter error when running application

    hi am having below error when running my application am in jdeveloper 11.1.1.6.0
    <10 Nov 2012 8:51:37 AM> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1352530297019' for task '0'. Error is: 'weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: oracle.webcenter.framework, Specification-Version: 11.1.1, exact-match: false], [Extension-Name: oracle.webcenter.skin, Specification-Version: 11.1.1, exact-match: false].'
    weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: oracle.webcenter.framework, Specification-Version: 11.1.1, exact-match: false], [Extension-Name: oracle.webcenter.skin, Specification-Version: 11.1.1, exact-match: false].
         at weblogic.application.internal.flow.CheckLibraryReferenceFlow.prepare(CheckLibraryReferenceFlow.java:26)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
         at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
         Truncated. see log file for complete stacktrace
    >
    <10 Nov 2012 8:51:37 AM> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'UAMApplication'.>
    <10 Nov 2012 8:51:37 AM> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: oracle.webcenter.framework, Specification-Version: 11.1.1, exact-match: false], [Extension-Name: oracle.webcenter.skin, Specification-Version: 11.1.1, exact-match: false].
         at weblogic.application.internal.flow.CheckLibraryReferenceFlow.prepare(CheckLibraryReferenceFlow.java:26)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
         at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
         Truncated. see log file for complete stacktrace
    >
    [08:51:37 AM] #### Deployment incomplete. ####
    [08:51:37 AM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
    #### Cannot run application UAMApplication due to error deploying to IntegratedWebLogicServer.
    [Application UAMApplication stopped and undeployed from Server Instance IntegratedWebLogicServer]

    Hi,
    you've posted this in the WebCenter Content forum. You may want to repost your question in the WebCenter Portal forum, as the stacktrace tells me you are dealing with the WebCenter Portal Framework. Some more information would be helpful too. What kind of are you deploying?

  • 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-12705 when trying to connect to database

    I am trying to install SQL Developer on a user PC in my company, but when the user tries to connect to a database he gets the following error message:
    An error was encountered performing the requested operation:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-12705: Cannot access NLS data files or invalid environment specified
    0604. 00000 - "error occurred at recursive SQL level %s"
    *Cause:  An error occurred while processing a recursive SQL statement
    (a statement applying to internal dictionary tables).
    *Action:  If situation described in the next error on the stack
    can be corrected, do so; otherwise contact Oracle Support.
    Vendor code 604
    I have tried searching this forum and the rest of the web for this error, and I have tried all the tips that I have found, but nothing seems to work for me, I get the same error message every time. Most of the tips have been centered around the NLS_LANG parameter. Does anybody have a suggestion?

    I have already seen this document and tried it out, but it didn't work. And I have tried out numerous other tips that I have found in different places on the web.
    Is the client installation of any relevance? I notice that this user has a different installation from the one that I have, and that he amongst other things doesn't have sql plus installed.

Maybe you are looking for

  • NI-DAQmx Base - "Read or Write task without first setting line states"

    I am writing an application to interface with the USB-6501 hardware platform. In my application, I am first initializing all the lines on each digital port to be either read or write lines. After these lines have been initialized to the correct state

  • New Hardware found but not automatically installed.

    Hi there, Could someone please help me I've just bought a 5th gen 80gb and my computer recognises it but doesn't automatically install the hardware. It takes me to the install new hardware wizard and can't automatically do it. So I can't do anything

  • How to restrict user or responsibility in Transit Move Order(source subinv)

    Dear All, In my personalization task to restrict responsibility in Transit Move Order screen only restrict source sub inventory will be show please guide me for this. Can any way to use through profile option if yes then what profile i use for this?

  • How do I reinstall messages in os mountain lion ?

    I previously attempted to use ichat prior to messages being part of mountain lion when upgrading to mountain lion , it used all my contacts from ichat , but I am unable to send or recieve messages from macbook I am also unable to add or delete contac

  • Skewing/Distorting objects and lines. HELP?!

    Hello, I am a University student doing a Graphic Design assignment on Data Visualisation. I have come up with my concept and everything but I need help in how to create it. I need to know how to achieve this effect on lines/objects. If anyone can hel