Problem to define DSN

Hi, I've installed OBIEE 11g-64 in a Linux redhat 64 machine, i need to configure an ODBC connection to NETEZZA database.
I've followed the documentation steps changing the odbc.ini and odbc64.ini files , places in
*/store/app/oracle/product/Middlware_Home/instances/instance1/bifoundation/OracleBIApplication/coreapplication/setup* adding :
in odbc.ini:
[ODBC Data Sources]
AnalyticsWeb = Oracle BI Server
Cluster = Oracle BI Server
SSL_Sample = Oracle BI Server
NTPROD = NetezzaSQL
*[NTPROD]*
Driver = /usr/local/nz/lib/libnzodbc.so
Description = NetezzaSQL ODBC
Servername = servername
Port = 5480
Database = database
Username = user
Password = password
in odbc64.ini:
[ODBC Data Sources]
AnalyticsWeb = Oracle BI Server
Cluster = Oracle BI Server
SSL_Sample = Oracle BI Server
NTPROD = NetezzaSQL
*[NTPROD]*
Driver = /usr/local/nz/lib64/libnzodbc.so
Description = NetezzaSQL ODBC
Servername = servername
Port = 5480
Database = database
Username = user
Password = password
Using the Administration Tool in RPD file i've added a new connection pool defining the data source using the same name NTPROD
when i try to connect to database from Admin tool in order to import tables a message return connection failed,
then in the BI Server log file : *[DataDirect][ODBC lib] Data source name not found and no default driver specified.*
the default bash when i login to oracle user is CSH, so i think this is the default shell used by the oracle services, then i've modified the .cshrc to difine new variables path, this is the content:
setenv JAVA_HOME /store/app/oracle/product/java/jdk1.6.0_22
setenv CLASSPATH $JAVA_HOME/jre/lib/rt.jar:.
setenv ORACLE_BASE /store1/app/oracle
setenv ORACLE_HOME_CLIENT /store1/app/oracle/product/11.2.0/client_1
setenv ORACLE_SID dev1121
##setenv NLS_LANG AMERICAN_AMERICA.AL32UTF8
##setenv PATH $JAVA_HOME/bin:$PATH:/usr/kerberos/bin:/usr/local/bin:/bin:/sbin:/usr/bin:/usr/X12R6/bin:/home/oracle/bin:/bin:$ORACLE_HOME_CLIENT/bin:$ORACLE_HOME_CLIENT/OPatch:.
setenv PATH $JAVA_HOME/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/sbin:/usr/bin:/usr/X12R6/bin:/home/oracle/bin:/bin:$ORACLE_HOME_CLIENT/bin:$ORACLE_HOME_CLIENT/OPatch:.
setenv ORACLE_TERM xterm
setenv TMPDIR /var/tmp
setenv LD_LIBRARY_PATH $ORACLE_HOME_CLIENT/lib*:/usr/local/nz/lib*
setenv LANG en_US.UTF-8
setenv NLS_LANG AMERICAN_AMERICA.AL32UTF8
# Middlware variables
setenv MW_HOME /store/app/oracle/product/Middlware_Home
setenv DOMAIN_HOME /store/app/oracle/product/Middlware_Home/user_projects/domains/bifoundation_domain
setenv WL_HOME /store/app/oracle/product/Middlware_Home/wlserver_10.3
setenv ORACLE_HOME /store/app/oracle/product/Middlware_Home/Oracle_BI1
setenv ORACLE_INSTANCE /store/app/oracle/product/Middlware_Home/instances/instance1
setenv PATH /store/app/oracle/product/Middlware_Home/instances/instance1/bifoundation/OracleBIApplication/coreapplication/setup:/usr/local/nz/bin:/store/app/oracle/product/Middlware_Home/server/bi$
setenv ANALYTICSRES /store/app/oracle/product/Middlware_Home/instances/instance1/bifoundation/OracleBIPresentationServicesComponent/coreapplication_obips1/analyticsRes
setenv RES $ORACLE_HOME/bifoundation/web/app/res
setenv CONFIG $ORACLE_INSTANCE/config
setenv PRESCONF $CONFIG/OracleBIPresentationServicesComponent/coreapplication_obips1
setenv BISERVERCONF $CONFIG/OracleBIServerComponent/coreapplication_obis1
setenv BISERVERLOGS /store/app/oracle/product/Middlware_Home/instances/instance1/diagnostics/logs/OracleBIServerComponent/coreapplication_obis1
*:/usr/local/nz/lib* this is the only variable i've added , there is the netezza driver, the file libnzodbc.so pointed in the odbc.ini
can you help me please?! thanks :)

