Oracle to netezza

Oracle db ver 10.2.0.3
via a simple java program I am tring via jdbc to connect to a netezza server. the code work from the command line but does not work within the Oracle JVM. I did try the grants to allow access to the applications a couple of ways but no luck. via load java the nz jdbc driver and this code was loaded into the Oracle db.
package nzTest;
import java.sql.*;
public class main
Connection conn;
public static void main(String[] args){ new main();}
public static void doConnNZ () {new main();}
public main()
  try
   Class.forName("org.netezza.Driver").newInstance();
   System.out.println("h1");
   String url = "jdbc:netezza://the_host:5480/the_db";
   System.out.println("h2");
   conn = DriverManager.getConnection(url, "user", "pwd");
   System.out.println("h3");
   conn.close();
   System.out.println("connected and closed");
  catch (Exception e) {e.printStackTrace();}
}the error message I get is
h1
h2
org.netezza.util.PSQLException: The connection attempt failed because Exception: java.net.SocketException: Socket option not supported by PlainDatagramSocketImp
The operation completed successfully.
Stack Trace:
java.net.SocketException: Socket option not supported by PlainDatagramSocketImp
The operation completed successfully.
        at sun.nio.ch.Net.setIntOption0(Native Method)
        at sun.nio.ch.Net.setIntOption(Net.java:156)
        at sun.nio.ch.SocketChannelImpl$1.setInt(SocketChannelImpl.java:368)
        at sun.nio.ch.SocketOptsImpl.setBoolean(SocketOptsImpl.java:38)
        at sun.nio.ch.SocketOptsImpl$IP$TCP.noDelay(SocketOptsImpl.java:284)
        at sun.nio.ch.OptionAdaptor.setTcpNoDelay(OptionAdaptor.java:48)
        at sun.nio.ch.SocketAdaptor.setTcpNoDelay(SocketAdaptor.java:258)
        at org.netezza.PG_Stream.<init>(Unknown Source)
        at org.netezza.jdbc1.AbstractJdbc1Connection.sockConstructor(Unknown Source)
        at org.netezza.jdbc1.AbstractJdbc1Connection.openConnection(Unknown Source)
        at org.netezza.Driver.getConnection(Unknown Source)
        at org.netezza.Driver.connect(Unknown Source)
        at java.sql.DriverManager.getConnection(DriverManager.java:573)
        at java.sql.DriverManager.getConnection(DriverManager.java:187)
        at nzTest.main.<init>(main.java:21)
        at nzTest.main.doConnNZ(main.java:11)
End of Stack Trace
        at org.netezza.jdbc1.AbstractJdbc1Connection.sockConstructor(Unknown Source)
        at org.netezza.jdbc1.AbstractJdbc1Connection.openConnection(Unknown Source)
        at org.netezza.Driver.getConnection(Unknown Source)
        at org.netezza.Driver.connect(Unknown Source)
        at java.sql.DriverManager.getConnection(DriverManager.java:573)
        at java.sql.DriverManager.getConnection(DriverManager.java:187)
        at nzTest.main.<init>(main.java:21)
        at nzTest.main.doConnNZ(main.java:11)My questions are: what would the java_dbms package call be to allow access to anywhere from user NZ within the oracle db?
The error message kind of seems like it is saying the NZ driver is doing something PlainDatagramSocketImp does not do. Is this what it is getting at. Is there any way to tell? and any ideas to make this work would be helpfull.
thanks
Ox

This seems like a bug in this version. I can see that the option TCP_DELAY , a valid one, not being set. The best way would be for you to open a bug. I could do so . What needs to happen is for you to get a patch with this bug fix. This is already fixed in 11g.

