SQLState HY000 that no request has been performed with this handle

Hello everyone. I tried to get a working between 11.2 Oracle & PostgreSQL DBLINK. We had a plethora of errors... However, rather than try to explain I will simply display all errors, track & all my settings. All so first of all, here is a quick paste of the error I get.
I had to cut part of the path for the length. But it repeats a bit
Thanks in advance for any help.

This is the error we get Oracle Developer program

SQL > /.
Select * from ods_md__product@denodo_dblink
*
ERROR on line 1:
ORA-28500: connection between ORACLE and a non-Oracle system has sent this message:
No query has been executed with this handle {HY000, NativeErr = 1} no request has
been executed with this handle {HY000, NativeErr = 1}
ORA-02063: preceding 2 lines of DENODO_DBLINK

And this is a rough idea of which comes from the trace.

Entry hgopoer to 16/12 / 07/2012: 12:35
hgopoer, line 231: had native error 1 and sqlstate HY000; message follows...
No query has been executed with this handle {HY000, NativeErr = 1} no query has been executed with this handle {HY000, NativeErr = 1}
Out of hgopoer, rc = 0 to 16/12 / 07/2012: 12:35
hgopars, line 526: calling SQLNumResultCols obtained sqlstate HY000
Out of hgopars, rc = 28500 to 16/12 / 07/2012: 12:35 with the ptr error FILE: hgopars.c LINE: 556 FUNCTION: hgopars() ID: preprocess the number of columns
hostmstr: 0: HOA after hoxpars
hostmstr: 0: CPP after SQL grouping



I use Oracle for heterogeneous environments 11.2 on RHEL 5.4
Connection to Denodo on Windows that use PostgreSQL drivers
unixODBC 2.2.12
psqlODBC drivers 08.04.0200


ODBC.ini


[VDP_acme_DSN]
Description = connection VDP
Driver = postgreSQLDriver
Trace = no
Trace file = /tmp/trace.log
Debug = no
DebugFile = /tmp/debug.log
Database = aaa_ncnu
ServerName = *. *. *. *
User name = admin
Password = admin
Port = 9996
Protocol = 7.4
ReadOnly = No
RowVersioning = No
ShowSystemTables = No
ShowOidColumn = No
FakeOidIndex = No
LFConversion = Yes
UpdatableCursors = Yes
BoolsAsChar = Yes
UniqueIndex = Yes
ServerType = Postgres
ConnSettings =
UseServerSidePrepare = 0
ByteaAsLongVarBinary = 1
Optimizer = 0
Ksqo = 0

[ODBC]
TraceFile=/tmp/sql.log
Trace = 1

odbcinst.ini
[postgreSQLDriver]
Description = driver PostgreSQL 08.04.0200
Driver = /usr/local/lib/psqlodbcw.so
UsageCount = 1


initVDP_acme_DSN.ora
HS_FDS_CONNECT_INFO = VDP_acme_DSN
HS_FDS_TRACE_LEVEL = DEBUG
#HS_FDS_TRACE_LEVEL = 255
HS_FDS_SHAREABLE_NAME = /usr/local/lib/libodbc.so
HS_LANGUAGE = american_america.we8mswin1252

#
# ODBC specific environment variables
#
Set ODBCINI=/usr/local/etc/odbc.ini


tnsnames.ora
ETLD =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = ETLD)
)
)

VDP_acme_DSN =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = Localhost)(PORT = 1527))
(CONNECT_DATA =
(SERVICE_NAME = VDP_acme_DSN)
)
(HS = OK)
)

listener.ora * bold * "BOLD"



LISTENER_TG =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = CIP)(KEY = PNPKEY))
(ADDRESS = (PROTOCOL = tcp (PORT = 1527))(HOST=localhost))
)
SID_LIST_LISTENER_TG =

