Error While Querying DB Link from Oracle 10g to Postgres 8.2

Hi,
I have installed unixodbc 2.3.1, postgres odbc driver (psqlodbc-07.03) and dg4odbc 11.2
On querying : select sysdate from dual@dblink_postgresql, the following error occurs:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[unixODBC][Driver Manager]Can't open lib '/oracle/psqlodbc/lib/libpsqlodbc.a' : file not found {01000}
ORA-02063: preceding 2 lines from DBLINK_POSTGRES
Similar error appears in the trace file as well.
[unixODBC][Driver Manager]Can't open lib '/oracle/psqlodbc/lib/libpsqlodbc.a'
$ isql -v postgresql postgres postgres@2012
[01000][unixODBC][Driver Manager]Can't open lib '/oracle/psqlodbc/lib/libpsqlodbc.a' : file not found
[ISQL]ERROR: Could not SQLConnect
However the file is present in the location and has no permission related problems.
$ pwd
/oracle/psqlodbc/lib
$ ls -lrt
total 2952
-rwxr-xr-x 1 oracle oinstall 663 Mar 25 15:28 psqlodbc.la
-rw-r--r-- 1 oracle oinstall 731419 Mar 25 15:28 libpsqlodbc.a
-rw-r--r-- 1 oracle oinstall 12215 Mar 25 22:11 win_md5.o
-rw-r--r-- 1 oracle oinstall 18100 Mar 25 22:11 options.o
-rw-r--r-- 1 oracle oinstall 13196 Mar 25 22:11 misc.o
-rw-r--r-- 1 oracle oinstall 4234 Mar 25 22:11 lobj.o
-rw-r--r-- 1 oracle oinstall 122442 Mar 25 22:11 info.o
-rw-r--r-- 1 oracle oinstall 26464 Mar 25 22:11 execute.o
-rw-r--r-- 1 oracle oinstall 22070 Mar 25 22:11 environ.o
-rw-r--r-- 1 oracle oinstall 8633 Mar 25 22:11 drvconn.o
-rw-r--r-- 1 oracle oinstall 83758 Mar 25 22:11 convert.o
-rw-r--r-- 1 oracle oinstall 62529 Mar 25 22:11 connection.o
-rw-r--r-- 1 oracle oinstall 5685 Mar 25 22:11 columninfo.o
-rw-r--r-- 1 oracle oinstall 19724 Mar 25 22:11 bind.o
-rw-r--r-- 1 oracle oinstall 3768 Mar 25 22:11 tuplelist.o
-rw-r--r-- 1 oracle oinstall 2816 Mar 25 22:11 tuple.o
-rw-r--r-- 1 oracle oinstall 36770 Mar 25 22:11 statement.o
-rw-r--r-- 1 oracle oinstall 10490 Mar 25 22:11 socket.o
-rw-r--r-- 1 oracle oinstall 74140 Mar 25 22:11 results.o
-rw-r--r-- 1 oracle oinstall 22686 Mar 25 22:11 qresult.o
-rw-r--r-- 1 oracle oinstall 1977 Mar 25 22:11 psqlodbc.o
-rw-r--r-- 1 oracle oinstall 25893 Mar 25 22:11 pgtypes.o
-rw-r--r-- 1 oracle oinstall 706 Mar 25 22:11 pgapi30.o
-rw-r--r-- 1 oracle oinstall 34071 Mar 25 22:11 parse.o
-rw-r--r-- 1 oracle oinstall 706 Mar 25 22:11 odbcapi30.o
-rw-r--r-- 1 oracle oinstall 41540 Mar 25 22:11 odbcapi.o
-rw-r--r-- 1 oracle oinstall 11601 Mar 25 22:11 multibyte.o
-rw-r--r-- 1 oracle oinstall 706 Mar 25 22:11 info30.o
-rw-r--r-- 1 oracle oinstall 5972 Mar 25 22:11 gpps.o
-rw-r--r-- 1 oracle oinstall 37546 Mar 25 22:11 dlg_specific.o
My odbc.ini and init4dg4odbc looks like below:
$ pg odbc.ini
[postgresql]
Description = Test to Postgres
Driver = /oracle/psqlodbc/lib/libpsqlodbc.a
Trace = Yes
TraceFile = postgres.log
Database = postgres
Servername = TCLDSAPORTUAT
UserName = postgres
Password = postgres@2012
Port = 5432
Protocol = TCP
ReadOnly = Yes
RowVersioning = No
ShowSystemTables = No
ShowOidColumn = No
FakeOidIndex = No
$ pg initdg4odbc.ora
# This is a sample agent init file that contains the HS parameters that are
# needed for the Database Gateway for ODBC
# HS init parameters
HS_FDS_CONNECT_INFO = postgresql
HS_FDS_TRACE_LEVEL = DEBUG
HS_FDS_SHAREABLE_NAME = /oracle/unixodbc64/lib/libodbc.so
# ODBC specific environment variables
set ODBCINI=/oracle/unixodbc64/etc/odbc.ini
# Environment variables required for the non-Oracle system
#set <envvar>=<value>
I found similar threads in the forum but could not find solution for this problem.
Please help to resolve this issue.
Thanks,
Akanksha
Edited by: 996208 on Mar 26, 2013 5:35 AM

