Oracle 11g forums

hi...experts...actually am nt able to get "TOOLTIP" option for a heirarchical  tree item(  SPECIALLY IN ORACLE 11G FORMS)..so..can you help me out ..

It's an old forum that's not used anymore. It was before Oracle acquired WLS, and the plan at the time was for OC4J to be used with JDeveloper 11g. You can ignore the forum.

Similar Messages

  • Installing Oracle 11g R2 on RHEL 5.9 server

    Hi,
        I've been trying to install Oracle 11g R2 on a Red Hat Enterprise Linux 5.9 server but have not succeeded thus far. The server meets all the software and hardware requirements for Oracle 11g Release 2 and when it also has all the prerequisite packages/ RPM's on it, when checked manually. I have set up the various kernel, semaphore and local port range parameters in accordance with the Oracle guides for installing Oracle on RHEL 5. I also followed the online guides to create the "oracle" user and set up the groups (oinstall, dba, oper and asm).
        However, when I run the installer, it shows "Failed" for all the prerequisite checks. I tried to ignore this and install Oracle but it failed at 37% and gave multiple errors, related to invoking target 'XYZ' of different files including makefile and gcc.
         I suspect that either the installer is unable to detect these packages as they already exist on our server or it is something to do around permissions to the groups. I read on these forums that it might be because of a "cvu" folder created inside /tmp that requires '777' permission but am not sure if that's what's causing our installation to fail.
         Please let me know how to proceed with the installation and guide me through this.
    Thanks.

    Hi, its Oracle 11g R2 -  2.0.3.6 .
    The O.S is Linux x86_64
    server: RHEL 5.9 (Takinga) with kernel: 2.6.18
    I've been working on this all day today and have managed to overcome the errors regarding the missing/ failed packages. I've also verified that my kernel parameters are correct; I had missed the kernel shmmni parameter yesterday.
    The installer now detects all the packages & runs till 86% when it gives the error: "error invoking target client_sharedlib of makefile".
    Kindly let me know how to proceed. Thanks in advance !

  • Oracle 11g for WinXP VirtualMachine install problem

    Hi!
    I have problem with installation Oracle 11g x32 on WinXP x32 which was installed into VMWare Player
    When my installation goes to 60% i have an error em.ear file not found...
    I looking for many issues on this forum, but i can't fix this error (i have been unzipped all 2 archives in the same folder, i have deleted all files in temp folders...), but i can't pass the oracle install test... all test is filed, but i ignor this screen, because i know, that all is right... so can any one help me with installation?

    957717 wrote:
    Hi!
    I have problem with installation Oracle 11g x32 on WinXP x32 which was installed into VMWare Player
    When my installation goes to 60% i have an error em.ear file not found...
    I looking for many issues on this forum, but i can't fix this error (i have been unzipped all 2 archives in the same folder, i have deleted all files in temp folders...), but i can't pass the oracle install test... all test is filed, but i ignor this screen, because i know, that all is right... so can any one help me with installation?What is the full path name to the directory where unzipped the files?
    Do a system 'find' and locate 'em.ear'. What is the full path name to it? At acommand prompt, enter the following:
    cd \
    dir /s em.earcopy the entire session -- command and results, and paste back here.
    Also, does the path to the installation files contain any spaces? Does the path to the installed ORACLE_HOME contain any spaces?
    You have my condolences for having to work with Windows. To paraphrase a line from a popular movie . . "My momma always said Windows was like a box of chocolates."
    Edited by: EdStevens on Sep 7, 2012 3:42 PM

  • Oracle  11g Performance tuning approach ?

    Hello Experts,
    Is it the right forum to follow oracle performance tuning discussions ? If not, let me know what will be the forum to pick up some thread on this subject.
    I am looking for performance tuning approach for oracle 11g. I learned there are some new items in 11g in this regard. For persons, who did tuning in earlier versions of Oracle,
    what will be the best way adopt to 11 g?
    I reviewed the 11g performance tuning guide, but I am looking for some white papers/blogs with case studies and practical approaches. I hope that you have used them.
    What are the other sources to pick up some discussions?
    Do you mind, share your thoughts?
    Thanks in advance.
    RI

    The best sources of information on performance tuning are:
    1. Jonathan Lewis: http://jonathanlewis.wordpress.com/all-postings/
    2. Christian Antognini: http://www.antognini.ch/
    3. Tanel Poder: http://blog.tanelpoder.com/
    4. Richard Foote: http://richardfoote.wordpress.com/
    5. Cary Millsap: http://carymillsap.blogspot.com/
    and a few dozen others whose blogs you will find cross-referenced in those above.

  • Urjent help !!!Error during running script root.sh for oracle 11g migration

    Dear All,
    My databse is Oracle 9.2.8.0 and i am migrating it into oracle 11g.
    During installation of oracle 11g (with software only option) , it asked me to run the script root.sh in another terminal,
    During running i got the below error.
    What i should do now. shall i continue with the error...............
    Kindly help ? It's urjent....
    Script Output :
    [root@cmssbigt dbhome_1]# ./root.sh
    Running Oracle 11g root.sh script...
    The following environment variables are set as:
    ORACLE_OWNER= oracle
    ORACLE_HOME= /oracle/product/11.2.0/dbhome_1
    Enter the full pathname of the local bin directory: [usr/local/bin]:
    The file "dbhome" already exists in /usr/local/bin. Overwrite it? (y/n)
    [n]: y
    Copying dbhome to /usr/local/bin ...
    The file "oraenv" already exists in /usr/local/bin. Overwrite it? (y/n)
    [n]: y
    Copying oraenv to /usr/local/bin ...
    The file "coraenv" already exists in /usr/local/bin. Overwrite it? (y/n)
    [n]: y
    Copying coraenv to /usr/local/bin ...
    Entries will be added to the /etc/oratab file as needed by
    Database Configuration Assistant when a database is created
    Finished running generic part of root.sh script.
    Now product-specific root actions will be performed.
    Finished product-specific root actions.
    /bin/mkdir: cannot create directory `/opt/ORCLfmap': No such file or directory
    /bin/mkdir: cannot create directory `/opt/ORCLfmap/prot1_32': No such file or directory
    /bin/mkdir: cannot create directory `/opt/ORCLfmap/prot1_32/bin': No such file or directory
    /bin/mkdir: cannot create directory `/opt/ORCLfmap/prot1_32/etc': No such file or directory
    /bin/mkdir: cannot create directory `/opt/ORCLfmap/prot1_32/log': No such file or directory
    /bin/cp: cannot create regular file `/opt/ORCLfmap/prot1_32/bin': No such file or directory
    /bin/cp: cannot create regular file `/opt/ORCLfmap/prot1_32/bin': No such file or directory
    /bin/chmod: cannot access `/opt/ORCLfmap/prot1_32/bin/fmputl': No such file or directory
    /bin/chmod: cannot access `/opt/ORCLfmap/prot1_32/bin/fmputlhp': No such file or directory
    /bin/cp: cannot create regular file `/opt/ORCLfmap/prot1_32/etc': No such file or directory
    [root@cmssbigt dbhome_1]#
    You have new mail in /var/spool/mail/root

    Biswa wrote:
    If u have any problem with urjent word then mention in the forum during regestration that , only who having 5 to 6 days of time can only post. Because the issues will be solved within this time interval.
    Ok ..........No. It is NOT okay to claim that everyone else here that posted problems need to be ignored and your problem be given priority attention because you deem it to be urgent. You have not a single valid excuse for claiming your posting is more important on OTN that other postings.
    It is not acceptable. Learn some basic etiquette please when posting online!

  • Tns problem with Oracle 11g ODAC 11.1.0.6.21 with Oracle Developer Tools

    I installed the full
    Oracle 11g ODAC 11.1.0.6.21 with Oracle Developer Tools for Visual Studio
    now I am at the good old "[ORA-12154: TNS:could not resolve the connect identifier specified]" error.
    I copied the same tnsnames.ora as used on the db server
    onto the client "C:\Oracle\product\11.1.0\client_2\Network\Admin".
    The host name is right since a normal ping works. TNSping is not available.
    but I get the [ORA-12154: TNS:could not resolve the connect identifier specified] error.
    The listener is running and the instance as well since it all works on the source server.
    I tried it with
    SET path=c:\oracle\product\11.1.0\client_2\bin
    but tnsping is still not recognized.
    sqlplus works on the other hand when I set it to
    SET path=c:\oracle\product\11.1.0\client_2\
    what is going on...

    hey
    u can post your query here, and i think everyone here is to share opinion so do not hesitate to do so and please try to google before posting here,
    and we know no one is expert like some people saying 'boring questions' you just try to overcome your problem and you will definitly get your problem solved .
    some mpeople ar still there who answeres hopeless questions and say nothing about them but when a fresher askin a qustion is not tolarated by them they think everyone is born DBA here
    they always tend to discouraging people here on forums,and i think they are vvolunteers to reduce crowd here on forums, inspite of there experience and people respect them they can not control their anger
    so please post you tns here, i think there are ways to ask people to google and search docs first, but not like this
    thanks and regards
    VD
    Edited by: vikrant dixit on Jun 29, 2009 4:33 AM

  • Oracle 11g SOA-BPM PS3 Installation Help

    I'm not a super techie, so installing the latest release from Oracle was a challenge, but I encountered a number of problems and kept notes of what I did to solve it. Many of these hints came from the Forum, but nothing had all of the relevant info under one thread. So here is what I pieced together. If this is helpful to anybody, I'd love to hear it - either on this thread or at my e-mail address of [email protected]. My thanks to Linus Chow of Oracle for some help and allowing me to think I could do this!
    Comments/Suggestions on Oracle 11g SOA-BPMN PS3 Installation_
    Suggest downloading all files into a common directory. I stuck this folder at the root (C:) drive. At collectively just over 5 GBs, the downloading will take several hours (for me it was a full day, as did the installation). You will need an OTN account to be able to download the software. A good overview of PS3 is at the following link: http://blogs.oracle.com/bpm/2011/01/bpm_suite_11gr1_ps3_released.html.
    General comment/suggestion. Be sure to name the aforementioned folder without any spaces (big problems if this is done because of how unzipped files do/don’t work with a path name with spaces in it). As the installs get started, note that an Oracle directory (under the root) with a default name for the middleware directory, named Middleware, is created as the default.
    The link with the installation is actually helpful, but it is incomplete (http://www.oracle.com/technetwork/middleware/bpm/downloads/index.html). Some of the detail needed is in the quick installation guide (http://download.oracle.com/docs/cd/E17904_01/install.1111/e14318/toc.htm, and I suggest downloading the PDF version), but the order conflicts with the previous information. I resolved this by using the latter for detail, but the former for the sequence. I also had to turn to several blogs/forums (the main one being: http://blogs.oracle.com/SOA/2009/08/installing_oracle_soa_suite_11.html) to get help on troubleshooting problems with the installation (see below for others).
    I have a Windows 7 Professional 64-bit version, but I ended up following the path for the 32-bit install path (see the main link cited above), mostly because it was unclear to me what the 64-bit path would be. I also already had the 32-bit version of the JRE installed. The following links cover identifying the differences and what you may have installed as well as alternative versions to download: http://www.java.com/en/download/faq/index_general.xml?user_os=Windows%207; http://www.java.com/en/download/faq/java_win64bit.xml; and http://www.java.com/en/download/manual.jsp.
    Another general comment/suggestion. I found it useful to reboot after each step. It shut down services that I would otherwise have to search for and shut down manually. Some of the installations require services activated by previous steps to be turned off, so you’re better off doing something like this rather than encountering such an error in a subsequent step.
    Step 1: Installing the XE database. The file is an .exe file, and will execute upon a double click. However, the instruction regarding RCU is best saved until the 3rd step, doing it just before you install the RCU. More importantly, there are some things to keep in mind about the database install. First, after installation, you should sign on to the DB, using the Go To DB Home Page option under the Express Edition (XE) folder or set of menu options (created as part of the installation), under the SYSTEM user account. During installation, you’ll have to have given a password for this account, so make sure it is one you can remember. After signing on as SYSTEM, give the SYS user account another (or same) password that you can remember. You will use the SYS account in subsequent steps. Second, there is a parameter for the database that must be changed from the default. This is covered in the links below: http://blogs.oracle.com/tridib_samanta/2010/03/rcu-6107db_init_param_prerequisite_failure_for_processes.html and http://cn.forums.oracle.com/forums/thread.jspa?threadID=1004605. To solve this, select SQL button on the DB home page, then SQL Commands button on the next page, paste/enter into the pane at the top the following command, “ALTER SYSTEM SET processes=300 SCOPE=SPFILE;” (but without the quotes), and then click on the Run button. (The parameter must be greater than or equal to 200, but I found references to setting in equal to 300 or 500.) Then you can log out and close the web page.
    At times, the DB might not be started when you are expecting it to be running (e.g., after a reboot), which is covered in this link: Oracle 10g database homepage not working? (You’ll know that it is isn’t running if you try to open the Go To DB Home Page option and it won’t open, displaying an error page instead.) I found that the simplest way to fix this was to go to the Control Panel, Administrative Tools, Services, and then look to see if the OracleServiceXE service is started. If not, then restart by right-clicking on that service listing and choosing the appropriate option to execute.
    Step 2: Installing WebLogic Server. Either before or during this process, you will need to set up an Oracle Support Account. However, you need a customer ID to be able to create a profile. I was thus not able to complete a profile, so the WLS installation defaulted to the Anonymous registration option. This still needed an e-mail address though, the same one with which you would create the Oracle Support profile, so you should have one at the ready. (It would not accept the e-mail address for my OTN account.) As far as I can tell, the consequence of this path is that I cannot automatically get patches and such. I figure this is a problem to be solved another day. The Oracle Support links are: https://support.oracle.com/CSP/ui/faq_en.html#SignIn and https://support.oracle.com/CSP/ui/flash.html.
    If you go with the default, the middleware directory is just Middleware under the Oracle directory. If you select a different name or location, you will need to remember where it is and what the name is. You should also note the folder name for where the JDK was stuck, which for me was JDK160_21 under the Middleware directory.
    Step 3:  Installing RCU. The trickiest of the steps. Unlike with the previous two steps, this installation first happens after the downloaded file is unzipped. You MUST unzip into a directory for which the full path name (and not just the one you create upon extraction) is without any spaces. (You can use the underscore symbol instead of a space to indicate separation.) Unzip the folder/files, and then open the Command Prompt window. Using the cd command, work your way to the full path name to where you just unzipped these files. Next, continue to work your way down to subfolders created during the extraction process. You want to end up at the rcuHome\BIN\ subfolder. THEN do the RCU-related command cited in Step 1. Type in at the prompt the following command and hit enter: set RCU_JDBC_TRIM_BLOCKS = TRUE. Then, type in rcu.bat at the prompt and hit enter, which will run the installation and configuration sequence. This is realized through a series of windows that open for you to input information and make selections. Use the document at the following link of specific guidance as to what the configuration screens should have entered on them: http://blogs.oracle.com/SOA/2009/08/installing_oracle_soa_suite_11.html. This includes things like the service name (XE) and the host name (localhost) to enter, assuming you are installing this on a laptop or PC for local use only. Some other helpful links for troubleshooting the RCU installation are located at: http://download.oracle.com/docs/cd/E12839_01/doc.1111/e14259/rcu.htm#CIHGHDBG; http://oraclebi.blogspot.com/2010/08/rcu-and-what-it-means-for-you.html ; Re: RCU 11.1.1.4 install fails on Oracle XE and http://cn.forums.oracle.com/forums/thread.jspa?threadID=2162409&tstart=0&messageID=9336791.
    The RCU sets up DB schemas and the like for the BPMN and SOA stuff. The screenshots in the previously mentioned document should be followed exactly. You can also refer to pp. 5-6 of the Quick Installation Guide. You should use the SYS user account (the default, I think), so have the password handy.
    I also found it more comforting to shutdown the RCU installation/configuration via the cancel option than to keep going back a screen to fix something. This may not have been necessary, but it made me feel better. Be prepared for interim screens that pop up to show that the installation/configuration is happening, which will also tell you there are errors. One such screen says that XE isn’t supported for RCU, but you can ignore that (as the supporting guidelines indicate).
    Step 4:  Installing JDev. This is an executable, and you just install with all of the defaults. This process will start the WLS as part of the installation, so you must turn it off before going to the next step. Again, I just rebooted to do this.
    Step 5:  Installing SOA Extensions for JDev. Instructions on the page at the main link are clear and correct. The 2 screen shots must be reviewed and adhered to completely in checking off options. The first selection defines the areas where updates are to be sought out, while the second selection is from the available option(s) from those areas. In this case, you are only installing the SOA Composite Editor, though there are several other updates/extensions from which to select (but don’t, at least for now).
    Step 6: Installing BPM Extensions for JDev. Same comment as for Step 5, except that the option you want to select is not as what is indicate (the BPM Composite Editor) but the BPM Process Studio! I would advise against doing these as part of the same update sequence. In fact, I closed out JDev completely (though I did not reboot) between Step 5 and Step 6.
    Step 7 and 8:  Installing SOA Suite. I suggest unzipping both of the downloaded zip files. Again, it is critical that the full path name into which files are extracted contains no spaces. Once unzipped, you should navigate to the Disk1 folder under the directory into which the first zip file was extracted, but you should do this with the Command Prompt window and the cd command. From this prompt, you should type in “setup.exe -jreLoc {location of JDK}” (without the quotes) and hit enter. The {location of JDK} is where the JDK was installed as part of the WLS installation. For me this was in folder JDK160_21 under the Middleware folder in the Oracle directory. Refer to pp. 12-15 of the Quick Installation Guide. This took me a couple of tries before I actually got the installation screen to show up correctly. Some of what this looks like is also in the following link: http://blogs.oracle.com/SOA/2009/08/installing_oracle_soa_suite_11.html.
    What you may eventually figure out is that 5 installation disks are stretched across two zip files. Once the installation of disks 1 and 2 are done, a popup window will ask you to browse to the folder where each of the next 3 disks are, which is in the folder created by the extraction of files/folders from the second zip file for the SOA Suite. As with previous steps, I rebooted after all of this was done.
    Step 9:  Installing the Business Process Converter. Unzip the downloaded file, and open the Installation Instructions Word file. It will instruct you to point JDev’s update sequence to another zip file extracted during the unzipping of the downloaded zip file for the converter. JDev will install this without much fuss or muss, but this installation is to the Studio and not to BPA. (For installation to BPA, you need to have installed BPA, and followed the other guidance in the instructions.) To get to JDev’s update sequence, follow the same first step as in Step 5, but check the option to browse for and upload from a local file. This local file will be the previously mentioned other zip file.
    -------------------------------------------------

    Create a new user oracle and proceed with the installation
    --> useradd -g oinstall oracle
    If your are forwarding your GUI using xming or vnc you would need to copy the xauth of root user and set it to oracle
    [server1:root] xauth list
    bangvmpllE.com/unix:11 MIT-MAGIC-COOKIE-1 b23d63374fe25a3577751b6b95b2210e
    [server1:root] sudo su - oracle
    [server1:oracle] export DISPLAY=localhost:10.0
    [server1:oracle] xauth add bangvmpllE.com/unix:11 MIT-MAGIC-COOKIE-1 b23d63374fe25a3577751b6b95b2210e

  • Steps to Install Oracle 11g XE 64 on Linux 14

    Hi
    Need steps to install Oracle 11g XE on fedora linux 14 on VM ware. I tried methods that are posted but oracle got installed but it is not working need some proper steps to install, I have done the installation on windows its but am new to linux. Please suggest me.
    Also please suggest me how to installe oracle 11g Enterprise edition on linux fedora 14.
    Thanks
    Sudhir

    Hi;
    1. There are XE dedicate forum site:
    Forum Home » Database » Application Express which is XE dedicated forum site.
    2. Installation guide can be found at:
    http://www.oracle.com/technetwork/products/express-edition/documentation/index.html
    Regard
    Helios

  • How to pass more than 1000 entries in 'IN' clause, Oracle 11g

    Hi All,
    I know this is a very common question in Oracle discussion forum. But, Im in different zone.
    I use C#, .NET and Oracle 11g. I have a situation where I will create a query statement using 'IN' clause in C# code based on my requirement and execute that statement from code itself with oracle connection object. I do not have any procedures. I must phrase my query statement and pass it on to OracleConnection object to execute it.
    My code looks like this....
    List<decimal> x_Ids = new List<decimal>();
    I will load my IDs into x_Ids here;
    string whereInClause = ........I will prepare a 'IN' clause (All IDs separated by ',')
    My query would looks like this....
    string query = select * from MYTABLE where X_ID in [ whereInClause with more than 1000 entries]
    oraConn.ExecuteQuery(query);
    I have a workaround with OR operator with 'IN' clause like below.
    X_ID in [ Ids till 1000 entries] OR X_ID in [Next 1000 entries] OR X_ID in [Next 1000 entries] ....so on.....
    It is working, but, I heard that this may slowdown the performance of the application. Is this really a performance hit to my application?
    Can you please suggest any other workaround to overcome this situation?

    >
    I have a workaround with OR operator with 'IN' clause like below.
    X_ID in [ Ids till 1000 entries] OR X_ID in [Next 1000 entries] OR X_ID in [Next 1000 entries] ....so on.....
    It is working, but, I heard that this may slowdown the performance of the application. Is this really a performance hit to my application?There should be no performance difference between a statement like
    select * from myTab
    where ID in (1,2,3,4,5)
    OR ID in (6,7,8,10,12) and
    select * from myTab
    where ID in (1,2,3,4,5,6,7,8,10,12) The execution plan should be identical.
    However those values might better be send as a single object (collection or table of numbers type).
    I think the ODP or OO4O connectivity allows to create and such oracle object types.
    Another way could be to think about how all the values are created? Did any user enter them manually? Certainly not. Then maybe you can apply the same logic to the SQL statement that created those values in your .Net application.
    something like
    select * from myTab
    where ID in (select t2.FK_ID from otherTab t2 where t2.Col1 = 100) This approach would probably beat all others performancewise. Since you avoid the overhead of constructing the in-lists.

  • Query not considering function based index in oracle 11g

    I have a query which used Function Based Index when run in oracle 9i but when I run the same query
    without any changes, it does not consider index. Below is the query:
    SELECT distinct patient_role.domain_key, patient_role.patient_role_key,
    patient_role.emergency_contact_name,
    patient_role.emergency_contact_phone, patient_role.emergency_contact_note,
    patient_role.emergency_contact_relation_id,
    patient_role.financial_class_desc_id, no_known_allergies, patient_role.CREATED_BY,
    patient_role.CREATED_TIMESTAMP,
    patient_role.CREATED_TIMESTAMP_TZ, patient_role.UPDATED_BY, patient_role.UPDATED_TIMESTAMP,
    patient_role.UPDATED_TIMESTAMP_TZ,
    patient_role.discontinued_date
    FROM encounter, patient_role
    WHERE patient_role.patient_role_key = encounter.patient_role_key
    AND UPPER(TRIM(leading :SYS_B_0 from encounter.account_number)) = UPPER(TRIM(leading :SYS_B_1 from
    :SYS_B_2))
    AND patient_role.discontinued_date IS null
    AND encounter.discontinued_date IS null ;
    Index definition:
    CREATE INDEX "user1"."IX_TRIM_ACCOUNT_NUMBER" ON "user1."ENCOUNTER" (UPPER(TRIM(LEADING
    '0' FROM "ACCOUNT_NUMBER")), "PATIENT_ROLE_KEY", "DOMAIN_KEY", "DISCONTINUED_DATE")
    PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
    STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1
    BUFFER_POOL DEFAULT)
    TABLESPACE "user1"
    Database : Oracle 11g (11.2.0.3)
    O/S : Linux 64 bit (the query does not consider index even on windows os)
    Any suggestions?
    -Onkar
    Edited by: onkar.nath on Jul 2, 2012 3:32 PM

    Onkar,
    I don't appreciate you posting this question in several forums at the same time.
    If I would know you also posted this on Asktom, I wouldn't even have bothered.
    As to your 'issue':
    First of all: somehow cursor_sharing MUST have been set to FORCE. Oracle is a predictable system, not a fruitmachine.
    Your statement the '0' is replaced by a bind variable anyway is simply false. If you really believe it is not false, SUBMIT a SR.
    But your real issue is not Oracle: it is your 'application', which is a mess anyway. Allowing for alphanumeric numbers is a really bad idea.
    Right now you are already putting workaround on workaround on workaround on workaround.
    Issue is the application: it is terminal., and you either need to kill it, or to replace it.
    Sybrand Bakker
    Senior Oracle DBA

  • Oracle 11g and PRO*C :  pre-compile errors only with 11g !

    Hi !
    I didn't find a forum specific to pro*c, so here i am.
    I've downloaded Oracle 11g and recompiled our applications using pro*c
    We currently precompiling without any problem our sources against Oracle 7, 8, 9, 10.
    With Oracle 11g, it doesn't work !
    every EXEC SQL followed by a command works.
    every EXEC SQL followed by a query generates the same error.
    Example :
    char *oracle_date_courante()
         static char buf[SIZE_ORADATE+1];
         EXEC SQL SELECT sysdate into :buf from DUAL;
         if(ORA_SQLERROR())
              oracle_error("sélection date courante");
              buf[0]=0;
         return buf;
    PRO*C output :
    Erreur Ó la ligne 105, colonne 2 dans le fichier src\oracle.pc
    EXEC SQL
    .1
    PLS-S-00000, SQL Statement ignored
    erreur sÚmantique Ó la ligne 105, colonne 2, fichier src\oracle.pc:
    EXEC SQL
    .1
    PCC-S-02346, PL/SQL a trouvÚ des erreurs sÚmantiques
    So, we investigated... And found that thoses errors come when we use the option sqlcheck=semantics.
    If we use an inferiour check level, it works but because we use PL/SQL keywords, pro*c prints errors and wants us to provide the 'semantics' sqlcheck level !
    So, it's a vicious circle !
    Any ideas ?
    Thanks...
    Vincent

    Adding the option common_parser=yes removes the errors !
    But brings errors linked to the PL/SQL parser such like
    CSF-S-00000, ORA-06544: PL/SQL : erreur interne, arguments : [55916], [], [], []
    1>, [], [], [], []
    1>ORA-06553: PLS-801: erreur interne [55916]
    Really vicious..and still not precompiling !
    By the way : Server is 10.2.0.1... and i guess thoses errors are normal since the common parser is not available in this version...
    So bye bye option common_parser and i'm back to my orignals errors.
    Message was edited by:
    Vicenzo

  • Oracle 11g Vs previous version

    Hi,
    can someone please explain Oracle 9i/10g Query Execution vs Oracle 11g Query Execution features for some of the new statements introduced in 11g using CBO.
    How the SQL vs PL/SQL caching using Oracle 11g ?
    Can we use Optimization Hints in Oracle 11g Queries ? useful or not w.r.t performance and add directions to the Developers.
    Any Improvement on XML parsing?
    Thanks

    Hello there,
    Are you aware that this forum is for users of Oracle OLAP?
    It sounds to me like your questions would be better suited to the [General Database Forum|http://forums.oracle.com/forums/forum.jspa?forumID=61]
    Stuart

  • ORACLE 11g + PHP5 problem: "fetch out of sequence" on remote database link

    Hi!
    I have a new server with oracle 11g (11.1.0.7) database and apache/php5 (actual build) on linux.
    connection type is dedicated.
    when doing a connection to a remote AS/400 database I always get this error:
    "Warning: oci_fetch_array() http://function.oci-fetch-array: ORA-01002: fetch out of sequence ORA-02063: preceding line from..."
    when doing the same simple "select * from database link" at my old server with oracle 9i and apache/php5 no problem occurrs.
    this happens at AS/400 database link only. normal oracle database links work fine.
    Anyone an idea how to solve this problem or where the problem is????
    further info:
    when doing " select * from [ database link ] where rownum < 11 " it works, but when doing the query with more than 10 results I get the error. Any idea?
    bye,
    Oliver
    Edited by: user501548 on 10.10.2008 02:20

    well a fetch out of sequence usually indicates that a cursor has been closed before the process has finished fetching or some such thing.
    I'm not aware of there being a specific problem with the situation you outline, but maybe if you could provide all the connection setup and how you are trying to connect that may give a better idea.
    Also, you may be better asking on the General Database Discussions forum as this isn't really a SQL or PL/SQL problem

  • Image not displaying in pdf report using XSL-FO and using Oracle 11g databa

    Good Afternoon,
    I have created over 15 reports using XSL-fo, with the following syntax to display an image on the pdf:
    fo:block margin-left="0.24cm" margin-right="0.27cm" margin-top="0.0cm" ><fo:external-graphic content-width="scale-to-fit" content-height="scale-to-fit" width="1.73cm" height="1.57cm" >
    <xsl:attribute name="src">'url("http://readiness:7780/i/marforcom_symbol_rpts.gif")'</xsl:attribute></fo:external-graphic>
    </fo:block>
    This syntax works fine when using Oracle 10g, now my database has been upgraded to 11g and my image no longer displays in the reports. I have already upload the image into the database as a workspace image.
    I have tried to point the image @ the image by using url(#WORKSPACE_IMAGE#marforcom_symbol_rpts.gif)
    or <img src ="#IMAGE_PREFIX#marforcom_symbol_rpts.gif")
    and it still doesn't work.
    I have searched this forum trying to come up with a solution that will fix my problem and am unable to.
    Current config: Oracle 11g, using pl/sql gateway.
    I need to know how to point the xsl-fo file to the database, where the image now resides.
    Thanks,
    Mary
    Edited by: MaryM on Jul 25, 2012 3:15 PM
    Edited by: MaryM on Jul 25, 2012 3:51 PM

    Hi,
    I think you need load images to database XDB virtual directory /i/ and then use #IMAGE_PREFIX# substitution.
    This might help to access /i/
    http://www.apex-blog.com/oracle-apex/accessing-i-using-ftp-170.html
    Or use this to load images
    http://oracleinsights.blogspot.fi/2012/05/loading-images-into-oracle-xdb.html
    Regards,
    Jari
    My Blog: http://dbswh.webhop.net/dbswh/f?p=BLOG:HOME:0
    Twitter: http://www.twitter.com/jariolai

  • Oracle 11g ODAC 11.1.0.6.21 on Windows 2008 Standard server gives TNS error

    Hi,
    I have Oracle 11g ODAC 11.1.0.6.21 installed on my Application server that has 32 bit Windows 2008 Standard. The Oracle database 10g is installed on another 2008 server. On database server I can connect using SQLPlus. But on application server I cannot connect using ODAC SQLPlus. I have given correct service name in tnsnames.ora file.
    Error is ORA-12154 TNS: Listener cannot resolve service name
    What's wrong? Is 11.1.0.6.21 not meant for Windows 2008? I did not get any errors while installing.
    This 11.1.0.6.21 works perfectly for me on XP machine.
    I have browsed this forum but not getting clear steps to peform.
    Can someone guide me what is needed?
    Thanks
    Shrini

    Hi,
    The request to connect from the client is reaching the server but it seems the parsing of the service name is either wrong or the information is correct. Here are a couple of suggestions.
    If you have a good known set of sqlnet.ora and tnsnames.ora files on another client where the same connection descriptor works, then backup the curreny client network config files and copy the good known files to the Windows 2008 web server where you see the error. Make sure you recycle the worker processes once the files have been copied.
    Try to connect via Ezconnect and by pass the config files to see if you get the same error.
    //hostname:port/servicenameofdb
    where hostname is the machine where the target database is running
    port is the port on the DB machine where the tns listener is running and listening
    service name is the service name of the target DB
    Use this syntax in the connect string box when attempting to connect from SQL PLUS out of the ODAC home.
    You can also run lsnrctl utility on the server and vertify there is a handler for the service name or instance that is the target,
    HTH
    Jenny B.

Maybe you are looking for