(SID_LIST =
(SID_DESC =
(SID_NAME = VDP_acme_DSN)
(ORACLE_HOME = / app/oracle/product/11.2/tghome_1)

(ENV="LD_LIBRARY_PATH=/usr/local/lib:/app/oracle/product/11.2/tghome_1/lib')
(Program = dg4odbc))
)


I've posted a copy of my oracle on pastebin trace cause of length

http://pastebin.com/2qbgJL03

Even with my ODBC trace

http://pastebin.com/2FU9nRCS

The odbc trace that shows:
[ODBC] [6347] [SQLPrepare.c] [192]
Entry:
Statement = 0xde51420
SQL = [SELECT A1. "" prd_cd ", A1. "" prd_dsc ", A1. "" ld_dt ", A1. "" updt_dt ", A1. "" prd_ln_dsc ", A1. "" prd_ln_cd ", A1. "" ln_bus_cd ", A1. "" ln_bus_dsc ", A1. ["co_num...] [length = 201]
[ODBC] [6347] [SQLPrepare.c] [367]
Output: [SQL_SUCCESS]
[ODBC] [6347] [SQLNumResultCols.c] [149]
Entry:
Statement = 0xde51420
Number of columns = 0xde16fa8
[ODBC] [6347] [SQLNumResultCols.c] [234]
Output: [SQL_ERROR]
Count = 0xde16fa8-> 0
DIAG [HY000] no query has been executed with this handle

=>, it seems that the Postgres ODBC driver you are using has a few problems with the SQLNumResultCols function. Your current version of the ODBC driver is psqlodbcw.so, DriverVer:08.04.0200, and there are new drivers available. Can you please get the latest ODBC driver and check again?

Tags: Database

Similar Questions

  • I have the first Pro 2015 but when I try to open a project that has been registered with the Premier Pro 2015 on another machine I get an error message that says that the project has been saved with the latest version.  Help!

    I have the first Pro 2015 but when I try to open a project that has been registered with the Premier Pro 2015 on another machine I get an error message that says that the project has been saved with the latest version.  Help!

    It seems that your version is not the latest.

    Check help / about... what version it reads.

    It should be 2015. (9.2.0 build 41)

    Otherwise, please update your version via app updates... or cloud in respect of aid.

  • I'm trying to upgrade a site from Muse and it keeps telling me that the site has been created with a different version of Muse. I have updated Muse and still can not access the site to make changes.

    I'm trying to upgrade a site from Muse and it keeps telling me that the site has been created with a different version of Muse. I have updated Muse and still can not access the site to make changes.

    Hi rgarden95,

    Can you please confirm the exact version of Muse, you open the file with?

    To check the version of Muse, please click Help-> on Adobe Muse CC.

    Kind regards

    Akshay

  • How can I be sure that Firefox 4 has been installed on this computer?

    I followed the procedure to install Firefox4. Previously I had installed 3.6 or 3.7.
    I never received any indication that the installation has been effective, but I have two icons mysteriously on my desktop now. Where can I find evidence of all, but Firefox 4 are retired and more active Firefox 4?

    Your system details (more) shows that you used Firefox 4.0.1 to post your message.

    You can see the installed version of Firefox in Firefox > help > about Firefox

    More in help > troubleshooting information

  • None of my apps work after that my laptop has been infected with the virus Vista Internet Security 2010,

    Hi all
    I need help to get my computer back to normal.

    My laptop has been infected with the virus Vista Internet Security 2010, but I removed it, NOW none of my apps (Yahoo Messenger, trash, other folders, SYSTEM, all file icons restore,) work, I managed to get rid of the virus visa, but still none of the programs work. When I try to open any program, it displays an error message "this file has no program associated with it for performing this action. Create an association in the set associations Control Panel. " I did all the steps, but still nothing works now all my files are open with the same file. I try to download a program to fix this problem, but I'm not able to run cause keep giving me the same error and cannot download anything. Is it possible to recover my computer as usual. Any help much appreciated.
    Help, please.
    Oh also all the icons on my destop are replaced by the same feacture of icon, but the name of the icons are staying same.if it shows adobe icon and all icons are adobe, when I open it with ie, then everything will change IE also. even if the opening programme has also changed to the same icon as dekstop one. now all my things are open with yahoo messenger:(c'est fou:()

    Try restarting your PC and press the F8 key repeatedly and then start in safe mode with networking and download and comprehensive performance analysis with:

    http://www.Microsoft.com/security/scanner/en-us/default.aspx

    If this does not work, try to run Windows Defender version offline beta:

    http://Windows.Microsoft.com/en-us/Windows/what-is-Windows-Defender-offline

    You can take a look at:

    http://cyberdefend.WordPress.com/2012/01/07/boot-Windows-for-scan/

    If the problem has not resolved, then contact Support for Microsoft Security:

    https://consumersecuritysupport.Microsoft.com/default.aspx?ProductKey=pcsafetymalware&task=Diagnostics&mkt=en-us&St=1&wfxredirect=1

  • fsmgroup called sayinhg that my computer has been infected with spyware

    I had been contacted by twice saying that you had advised the (supposedly legitimate third-party provider you?) to call me as my computer ID showed that I had been infected with spyware + report fsmgroup error warning. I carefully allowed them remote access where they have ran spyware inf and demonstrated on a 1000 Trojans.  I said several times that I wasn't going to buy anything and they said that they were not selling anything and that they were working on your behalf for me rid of bugs that will eventually lead to my PC to hang with a blue and black screen. However, the only way to solve the problem was to buy a plan. When I refused to purchase the plan, they started the files removed from my spyware in location, despite my asking them to stop - I turned off my computer to stop. I asked them why they did not respect my wishes and they couldn't answer. The person said it had deleted the wrong file and then hung up.  I caused damage to my computer. I can see no longer the same disks and I thought that it had removed the demand of c: Windows drive | INF.  There still a lot of files in this folder (more than 1000) which have been reproduced with an extention. PNF.  Are these files malicious indeed, if yes, what can I do? Also it damage by deleting anything in this area. I ran Malwarebytes and found no errors.

    I am very concerned. Please can you help.

    Rosie

    Hello Rosieptrc

    It's like a scam. Please see the threads below regarding scams and how to prevent them. Thank you.

    http://www.Microsoft.com/security/online-privacy/phishing-symptoms.aspx

  • What should I do when I receive the message that Disk Defragmenter has been programmed with the help of another program?

    I use the 64-bit version of Windows 7, 1.3 terabytes on my hard drive free and have a very slow computer. When I checked the Task Scheduler, it shows that the Defragmenter should start every Wednesday at 01:00 and the last time he had run was 12/10/2011.

    I would like step by step, answers I can get, as I'm not all that good on the computer. Thank you.

    Solution...

    Reset the calendar... to run every DAY.

    This will be as EFFECTIVE as running the DEFRAGMENTATION program in...  AUTOMATIC mode...

    Or, (mostly) running in the background, think about it, you are the one who has a TERABYTE of hard drive... to defragment?

    The Defrag program defragments only the AMOUNT of hard drive FILLED, in any case.

    I throw my computer this way, ETM, it works very well, indeed.

    And I did that 2 x 250 GB disks hard.

    XP, on one.

    Windows 7, on the other.

    What about your computer being SLOW, LEARN 'How - to' clean UP the cache of COOKIES.

    On a DAILY BASIS, too!

    UOI can use a UTILITY program... to do this and make things easier for you. .

    Many say "do not use these programs. You have trouble if you do. »

    These are professional computer repair people, who want TO "your business and they may not have IF you use these utility programs that fix your computer.»

    (Without "aid", that is!)

    I used Glary Utilities program... for years.

    It works vvery wel. For me!

    Nest part about this, if you FORGOT to clean the 'cookies', this program will do for you IF you set up right.

    That IS, to set up the section of Maintenance with a SINGLE CLICK, he always appears FIRST time run successfully, where each segment is CHECKED.

    And you RUN it... until no. PROBLEMS appear.

    As I said... I usung this program for years and my computer runs as smooth as silk.

    Seeing that the way you run a 64-bit operating system... I WOULD add more RAM for your computer.

    I would say that you may be using ONLY 2 GiG of RAM, a 64 bit OS that is not enough.

    4 GB will work OK, that makes 8 GIg in a Kick butt machine.

    Some time in the task of upgrade, an upgrade of... graphic .the CERTAINLY won't hurt, either.

    He'll be fine, with this terabyte hard drive you are using.

    Now, it will be that a machine might want.

    I use a 322-bit OS, but this drive hard terabyte THEN is on my list of "improvements".

    Like 2 of them.

  • Impossible of signature of the request that this request has been saved with all the powers of signature

    Hello

    I got the .csi file and I registered it on my machine.  Then I went to JDE to sign my code.  I went to build-> options to request signatures and tried to register my code.  It gave me an error, so I tried to revoke the key (think it will revoke for this code but I guess that it has revoked the key to my machine.  And when I tried to save the .csi file again once he said "cannot be saved beacause...... restristration exhausted tent".  Question: Revoke the key, cancel the registration of the computer or just specific code?  How can I solve this problem?

    Thanks in advance

    Concerning

    Hitesh

    This thread has a discussion and the solution to the problem.

  • Your company has never called a home residence to say that a computer has been infected with malicious malware?

    I just got a phone call from a person stating they are from Microsoft saying that my computer is infected. They asked me to run something and then they gave me a webiste to type. I was very tired and I asked for a phone number and she gave me 1-416-915-3536 or 1-800-500-44600 and ask Christine.

    Is - is this legitimate?

    Please notify.  Thank you... Bernadette

    It is a scam.  Whatever you do, don't let them get close to your computer.  MS does not have that kind of appeal.

    Good luck.

  • Impossible signatures request until that this request has been saved...

    I strive to codesign my first application needs.  I got the RIM csi files and them registered without any problems, but when I go into the signing tool, choose the .cod requiring a signature, then click request I get this error.  What this means and how would address I registered my app with signing authorities.  User guide talks about finding the .cod files, and then double click on it to set signatures (csl files), but on my PC, the .cod extension has been associated with MS Visual Studio, which is clearly not much use in this process.  Anyone able to help?

    Thank you

    Douglas

    Ok.  I managed to get it sussed (well sort of).  First of all, I am running vista and installed a component of Visual Studio after installing the JDE.  This re-assigned the file association for the .cod files and however much I tried to re - install the JDE, he didn't get back up.  Vista is a little obtuse as the sensitive file association process that has been possible on XP (the tab file types under folder options) no longer exists and it is possible from the GUI to assign a file type to an executable file, not a command line complex.  Apparently, there are tools that don't let you do, or you can use the evolution of the registry settings.  Good luck!

    Compounding problem is that I also installed both the JDE and the eclipse plug on the same machine, and it seems that they have their own version of the signature tool.  Because I installed the JDE last, when I double click on the .csi file, the code signing certificate and the key was placed in bin of the JDE.  The form of the eclipse in the code signing tool is not that it is there and therefore told me that he was not registered.  For the life of me I can't find where the eclipse in signaturetool.jar form is trying to solve this problem, so I gave up.

    However, now I can sign my applications.  All I had to do is to create a shortcut on my desktop to run the signaturetool.jar and then JDE version when it opens, navigate to the location of the .cod files in the eclipse workspace and here, I can sign the Cod.

    Plug one day I could just rebuild PC with XP and install only the eclipse, but then I'll have the nightmare of the record of the signature of the migration.  Hang it.  I'll just stick with what works.

    Enjoy.

    Douglas

  • Password Bank found that Firefox has been uninstalled from this computer

    I get this message and let me know what it means. "Password Bank found that Firefox has been uninstalled from this computer. Please confirm following elevation request to remove orphan password Bank support.

    Hello!

    It seems a similar problem has been reported in the past, already, for example here: https://support.mozilla.org/en-US/questions/954186

    Chances are that you have advanced security software on your computer that you're not using (banking password), which can eventually be removed from your computer (because it seems that you do not use).

    I would suggest finding the control panel for your computer and removing Bank of your system password, if you know how to do this.

  • I'm able to use Facebook, but no Hotmail, it is said that my account has been opened to closed

    Kindly please help me to retrieve my e-mail address which is my hotmail account.  I tried to change my password and I don't know what I did that I press THE WRONG BUTTON and my account is closed, it hurts again since Tuesday, he said that my account has been opened to capture on Wednesday, but I thought it had to do with my password.

    Can you help me please, I "m able to open my FACEBOOK ACOOUNT, it's tito1943, but I'll change all.  I have change of glasses and I did it perfectly, I don't know what I did wrong.

    Hello

    The question you have posted will be well suited in Windows Live Solution Center. You can visit the below link to find a Forum that will provide the support that you have requested.
    http://www.windowslivehelp.com/product.aspx?ProductID=1

  • The backup has failed. An error has occurred. The following information can help you resolve the error: the request has been aborted. (0x80099704D3)

    Hello, I am running Windows Vista Home Premium and trying to make Windows backup on DVD, I was able to cross 5 DVDs then it asked me to insert the DVD successfully n ° 6 I did and he never finished and I got this error:

    The backup has failed. An error has occurred. The following information can help you resolve the error: the request has been aborted. (0x80099704D3)

    The DVD I have are DVD so I can't rewrite over and over again. Can I somehow he pick up where it left off to complete my backup?

    Help! Thank you

    Lisa

    Hello

    -No, I don't have third-party backup programs installed.
    -J' tried using another disk backup, but it started it count once again as "disk 1" yet I had left off to "drive 6"and I couldn't tell if he has taken over where I left off or starting on even once, I don't want to do because I can't rewrite on my DVD. , because they are disposable.
    Because I needed to achieve this, I advanced and bought more DVD and will continue to backup even if I do not know where she had stopped. I think I can say that it not continue starting above and to the right.
    I think that the problem might have been that DVD #6 was bad, as he had a scratch on her, even if it was new out of the envelope.
    Software AV is not the issue, I am able to do backup, I wanted to just be able to pick up where I left off, as opposed to duty again since the beginning of my documents again. I just wish that Windows backup has been a little easier to use, in particular the fact that it is not "tag" my files to show who we are it is already saved, just like other software, (ex Mozy), which is very useful. And be able to choose what files I need backup rather than being limited to simply choose the 'file type '...
  • On my new Mac Pro, I can not install adobe creative cloud app.  Adobe told me every time that the application has been damaged.

    I can't install adobe creative cloud app on my new Mac Pro desktop.

    When I download the app and try to install it, adobe says that the application has been damaged, then starts all over again.

    What can I do to fix this?

    joke

    Try to perform the steps mentioned on link below

    "Failed to install" error Creative Cloud Desktop application

  • Check that this class has been marked with the annotation @Entity

    Hello


    We have a level of the shared lib App that makes all the APP associated with request for an application. And each application can use the lib goes to get the related JPA query to do.
    To define the scope of the Joint Parliamentary Assembly between App. We have created the EMF for each application.

    When an application to run and any associated APP action that it works fine, but when trying to run a second application we are seeing the following error message when you try to do a specific action JPA.


    the @Entity annotation.
    [2012 05-23 T 04: 08:16.839 - 07:00] [WC_Spaces] [ERROR] [] [oracle.webcenter.spaces] [tid: [ASSETS].] [ExecuteThread: '3' for the queue: "(self-adjusting) weblogic.kernel.Default"] [ecid: 5825b814-2931-4ad5-8dc3-3e18f66992b7-00000004,0] [APP: webcenterCustom] []
    java.lang.IllegalArgumentException: unknown entity bean class: oracle.webcenter.spaces.internal.repository.WcSpaceHeader class, please check that this class has been marked with the @Entity annotation.
    at org.eclipse.persistence.internal.jpa.EntityManagerImpl.find(EntityManagerImpl.java:648)
    at org.eclipse.persistence.internal.jpa.EntityManagerImpl.find(EntityManagerImpl.java:532)
    at oracle.webcenter.spaces.internal.repository.SpaceRepositoryUtils.refreshSpaceRows(SpaceRepositoryUtils.java:1791)


    Where WcSpaceHeader is an entity.

    To create emf by App, this is the code


    private static EntityManagerFactory getEntityManagerFactory()
    {
    String appName = Utility.getApplicationName ();
    EntityManagerFactory emf = sEntityMgrFactory.get (appName);

    if(EMF==null)
    {
    EMF = Persistence.createEntityManagerFactory ("SpacesReposPUnit");
    sEntityMgrFactory.put (appName, emf);
    SpacesConstants.LOGGER.info ("Caching" +)
    ("EMF for" + appName);
    }

    return of the emf;
    }



    My persistence.xml

    <? XML version = "1.0" encoding = "US-ASCII"? >
    < persistence xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance".
    xsi: schemaLocation = "http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd".
    version = "1.0" xmlns = "http://java.sun.com/xml/ns/persistence" >
    < name of persistence - unit = "SpacesReposPUnit" transaction-type = "RESOURCE_LOCAL" >
    <>provider
    org.eclipse.persistence.jpa.PersistenceProvider
    < / provider >
    oracle.webcenter.spaces.internal.repository.WcSpaceHeader < class > < / class >
    oracle.webcenter.spaces.internal.repository.WcSpaceUsrDetail < class > < / class >
    oracle.webcenter.framework.service.jpa.WcCommonXlationEntity < class > < / class >
    oracle.webcenter.spaces.internal.repository.WCNavigationActivity < class > < / class >
    Properties of <>
    < name = "eclipselink.session.customizer property"
    value="Oracle.WebCenter.spaces.internal.repository.SpacesEclipselinkSessionCustomizer"/ >
    < / properties >
    < / persistence - unit >
    < / persistence >



    Another problem I see in this is that. When I create an EMF EM, (which is different for different app) and do a query, I get a class cast Exception.


    [(self-adjusting)'] [ecid: 5825b814-2931-4ad5-8dc3-3e18f66992b7-00000004,0] [APP: webcenterCustom] []
    java.lang.IllegalArgumentException: unknown entity bean class: oracle.webcenter.spaces.internal.repository.WcSpaceHeader class, please check that this class has been marked with the @Entity annotation.
    at org.eclipse.persistence.internal.jpa.EntityManagerImpl.find(EntityManagerImpl.java:648)
    at org.eclipse.persistence.internal.jpa.EntityManagerImpl.find(EntityManagerImpl.java:532)

    It is a problem of class loader, somehow you have deployed the same classes in two places, have two versions of the classes.

    How, exactly made things, where are your domain classes?

    The questions is more likely that,
    Persistence.createEntityManagerFactory ("SpacesReposPUnit");
    always returns the same plant once it has been deployed.

    If you pass a map properties for createEntityManagerFactory and set the property "name eclipselink.session" a single value, then you should get a new plant.

Maybe you are looking for

  • Are there any documents that is held in memory of the printer?

    I am looking for a recent document and it cannot locate in my computer.  I printed, I hope is a memory in the printer so I can get back to this page.

  • How do I know if service pack 3 has been installed successfully after update

    I installed (I think) successfully in Windows XP home SP3. But how to know for sure this service pack 3a was installed successfully? Where can I check? Thank you!

  • Dell Outlet - error when you try to buy!

    Hi all Hope everything goes well. Still and always tried to buy a XPS15 out of Dell however continually get the error message: The system was not able to process your request. Please try again, and if this error occurs again, you can reach us at the

  • This pc can not do the update of Windows.

    Dear Sir/Madam. This pc can not run update. Updated search bar work 7 days. Tried to install Windows 10 for 9 times, but all processes have made, the only update could not complete. I'm not a computer expert Please advice me simple click to make this

  • AESCryptoDemo question of strength.

    I want to use AES 256bits encryption. In the function AESCryptoDemoin fileDRBG.cpp  DRBG::DRBG(GlobalContext & gc) : Crypto("DRBG"), context(gc), rngCtx(NULL) { int rc = hu_RngDrbgCreate(HU_DRBG_HASH, 112, false, 0, NULL, NULL, &rngCtx, context.ctx()