Hi Mike,
I used the truss option for diagnosis, the output is really long and shows the same error at the end of execution:
$truss isql -v postgresql postgres postgres@2012
getuidx(4) = 207
getuidx(2) = 207
getuidx(1) = 207
getgidx(4) = 203
getgidx(2) = 203
getgidx(1) = 203
kload("/usr/lib/nls/loc/en_US__64", 17301632, "/oracle/unixodbc64/lib") = 648518346072918576
getuidx(4) = 207
getuidx(2) = 207
getuidx(1) = 207
getgidx(4) = 203
getgidx(2) = 203
getgidx(1) = 203
kload("/usr/lib/nls/loc/en_US__64", 17301632, "/oracle/unixodbc64/lib") = 648518346072918576
access("/usr/lib/nls/msg/en_US/execerr.cat", 0) = 0
_getpid()                                       = 27262980
kopen("/usr/lib/nls/msg/en_US/execerr.cat", O_RDONLY) = 3
kioctl(3, 22528, 0x0000000000000000, 0x0000000000000000) Err#25 ENOTTY
kfcntl(3, F_SETFD, 0x0000000000000001) = 0
kioctl(3, 22528, 0x0000000000000000, 0x0000000000000000) Err#25 ENOTTY
kread(3, "\0\001 ù\001\001 I S O 8".., 4096) = 4096
lseek(3, 0, 1) = 4096
lseek(3, 0, 1) = 4096
lseek(3, 0, 1) = 4096
_getpid()                                       = 27262980
lseek(3, 0, 1) = 4096
_getpid()                                       = 27262980
lseek(3, 0, 1) = 4096
_getpid()                                       = 27262980
lseek(3, 0, 1) = 4096
lseek(3, 4639, 0) = 4639
kread(3, "\t 0 5 0 9 - 1 9 4 E x".., 4096) = 1686
getuidx(4) = 207
getuidx(2) = 207
getuidx(1) = 207
getgidx(4) = 203
getgidx(2) = 203
getgidx(1) = 203
kload("/usr/lib/nls/loc/en_US__64", 17301632, "/oracle/unixodbc64/lib") = 648518346072918576
getuidx(4) = 207
getuidx(2) = 207
getuidx(1) = 207
getgidx(4) = 203
getgidx(2) = 203
getgidx(1) = 203
kload("/usr/lib/nls/loc/en_US__64", 17301632, "/oracle/unixodbc64/lib") = 648518346072918576
getuidx(4) = 207
getuidx(2) = 207
getuidx(1) = 207
getgidx(4) = 203
getgidx(2) = 203
getgidx(1) = 203
kload("/usr/lib/nls/loc/en_US__64", 17301632, "/oracle/unixodbc64/lib") = 648518346072918576
getuidx(4) = 207
getuidx(2) = 207
getuidx(1) = 207
getgidx(4) = 203
getgidx(2) = 203
getgidx(1) = 203
kload("/usr/lib/nls/loc/en_US__64", 17301632, "/oracle/unixodbc64/lib") = 648518346072918576
getuidx(4) = 207
getuidx(2) = 207
getuidx(1) = 207
getgidx(4) = 203
getgidx(2) = 203
getgidx(1) = 203
kload("/usr/lib/nls/loc/en_US__64", 17301632, "/oracle/unixodbc64/lib") = 648518346072918576
getuidx(4) = 207
getuidx(2) = 207
getuidx(1) = 207
getgidx(4) = 203
getgidx(2) = 203
getgidx(1) = 203
kload("/usr/lib/nls/loc/en_US__64", 17301632, "/oracle/unixodbc64/lib") = 648518346072918576
kioctl(1, 22528, 0x0000000000000000, 0x0000000000000000) = 0
[01000][unixODBC][Driver Manager]Can't open lib '/oracle/psqlodbc/lib/psqlodbc.o' : file not found
kwrite(1, " [ 0 1 0 0 0 ] [ u n i x".., 99)     = 99
[ISQL]ERROR: Could not SQLConnect
kwrite(2, " [ I S Q L ] E R R O R :".., 34) = 34
kfcntl(1, F_GETFL, 0x0000000010DF0051) = 67110914
kfcntl(2, F_GETFL, 0x0000000010DF0051) = 67110914
_exit(1)
Do I need to install postgres software also?
While installing postgres odbc driver in /oracle/psqlodbc only two folders were created viz. lib and share
In lib folder two files were created viz. psqlodbc.la and libpsqlodbc.a
And everybody on the net seems to refer psqlodbc.so in the "Driver = " parameter
Today, I extracted the libpsqlodbc.a by using ar -X 64 -xv libpsqlodbc.a again, still no file with .so has been created.
$ ls -lrt
total 2952
-rwxr-xr-x 1 oracle oinstall 663 Mar 25 15:28 psqlodbc.la
-rwxr-xr-x 1 oracle oinstall 731419 Mar 28 13:51 libpsqlodbc.a
-rw-r--r-- 1 oracle oinstall 12215 Apr 01 13:50 win_md5.o
-rw-r--r-- 1 oracle oinstall 3768 Apr 01 13:50 tuplelist.o
-rw-r--r-- 1 oracle oinstall 2816 Apr 01 13:50 tuple.o
-rw-r--r-- 1 oracle oinstall 36770 Apr 01 13:50 statement.o
-rw-r--r-- 1 oracle oinstall 10490 Apr 01 13:50 socket.o
-rw-r--r-- 1 oracle oinstall 74140 Apr 01 13:50 results.o
-rw-r--r-- 1 oracle oinstall 22686 Apr 01 13:50 qresult.o
-rw-r--r-- 1 oracle oinstall 1977 Apr 01 13:50 psqlodbc.o
-rw-r--r-- 1 oracle oinstall 25893 Apr 01 13:50 pgtypes.o
-rw-r--r-- 1 oracle oinstall 706 Apr 01 13:50 pgapi30.o
-rw-r--r-- 1 oracle oinstall 34071 Apr 01 13:50 parse.o
-rw-r--r-- 1 oracle oinstall 18100 Apr 01 13:50 options.o
-rw-r--r-- 1 oracle oinstall 706 Apr 01 13:50 odbcapi30.o
-rw-r--r-- 1 oracle oinstall 41540 Apr 01 13:50 odbcapi.o
-rw-r--r-- 1 oracle oinstall 11601 Apr 01 13:50 multibyte.o
-rw-r--r-- 1 oracle oinstall 13196 Apr 01 13:50 misc.o
-rw-r--r-- 1 oracle oinstall 4234 Apr 01 13:50 lobj.o
-rw-r--r-- 1 oracle oinstall 706 Apr 01 13:50 info30.o
-rw-r--r-- 1 oracle oinstall 122442 Apr 01 13:50 info.o
-rw-r--r-- 1 oracle oinstall 5972 Apr 01 13:50 gpps.o
-rw-r--r-- 1 oracle oinstall 26464 Apr 01 13:50 execute.o
-rw-r--r-- 1 oracle oinstall 22070 Apr 01 13:50 environ.o
-rw-r--r-- 1 oracle oinstall 8633 Apr 01 13:50 drvconn.o
-rw-r--r-- 1 oracle oinstall 37546 Apr 01 13:50 dlg_specific.o
-rw-r--r-- 1 oracle oinstall 83758 Apr 01 13:50 convert.o
-rw-r--r-- 1 oracle oinstall 62529 Apr 01 13:50 connection.o
-rw-r--r-- 1 oracle oinstall 5685 Apr 01 13:50 columninfo.o
-rw-r--r-- 1 oracle oinstall 19724 Apr 01 13:50 bind.o
Thanks,
Akanksha

