TUXEDO C server using Oracle 11 g ProC receives ORA-01012 not connected by mistake on EXEC SQL PREPARE

Porting of some former service C code for TUXEDO that used Informix to Oracle... a trial.

Service logic uses dynamic SQL to SQL and pre-compiler instructions to then run the

Statement and return to the client in the form of an XML doc.

Port is done now and during the test initial (after you have configured the TUXCONFIG, environment, Oracle DB, etc) am receiving an Oracle ORA-01012 not connected when the TUXEDO service routine tries to prepare the SQL SELECT statement.

The statement in question is a simple "SELECT * FROM EMP".

The server is defined in a group belonging to a group that has an OPENINFO string that connects to the Oracle DB.  This seems to be the case I see the sqlplus using the view v$ session where the user sessions connect when servers of launch.

No idea why the EXEC SQL PREPARE is causing the server to disconnect from the DB?

THX.

W. MacKenzie

It was with the inclusion of the DB = orcl tag in my OPENINFO in the TUXCONFIG.  Remove that and specify the database instance in the envfile for the configuration.  Works now.

Tags: Fusion Middleware

Similar Questions

  • Oracle Instance shows connected, yet am ORA-01012: not connected

    Hi experts,

    Please help to connect to my database, which unfortunately happened an hour before, but now it does not work

    In the meantime I did change some stuff for my home directory permission, but later again to original permissions.

    It's still haunt me...

    I created my SID/HOST/PATH perfectly, attempted to verify the process at the level of the BONE, they are less, still nothing happens if the database is in place and running.

    I can see it at the level of the BONE and in the alerts log...

    ==================


    Oracle@DAP-CSW-ORA01/home/Oracle > ps - ef | grep pmon
    Oracle 3145946 1 0 18 Feb - 0:44 asm_pmon_ + ASM1
    Oracle 7995430 1 0 18 Feb - 0:50 ora_pmon_adobe_2
    Oracle 13828212 11141232 0 14:59:09 pts/0 0:00 grep pmon
    Oracle 7471386 1 0 18 Feb - 0:57 ora_pmon_fxss_1
    Oracle@DAP-CSW-ORA01/home/Oracle > sqlplus

    SQL * more: Production of liberation 11.2.0.3.0 Thu Feb 21 14:59:12 2013

    Copyright (c) 1982, 2011, Oracle. All rights reserved.

    Enter the user name: virtue sysdba
    Connected.
    SQL > show user
    The USER is "SYS".
    SQL > select instance_name, status from v$ Instance;
    Select instance_name, status of v$ Instance
    *
    ERROR on line 1:
    ORA-01012: not connected
    Process ID: 0
    Session IDs: serial number 0: 0

    Now I understand... It is not a problem with something another authorization makes this mess... Although unknown...

    I have a database rebounded after taking permission from the team of apps, now it works perfectly... no problem whatsoever...

    But I want to know why... I don't want to deal more...

    Whenever oracle installs [YES], it knows what to assign permissions and what is needed.
    You should not disturb them, who are the users, groups, executables, read, write permissions before and after any change and now?
    And I wanted it is interesting to know why you wanted to test these things on the production. Its like playing with fire, so be careful, otherwise it costs a lot :)

  • ORA-03114: not connected to ORACLE

    Hello
    When an application (connected to a remote server to the database server) gives the following:
    Error Message   : ORA-03114: not connected to ORACLE cuted
    How do I know if the problem of connection comes from the database server or client remote server?
    Thank you and best regards.

    The cause of this error may vary. First of all, I would like to start by looking in the file database at the time of the disconnection alert.log. Then go through the application server logs. The system event log files can provide information on the loss of network connectivity e.t.c.

    Sincere friendships, I hope these points help you.

  • Can what version of lightroom I use on mac OS 10.11 which is not connected to the internet?

    Can what version of lightroom I use on mac OS 10.11 which is not connected to the internet?  I have lightroom 3, but upgrades to Mac OS 10.11 and now the library behaves strangely with question marks on the folder icons.

    The only version currently on sale is version 6.  It is available in creative cloud and non - Creative Cloud.  The Cloud Creative version requires no continuous internet Connection, but is required periodically to check the status of the subscription.  The non_Cloud version requires no internet

  • Synchronize two schemas from database on a linux server using Oracle GoldenGate

    I followed this guide ( http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/goldengate/12c/OGG12c_Installation/index.html?cid=9167 & ssid = 0 ) and for two different databases running on the same instance of database schemas.


    What I have now is a Linux server with two Oracle database schemas.
    I have access through my Linux virtual machine. I want to do the synchronization possible between them.

    I use Oracle GoldenGate to make this possible. What should I do now? Goldengate is must be installed in the server too? I'm totally new to this situation. Can someone give me at least the major steps before going to the more comprehensive study?

    Well understood. This helped.

    Install Oracle GoldenGate Linux to synchronize two schemas from database on a single server

  • use the ip address in listener.ora does not

    Hello

    A strange problem in listener.ora, if I use 'localhost', or the name of the computer, then everything is ok, but when I try to use the ip address, then I got an error ORA-12541: listener TNS:no

    the listener.ora file that works well


    listener.ora # Network Configuration file: C:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\listener.ora
    # Generated by Oracle configuration tools.

    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
    (= Extproc PROGRAM)
    )
    (SID_DESC =
    (GLOBAL_DBNAME = HMIHD)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
    (SID_NAME = HMIHD)
    )

    )

    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1))
    )
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))
    )
    )

    the listener.ora does not

    listener.ora # Network Configuration file: C:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\listener.ora
    # Generated by Oracle configuration tools.

    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
    (= Extproc PROGRAM)
    )
    (SID_DESC =
    (GLOBAL_DBNAME = HMIHD)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
    (SID_NAME = HMIHD)
    )

    )

    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1))
    )
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP) (HOST = 10.183.7.89)(PORT = 1521))
    )
    )

    the only change is to use the IP address of the server 10.183.7.89 instead of localhost and if I change the ip address of the computer name, then its also works well.

    The server runs on vistual box, I don't know if the machine vistual causes this problem,
    I just want to confirm: I use the IP directly right?

    Thank you inadvance!

    Reacted little after you have validated, but authentication Jives agie and my answer has been lost. Not the first time that I lost OTN due issues Jives or descending OTN responses. Well...

    My response was as follows.

    Your listener begins listening using the host name of the server. This binds the 1521 port to all the IP addresses on the server. A new IP address must be created, which will be also automatically supported and connections port 1521 he will be accepted by the listener.

    The AMT ORCL aliases connect to port 1521 on localhost (127.0.0.1 IP address). As the listener listen to all this server IP addresses, the client connection is successful.

    The listener is then replaced listening on a specific IP address. Now the listener only listening on port 1521 on this IP - and no other IP address of this server.

    The alias of tns ORCL now tries to connect using 127.0.0.1 - and this IP address is now supported by the listener. As a result, the connection of the client fails.

    If the tns ORL connection uses the same IP address as the listener, the connection will succeed. The ORCL alias can either use IP address directly, or a host name that will solve in that intellectual property.

    The basic rules are:
    -If the server name is used, the listener use INADDR_ANY indicator socket and tie the port to all the this server IP addresses
    -If the IP 0.0.0.0 is used, the listener also links the Harbour to all the this server IP addresses
    -If "localhost" or a specific IP address is used, the listener will tie the port to only this specific address and no other server IP addresses

    The client to connect, use one of the IP addresses that the listener is listening. The customer can use:
    -the host name so that the intellectual property (the host name must resolve to the IP address via the file DNS or hosts )
    -l the address real IP itself

    Use the following command in Windows to see what IP addresses and ports, the listening process is listening:
    Netstat-b - n tcp Pei

  • vSphere client using the name Netbios on ESXi host does not connect using the credentials of a Windows session

    I have 3 ESXi 5.5 hosts, all connected to a single server vCenter, where we try to authenticate directly to the host by using the windows logon credentials. I have installation of the Administrators group of ESX and filled with the admin accounts that I want to be able to authenticate to the host. The Netbios name of the domain is tstdomain (for example) where the domain name is tstdomain.com. If I connect directly to a host and check the checkbox 'Use Windows Session Credentials', the vSphere client will default by using the Netbios name of tstdomain\adminusername and the connection will fail indicating that the username and/or password is incorrect. If I enter the domain name of tstdomain.com\adminusername, I am able to connect to the host without error.

    Does anyone know how get past that this matter have the vSphere client uses the domain name or to use the Netbios name and connect with the credentials to active directory? I looked by editing the file/etc/hosts and checked that the SPN of the host is correct in active directory with the command hostname setspn - l, with no luck on one. I also tried to change the field of research for the Netbios name of tstdomain rather than the tstdomain.com domain name, also did not work.

    Thanks in advance for your suggestions on how to correct the problem.

    Seems that this issue was due to a slow network and the connection timeout when you try to talk to the domain controller. I am able to connect with windows creds now, but the connection is very slow. I increased the default period of 30 to 60 seconds to help work around the problem.

  • vCenter connects to SQL Server very well with 64-bit DSN, but does not connect with 32-bit DSN

    Created a system DSN 64-bit and 32-bit vCenter server by using SQL Server Native Client 11.0 and exact same settings pointing to the database on a SQL Server 2012 box.  The 64-bit DSN connects very well and the 32-bit DSN fails to connect.  Can someone give some guidance as to what could be the problem?  I have never seen it before.  They are pointing to the same database and use the same local SQL account.

    TIA

    The challenge was to enable the SQL Server Browser service in the SQL box - it is disabled by default in Windows with SQL Server 2012 2012...  This should really be documented by VMWare.

  • Using of new 64-bit drivers, but DOES not connect Win 7 & TungstenE2. Help!

    After trying to hotsync over bluetooth on the new laptop with Windows 7 w / TungstenE2 and failure (serial port used by another application);  I downloaded the new 64-bit drivers provided in this message section. Problem now: no link could be established between the desktop and the device. Even if bluetooth is 'off' the device is now trying to use the bluetooth to non-working process. Tried the USB process, using the newly installed drivers. No connection.  It is now beyond my skills, and I'm in the circle of bluetooth, or the circle of 64-bit USB driver. I must be missing something!

    Have you set the Hotsync Manager to use USB on your device and the computer?

    What version of Palm Desktop are you using?  6.2 or 4.x?

    On the E2, open the Hotsync application and display the value.  It must be defined on 'Cable', not Bluetooth.

    WyreNut

  • dwcs5.5 "use proxy" doesn't work, help! do not connect to BC

    Hi all, just installed dw5.5, I use BusinessCatalyst and most of the time in the Office I work using the 'use a Proxy, as defined in the preferences' check the selected box and all is well. Now, when you use 5.5 I tick the box and it won't connect when I get back the setting, I find that he has himself deselected, no matter what I do, I can't the new 5.5 to connect to servers of BC is a bit useless at this point, someone has any ideas

    see you soon

    Laz

    Screen-shot-2011-05-27-at-1.19.jpg

    Sorry to hear about your problem, koogorah.

    Please send the details of this question directly to the development of Dreamweaver for the survey team: http://adobe.ly/DWwish

  • Migration from SQL Server to Oracle database

    I have 2 questions:

    1. we intend to convert our sql server databases oracle OLTP databases. I tried to use SQL Developer to migrate a database of small sql server to oracle (size 5 GB) database. It was fine. When I tried to migrate to a different database (size 90G), it takes too much time. The problem with sql developer is I can not pick and choose tables. 250 paintings, I need to migrate tables abt 80 (the size will be abt 50 G). What is everyone can share their experiences, as appropriate, converting databases of size average sql server for oracle databases? other options?

    2. I intend to convert the sql server ddl to oracle ddl. I have tested bcp out and use sql loader to import the data. Right now I am manually creating the oracle tables sql server tables. I use http://download.oracle.com/docs/cd/E11882_01/gateways.112/e12069/apa.htm#BABCIIDI to convert the code. Are there other ways better to convert sql DDL DDL Oracle Server?

    Thanks in advance

    DDLS must be converted manually. Oracle is not SQL-Server.

    If for example, you have the option of partitioning, you should consider using the partitioning index and when it is possible. Not all tables must be hash tables. Do postpone you creation of segment or not? What type of tablespace? Set yourself free percentages and allows you to manage when the data block is on the free list and how much is reserved in the block of data to update rows in this block?

    There are many considerations to be taken with regard to the physical database design.

    Using BCP and SQL * Loader sound good. SQL * Loader is fast and scalable - use it to load up to 3.6 million lines every 60 seconds. Direct and parallel charges will give the best performance in this regard (assuming that the underlying table structure and use supports this approach).

  • SSL via CRMI. Oracle has documented RIDC client code is not compiled.

    This part of the oracle documentation does not compile:

    4 . SSL configuration

    RIDC authorizes the communication of Secure Socket Layer (SSL) with Oracle Content Server using the Protocol of communication Intradoc.

    Note:

    You must install and activate the safety component suppliers on the Oracle Content Server instance you want to access and configure the server for SSL communications content.

    An example of use of the IDC on a Secure (SSL) Socket Protocol:

    // build a secure IDC client as cast to specific type

    IntradocClient idcClient = (IntradocClient manager.createClient("idcs://localhost:54444");

    // set the SSL socket options

    config.setKeystoreFile("ketstore/client_keystore");

    //location of keystore file

    config.setKeystorePassword ("password");

    // keystore password

    config.setKeystoreAlias("SecureClient");

    //keystore alias

    config.setKeystoreAliasPassword("password");

    //password for keystore alias

    For more information, see "SSL Communication with Oracle Content Server" .

    config.  is not present. What configuration is intended?

    I tried:

    idcClient = new IdcClientManager () .createClient (getProperty (MY_IDC_URL));

    idcClient.getConfig (). ....

    There are a few options, described in the API:

    IdcClientConfig (Oracle Fusion Middleware remote control Client Intradoc (RIDC) Java API Reference)

    But there is none:

    setKeystoreFile

    setKeystorePassword

    setKeystoreAlias

    setKeystoreAliasPassword


    If I use "setProperty", should what property names I use?

    keystoreFile

    keystorePassword

    keystoreAlias

    keystoreAliasPassword


    ?


    Thanks in advance for your help...


    Kind regards

    Michael

    OK, after that I ask myself the question, I found an answer myself. Sometimes, just to explain the problem to someone else and we'll find a way.

    In the description of the API, there were oracle.stellent.ridc.protocol.intradoc.IntradocClientConfig class

    IntradocClientConfig has requested methods.

    Should work now.

  • Oracle 12 c text - policy_languages - ora-07445?

    Hi all

    I want to test the functionality of Oracle 12 c text language, but I get the error 'address not mapped to object' with the code below.

    Thank you for your support.

    SQL > DECLARE

    x ctx_doc.language_tab;

    BEGIN

    ctx_ddl.create_policy (policy_name = > 'MY_POLICY');

    () ctx_doc.policy_languages

    POLICY_NAME = > "MY_POLICY"

    document = > ' all Good Morning. Test the functionality of Oracle 12 c text,

    restab = > x);

    dbms_output.put_line ('x: ' | x (1) .language |) '-' || x (1) .score);

    END;

    /

    ERROR:

    ORA-03114: not connected to ORACLE

    DECLARE

    *

    ERROR on line 1:

    ORA-03113: end of file on communication channel

    Process ID: 23260

    Session ID: serial number 63: 15244

    Journal Alerts

    Exception [type: SIGSEGV, address not mapped to object] [ADDR:0 x 0] [PC:0 x 0, {empty}] [flags: 0x0, count: 1]

    Errors in the /u01/app/oracle/diag/rdbms/test1/test1/trace/test1_ora_23260.trc file (incident = 72908) (PDBNAME = Ptest1):

    [ORA-07445: exception encountered: core dump [PC:0 x 0] [SIGSEGV] [ADDR:0 x 0] [PC:0 x 0] [address not mapped to object]]

    Incident details in: /u01/app/oracle/diag/rdbms/test1/test1/incident/incdir_72908/test1_ora_23260_i72908.trc

    incident file test1_ora_23260_i72908.trc:

    [TOC00000]

    Go to the table of contents

    Dumpster continued to file: /u01/app/oracle/diag/rdbms/test1/test1test1_ora_23260.trc /trace/

    [TOC00001]

    [ORA-07445: exception encountered: core dump [PC:0 x 0] [SIGSEGV] [ADDR:0 x 0] [PC:0 x 0] [address not mapped to object]]

    [END TOC00001]

    [TOC00002]

    = Dump for incident 72908 (ORA 7445 [PC:0 x 0]) =.

    [TOC00003]

    -Beginning of Incident custom Dump (s)-

    Dump of information swap

    Memory (avail / Total) = 51,30 M / 3464,31 M

    Swap (avail / Total) = 2553,80 M / 2560,00 M

    Exception [type: SIGSEGV, address not mapped to object] [ADDR:0 x 0] [PC:0 x 0, {empty}] [flags: 0x0, count: 1]


    Further investigation suggests that the problem is with your 'default' policy, which is using BASIC_LEXER.  Recognition language uses the features of AUTO_LEXER, and it seems to be necessary to specify explicitly in your strategy:

    Try this instead:

    exec ctx_ddl.drop_preference('my_lexer')
    exec ctx_ddl.drop_policy('MY_POLICY')
    DECLARE
        x   ctx_doc.language_tab;
    BEGIN
        ctx_ddl.create_preference('my_lexer', 'AUTO_LEXER');
        ctx_ddl.create_policy('MY_POLICY', lexer=>'my_lexer');
        ctx_doc.policy_languages (    policy_name   => 'MY_POLICY',        document      => 'Good Morning all. Test Oracle 12c Text features',        restab        => x);
        dbms_output.put_line('x: ' || x(1).language || '-' || x(1).score);
    END;
    /
    

    This is certainly a bug, but this seems to work around the problem.

  • Laptop does not connect to the internet, office. Both use the same router. Tried troubleshooting, does not. Help!

    I have a desktop computer and a laptop. Both use the same router. The laptop does not connect to the network, but the office has no problem. My wireless adapter on the laptop is on, I tried troubleshooting. I tried to turn it off for 30 seconds then restart him. But nothing is resolved the problem. Any ideas would be helpful! Thank you

    Hello

    Maybe this can help.

    These steps and tell us where is the breaking point.

    Check the Device Manager for the wireless card valid entry.

    http://www.ezlan.NET/Win7/net_dm.jpg

    If there is no valid entry, remove any entry from fake and re - install the drivers for the wireless card.

    Check network connections to make sure that you have a network icon/entry wireless connection, and that the properties of the icon (right-click on the icon) are correctly configured with the TCP/IPv4 protocol in the properties of network connections.

    http://www.ezlan.NET/Win7/net_connection_tcp.jpg

    Make sure that if there is Wireless Utility a utility vendor is not running with the native Windows wireless utility.

    ----------------

    Make sure you firewall No. preventing / blocks wireless components to join the network.

    Some 3rd party software firewall continue to block the same aspects it traffic Local, they are turned Off (disabled). If possible set up the firewall correctly, otherwise totally uninstall and get rid of its remaining processes that permit the own local network traffic flow.

    If the 3rd party software is uninstalled, or disables, make sure Windows native firewall is active .

    ---------------------------

    Stack TCP/IP work should look like.

    Right-click on the wireless network connection card, select status, details and see if she got an IP address and the rest of the settings.

    http://www.ezlan.NET/Win7/status-NIC.jpg

    Description is the data of the card making.

    The physical address is MAC of the card number.

    The xx must be a number between 0 and 255 (all xx even number).

    YY should be between 0 and 255

    ZZ should be between 0 and 255 (zz all the same number.)

    The date of the lease must be valid at the present time.

    * Note 1. IP that starts with 169.xxx.xxx.xxx isn't valid functional IP.

    * Note 2. There could be an IPv6 entries too. However, they are not functional for Internet or LAN traffic. They are necessary for Win 7 homegroup special configuration.

    ---------------------------------------------------

    A message in the small window that says connected wireless doesn't means that you are really a valid functional connection.

    Above everything is OK, you must be able to connect to the router.

    Connection to the router means that you can enter the IP of the router base in an address bar in one go, being able to connect and configure the router menus see.

    If it doesn't connect to the router, journal newspaper from any computer that can connect to the router wirelessly with a wire, disable wireless security, make sure that the wireless SSID broadcast is enabled and try to connect with no. wireless security.

    Enable security wireless after you eat to make a functional connection.


    Jack-MVP Windows Networking. WWW.EZLAN.NET

  • How change the default resolution for windows to use when the monitor is not connected

    Hi, how can I set the resolution by default that windows uses when the monitor is turned off or not connected at all? My problem is that normally I use 1920 x 1080, but when I put the pc to sleep or just turn monitor and leave it like that for a while with a few app maximized, when I get back and turn the monitor on the resolution is correct but the enlarged window is resized to 1024 x 786 resolution. I tried to change in the registry DefaultSettings.XResolution a DefaultSettings.YResolution in all instances and it worked fine for a long time. Then some update that happened and now it no longer works. I reinstalled the system, but it still does not. How can I force windows to use always the 1920 x 1080?

    It seems that TMM disabling did the trick. Maximized windows are not yet moved to the left edge of the screen, well, those who have been maximized is maximized correctly as they should. I had to disable TMM through registry as I had no MMR in Task Scheduler.

    If anoyone is interested I've followed the instructions described here:

    http://superuser.com/questions/120983/how-to-disable-monitor-auto-detection-in-Windows-7

Maybe you are looking for