Similar Messages

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

  • Looking for a method that reads in a whole row for data rather than using getString();

    Hi,
      I'm using java to read from oracle and Netezza and I'm wondering:
    Is there a method for capturing a row in a variable in order to print that entire row out to a data file or a UNIX file in this case.
    Right now I have this code I'm working with:
      //STEP 4: Execute a query
      System.out.println("Creating statement...");
      stmt = connection.createStatement();
      String sql;
      sql = "SELECT SRC_ID, SRC_CD, SRC_DSC, CKA_SUB_ID FROM SRC";
      ResultSet rs = stmt.executeQuery(sql);
      //STEP 5: Extract data from result set
      while(rs.next()){
    //Retrieve by column name
    String SRC_ID  = rs.getString("SRC_ID");
    String FIRST_ROW  = SRC_ID+", "+SRC_CD+", "+SRC_DSC+", "+CKA_SUB_ID;
    //Display values
    System.out.print("SRC_ID: " + SRC_ID);
    System.out.println(", FIRST_ROW: " + FIRST_ROW);
    Is there a way I can replace the getString with a "getRow"?
    Right now the best I can do is to create and use the FIRST_ROW variable. However I want to be able to do this generically so I can read different tables and write them to data files.
    Thanks!

    Is there a method for capturing a row in a variable in order to print that entire row out to a data file or a UNIX file in this case.
    Is there a way I can replace the getString with a "getRow"?
    No - there is no such 'ROW' entity in Oracle.
    Download and use Oracle's free Sql Developer and you can use a simple query like this:
    select /*csv*/ * from SCOTT.EMP
    That will produce a comma-delimited result set with one record for each row. Then you can save the result set to a file.
    Oracle SQL Developer Downloads
    See this article by Jeff Smith that shows how to get result sets as CSV (and several other) formatted data.
    http://www.thatjeffsmith.com/archive/2012/05/formatting-query-results-to-csv-in-oracle-sql-developer/

  • ODI11g -  problem using Date transformation in a file to table ineterface

    I have a file to table interface which has few optional date fields on source data store.My requirement is to pass NULL if the date field is empty in the csv file (source).
    I achieved it in 10g ODI by using
    decode(col_name,'',NULL,to_date(col1,''mm/dd/yy");
    This works perfect in 10g.
    When I migrate the same to 11g, this is not working as the c$ table is getting created with 2 columns for each column where i use decode.
    For ex: If i have a,b,c colmns and if iam using decode on b, the c$ is
    c1_a
    c2_b
    c3_b
    c4_c
    Hence the interface fails inserting data into c$.
    Iam transfering file to netezza db.
    using oracle to netezza LKM
    netezza control append IKM
    Please lemme know the way of handling empty fileds in the file to pass the same as NULL.
    Any help on this is much appreciated.
    Thanks,
    Naveen Kumar T.

    Here:
    set the_day to day of (current date)
    set the_month to month of (current date) as number
    set the_string to "Users:Boomdoggin:Important Files:Misc. Files:Plans:To Do Lists:Daily To Do Lists:" & the_month & "." & the_day & ".pages"
    tell application "Pages"
    activate
    open the_string
    end tell
    (52831)

  • How to install and run nzclient on windows?

    Hi,
    We have a requirement run an interface from oracle to netezza table to table transfer from our local machine.
    For this we need to install the nzclient to run the nzload.Please help with your views /experiences in installing the nzclient on windows xp machine.
    Thanks,
    Naveen Kumartalari.

    What you're asking doesn't make sense. WebLogic runs fine on Windows. When on Windows, use the Windows-based interfaces for WebLogic.
    I've consistently been using Cygwin for many years, but it's important to understand that it is NOT an operating system. It's simply a port of several Unix-based applications and shells to the Windows API.
    That being said, there's nothing wrong with writing Cygwin-based scripts that interact with the WebLogic server running on a Windows box. Bash is certainly a better shell for scripting than Windows CMD scripts.
    If you have a more specific question, we might be able to answer it.

  • Adding extra unlloading tool to KnowledgeModule

    Hi,
    I am using NZLOAD KM to unload the data from Oracle Source table and load the data to Netezza. Internally it uses SqlUnload to unload the data and nzload to load the data to Netezza. However since the unloading through SqlUnload utility takes up much time we want to use Fast Reader utility to unload. So we want to add this in the NZLOAD KM. How can we achieve that ? Should we import any library files into the ODI library path?
    Thanks,
    Ramesh

    Hi All,
    Thanks for your replies. I have achieved transferring the data from Oracle to Netezza using NZLOAD KM. However the Fast reader tool tranfers the data much faster than the sqlunload tool ( which used in the NZLOAD KM ). So I want to use fast reader ( which is already being used in the legacy application ) in the NZLOAD KM. So the issue is how to remove sqlunload from the NZLOAD Knowledge Module and use fast reader tool instead. ( this knowledge module was not there in 10.1.3 ODI release ) .
    Thanks,
    Ramesh

  • Implementaion of Business rules

    All-
    I have an interface to load data from oracle to netezza and one of the column is mapped like below:
    TargColumn2 = Column2 + #test
    Here I am taking the Column2 from source and adding it to value of the variable (#test) then mapped into the target column.
    I want to check some condition before inserting records into the table. Suppose the above scenario is returning the value 100 then I need to check the condition like > 100. I would like to insert records only when the condition is met.
    Is it possible to implement Business Rule to check some condition while inserting records through interface? Please advice?
    Thanks & Regards,
    Saravanan Rajavel

    Hi there,
    best way is indeed via the flow-control because you may implement several rules and get them executed all.
    You are thinking process instead of set manipulation probably
    If you have only one rule you may try to get a where clause applied on target
    jld

  • Connecting to Netezza/GreenPlum from Oracle

    i have requirement where i need to get data from Oracle, Netezza and GreenPlum into one report.
    Is it possible to connect these DBs from an Oracle Stored Proc?
    Secondly, is it possible to use Database links to connect to Netezza and GreenPlum from Oracle?

    Is it possible to connect these DBs from an Oracle Stored Proc?
    Yes. using ODBC for example.
    Secondly, is it possible to use Database links to connect to Netezza and GreenPlum from Oracle?
    AFAIK, DB links are only available on oranet, so no.However, my question for you is why on earth would you create reports in Oracle Stored Procedure? There are millions of decent reporting tools, some even free, which can connet to multiple data sources at the same time and produce the report easier and cheaper.

  • OBIEE with Netezza and Oracle

    I am trying to do multi-sourcing using Netezza and Oracle.   I need to connect to Netezza and Oracle both as datasource and create Dashboard reports. Is it possible to use Netezza and Oracle both simultaneously? I have the connection for oracle and its working fine, but how do I add Netezza connection to the existing rpd and merge it in the business layer. Do I need a specific driver for that or any settings to be done?

    Yes we can do that.
    To connect to Netezza via ODBC, a Netezza ODBC driver must be downloaded and installed. Next, an ODBC data source must be set up via the Windows data sources control panel. See the following link for more information on how to set up an ODBC data source:
    http://www.razorsql.com/docs/odbc_setup.html
    IBM InfoSphere Information Server, Version 8.7 Information Center
    Mark if helps.
    Thanks,

  • Error querying Netezza from Oracle

    I'm having an intermittent problem querying from Netezza using Oracle's HS. The Netezza database is identified as nv01. I can query successfully some of the time; e.g.,
    SQL> select * from t_county@nv01 where rownum < 5;
    COUNT COUNTY_NAME ST MSA_ DMA LOAD_TSTM
    48263 KENT TX 651 05-FEB-02
    48315 MARION TX 612 05-FEB-02
    48335 MITCHELL TX 662 05-FEB-02
    48499 WOOD TX 709 05-FEB-02
    Other times (I haven't identified any particular pattern yet) queries will fail miserably; e.g.,
    SQL> select count(*) from t_county@nv01;
    select count(*) from t_county@nv01
    ERROR at line 1:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    More than one active statements is not yet supported on the same connection
    ORA-02063: preceding 2 lines from NV01
    I'm using only a single SQL*Plus session. Any suggestions?

    I enabled tracing and the output is displayed below. What I pasted below occurs immediately after a little of column names and data types, so there's some successful communication before the failure.
    Exiting hgodscr, rc=0 at 2008/03/05-10:21:56
    Entered hgotcis at 2008/03/05-10:21:56
    Calling SQLStatistics for T_RX_CLAIM
    Entered hgopoer at 2008/03/05-10:21:56
    hgopoer, line 159: got native error 11 and sqlstate HY000; message follows...
    More than one active statements is not yet supported on the same connection
    Exiting hgopoer, rc=0 at 2008/03/05-10:21:56
    hgotcis, line 385: calling SQLStatistics got sqlstate HY000
    Exiting hgotcis, rc=28500 at 2008/03/05-10:21:56 with error ptr FILE:hgotcis.c LINE:385 ID:SQLStatistics
    Is this helpful?

  • Configuration issue : Oracle Essbase Studio Server

    Hi,
    What going wrong here? Please advice...
    C:\Hyperion\products\Essbase\EssbaseStudio\Server\server_prod.log
    20:44:06 05/13/10 INFO Starting up
    20:44:06 05/13/10 INFO Oracle Essbase Studio Server. Version 11.1.1.3.00, Build 090, June 25 2009
    20:44:14 05/13/10 (system) WARNING Failed to load driver for sap
    20:44:14 05/13/10 (system) SEVERE Cannot load Teradata connector
    20:44:14 05/13/10 (system) WARNING Failed to load driver for teradata
    20:44:14 05/13/10 (system) WARNING Failed to load driver for mysql
    20:44:14 05/13/10 (system) WARNING Failed to load driver for netezza
    20:44:15 05/13/10 (system) SEVERE Cannot initialize catalog storage. Make sure that server.properties has correct information
    -------------- Exception --------------
    com.hyperion.cp.catalog.exceptions.CatalogInitializationException: catalog.CatalogInitializationException.StorageInitializationFailure
         at com.hyperion.cp.catalog.storage.StorageFactory.getStorageInstance(StorageFactory.java:155)
         at com.hyperion.cp.catalog.transaction.TransactionManager.initialize(TransactionManager.java:64)
         at com.hyperion.cp.catalog.Catalog.initialize(Catalog.java:98)
         at com.hyperion.cp.catalog.Catalog.initialize(Catalog.java:156)
         at com.hyperion.cp.catalog.Catalog.<init>(Catalog.java:85)
         at com.hyperion.cp.catalog.Catalog.<clinit>(Catalog.java:73)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:164)
         at com.hyperion.cp.catalog.CatalogInitializer.run(CatalogInitializer.java:54)
         at com.hyperion.cp.server.RequestListener$SystemTask.run(RequestListener.java:1302)
         at com.hyperion.cp.server.RequestListener.runSystemTask(RequestListener.java:167)
         at com.hyperion.cp.server.RequestListener.<init>(RequestListener.java:129)
         at com.hyperion.cp.server.ServerMain.main(ServerMain.java:204)
    Caused by: java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
         at com.hyperion.cp.catalog.storage.StorageFactory.getStorageInstance(StorageFactory.java:149)
         ... 12 more
    Caused by: com.hyperion.cp.catalog.exceptions.CatalogInitializationException: No table ORCL.ADVWORKS.CP_NONE_TRANSACTIONS found
         at com.hyperion.cp.catalog.storage.StorageEngine.validateSignature(StorageEngine.java:193)
         at com.hyperion.cp.catalog.storage.StorageEngine.<init>(StorageEngine.java:87)
         at com.hyperion.cp.catalog.storage.SQLStorageEngine.<init>(SQLStorageEngine.java:20)
         ... 17 more

    Hi
    Thanks,
    I able to connect after changing the catelog username which point to wrong one in server.properties.
    But now Essbase Server got failed. Can you help
    Essbase Server startup check using Maxl command
    Error: Result: Unable to connect Essbase Server using MAXL command. Please check that essbase server is running.
    Recommended Action: Check Essbase Server is started.
    EssabaseServerChecker
    Error: Cannot connect to olap service. Cannot connect to Essbase Server. Error:Essbase Error(1051293): Login fails due to invalid login credentials
    Recommended Action: Check application is started.
    Launch external checker with next command: C:\Hyperion\common\validation\9.5.0.0\launchEssbaseJavaAPI.bat EssbaseJAPIConnect admin ****** d26085.arrownao.corp.arrow.com http://d26085.arrownao.corp.arrow.com:13080/aps/JAPI
    Error: Result: -1; Error message: Cannot connect to olap service. Cannot connect to Essbase Server. Error:Essbase Error(1051293): Login fails due to invalid login credentials
    Recommended Action: Make sure external checker is working.
    Launch external checker with next command: C:\Hyperion\common\validation\9.5.0.0\launchEssbaseJavaAPI.bat EssbaseJAPIConnect admin ****** d26085.arrownao.corp.arrow.com http://d26085.arrownao.corp.arrow.com:13080/aps/JAPI
    Error: Result: -1; Error message: Cannot connect to olap service. Cannot connect to Essbase Server. Error:Essbase Error(1051293): Login fails due to invalid login credentials
    Recommended Action: Make sure external checker is working.

  • Essbase Netezza ODBC Linux

    Hi,
    Has anyone configured and successfully connected to Netezza from Essbase? I have installed the Netezza ODBC driver on my Essbase Server and have modified the $ARBORPATH/bin/.odbc.ini file to include the Netezza datasources. I have tested the connection with isql -v mydsn myusername mypassword and it says connected. However when I open a SQL in EAS and try to retrieve I get the following error
       ODBC Layer Error: [HY000] ==> [Server and/or port attributes are empty]
    Any Suggestions please? We have other datasources defined and are able to connect to them successfully. Don't know what I am doing wrong. Thanks for your time in advance.
    Thanks,
    Ted.

    Hello Ted,
    the first question is if this is supported.
    Oracle has an MS Excel sheet as Support Matrix. Check this for the version you have. Like 11.1.2.x Non-Oracle DBs tab: http://www.oracle.com/technetwork/middleware/bi-foundation/oracle-hyperion-epm-system-certific-131801.xls
    I see Netezza is supported for Essbase Studio, Interactive Reporting (former BRIO), and Production Reporting (former BRIO).
    I think this also applies to your version.
    A different route would be
    an export as flat file and load this into Netezza.
    an export into a different database which is supported and from there into Netezza.
    Regards,
    Philip Hulsebosch.
    www.trexco.nl
    p.s. To all users, close questions which were answered. Then we do not have to open them to see if we can help = saves us time to help others.

  • Essbase data integration with Netezza

    Does Essbase 9.3.1 support data integration with Netezza?

    Hi Shiva,
    If you have Data stage then you can use this ETL to extract the data from IBM AS400 to SAP BI.
    In order to enable extraction of data and metadata from non-SAP sources on the application level, SAP BW provides open interfaces - staging BAPIs. BAPIs (Business Application Programming Interface) are standardized programming interfaces that offer external access to the business processes and data of a SAP system. These interfaces enable connection between various third-party tools (such as Extraction, Transformation and Loading) and SAP BW. In this way, for example, data from an Oracle application can be transferred to SAP BW and can be evaluated there.
    Similarly you can tranfer data from Data Stage to your BW system.
    You can find more information on data transfer using staging BAPIs in your SAP BW system in the BAPI Explorer (transaction BAPI). On the Hierarchical tab page, choose SAP Business Information Warehouse --> Warehouse Management.
    Plz check the below Link :
    Web site: http://ibm.ascential.com/solutions/business_intelligence.html
    Regards
    Ram.

  • Anybody used OWB to populate netezza warehouse

    Hi,
    We are currently using OWB to populate oracle warehouse.
    Currently considering switching to a netezza warehouse.
    Anybody any experience/thoughts on using OWB to populate netezza as target.
    Many Thanks

    Thanks for the advice.
    We had been expecting this - we do make heavy use of cube and dimension operators.
    We are currently exploring possibilities of new hardware andd netezaa was suggested as a possible option as target warehouse and that would have the option
    of transporting our ETL relatively simply and just changing the target database to be netezzza rather than Oracle.
    At this stage we are looiking at advantages/diasdvanatges of the various hardrware platforms (Netezza, Oracle exadata etc) partciualrly and integreated hardware/software approach.
    Do you have any information outlining pros/cons of netezza vs exdata?

  • Intergration of RETL with Netezza

    Can we deploy RDW on Netezza and perform the ETL using RETL. Technical specification of RETL says that the supported DBMS are Oracle, DB2 and TeraData. I expect that integration of RETL with Netezza is certainly possible but how tedious and cost effective will the development be?

    This forum is for Retail Data Model, which does not work with RETL or Netezza.

Maybe you are looking for

  • In the hope of getting some proper assistance (at last)

    A month ago I started a different discussion, reporting this problem: "I installed the latest CC (2014) versions of Adobe apps both on my Mac and my PC. To my surprise, I found that the CC versions are still in my C drive, taking up lots of valuable

  • Displayed Properties in Collection List Renderer are not displayed

    Hello All, I have created one custom property and entered the value for a resource which had that property. Now, when I am trying to display the custom property in any layout, its not coming, even though I have added the property name in the Displaye

  • Manually change sales order status

    Hi All friends I have one requirement where i need to manually change the sales order overall process status "completely process"  VBUK-GBTSK. Please suggest me how can i achieve this. Regards Shambhu

  • Function Module to return WSDL URL

    Hi, Is there an ABAP Function Module that returns the URL of the WSDL when passed the name of a BAPI/ RFC? Thanks, Tristan

  • Missing xsi:type, invalid xml generated, jaxb 1.6

    Hi, i've this XML Schema defined for my doc/lit web service: <complexType name="CasDataType">   <sequence>     <element name="key"  type="long"  nillable="false  minOccurs="1" maxOccurs="1"/>   </sequence> </complexType> <complexType name="AddressDat