Similar Messages

  • Error, while pushing the data from Oracle to MSSQL.

    Hi,
    I am facing the below error, while pushing the data from Oracle to MSSQL.
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Transparent gateway for MSSQL][Microsoft][ODBC SQL Server Driver][SQL Server]Update or insert of view or function 'View_Name' failed because it contains a derived or constant field.[Microsoft][ODBC SQL Server Driver][SQL Server]Statement(s) could not be prepared. (SQL State: 00000; SQL Code: 8180)
    Please suggest me, how to overcome from this.
    Thanks.

    [email protected] wrote:
    Hi,
    I am facing the below error, while pushing the data from Oracle to MSSQL.
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Transparent gateway for MSSQL][Microsoft][ODBC SQL Server Driver][SQL Server]Update or insert of view or function 'View_Name' failed because it contains a derived or constant field.[Microsoft][ODBC SQL Server Driver][SQL Server]Statement(s) could not be prepared. (SQL State: 00000; SQL Code: 8180)
    Please suggest me, how to overcome from this.
    Thanks.This is an error from SQL Server being passed back to Oracle so you can see the problem.
    What it is saying is that you are trying to insert (or update) data to a database view and that view contains a column that is either a constant (literal) value or is derived (a calculation, formula or string concatenation etc.).
    As such, you can't insert or update data on that column because it has nowhere to go on the database table(s) that underly the view.

  • Error while creating datasource userdsn for oracle 10g Errorcode (998)

    while creating datasource userdsn for oracle 10g i am getting error "The setup routines for the oracle in OraDb10g_home1 odbc driver could not be loaded due to system error code 998" please give reply soon

    Thanks for your reply , Steve.
    I noticed that there is a default datasouce on the EM with the following parameters:
    <data-source
              class="com.evermind.sql.DriverManagerDataSource"
              name="OracleDS"
              location="jdbc/OracleCoreDS"
              xa-location="jdbc/xa/OracleXADS"
              ejb-location="jdbc/OracleDS"
              connection-driver="oracle.jdbc.driver.OracleDriver"
              username="scott"
              password="->pwForScott"
              url="jdbc:oracle:thin:@localhost:1521:oracle"
              inactivity-timeout="30"
         />
    The location and xa-location attributes that I use for my "test" data source are the same as the default one. So, could this be the issue?
    What should be the values for location and xa-location attributes from my "test" data source?
    Any help will be greatly appreciated.
    Thanks,
    Shyam

  • Error while using UTP_MAIL package in oracle 10g

    Hi,
    I am using the UTP_MAIL package to send a mail from oracle 10g.
    I hane connected to the database as sysdba,but while setting the SMTP_SERVER_OUTPUT parameter i get the following error.
    SQL> ALTER SYSTEM SET smtp_out_server='blrkecmbx02.ad.abc.com:25' scope=both;
    ERROR at line 1:
    ORA-02095: specified initialization parameter cannot be modified
    Pls help to figure out a solution.

    This parameter is not modifiable, check the Oracle Reference: SMTP_OUT_SERVER Initialization Parameter
    Try the scope=spfile instead of both.
    ~ Madrid

  • GetBlob Error During fetching of Images from Oracle 10g

    Dear Sir,
    By using getBlob Function ,i am getting following error:"Unsupportable action has performed".
    I am using oracle 10g.I am using java code to retrieve image from Oracle 10g.
    So plz help me by giving full code with explaination.
    Thankyou.
    Yours Obedient
    Dipesh Kumar

    I seriously doubt Oracle would write error messages with such atrocious English.
    So it's almost certainly an error from either your own code or code you're calling in some library or part of the application you're not mentioning that noone here except you has knowledge of.
    Ergo, we're not going to be able to help you unless you provide a lot more information.
    And no, we're not going to write your code for you.

  • Reading BLOB from SQL Server 2005 using DB Link from Oracle 10g

    Hi All,
    I am trying to read a table's data from SQL Server 2005 using ODBC DB Link created in Oracle 10g (10.2.0.3/4) database. I am not using oracle gateway.
    I am able read all data except for the BLOB data from SQL server 2005. It gives error given below when I try to execute query SELECT * from T_TRANSACTION_DATA@sdeslink inside a stored procedure:
    ORA-22992: cannot use LOB locators selected from remote tables
    Kindly help how to read BLOB from SQL server 2005 inside Oracle 10g.
    Best Regards!
    Irfan

    Irfan,
    If you can read the blob data using 10.2 HSODBC then there should be no problem using the 11g gateway.
    I recommend you download the latest version which is 11.2.0.3 available from My oracle Support as -
    Patch 10404530: 11.2.0.3.0 PATCH SET FOR ORACLE DATABASE SERVER
    This is a full version and does not need a previous version to have bene installed. When installing it needs to be in a completlely separate ORACLE_HOME from the existing 11.2 install.
    For the Ora-22992 problem have a look at this note in My Oracle Support -
    Ora-22992 has a workaround in 10gR2 (Doc ID 436707.1)
    Regards,
    Mike

  • Urgent:db link from oracle 10g to sql server 2000

    Hi
    I have a db link 10g from oracle to sql server 2000. This was created a couple of years ago. This is working.
    I have now created another db link from same oracle server to the same sql server but it is not working.
    But I am getting ORA-28500 and IM002 error
    .Please advise.
    I am unable to understand what is wrong because I have followed the hs odbc set up on this db link in the same way as I had done 2 yrs ago.
    Thanks
    Shailaja

    Just sorted the problem.
    Basically I am using HSODBC to communicate from Oracle (on windows 2003 64 bit)  to SQL Server.
    To do this, I need to create a ODBC connection from Oracle to SQL Server.
    HSODBC is a 32 bit application and hence we have to use the ODBC 32 bit driver when we create the ODBC connection.
    When I created the  ODBC connection from Oracle to SQL Server, I was using the ODBC 64 bit driver and hence the system was unable to find the data source name.
    I have now created ODBC connection from Oracle to SQL Server using the ODBC 32 bit driver and everything works fine now.
    No offence to anyone but as you all work using Oracle software , I was hoping a better response than some of the above responses. You can just say that you didnt understand the question or you dont know the reason why that happened.
    I just listed how the problem was sorted so that any one in future having the same problem can benefit.

  • Error while calling web service from Forms 10g

    Hi,
    I have defined a web service and deployed at OracleAS 10g 10.1.2.0.2. Web services is working fine as per standalone invocation URL and also using a Web Service source in Portal (OmniPortlet).
    I have created a web service proxy and imported the JAR file into Forms module via Java Importer. Created a button to invoke a web service and show results on message bar.
    Code for WHEN-BUTTON-PRESSED:
    declare
         v_javaObject ora_java.jobject;
         xo ora_java.jobject;
         v_name varchar2(30);
         javaException ORA_JAVA.JOBJECT;
         v_BigDecimalObject ORA_JAVA.JOBJECT;
    begin
         v_javaObject := EmpServicePortClient.new;
         v_BigDecimalObject := BigDecimal.new(101);
         v_name := EmpServicePortClient.getName(v_javaObject,v_BigDecimalObject);
         message(v_name);
    exception
         WHEN ORA_JAVA.JAVA_ERROR THEN
    -- In this case, the error would be
    -- Argument 1 can not be null
    message(ORA_JAVA.LAST_ERROR,acknowledge);
    --Clean up
    ORA_JAVA.CLEAR_ERROR;
    WHEN ORA_JAVA.EXCEPTION_THROWN THEN
    javaException := ORA_JAVA.LAST_EXCEPTION;
    -- Print out the Exception by using the toString()
    -- Method of the exception Object
    message(Exception_.toString(javaException),acknowledge);
    -- and clean up
    ORA_JAVA.CLEAR_EXCEPTION;
    END;
    Forms got compiled successfully.
    However, while invoking a service by pressing a button, getting following error at message bar:
    java.rmi.RemoteException:; nested exception is: HTTP transport error: javaxml.soap.SOAPException: java.security.PrivilegedAction
    Is there anything that I have missed in the configuration? or what else is causing it?
    Regards,
    Preet

    Hi,
    I have defined a web service and deployed at OracleAS 10g 10.1.2.0.2. Web services is working fine as per standalone invocation URL and also using a Web Service source in Portal (OmniPortlet).
    I have created a web service proxy and imported the JAR file into Forms module via Java Importer. Created a button to invoke a web service and show results on message bar.
    Code for WHEN-BUTTON-PRESSED:
    declare
         v_javaObject ora_java.jobject;
         xo ora_java.jobject;
         v_name varchar2(30);
         javaException ORA_JAVA.JOBJECT;
         v_BigDecimalObject ORA_JAVA.JOBJECT;
    begin
         v_javaObject := EmpServicePortClient.new;
         v_BigDecimalObject := BigDecimal.new(101);
         v_name := EmpServicePortClient.getName(v_javaObject,v_BigDecimalObject);
         message(v_name);
    exception
         WHEN ORA_JAVA.JAVA_ERROR THEN
    -- In this case, the error would be
    -- Argument 1 can not be null
    message(ORA_JAVA.LAST_ERROR,acknowledge);
    --Clean up
    ORA_JAVA.CLEAR_ERROR;
    WHEN ORA_JAVA.EXCEPTION_THROWN THEN
    javaException := ORA_JAVA.LAST_EXCEPTION;
    -- Print out the Exception by using the toString()
    -- Method of the exception Object
    message(Exception_.toString(javaException),acknowledge);
    -- and clean up
    ORA_JAVA.CLEAR_EXCEPTION;
    END;
    Forms got compiled successfully.
    However, while invoking a service by pressing a button, getting following error at message bar:
    java.rmi.RemoteException:; nested exception is: HTTP transport error: javaxml.soap.SOAPException: java.security.PrivilegedAction
    Is there anything that I have missed in the configuration? or what else is causing it?
    Regards,
    Preet

  • Oracle 11g- Straing behaviour of query after importing from Oracle 10g

    Hi,
    I have a table in Oracle 10g as follows:
    Create Table xyz (col1 varchar2(50), col2 varchar2(50));
    With following Data
    Col1     Col2
    A     320
    A     110
    A     290
    A     380
    B     ABC
    B     256
    B     LMN
    I am running following Query
    select * from xyz
    Where Col1='A' and Col2=110
    It works fine. But when I export this table and import it in Oracle 11g. It says invlid identifier.
    But if I enclose 110 in single quotes. It works fine.
    Also If I recreate this table in Oracle 11g like
    Create table xyz1
    as select * from xyz;
    Now alos I am able to run this query smoothly.
    select * from xyz1
    Where Col1='A' and Col2=110
    What is wrong exporting this table from 10g to 11g.
    Any comments/suggestion??
    Aarbi

    The check in your where clause
    Col2=110Is comparing a string (Col2 is defined as a VARCHAR) with a numeric literal, so there will be an implicit conversion taking place from character to number. The query then fails due to the B LMN row when 'LMN' fails number conversion.
    I'm guessing there was there an index on the table in your 10g installation which would allow the query to be satisfied without checking the B ABC or B LMN rows but is not present or not used in the 11g installation so a full table scan results in an attempt to convert 'ABC' and 'LMN' to a number. Check the explain plans.
    Or it could even just be a difference in the order in which the two conditions in the where clause are evaulated between the two versions.
    The solution, as you have already found is to do a string comparision
    Col2='110'Edited by: Cyn on Dec 7, 2009 12:38 PM

  • Error while resubmit the transaction in Oracle 10g B2B

    Hi All,
    I am facing the below error while resubmitting the transactions
    bash-3.00$ java oracle.tip.adapter.b2b.data.ReSubmit
    Exception in thread "main" java.lang.NoClassDefFoundError: oracle/tip/adapter/b2b/data/ReSubmit
    bash-3.00$
    Regards
    sekhar

    Hi Sekhar,
    Make sure that you are setting the environment first by running Midtier_Home\ip\install\setenv.bat OR Midtier_Home\ip\install\setenv.sh (according to your OS). Run the resubmit command after executing this setenv file.
    Regards,
    Anuj

  • Error while calling BI Publisher from Forms 10g using Webservice - Urgent !

    Hi,
    I am calling a BI Publisher(10.1.3.4.1) webservice from the Forms 10g (10.1.2.0.2). I developed a jar file which works fine when I run from the Jdeveloper. I have successfully attached jar file to the Forms 10g but when I am calling from the when-button-pressed trigger I am getting beow error
    Exception: java.lang.Exception: java.lang.NoSuchMethodError: oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection.setPreemptiveBasicAuth(Z)V
    Thanks in advance

    What steps did you follow to successfully attached jar file to the Forms 10g? To me, it sounds like you don't have your .jar file configured with Forms Builder and/or your App Server. Your .jar file needs to be added to the FORMS_CLASS_PATH in the default.env and the FORMS_CLASS_PATH registry entry. You will likely need to modify the formsweb.cfg also to include your .jar in the archive= or archive_jini= variables (depending on your JRE [Jinitiator or Sun JRE respectively]).
    It could also be a dependency on an additional Java library. Is "setPreemptiveBasicAuth" a method that you created or it is a dependent method from an additional library?
    Let us know this; as well as which Java version you're using.
    By the way, with respects to your "Urgent!" request. You have to understand that forum contributers are purely voluntary - this is not our full-time job. If your issue is truely urgent, it is always best to open a Service Request (SR) with Oracle Support than to rely on the forum for an urgent reply! ;-)
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.
    Edited by: CraigB on Sep 20, 2010 2:48 PM

  • Deserialization Error while invoking web service from JDeveloper 10g

    When we tried to invoke a web service from JDeveloper version 10.1.3.4.0.4270, we got deserialization error.Here are the steps that we did to invoke the web service.
    1. Using WSDL URL, downloaded WSDL file and associated XSD files into local machine using wsa.jar utility.
    2. Using JDeveloper, created web service proxy project by referring the local WSDL file.Proxy got generated successfully.
    3. Secured the proxy using "secure proxy" option.
    4. Assigned all required values for parameters for web method.
    5. When tried to invoke the web service, got deserialization error.
    Exception in thread "main" deserialization error: java.lang.NumberFormatException
    at oracle.j2ee.ws.common.encoding.literal.LiteralSimpleTypeSerializer.deserialize(LiteralSimpleTypeSerializer.java:155)
    at com.oracle.xmlns.apps.ego.extfwk.service.out.runtime.ValuesetType_LiteralSerializer.doDeserialize(ValuesetType_LiteralSerializer.java:151)
    at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.internalDeserialize(LiteralObjectSerializerBase.java:250)
    at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.deserialize(LiteralObjectSerializerBase.java:159)
    at com.oracle.xmlns.apps.ego.extfwk.service.out.runtime.ListOfVSType_LiteralSerializer.doDeserialize(ListOfVSType_LiteralSerializer.java:67)
    at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.internalDeserialize(LiteralObjectSerializerBase.java:250)
    at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.deserialize(LiteralObjectSerializerBase.java:159)
    at com.oracle.xmlns.valuesetservice.runtime.GetVSRespType_LiteralSerializer.doDeserialize(GetVSRespType_LiteralSerializer.java:57)
    at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.internalDeserialize(LiteralObjectSerializerBase.java:250)
    at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.deserialize(LiteralObjectSerializerBase.java:159)
    at pimut.proxy.runtime.ValuesetServiceSoapHttp_Stub._deserialize_getValueSetDetails(ValuesetServiceSoapHttp_Stub.java:129)
    at pimut.proxy.runtime.ValuesetServiceSoapHttp_Stub._readFirstBodyElement(ValuesetServiceSoapHttp_Stub.java:115)
    at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:334)
    at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:113)
    at pimut.proxy.runtime.ValuesetServiceSoapHttp_Stub.getValueSetDetails(ValuesetServiceSoapHttp_Stub.java:79)
    at pimut.proxy.ValuesetServiceSoapHttpPortClient.getValueSetDetails(ValuesetServiceSoapHttpPortClient.java:40)
    at pimut.ValuesetServiceClient.get_object(ValuesetServiceClient.java:87)
    at pimut.ValuesetServiceClient.main(ValuesetServiceClient.java:34)
    CAUSE:
    java.lang.NumberFormatException
    at oracle.j2ee.ws.common.encoding.literal.LiteralSimpleTypeSerializer.deserialize(LiteralSimpleTypeSerializer.java:155)
    at com.oracle.xmlns.apps.ego.extfwk.service.out.runtime.ValuesetType_LiteralSerializer.doDeserialize(ValuesetType_LiteralSerializer.java:151)
    at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.internalDeserialize(LiteralObjectSerializerBase.java:250)
    at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.deserialize(LiteralObjectSerializerBase.java:159)
    at com.oracle.xmlns.apps.ego.extfwk.service.out.runtime.ListOfVSType_LiteralSerializer.doDeserialize(ListOfVSType_LiteralSerializer.java:67)
    at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.internalDeserialize(LiteralObjectSerializerBase.java:250)
    at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.deserialize(LiteralObjectSerializerBase.java:159)
    at com.oracle.xmlns.valuesetservice.runtime.GetVSRespType_LiteralSerializer.doDeserialize(GetVSRespType_LiteralSerializer.java:57)
    at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.internalDeserialize(LiteralObjectSerializerBase.java:250)
    at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.deserialize(LiteralObjectSerializerBase.java:159)
    at pimut.proxy.runtime.ValuesetServiceSoapHttp_Stub._deserialize_getValueSetDetails(ValuesetServiceSoapHttp_Stub.java:129)
    at pimut.proxy.runtime.ValuesetServiceSoapHttp_Stub._readFirstBodyElement(ValuesetServiceSoapHttp_Stub.java:115)
    at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:334)
    at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:113)
    at pimut.proxy.runtime.ValuesetServiceSoapHttp_Stub.getValueSetDetails(ValuesetServiceSoapHttp_Stub.java:79)
    at pimut.proxy.ValuesetServiceSoapHttpPortClient.getValueSetDetails(ValuesetServiceSoapHttpPortClient.java:40)
    at pimut.ValuesetServiceClient.get_object(ValuesetServiceClient.java:87)
    at pimut.ValuesetServiceClient.main(ValuesetServiceClient.java:34)
    Caused by: java.lang.NumberFormatException
    at java.math.BigDecimal.<init>(BigDecimal.java:457)
    at java.math.BigDecimal.<init>(BigDecimal.java:647)
    at oracle.j2ee.ws.common.encoding.simpletype.XSDDecimalEncoder.stringToObject(XSDDecimalEncoder.java:51)
    at oracle.j2ee.ws.common.encoding.literal.LiteralSimpleTypeSerializer.deserialize(LiteralSimpleTypeSerializer.java:142)
    ... 17 more
    Process exited with exit code 1.
    We think that the exact cause for the problem is as follows.
    1. If we check the XSD file corresponds to response object, for one of the element, the type is decimal
    <xsd:element minOccurs="0" name="ParentValueSetId" nillable="true" type="xsd:decimal"/>
    2. In the SOAP response, this element is empty so during deserialization, the numer format exception occurred in LiteralSimpleTypeSerializer class.
    Any help is greatly appreciated.

    Hi Suresh & Mukesh,
    Suresh:
    I started the service by going through the following path System Administrator > System Configuration > Service Configuration > Application > <SERVICE_NAME> in system configuration of portal
    Mukesh: Here I don't have any proxy settings.
    Can you please let me know where I'm going wrong.
    Thanx,
    Dheeram

  • ERROR while connecting to Netezza Database from oracle 10g via dblink.

    Gurus,
    We are trying to connect to Netezza DB from oracle 10g DB.. We successfully establised ODBC connection but unable to retrieve data over the dblink connected from oracle to Netezza. We get this error.. Please HELP ASAP!!!!!!!!
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    Server and/or port attributes are empty {HY000,NativeErr = 33}

    Manik wrote:
    We are trying to connect to Netezza DB from oracle 10g DB.. We successfully establised ODBC connection but unable to retrieve data over the dblink connected from oracle to Netezza. We get this error.. Please HELP ASAP!!!!!!!!
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    Server and/or port attributes are empty {HY000,NativeErr = 33}Always test ODBC client connectivity on the Oracle server to the remote and foreign database, first. Use the isql ODBC client command line interface (as the oracle or grid o/s user).
    If this does not work, then Oracle HSO will also not work.
    Once you have confirmed that this is working, then configure the HSO service for Oracle.
    If that fails, enables ODBC client tracing for that HSO service (in the init file for that service) to see exactly what ODBC calls Oracle is making and which of these are failing.

  • DB Link from Oracle to SQL Server error

    Dear buddies,
    I need to perfome some select on the tables which reside in SQL Server 2005 from Oracle 10g.
    I followed the steps given in :
    http://www.dba-oracle.com/t_heterogeneous_database_connections_sql_server.htm
    I could perform a TNS ping which is successful but only when I perform a select I receive this error.
    ERROR at line 1:
    ORA-28545: error diagnosed by Net8 when connecting to an agent
    Unable to retrieve text of NETWORK/NCR message 65535
    ORA-02063: preceding 2 lines from SQLS
    I have checked that my dsn name is in small caps all the way wherever it is used(Since its suggested in many sites).
    Please guide me.
    I am really looking ahead for a solution.
    Regards,
    Nith

    use the like to setup ODBC and datasource
    http://www.databasejournal.com/features/oracle/article.php/3442661/Making-a-Connection-from-Oracle-to-SQL-Server.htm
    and then create link server in sql server after you test connenction with oracle

  • Retrieve data from a large table from ORACLE 10g

    I am working with a Microsoft Visual Studio Project that requires to retrieve data from a large table from Oracle 10g database and export the data into the hard drive.
    The problem here is that I am not able to connect to the database directly because of license issue but I can use a third party API to retrieve data from the database. This API has sufficient previllege/license permission on to the database to perform retrieval of data. So, I am not able to use DTS/SSIS or other tool to import data from the database directly connecting to it.
    Here my approach is...first retrieve the data using the API into a .net DataTable and then dump the records from it into the hard drive in a specific format (might be in Excel file/ another SQL server database).
    When I try to retrieve the data from a large table having over 13 lacs records (3-4 GB) in a data table using the visual studio project, I get an Out of memory exception.
    But is there any better way to retrieve the records chunk by chunk and do the export without loosing the state of the data in the table?
    Any help on this problem will be highly appriciated.
    Thanks in advance...
    -Jahedur Rahman
    Edited by: Jahedur on May 16, 2010 11:42 PM

    Girish...Thanks for your reply...But I am sorry for the confusions. Let me explain that...
    1."export the data into another media into the hard drive."
    What does it mean by this line i.e. another media into hard drive???
    ANS: Sorry...I just want to write the data in a file or in a table in SQL server database.
    2."I am not able to connect to the database directly because of license issue"
    huh?? I never heard this question that a user is not able to connect the db because of license. What error / message you are getting?
    ANS: My company uses a 3rd party application that uses ORACLE 10g. And my compnay is licensed to use the 3rd party application (APP+Database is a package) and did not purchased ORACLE license to use directly. So I will not connect to the database directly.
    3.I am not sure which API is you are talking about, but i am running an application of the visual studio data grid or similar kind of controls; in which i can select (select query) as many rows as i needed; no issue.
    ANS: This API is provided by the 3rd party application vendor. I can pass a query to it and it returns a datatable.
    4."better way to retrieve the records chunk by chunk and do the export without loosing the state of the data in the table?"
    ANS: As I get a system error (out of memory) when I select all rows in a datatable at a time, I wanted to retrieve the data in multiple phases.
    E.g: 1 to 20,000 records in 1st phase
    20,001 to 40,000 records in 2nd phase
    40,001 to ...... records in 3nd phase
    and so on...
    Please let me know if this does not clarify your confusions... :)
    Thanks...
    -Jahedur Rahman
    Edited by: user13114507 on May 12, 2010 11:28 PM