Did you ever get any response on this issue? I am working with a customer who has very similar problem. Any feedback you can provide would be appreciated.
Regards,
Khai
Edited by: user10230606 on Mar 22, 2011 10:43 AM

Similar Messages

  • Problem While Defining  "VALUE SET"

    Dear All,
    I am finding problems while defining "Value Set".
    I wanted to select "DISTINCT" Column from a particular Table.
    It is not allowing me to select distinct Column.
    Is there any other alternative ??

    Hi Tarak,
    Create a view selecting distinct values and then use this view as a table in your value set.
    Vishal

  • Problem setting up DSN for 10g ODBC driver

    Hello,
    I am simply trying to install an ODBC driver for 10g. To accomplish this, I first downloaded the odbc driver for 10g 10.2.0.2.0. The Readme notes said that I need to install the odbc driver using the Oracle Universal Installer. So I got a copy of just the OUI from our DBA. I installed the OUI 10.2. Using the installer, I installed the 10.2.0.2.0 odbc driver. The Readme notes said to look for the file "products.jar", which was not available, but "products.xml" was, so I used "products.xml", and the driver installed successfully.
    The next step was to set up an ODBC DSN for this driver. When I attempted to do this, the Microsoft ODBC Administrator threw this message: The setup routines for the Oracle in DEFAULT_HOME ODBC driver could not be loaded due to system error code 127, followed by Could not load the setup of translator library.
    Other threads suggested that I copy the DLLs mfc71.dll, msvcrt.dll, and msvcr71.dll from my C:\Windows\System32 directory to the directory where I installed the odbc driver (C:\orant\BIN) and to ensure that this directory path was defined under the PATH environmental variable. I followed all these instructions but to no avail - I am still having the same problem. PLEASE HELP!!! Thanks in advance!!

    Hi,
    >>could not be loaded due to system error code 127
    Did you try install it on other machine ? Maybe this current machine has a DLL versions problems ...
    Cheers

  • Problem of defining value to a textfield in MovieClip

    hello,dear everyone
    there is problem that realy confused me.that is the
    textfield(or other display objects) in MovieClip can't be defined
    when i jumpto that frame.check these simple code:
    mc.stop()
    function goNext(evt:Event){
    mc.nextFrame()
    dosth()
    function dosth()
    if(mc.currentFrame==2)
    mc.mytext.text="hello"
    nextBT.addEventListener("click",goNext)
    the mc is a simple MC that have 2 frames,and the textfield
    object is in the second frame.
    and what i try to do is when i clicked the button,the mc
    jumpto the second frame.and i define a value to that textfield.but
    it's failed when i try to do like that.
    as i debug the program.i found that when i define the value
    to the textfield,that textfield is a Null Object(should be the
    TextField object).not only the textfield not work,but also other
    elements such as Button objects.
    so,i am thinking that must because the objects are too late
    to initialized before they be used.maybe there are some event can
    tell me that all elements has been initialized,as i can use them
    then.what do you think,my friend?

    If all of the code you have is in the first frame, then it
    has processed long before anything ever moved to the second frame.
    What you could try is to have a variables layer that extends
    both frames, and assign the value of the textfield text to that
    variable. Make the textfield associate with that variable (in the
    properties section for it), So when the movieclip moves to the
    second frame the text field should automatically acquire the
    variable value.
    I may not have interpretted your problem correctly, so you
    might have to clarify things if I missed the target.

  • Problem when defining correlation with subsequent Async Receive Step.

    Hi, all:
    We have defined a BMP process, like below:
    Receive (Start Process) --> Sync Send --> Sync Send --- Async Send
    Now we need to have additional steps added into the process: Async Receive.
    Now we have problem defining the correlation:
       Since this Async step is not the start of the process, we have to use correlation, if we leave it blank, a red question mark stays, and we can not active BPM.
       When we define the correlation, we just expect one message type to be received from a Async system.
       In the correlation condition editor window, we would like to choose "Interface Variable" and assign value to the container element that reference the asbtract interface.
       however, when we selection optiontb "Interface Variable", there is value "interface" already fill up, we can not select container element from the elements list.
    Any one has such experience ?
    Thanks in advance !
    John

    Hi
    I think you are facing problem with corrrelation. Follow this procedure to define correlation : -
    1. Switch from Container window to Correlation List, here define a correlation variable.
    2. Now switch from Graphical Editor to Correlation Editor.
    3. There in Correlation Name choose your Correlation variable.
    4. In the Correlation Container define a variable.
    5. In Involved Message window choose your message interfaces that are used to correlate. Here you should have message interface of your second receive step with another message interface.
    6. Now in correlation editor's Properties window assign field of your involved message interface to the variable that you have defined in 4th step.
    7. Now switch to Graphical Editor of you BPM. And Activate your correlation in First receive step and Use Correlation it in subsequent receive step.
    This is the whole procedure to define a correlation and use it.
    If you need further clarification plz revert.
    Regards,
    Sami.
    Reward pointa if helpful.

  • Problems while defining EJB relations for container managed bean

    I am having a problem while trying to create my relations for my container managed bean.
    My Database schema is:
    Order table
    order_id
    message
    WorkItem table:
    order_id
    item_id
    message
    I have defined my OrderBean to have:
    @LocalMethod()
    @CmrField
    public abstract Collection getCmWorkItemsCmr();
    @LocalMethod()
    public abstract void setCmWorkItemsCmr(Collection workItems);
    I am not sure how to define my relation for my class:
    @Relation(cmrField = "cmWorkItemsCmr", multiplicity = Relation.Multiplicity.MANY, name = "Orders-CmWorkItems")
    An order can have many workitems. I am not sure how to fill in the rest for foreign Key jointable and such.
    Any help pointing me in the right direction would be helpful.
    Thanks,
    Ian

    I am having a problem while trying to create my relations for my container managed bean.
    My Database schema is:
    Order table
    order_id
    message
    WorkItem table:
    order_id
    item_id
    message
    I have defined my OrderBean to have:
    @LocalMethod()
    @CmrField
    public abstract Collection getCmWorkItemsCmr();
    @LocalMethod()
    public abstract void setCmWorkItemsCmr(Collection workItems);
    I am not sure how to define my relation for my class:
    @Relation(cmrField = "cmWorkItemsCmr", multiplicity = Relation.Multiplicity.MANY, name = "Orders-CmWorkItems")
    An order can have many workitems. I am not sure how to fill in the rest for foreign Key jointable and such.
    Any help pointing me in the right direction would be helpful.
    Thanks,
    Ian

  • Problem with define operation

    I have wsdl file (simple part of it here)
    <message name="otnAsyncServiceRequestMessage">
    <part name="peiSessionID" type="xsd:string">
    </message>
    <message name="otnAsyncServiceResultMessage">
    <part name="payload" type="xsd:string"/>
    </message>
    <portType name="otnAsyncService">
    <operation name="initiate">
    <input message="tns:otnAsyncServiceRequestMessage"/>
    </operation>
    </portType>
    And my process call async thi service using otn_jaxrpc.jar
    Here simple code from bpel file
    <assign name="assign-1">
    <copy>
    <from expression="ora:getConversationId()">
    </from>
    <to variable="otnAsyncServiceReq" part="peiSessionID"/>
    </copy>
    </assign>
    <invoke name="invokeOTNAsyncService" partnerLink="otn" portType="er2004:otnAsyncService" operation="initiate" inputVariable="otnAsyncServiceReq"/>
    <receive createInstance="no" name="receiveFromOTNCallBack" partnerLink="otn" portType="er2004:otnAsyncServiceCallback" operation="onResult" variable="otnAsyncServiceRes"/>
    .... i look at result throw tcpmon
    and soap envelope look like this
    </soapenv:Header>
    <soapenv:Body><peiSessionID xmlns="http://er2004.ifirst.ru"/></soapenv:Body>
    </soapenv:Envelope>
    But i have no peiSessionID operation in wsdl!
    And my service not define any operation with that name?!
    what's a problem!
    Help please!!!

    First, check if you have any calendar notes or appointments that you entered without a subject. Delete that note and try to sync.
    I hope this helps!
    Post relates to: Tungsten E2

  • Problem while defining Busiiness System

    Hi,
    We are using Xi 3.0 , CCM 2.0 , SRM 5.0 and we need to import material from SRM to CCM.
    while creating the Business System in SLD, where we have to specify the role of Business System As an Application System or Integration Server, we have to give Application System, But with it we have to specify the Integration Server also which should come by default in the dropdown list, but it is showing that no integration server has been defined.
    Can anybody tell me what is the problem??
    Regards,
    Swetha

    Hi Vishal,
    Check if there is a Business System defined for your XI system as a Integration Server.
    If confused, follow these steps:-
    Create a TS for the XI server and specify the details.  Then assign this to your BS, making the role as a integration server and the Pipeline URL:
    http://<servername>:8000/sap/xi/engine?type=entry
    Go thro' this link:-
    http://help.sap.com/saphelp_nw04/helpdata/de/31/f0ff69551e4f259fdad799a229363e/frameset.htm
    I hope this provides you a solution.
    Regards
    Praveen

  • Problem when defining a web service

    Hello,
    I have defined several BAPI that I am calling from an external application by exopsing those BAPI using the SOAP adaptor.
    All goes well for all of them except one.
    For the one having problems the Integrantion engine is routing that call to different webservice than the one I expect it to do it,
    these are some of the paramenters I use when defining the web service in the Integration Builder:
    Interface name: MI_BAPI_PPMSRVAPS_GETLIST
    Communitcation chanel: CC_SOAP_BAPI_PPMSRVAPS_GETLIST
    Address: http://sapxi:50000/xisoapadapter/messageservlet?channel=:BS_WEBSERVICE_GREYCON:CC_SOAP_BAPI_PPMSRVAPS_GETLIST
    but instead when I test the generated wsdl using soapUI: the integration engine returns this error:
    Canceled with Errors 02.06.2010 15:04:22 02.06.2010 15:04:23   [websericename]     [namespace]MI_BAPI_PDSSRVAPS_GETLIST
    My guess is that at some point I defined wrong the web service but I have no way to redefine it or revert how it was defined.
    I redefined the webservice with correct parameters, but there is no change in behaviour.
    I checked server address and port (it is the exact same of the other BAPIs that work)
    Where can I see all defined web services when they are defined via the Integration builder define web service option?
    How to delete a webservice published this way?
    Any advise?
    Any help is very much appreciated.
    Regards,
    Mauricio Pego

    Hello there.
    Error: 404 Not Found
    Description: The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address. This status code is commonly used when the server does not wish to reveal exactly why the request has been refused, or when no other response is applicable.
    Possible Tips:- for HTTP_RESP_STATUS_CODE_NOT_OK 404
    u2022 404 is an HTTP response code that indicates that the resource in question couldn't be found. Usually this is due to an incorrect URL, so it is better to cross check all URLs. Check pipeline URL in the SLD in the business system of the Integration Server For this go to SLD->Business System-><yourIntegrtaion Server>->Pipeline URL: It should be like this http://<host>:<port>/sap/xi/engine?type=entry Where host is the host name of the Integration Server and port is the HTTP(8xxx) port. To verify this in Integration Server you can do like this. Go to SXMB_ADM->Integration Engine Configuration->Choose Edit from Menu -> Change Global Configuration Data to switch to change mode. Then select System Landscape - Load Configuration. (This is not required always)
    u2022 Check that the port really is the ICM HTTP Port and not the J2EE port i.e SMICM then menu GOTO --> SERVICES and check the port number for HTTP. It should be HTTP port
    u2022 If the error is Page cannot be displayed, cannot find server in https configurations Check and correct the SSL configuration for the ABAP and the J2EE side of the system
    u2022 If the error is because of integration server when using Proxy communications then check these. i.e SXMB_ADM->Integration Engine Configuration->Corresponding Integration Server enrty should be dest://<Http Integration server-Destination> Where < Http Integration server -Destination > is the RFC destination (SM59) of type HTTP connection (type H) to the Integration Server. In this case, host name, port, and path prefix are saved in the RFC destination.
    Try some of the recommendations that most apply to your case.
    Hope it helps!
    Regards,
    Caio Cagnani

  • Problem to define limits in Mask & Limit Testing vi

    With Labview 8.0 I can not longer define limit mask by draging points on Define Signal mask screen.
    I used Mask & Limit Testing express vi before with Labview 7.1 and was able move points with cross mouse cursor to define limits envelope around tested signal.
    With new labview this feature is disabled and I have to manualy enter X,Y cordinates for each point.

    I have reported this issue to R&D for further investigation, we hope to see it resolved in a future revision of LabVIEW.  Sorry for the inconvenience.
    (ID # 3V09NT1W)
    Since I'll likely be the person fixing this, I went ahead and investigated this and found the cause of the problem, so I can provide a better workaround too.
    One of the VIs used in this dialog has a very easy-to-make mistake in it.  It's a little embarassing, though at least I can say I didn't write the original VI in this case. 
    If you open the following VI:
    vi.lib\express\express shared\ex_TableUpdateTable.vi
    The "graph relative coords orig" refnum going into the top two property nodes is wired incorrectly.  Visibly it's impossible to tell this until you click once on the wire between the two property nodes.  Notice that it is coming from the input to the first node, not the output of the first node.  Delete this wire and re-wire it from the output of the first one.  This will force the write to happen after the read.
    Interestingly, the VI did not change at all between 7.1 and 8.0, this race condition just got compiled / clumped differently which caused the write to happen before the read in 8.0.
    Message Edited by Jeff B on 03-01-2006 11:11 AM

  • Problem when define Value range for data element

    Dear
    When I define a new data element in ABAP Dictionary, for example, ZDATA_ELEMENT_TEST.
    I use domain ZDOMAIN_TEST.
    (Data type is DEC, the length is 10, and decimals is 2 with sign.)
    Now, I want to restrict that, user can ONLY input the value from 10 to 100.
    From ABAP course and the Internet, I switch to "Value Range" tab, and define 10 for Lower Limit, 100 for Upper Limit in Intervals section.
    And write the simple program.
    PARAMETERS test TYPE ZDATA_ELEMENT_TEST.
    WRITE: test.
    And run it.
    Line: -
    But, there is a problem.
    When I input 200 for test, the program still run and display 200 to screen without any error report or notification. The ABAP runtime system doesn't check the input value.
    I want to config for the domain that can satisfies, if the user input the wrong value (e.g: 200 in the previous case), the program will auto raise the error report, or exception, or sth like that.
    Any help is welcome.

    Hi Hanni,
    Welcome to forum.
    Try to attach key word VALUE CHECK to your PARAMETER statement.
    I.e:
    PARAMETERS test TYPE ZDATA_ELEMENT_TEST VALUE CHECK.
    Note: The addition VALUE CHECK cannot be used together with the additions AS CHECKBOX, RADIOBUTTON, or NO-DISPLAY.
    Regards,

  • Problem with define the alfa network usb adapter

    Hi all,
    I found the file that defines the alpha, but did not know how to define.
    the ReadMe file explain the process of installation and this is the file for operating instructions.
    Release Date: 2006-02-09, ver 1.2
    RTL8187 Linux driver version 1.2
       --This driver supports RealTek RTL8187 Wireless LAN driver for
         Fedora Core 2/3/4/5, Debian 3.1, Mandrake 10.2/Mandriva 2006,
         SUSE 9.3/10.1/10.2, Gentoo 3.1, etc.
       - Support Client mode for either infrastructure or adhoc mode
       - Support WEP and WPAPSK connection
    < Component >
    The driver is composed of several parts:
        1. Module source code
          stack.tar.gz
          drv.tar.gz
        2. Script ot build the modules
          makedrv
        3. Script to load/unload modules
          wlan0up
          wlan0down
        4. Script and configuration for DHCP
           wlan0dhcp
          ifcfg-wlan0
        4. Supplicant source code:
          wpa_supplicant-0.4.9.tar.gz
        5. Example of supplicant configuration file:
          wpa1.conf
    < Installation >
    Runing the scripts can finish all operations of building up modules
    from the source code and start the nic.
        1. Build up the drivers from the source code
          ./makedrv
        2. load the driver module to kernel and start up nic
          ./wlan0up
    < Set wireless lan MIBs >
    This driver uses Wireless Extension as an interface allowing you to set
    Wireless LAN specific parameters.
    Current driver supports "iwlist" to show the device status of nic
            iwlist wlan0 [parameters]
    where
            parameter explaination          [parameters]   
            Show available chan and freq    freq / channel 
            Show and Scan BSS and IBSS     scan[ning]         
            Show supported bit-rate         rate / bit[rate]       
            Show Power Management mode      power           
    For example:
        iwlist wlan0 channel
        iwlist wlan0 scan
        iwlist wlan0 rate
        iwlist wlan0 power
    Driver also supports "iwconfig", manipulate driver private ioctls, to set
    MIBs.
        iwconfig wlan0 [parameters] [val]
    where
        parameter explaination      [parameters]        [val] constraints
            Connect to AP by address    ap                  [mac_addr]
            Set the essid, join (I)BSS  essid                 [essid]
            Set operation mode          mode                {Managed|Ad-hoc}
            Set keys and security mode  key/enc[ryption]    {N|open|restricted|off}
    For example:
        iwconfig wlan0 ap XX:XX:XX:XX:XX:XX
        iwconfig wlan0 essid "ap_name"
        iwconfig wlan0 mode Ad-hoc
        iwconfig wlan0 mode essid "name" mode Ad-hoc
        iwconfig wlan0 key 0123456789 [2] open
        iwconfig wlan0 key off
        iwconfig wlan0 key restricted [3] 0123456789
    < Getting IP address >
    After start up the nic, the network needs to obtain an IP address before
    transmit/receive data.
    This can be done by setting the static IP via "ifconfig wlan0 IP_ADDRESS"
    command, or using DHCP.
    If using DHCP, setting steps is as below:
        (1)connect to an AP via "iwconfig" settings
            iwconfig wlan0 essid [name]    or
            iwconfig wlan0 ap XX:XX:XX:XX:XX:XX
        (2)run the script which run the dhclient
            ./wlan0dhcp
               or
            dhcpcd wlan0
                      (Some network admins require that you use the
                      hostname and domainname provided by the DHCP server.
                      In that case, use
            dhcpcd -HD wlan0)
    < WPAPSK >
    WPA_SUPPLICANT help the network to communicate under the protection of WPAPSK
    mechanism
        (1)Unpack source code of WPA supplicant:
          tar -zxvf wpa_supplicant-0.4.9.tar.gz
          cd wpa_supplicant-0.4.9
        (2)Create .config file:
          cp defconfig .config
        (3)Edit .config file, uncomment the following line:
          #CONFIG_DRIVER_IPW=y.
        (4)Build WPA supplicant:
          make
        If make error for lack of <include/md5.h>, install the openssl lib(two ways):
         1. Install the openssl lib from corresponding installation disc:
            Fedora Core 2/3/4/5(openssl-0.9.71x-xx), Mandrake10.2/Mandriva10.2(openssl-0.9.7x-xmdk),
            Debian 3.1(libssl-dev), Suse 9.3/10.0/10.1(openssl_devl), Gentoo(dev-libs/openssl), etc.
         2. Download the openssl open source package from OpenSSL: The Open Source toolkit for SSL/TLS, build and install it.
        (5)Edit wpa_supplicant.conf to set up SSID and its passphrase.
          For example, the following setting in "wpa1.conf" means SSID
              to join is "BufAG54_Ch6" and its passphrase is "87654321".
          network={
                ssid="BufAG54_Ch6"
                proto=WPA
                key_mgmt=WPA-PSK
                pairwise=CCMP TKIP
                group=CCMP TKIP WEP104 WEP40
                psk="87654321"
                priority=2
        (6)Execute WPA supplicant (Assume 8187 and related modules had been
               loaded):
          ./wpa_supplicant -D ipw -c wpa1.conf -i wlan0 &I execute the makdrv script after log with root user but an error appear
       bash:./makedrv: permission denied  and this the script code
    #!/bin/sh
    tar -zxvf stack.tar.gz
    tar -zxvf drv.tar.gz
    cd ieee80211
    make clean
    make
    cd .../rtl8187
    make clean
    make
    cd...  Regards

    chmod 700 makedrv

  • Problem With defining Blank nodes

    Hey,
    I'm reasonably new at RDF and Oracle. And I'm testing for my application Things to insert a blank node to represent an n-ary relationship.
    After some experimenting i found out that, when i added a "_:NodeId" as subject or object in my triple, oracle creates a generic name for my 'blank' node with node value: _:ORABN2451A71D04BD5F79E040780A01002DC3.
    The problem began when i tried different _:NodeId as subject and object for triplets, to my surprise, the node value stayed the same.
    But never where any rows were added in the tabel RDF_BLANK_NODE$.
    All this was tested with the insert query:
    Insert Into thi_rdf_data(rdf_triple)
    VALUES(sdo_rdf_triple_s('things_rdf',
                             '_:NodeId',
                             'http://www.w3.org/200/01/rdf-schema#label',
                             'test'
    Only after i altered the query to:
    Insert Into thi_rdf_data(rdf_triple)
    VALUES(sdo_rdf_triple_s('things_rdf',
                             '_:NodeId',
                             'http://www.w3.org/200/01/rdf-schema#label',
                             'test',
                             201
    New entries were added to the RDF_BLANK_NODE$ table, but still all with the same node_value.
    Anyone have an idea what I'm doing wrong here?
    Thank in advance
    Jeroen van Lier

    http://www.example.org/family/Tom     http://www.w3.org/19
    99/02/22-rdf-syntax-ns#Bag
    http://www.example.org/family/Tom     http://www.example.o
    rg/family/Jack
    http://www.example.org/family/Tom     http://www.example.o
    rg/family/Cathy
    so the first record has to be filtered out.Yes.
    >
    A few comments:
    1) It's a bit strange that one has to give the
    <model_id> as parameter when the first parameter is
    the <model_name> - a boolean like <reuse> would be
    more intuitive.That is an interesting comment! Indeed, the interface could be changed as you suggest, and we might do that in a future release. The current interface was designed from the point of view of maximum flexibility, where the user could to choose to re-use blank nodes from a different model, if both models are related. This could change in the future, and we now strongly recommend re-using blank nodes only within a model, and to always re-use blank nodes within a model.
    >
    2) There does not seem to be a check on the word
    "Bag" (anything goes).Yes, we do not do any checks in the current release, we just treat the data as data the application wants to use. The above example follows the recommended guidelines of modeling using a "Bag", and using "Bag" (instead of any other string) will help other tools use the data.
    >
    3) '(?c :Cousin ?b)' would be more intuitive than
    '(?c :Cousin ?a)(?a ?p ?b)' - but maybe that's
    against the SPARQL syntax.For ('?c :Cousin ?b) to match a sub-graph in the RDF graph, the direct link with predicate :Cousin will have to exist between ?c and ?b. But since the :Bag type is used, and the modeling of the :Bag type uses a blank node or some other resource in between the two nodes, the query in SPARQL will have to be constructed so that such a subgraph is matched (in other words, the query has to be constructed with two patterns as shown in the example above).
    Thanks for your feedback!
    Melli

  • Problem with System DSN (HELP!!!)

    We have a customer running Oracle 817. Our application (Powerbuilder-based) uses the Oracle 817 ODBC driver to connect to the DB.
    We normally set up a System DSN so that in situations where more than one user logs into the PC (using their own domain account), they will be able to use our application as well. In all of the situations in the past, we've never had multiple users needing access to the same computer at different times with different logins.
    Well guess what? We now have a customer that has three people accessing the same computer at different times with different logins.
    We set up the odbc with an Admin account, but only THAT Admin account can be used to access the DB using that System DSN.
    We've tested our app with SQL Server (ODBC) and Sybase (ODBC) as well using different logins and they work fine, but our app fails to connect to the DB using the Oracle System DSN!
    What is happening?????? We set up a File DSN for now and it works, but the customer prefers not having to save that info to a file.
    Any suggestions?

    1) How are you authenticating users? If you're using O/S authentication, do all the users have appropriate accounts on the database? (They do have the appropriate DB account)
    2) Did you specify a username in the DSN? Did you mean to? If you want multiple users to log on with different database accounts, don't specify a username. (the app uses the same username and password to access the DB)
    3) Can you elaborate on what "can't log on" means? I assume you get some sort of error message, so please post that. (it's telling us that the selected datasource is invalid.)
    4) Can you simply create a user DSN for each Windows user account? We could and we did and it works fine that way, but the System DSN eliminates the need for that. We would have to set up DSNs for each PC (50+) that has more than one user.
    Justin

  • Problem with defining ints

    I have a method that defines ints to 4 and uses them in the method. But I only want them defined to 4 when the method is invoked the first time.
    public static void example()
    int x = 4, y = 4;
    x -= 1;
    y -= 1;
    }Is there a way for x and y to remain at 3 after the first use of the method then go to 2 if the method is used again?

    aufde wrote:
    I'm not really sure what member variables are vs. local variables. I'm kind of new to Java and I'm not really good with the jargon yet.
    Anyways, after some experimenting, I got it to do what I wanted.
    public class example
    static int x = 4, y = 4;
    public static void minus()
    x -= 1;
    y -= 1;
    }I'm not sure if this would be the right way to do it.Yep, that's basically what I suggested but now you only have one x and one y per class because everything is static now.
    kind regards,
    Jos

Maybe you are looking for

  • Invoice without referencing Purchase Order

    Hi When an invoice comes with out referencing purchase order then accounts payable does not have a way to look up the supplier and see if there is any PO issue against it . This causes as some invoices are being paid manually instead of from the issu

  • Store Word/Excel Document in Database 9.2.5

    Hi Can you give me sample code how to store word or excel document from forms 10g rel 2 and read the document from forms. Thanks

  • How to divide the waveform into small pieces (which have different lengths)

    I have a long waveform which is just a combination of a waveform + 0 + another waveform + 0 +...I would like to have small pieces of the long waveform.  The problem is I cannot think of anyway to detect the 0 in order to seperate them.  Any hint woul

  • Add a custom screen to XK02

    Hi all , We have a requirement to add a sub screen with some customised fields in the standard transaction XK02(VENDOR MASTER).It has many subscreens, we have to add a new subscreen to the transaction, I have got a BADI VENDOR_ADD_DATA_CS where we ca

  • Photoshop update faile

    Update failed.What do I do now? I tried to update photoshop cs6 and it failed. Photoshop does not work at all.