Maybe you are looking for

  • Problem about execute import button

    This is mdm 5.5 sp4. First, i did field mapping and value mapping in mdm import manager. Then i clicked 'execute import' button. The importing was successful. After that, I added new fields in ‘destination fields’ of ‘field mapping’ panel via ‘add’ b

  • When clicking an audio clip on the timeline in Premiere Pro CC 2014, it duplicates it on a different track and makes it impossible to work.

    I'm experiencing a disturbing issue as it actually prevents me to do the work in Premiere. I will put as much info as possible: 1) Project started on a different computer (the editor), PC with Premiere Pro CC, 2) Now opened on my Imac with Premiere P

  • Dual Studio displays and midi timepiece setup

    I have a G5 dual 2.7 GHz - with a 22" studio display and am trying to setup a 17"studio display as a second monitor. I bought a DVI to ADC Adapter for the 17". But when i went to plug the USB cable in, found out that I don't have enough usb ports. Th

  • Setting default HDMI resolution on 22bw

    I'm using a pavlillion 22bw as a montior for a Blackmagic Atem 1 Television Studio Switcher.  I'm connecting my 22bw via an HDMI cable.  Trouble is, When I turn on the ATEM, the image is larger than the the screen. An error pops up that says "Input S

  • Anti-virus problem I think

    My friend downloaded Kaspersky Anti-Virus and we had no problem - today when I turned on my computer it there was a window that said to download a more current Mc Afee - so I did - now the computer doesn't work.  My laptop works so I know it isn't th