Oracle Client to  connect to oracle database 7.x

Hi,
I want to connect to oracle database 7.x from a win2K using ODBC.
I know I need sql*net to make a connection .
Can you tell me where can I find it on the site to download/purchase?
If it is not available,can you suggest me the other options available for my situation.
Thanks
Sushma.

Thank You Justin.
Can you provide me the link to the download/purchasing the oracle client.
Because when I searched on OTN ,I get only documentation,nothing to software downloads.
I really need some help.
Is oracle client called as oracle tools etc.????????
Thanks in advance
Sushma.

Similar Messages

  • Oracle 10.2.0.4 client/ODP connecting to 11g database

    Hi Folks -
    Are there any know problems using an Oracle 10.2.0.4 client and the 10.2 ODP/ODAC client to connect to an 11g database?
    Normally ,we'd use the Oracle 11g client/ODP but it is giving us errors so we need to go back to 10g
    ..any foresee-able problems with this?

    soryy it took so long to reply.
    we hit a bug which was supposed to be fixed in 11g client but is still there. OraOps11x.dll causing IIS 6.0 to crash. Took us a week to figure out what it was and didn't even consider it being an error caused by the 11g client until MS support pointed it out in a dump file we had them analyze. Oracle support confirmed it was true and last I heard they plan to have it fixed in the next update to the client, which they say is scheduled for end of July 2008. I hope it is fixed, because we're running into other problems with the 10.2.0.4 client also (ORA-21500 [%],[%],[%],[%],[%]).

  • Connectivity between Oracle database and client...

    Hi guys,
    I was asked to make a connection between oracle client and database via internet so that our clients can access the database from different parts of the country, and the data that is transmitted in the internet does not require security consideration. And I have successfully implemented this.
    But later onwards they asked me to structure it in such a way so that clients must be able to select, insert, update and delete data offline, in case there is online connectivity problem.
    So my question is, are there any possibilities in oracle to temporarily store data that are available in the oracle database to the client side and then later onwards transfer those datas once the clients are available online. Or are there any other alternative ways...
    Additional Information - Client access the database through an application created by VB.
    Please do help me on this project.
    Thanks in advance for your help.
    Asif.

    user11000521 wrote:
    Hi guys,
    I was asked to make a connection between oracle client and database via internet so that our clients can access the database from different parts of the country, and the data that is transmitted in the internet does not require security consideration. And I have successfully implemented this.
    But later onwards they asked me to structure it in such a way so that clients must be able to select, insert, update and delete data offline, in case there is online connectivity problem.
    So my question is, are there any possibilities in oracle to temporarily store data that are available in the oracle database to the client side and then later onwards transfer those datas once the clients are available online. Or are there any other alternative ways...
    Additional Information - Client access the database through an application created by VB.
    Please do help me on this project.
    Thanks in advance for your help.
    Asif.You probably should do a cost/risk analysis. Where you are headed might be able to be done (but it will require that the "clients" also have their own copy of the database) but it won't be easy and it certainly won't be cheap, either in initial implementation or in on-going maintenance. The alternative is to take a hard look at your network connections and see if it wouldn't be cheaper/easier to be able to ensure that it is reliable. Remember "the internet" won't break, it is highly redundant. If you have connectivity issues, they will almost certainly be in your own equipment and configurations, so your (your organization) will have the ability to address and fix any issues there.

  • Oracle command line to connect to a database directly from a client machine

    Hi,
    I need to connect from a Client machine to a database present on the Database server.
    Client: Windows 7 32 bit/ 64 bit
    Server where DB is installed: Windows 2008, Oracle 11.xg
    I need a command line option that will connect to a database say 'Test' from the command line. I want to put that command in a batch file / exe and call it from there.
    I have tools like SQL Developer and dbForge but was unable to do it. Could I have some help on this.
    I am a fresher with Oracle and I would appreciate detailed steps. Thanks very much in advance.
    Vincent

    Vincent,
    There is a few steps you want to perform, first of all tell me where is your client database server and where you want command line to use Oracle SQL command line.
    Regards,
    Hunain Khanani

  • Unable to connect to a database on one server using oracle client on anothe

    Hi,
    I am trying to connect to a database on zodiac server (10.180.173.201), from client installed on pluto server (10.180.173.203). But its giving the below error:
    bash-2.05$ sqlplus CTEMEA_MWEL3/payplus@ctftdb1
    SQL*Plus: Release 11.2.0.2.0 Production on Wed Mar 28 15:57:22 2012
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    ERROR:
    ORA-21561: OID generation failed
    I went through online help but they were not clear.
    kindly suggest
    -Azad

    Hi,
    entry is there. But when i changes the oracle home path to that of the previous client i am able to login.
    But when i set the oracle home path of 11g client its giving error.
    Tks,
    -Azad

  • Oracle instant client 10.2.0.4 to connect to oracle database 9.2

    got message ORA-03134 when creating ODBC connection to database version 9.2. However, it was successful to connect to database versions 10g and up. Has anyone successfully connected to Oracle 9.2 by using the 10g instant client?
    Isn't Oracle 10g instant client supported to connect to 9i databases?
    Thanks.
    Edited by: andychow on Jul 28, 2010 4:44 PM

    I think this is nothing to do with ODBC, to clarify try to connect with sqlplus to same DB.
    However, what is your exact Oracle client version?
    Looks like there was a bug in 10g, and I think issue is fixed in patch to 10.1.0.3. Check @ 10g client vs 8i server (ORA-03134): news?

  • Oracle Calendar desktop client connect to oracle database

    Hi Expert,
    my end user want to Oracle Calendar desktop client connect to our 10G databasae.
    there are no TNS file in Oracle Calendar desktop client.
    How to configure Oracle Calendar desktop client to connect oracle database?
    Thanks
    JIm

    What are the contents of the SQLNET.ORA files ?(*Inside Oracle Developer*)
    # SQLNET.ORA Network Configuration File: C:\oracledeveloper\network\admin\sqlnet.ora
    # Generated by Oracle configuration tools.
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (LDAP, TNSNAMES, ONAMES, HOSTNAME)
    DEFAULT_SDU_SIZE = 8761
    (*Inside Oracle Database*)
    # sqlnet.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\network\admin\sqlnet.ora
    # Generated by Oracle configuration tools.
    # This file is actually generated by netca. But if customers choose to
    # install "Software Only", this file wont exist and without the native
    # authentication, they will not be able to connect to the database on NT.
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    Try to make a test:
    Create an environment variable called TNS_ADMIN on your system, put the path for >>your TNSNAMES.ORA file and see what's happen.
    e.g:
    TNS_ADMIN=C:\Oracle\product\10.2.0\NETWORK\ADMINI'm sorry, I don't understand what you mean; how and where do I create an environment variable called TNS_ADMIN ?
    I'm really not sure how to do this..
    Thanks

  • Hyperion IR Client 11.1.2.2 is not connecting to oracle database

    Hi all,
    I just recently migrate from Brio 8.3.1 to 11.1.2.2
    My machine is Microsoft Windows Server 2008 64-bit.
    My oracle client is 9.2.0 32-bit version
    When i try to connect one of my BQY reports to oracle database, it just throw error "Oracle Error -1: ORA-12154: TNS could not resolve the connecter identifier specified"
    I can ping the server. I can login using sqlplus.
    I already follow the instruction in this thread by adding ORACLE_HOME variable.
    Re: Hyperion IR client 11.1.2.2 is not connecting to database
    But still doesnt work.
    ORACLE_HOME: D:\OracleClient\ora92\bin;
    PATH: D:\OracleClient\ora92\bin;C:\Program Files (x86)\Oracle\jre\1.3.1\bin;C:\Program Files (x86)\Oracle\jre\1.1.8\bin;D:\Oracle\Middleware\EPMSystem11R1\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;D:\Oracle\Middleware\ohs\bin;D:\Oracle\Middleware\ohs\opmn\bin;D:\Oracle\Middleware\ohs\opmn\lib;D:\Oracle\Middleware\ohs\perl\bin;D:\Oracle\Middleware\EPMSystem11R1\common\ODBC-64\Merant\6.1\Drivers
    TNSNames:
    DWHPROD =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (PROTOCOL = TCP)
    (HOST = server)
    (PORT = 1521)
    (CONNECT_DATA =
    (SERVICE_NAME = DWHPROD)
    SQLNET:
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES)
    Any other solutions??
    Thanks.

    Just upgraded my Client version to 11gR2...
    Still the same.
    I cant connect to Oracle DB using Oracle Net.
    If i using ODBC, it works. But my user still insist that they use OracleNet connection for their BQY reports.
    Any suggestion what should i check??
    Thanks

  • How to connect to an Oracle database on one machine from another client machine?

    I installed oracle database 11g (server and client) on one machine. It works perfectly. Then I installed oracle client (ODTwithODAC1120320) in another machine. Now I want to connect to the database of the previous machine. I tried to connect but It failed. I think .ORA files should be configured. What should I do to fulfill this.
    thanks...

    thank you for the quick response..
    this link Installing Oracle Database Client for oracle client installation. But the content refers all oracle database installation. could you please get know me that oracle client means only the OdtWithODAC or some thing else? This link Installing Oracle Database Client explain but not the OdtWithODAC. Please let me know clearly.
    Please let me know the exact name of the software that I should download from the oracle website that refers the oracle database client.
    thanks
    Priyashantha hp

  • Cant connect to Oracle database using oracle db client

    Hi All,
    I recently created a virtual machine running windows server 2008 on my windows 7 host. Oracle database 11g is already installed on host OS(windows 7) and I have installed oracle 11g client on the guest OS(windows server 2008) and trying to connect to oracle database from remote server using oracle client but getting this error:
    ORA-12504: TNS:listener was not given the SERVICE_NAME in CONNECT_DATAI am trying to connect using oracle client as below:
    C:\Users\Administrator>SET ORACLE_SID = HR84DEV
    C:\Users\Administrator>SQLPLUS /NOLOG
    SQL*Plus: Release 11.2.0.1.0 Production on Fri Feb 10 06:16:34 2012
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    SQL> CONNECT SYSADM/[email protected]
    ERROR:
    ORA-12504: TNS:listener was not given the SERVICE_NAME in CONNECT_DATA
    I have created database with name - HR84DEV
    HOST ip address is - 192.168.56.1
    I googled this error and as most of resources/blogs talked about having correct entry on listner.ora and tnsnames.ora file, I did the changes on both of these files accordingly.
    PFB the cotent of both of these files:
    tnsnames.ora
    # tnsnames.ora Network Configuration File: C:\MyApps\Oracle\product\11.2.0\dbhome_\NETWORK\ADMIN\tnsnames.ora
    # Generated by Oracle configuration tools.
    LISTENER_ORCL =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.56.1)(PORT = 1521))
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    HR84DEV =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.56.1)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = HR84DEV)
    ORCL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    listner.ora
    # listener.ora Network Configuration File: C:\MyApps\Oracle\product\11.2.0\dbhome_\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\MyApps\Oracle\product\11.2.0\dbhome_)
    (PROGRAM = extproc)
    (ENVS = "EXTPROC_DLLS=ONLY:C:\MyApps\Oracle\product\11.2.0\dbhome_\bin\oraclr11.dll")
    (SID_DESC =
    (SID_NAME = HR84DEV)
    (ORACLE_HOME = C:\MyApps\Oracle\product\11.2.0\dbhome_)
    (PROGRAM = extproc)
    (ENVS = "EXTPROC_DLLS=ONLY:C:\MyApps\Oracle\product\11.2.0\dbhome_\bin\oraclr11.dll")
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.56.1)(PORT = 1521))
    ADR_BASE_LISTENER = C:\MyApps\Oracle
    Please not that I dont have any problem in connect to database locally.

    Thanks Nicolas,
    Actually, there was a problem with my oracle client installation. I uninstalled it and then installed back again but still, even after following your instructions I get some error.
    Here what I did:
    Created tnsnames.ora file as below:
    HR84DEV =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.56.1)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = HR84DEV)
    Placed it under appropriate directory and then checked the connection with database using the command shown below:
    C:\Users\Administrator>tnsping HR84DEV
    TNS Ping Utility for 32-bit Windows: Version 11.2.0.1.0 - Production on 10-FEB-2
    012 08:42:03
    Copyright (c) 1997, 2010, Oracle. All rights reserved.
    Used parameter files:
    C:\MyApps\Administrator\product\11.2.0\client_1\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
    (HOST = 192.168.56.1)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = HR84DEV)))
    OK (20 msec)
    Then tried to connect to database as below:
    C:\Users\Administrator>SET ORACLE_SID=HR84DEV
    C:\Users\Administrator>SQLPLUS /NOLOG
    SQL*Plus: Release 11.2.0.1.0 Production on Fri Feb 10 08:25:56 2012
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    SQL> CONNECT SYSADM/SYSADM@HR84DEV
    ERROR:
    ORA-28547: connection to server failed, probable Oracle Net admin error
    But still getting error.
    I Googled this error and tried to figure out what the problem is and came across the possible cause which is because I haven't specify that the service should run as a user who is in domain admin group.
    well, I am not really sure about this and dont know what user name and password I should enter in OracleserviceHR84DEV-properties-log on-this account.
    do I really need to set this?

  • How to connect to a Remote Oracle Database

    Hi Friends,
    The error I encountered while connecting to a remote database is ���DataSource name is too long
    String url="jdbc:odbc://abc:1523/test";
    con = DriverManager.getConnection(url,"xyz","xyz1");
    Here Remote Host-name = abc
    Port = 1523
    DataSource Name=test
    User-name = xyz
    Password =xyz1
    The DataSource is created Using Oracle ODBC driver on Windows 2000
    With following details
    DataSource name=test
    Service name = xyz (Database Name)
    User-id=xyz (User name)
    Thanks in advance
    Hamsa

    As suggested you should use a oracle jdbc driver type 2 (JDBC OCI Driver) or 4 (JDBC Thin Driver).
    Because the thin driver is written entirely in Java, is platform-independent. It does not require any
    additional Oracle software on the client side. It can be used for Oracle JDBC applets or applications.
    The OCI driver is targeted for client-server Java applications. It requires an Oracle client installation, so it is Oracle platform-specific and it is not suitable for applets.
    To connect to a database using those drivers here you have two examples of establishing a connection:
    For OCI driver:
    Connection conn = DriverManager.getConnection("jdbc:oracle:oci8:@<dbName>","user","password");
    For thin driver:
    Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@<host>:<port>:<dbName>", "user", "password");
    And make sure that the classes12.zip file is included in your CLASSPATH.

  • Not able to connect remote oracle database over VPN

    I can not connect remote oracle database over VPN. tnsping is ok and it shows the server information of remote database. i can also telnet the 1521 port of remote database server. I can connect the same server when it is located in the same LAN. Please help me out this is very urgent.

    6b6c669e-6baa-45c4-a6dc-444aef2d5e7a wrote:
    I can not connect remote oracle database over VPN. tnsping is ok and it shows the server information of remote database. i can also telnet the 1521 port of remote database server. I can connect the same server when it is located in the same LAN. Please help me out this is very urgent.
    First, this is a forum of volunteers.  There is no "urgent" here.
    "Urgent" means one of two things -
    1) people are dying, or
    2) you have a customer-facing, revenue-producing production system that is down.
    (And to get some perspective on the second case, keep the first in mind.)
    For the first, you call whatever civil emergency service seems appropriate.
    For the second, you open an SR with Oracle - which requires a paid-up support contract. For *them* to consider your problem "urgent", you will need to demonstrate that your problem falls under item #2. I seriously doubt your problem fits that criteria.
    You don't have a support contract?  Now you know the exact dollar figure that your company places on the data.
    That said, you need to understand a few things about your specific problem,
    First, port 1521 is only used by the listener to accept a connection request.  Once it gets that request (and finds that it is for a service (sid) that it knows about, it will fork a server process and tell the requesting client that it can communicate with that server process over some other port .. a randomly chosen port number in the "high" range.  It could be your vpn is blocking that other port, whereas your internal firewall is not.
    But this is just an educated guess since I cannot find "can not connect remote oracle database over VPN" in any error message manual. If you had mentioned the VPN along with an actual oracle error message we could be much more precise in our diagnoses and recommendations.
    ---- edit 22 Sep
    It occurred to me that I just assumed you were using the same client machine in both cases ... a laptop that you use both at work (local network) and home (vpn).  If that assumption is false, there are probably problems with your tns setup on the home (vpn) machine.
    But again, it would be much easier to help if you gave us an actual error message.

  • Connection pooling and auditing on an oracle database

    Integration of a weblogic application with an oracle backend,
    Connection pooling, and auditing ,2 conflicting requirements ?
    Problem statement :
    We are in the process of maintaining a legacy client server application where
    the client is
    written in PowerBuilder and the backend is using an Oracle database.
    Almost all business logic is implemented in stored procedures on the database.
    When working in client/server mode ,1 PowerBuilder User has a one-to-one relation
    with
    a connection(session) on the oracle database.
    It is a requirement that the database administrator must see the real user connected
    to the database
    and NOT some kind of superuser, therefore in the PowerBuilder app each user connects
    to the database
    with his own username.(Each user is configured on the database via a seperate
    powerbuilder security app).
    For the PowerBuilder app all is fine and this app can maintain conversional state(setting
    and
    reading of global variables in oracle packages).
    The management is pushing for web-based application where we will be using bea
    weblogic appserver(J2EE based).
    We have build an business app which is web-based and accessing the same oracle
    backend app as
    the PowerBuilder app is doing.
    The first version of this web-based app is using a custom build connector(based
    on JCA standard and
    derived from a template provided by the weblogic integration installation).
    This custom build connector is essentially a combination of a custom realm in
    weblogic terms
    and a degraded connection pool , where each web session(browser) has a one-to-one
    relation
    with the back end database.
    The reason that this custom connector is combining the security functionality
    and the pooling
    functionality , is because each user must be authenticated against the oracle
    database(security requirement)
    and NOT against a LDAP server, and we are using a statefull backend(oracle packages)
    which would make it
    difficult to reuse connections.
    A problem that surfaced while doing heavy loadtesting with the custom connector,
    is that sometimes connections are closed and new ones made in the midst of a transaction.
    If you imagine a scenario where a session bean creates a business entity ,and
    the session bean
    calls 1 entity bean for the header and 1 entity bean for the detail, then the
    header and detail
    must be created in the same transaction AND with the same connection(there is
    a parent-child relationship
    between header and detail enforced on the back end database via Primary and Foreing
    Keys).
    We have not yet found why weblogic is closing the connection!
    A second problem that we are experincing with the custom connector, is the use
    of CMP(container managed persistence)
    within entity beans.
    The J2EE developers state that the use of CMP decreases the develoment time and
    thus also maintenance costs.
    We have not yet found a way to integrate a custom connector with the CMP persistence
    scheme !
    In order to solve our loadtesting and CMP persistence problems i was asked to
    come up with a solution
    which should not use a custom connector,but use standard connection pools from
    weblogic.
    To resolve the authentication problem on weblogic i could make a custom realm
    which connects to the
    backend database with the username and password, and if the connection is ok ,
    i could consider this
    user as authenticated in weblogic.
    That still leaves me with the problem of auditing and pooling.
    If i were to use a standard connection pool,then all transaction made in the oracle
    database
    would be done by a pool user or super user, a solution which will be rejected
    by our local security officer,
    because you can not see which real user made a transaction in the database.
    I could still use the connection pool and in the application , advise the application
    developers
    to set an oracle package variable with the real user, then on arrival of the request
    in the database,
    the logic could use this package variable to set the transaction user.
    There are still problems with this approach :
    - The administrator of the database can still not see who is connected , he will
    only see the superuser connection.
    - This scheme can not be used when you want to use CMP persistence , since it
    is weblogic who will generate the code
    to access the database.
    I thought i had a solution when oracle provided us with a connection pool known
    as OracleOCIConnectionPool
    where there is a connection made by a superuser, but where sessions are multiplexed
    over this physical pipe with the real user.
    I can not seem to properly integrate this OCI connectionpool into weblogic.
    When using this pool , and we are coming into a bean (session or entity bean)
    weblogic is wrapping
    this pool with it's own internal Datasource and giving me back a connection of
    the superuser, but not one for the real user,
    thus setting me with my back to the wall again.
    I would appreciate if anyone had experienced the same problem to share a possible
    solution with us
    in order to satisfy all requirements(security,auditing,CMP).
    Many Thanks
    Blyau Gino
    [email protected]

    Hi Blyau,
    As Joe has already provided some technical advice,
    I'll try to say something on engineering process level.
    While migrating an application from one technology to
    other, like client-server to n-tier in you case, customers and
    stakeholders want to push into the new system as many old
    requirements as possible. This approach is AKA "we must
    have ALL of the features of the old system". Mostly it happens
    because they don't know what they want. Ad little understanding
    of abilities of the new technology, and you will get a requirement
    like the one you have in you hands.
    I think "DBA must see real user" is one of those. For this
    type of requirements it can make sense to try to drop it,
    or to understand its nature and suggest alternatives. In this
    particular case it can be a system that logs user names,
    login and logout times.
    Blind copying of old features into an incompatible new architecture
    may endanger the whole project and can result in its failure.
    Hope this helps.
    Regards,
    Slava Imeshev
    "Blyau Gino" <[email protected]> wrote in message
    news:[email protected]...
    >
    Integration of a weblogic application with an oracle backend,
    Connection pooling, and auditing ,2 conflicting requirements ?
    Problem statement :
    We are in the process of maintaining a legacy client server applicationwhere
    the client is
    written in PowerBuilder and the backend is using an Oracle database.
    Almost all business logic is implemented in stored procedures on thedatabase.
    When working in client/server mode ,1 PowerBuilder User has a one-to-onerelation
    with
    a connection(session) on the oracle database.
    It is a requirement that the database administrator must see the real userconnected
    to the database
    and NOT some kind of superuser, therefore in the PowerBuilder app eachuser connects
    to the database
    with his own username.(Each user is configured on the database via aseperate
    powerbuilder security app).
    For the PowerBuilder app all is fine and this app can maintainconversional state(setting
    and
    reading of global variables in oracle packages).
    The management is pushing for web-based application where we will be usingbea
    weblogic appserver(J2EE based).
    We have build an business app which is web-based and accessing the sameoracle
    backend app as
    the PowerBuilder app is doing.
    The first version of this web-based app is using a custom buildconnector(based
    on JCA standard and
    derived from a template provided by the weblogic integrationinstallation).
    This custom build connector is essentially a combination of a custom realmin
    weblogic terms
    and a degraded connection pool , where each web session(browser) has aone-to-one
    relation
    with the back end database.
    The reason that this custom connector is combining the securityfunctionality
    and the pooling
    functionality , is because each user must be authenticated against theoracle
    database(security requirement)
    and NOT against a LDAP server, and we are using a statefull backend(oraclepackages)
    which would make it
    difficult to reuse connections.
    A problem that surfaced while doing heavy loadtesting with the customconnector,
    >
    is that sometimes connections are closed and new ones made in the midst ofa transaction.
    If you imagine a scenario where a session bean creates a business entity,and
    the session bean
    calls 1 entity bean for the header and 1 entity bean for the detail, thenthe
    header and detail
    must be created in the same transaction AND with the same connection(thereis
    a parent-child relationship
    between header and detail enforced on the back end database via Primaryand Foreing
    Keys).
    We have not yet found why weblogic is closing the connection!
    A second problem that we are experincing with the custom connector, is theuse
    of CMP(container managed persistence)
    within entity beans.
    The J2EE developers state that the use of CMP decreases the develomenttime and
    thus also maintenance costs.
    We have not yet found a way to integrate a custom connector with the CMPpersistence
    scheme !
    In order to solve our loadtesting and CMP persistence problems i was askedto
    come up with a solution
    which should not use a custom connector,but use standard connection poolsfrom
    weblogic.
    To resolve the authentication problem on weblogic i could make a customrealm
    which connects to the
    backend database with the username and password, and if the connection isok ,
    i could consider this
    user as authenticated in weblogic.
    That still leaves me with the problem of auditing and pooling.
    If i were to use a standard connection pool,then all transaction made inthe oracle
    database
    would be done by a pool user or super user, a solution which will berejected
    by our local security officer,
    because you can not see which real user made a transaction in thedatabase.
    I could still use the connection pool and in the application , advise theapplication
    developers
    to set an oracle package variable with the real user, then on arrival ofthe request
    in the database,
    the logic could use this package variable to set the transaction user.
    There are still problems with this approach :
    - The administrator of the database can still not see who is connected ,he will
    only see the superuser connection.
    - This scheme can not be used when you want to use CMP persistence , sinceit
    is weblogic who will generate the code
    to access the database.
    I thought i had a solution when oracle provided us with a connection poolknown
    as OracleOCIConnectionPool
    where there is a connection made by a superuser, but where sessions aremultiplexed
    over this physical pipe with the real user.
    I can not seem to properly integrate this OCI connectionpool intoweblogic.
    When using this pool , and we are coming into a bean (session or entitybean)
    weblogic is wrapping
    this pool with it's own internal Datasource and giving me back aconnection of
    the superuser, but not one for the real user,
    thus setting me with my back to the wall again.
    I would appreciate if anyone had experienced the same problem to share apossible
    solution with us
    in order to satisfy all requirements(security,auditing,CMP).
    Many Thanks
    Blyau Gino
    [email protected]

  • Retrieve data from a synonym in oracle database through db connect

    Hi Everyone,
    I have created certain synonym for some tables in oracle. I want to retrieve data from it through db connect but where through source system and then selecting database tables, only tables and views are available.
    Synonyms are not available to create data sources and retrieve the data from it. Why is it so. Is this a limitation of db connect.
    Can anyone please let me know about it.
    Thanks,
    Joshua.

    Hi,
    You want to import data from an external Oracle database into your BW 3.X. To do this, you can connect the external database to the BW 3.X release as a source system using the external database connect. BW 3.X here represents BW 3.0, BW 3.1 and BW 3.5 because in other (DB relevant) parts, all 3 versions are based on the same source code.
    General information
    The above function allows you to load data from an external Oracle database (not a BW database) into your BW 3.0 system.
    There may also be constellations which cannot be used directly through the DB Connect access. However, it should be possible to find an adequate, customer-specific solution for most of these scenarios.
    In such situations, the resulting work falls into the area of Consulting and cannot be handled via Support.
    Successful implementation of a connection requires corresponding expertise and experience in the use of the source database in the areas:
                    - Tools
                    - SQL syntax
                    - DB-specific functions
    Corresponding knowledge of the source application is also required to ensure that semantically relevant data arrives in the BW system.
    Procedure
    You should execute the following steps to connect the source system (Q) to the BW system (BW):
    Installing the client software on an BW application server
                         Of course, you only need to install the client software if you are using BW with a non-Oracle database.
                         Use the Oracle setup program on the database CD (runInstaller on Unix) to start the OracleInstaller. Follow the program instructions and the DB installation instructions to install the Oracle Client software on BW.
    Testing connection setup from BW to Q
                         After you install the client software on BW, try to set up a connection from BW to the server on Q. You may need to adjust the tnsnames.ora or sqlnet.ora files for this, to introduce the Oracle systems (to which contact should be made) to BW. You can test the connection by executing the command "tnsping QDB" on BW to check whether the client has established contact to the QDB database on the Q system.
    Creating a separate U user in Q
                         We recommend that you create a separate U user in Q for connection to BW. This means that authorization and administration questions can be solved centrally.
    Displaying data sources in Q for the U user
                         To provide U data for users other than U, you can create views on other user tables as user U:
                         CREATE OR REPLACE VIEW viewname AS
                           SELECT * FROM QDB.tablename
                         You may have to grant SELECT privileges to user U in the QDB schema:
                            GRANT select ON QDB.tablename TO U
                         Of course, you can also restrict or reformat data in the view arrangement (for example, change from internal date format into the SAP date format). JOIN operations using several tables are also available.
                         !!! Synonyms do not yet work!!!
                         Synonyms that you can create as described below are another option for providing a complete table for the user U:
                           CREATE SYNONYM synoname FOR QDB.tablename
                         !!! Synonyms do not (yet) work!!!
                         After you have displayed the require data for user U, you can simply use
                           SELECT * FROM <view or table>
                         on the Q system to check which data is returned.
                         You can now open a link to Q as user U in the BW system with SQLPLUS and check, using the same SELECT, whether this data is also seen in the Oracle client. If this is not the case, there is probably a connection problem.
    Creating a connection from BW to Q in BW
    Including data sources of user U user in Q in BW.
    Solution
    Supported BW, Basis and BW 3.0B database versions, Basis 6.20 Support Package 2 (or higher)
          Oracle 8.1 (or higher, see below)
    Possible problems
    - Synonyms do not (yet) work!
    Up to now, only tables and views have been used as data sources for the DB Connect from the R3 Basis. As soon as synonyms are also used in the Basis, you will be able to convert created views (or even replicated tables) to synonyms as a workaround.
    With Basis 6.40 at the earliest, therefore as of BW 3.5, you will also be able to use synonyms. Until then, the following will help:
      CREATE VIEW <view_on_synonym> AS SELECT * FROM <synonym>
    - The source DB must have at least the release version of the BW DB.
    Oracle only ensures the support of client-server links if the version of the client is not higher than that of the server. So if BW has Oracle version 8.1 and, as in the case of Dbconnect, is run as a client against the server of the source database, the source database must have at least release Oracle 8.1 or higher.
    Of course, you have the option to install the Oracle client software of a lower version and then use this for the DB connect. This is also the procedure used to work with a DB connect on external databases of other vendors.
    Furthermore, the implementation of the DBconnect function in BW uses SAP Basis functions. Specifications of Oracle 8.1 database catalogs are used here. The source database must therefore have at least Version 8.1.
    - Oracle Client Software Version
    If you want to connect from an Oracle BW DB to an Oracle source DB, for the DB connect you naturally use the client software that you already installed on each application server.
    If you want to connect from a non-Oracle BW DB to an Oracle source DB, check item 3 of note 521230 to see which Oracle client software version is released with your BW R3 kernel and use this version.
    - Date and time fields in Oracle and their conversion into SAP-compatible column formats
    Example with a DATE field:
    Since a SAP table does not have a DATE field (date values are NUMC(8) and time specifications are NUMC(6)), we will use the Oracle DBA_TABLES system table as an example.
        SQL> desc dba_tables;
    The Oracle DBA_TABLES system table has a LAST_ANALYZED field. This is a DATE type field and is recognized as a date field of 7 characters by DBA_CONNECT. However, the import does not work because the DATE is a 7-byte conglomerate of "...century, year, month, date, hour, minute and second." (extract from the Oracle documentation).
    To make this DATE field legible for DB connect, you must use the TO_CHAR function in a VIEW. This should display the following examples:
    SQL> select LAST_ANALYZED from dba_tables
          where table_name like 'RS%' and rownum < 10 ;
    The formatting used here is the default used implicitly by SQLPLUS.
    SQL> select  to_char(LAST_ANALYZED,'YYYYMMDD') as dat from dba_tables where table_name like 'RS%' and rownum < 10 ;
    The result now has the SAP compatible format YYYYMMDD and should be loaded correctly by the DB connect as a date.
    SQL> select  to_char(LAST_ANALYZED,'HH24MISS') as tim from dba_tables where table_name like 'RS%' and rownum < 10 ;
    The result now has the SAP compatible format HHMMSS and should be loaded correctly by the DB connect as a time.
    You can use the following example for more detailed experiments:
    SQL> select  to_char(
           TO_DATE('03-FEB-2001 04:05:06','DD-MON-YYYY HH24:MI:SS'),
           'YY-MM-DD HH24-MI-SS') as datim from dual;
    with the result:
      DATIM
      01-02-03 04-05-06
    When you create a VIEW and use the TO_CHAR function (or other functions), you should easily be able to avoid problems with the interpretation of date/time specifications (and other reformatting).
    Details about the functions and the formats are contained in the Oracle documentation.
    - Special characters
    A words that contain special characters can only be imported correctly if the code pages in BW and in the source system are identical. If the code pages are not the same, DB Connect can be used if the characters to be imported appear under the first 127 characters of the character set.
    The use of multibyte code pages in the source system for saving data using character sets with more than 256 characters (Kanji, Katakana, Hiragana, Korean, Chinese, Tagalog, Khmer, Arabic, Cherokee, and so on) can cause the characters to become corrupt.
    For questions concerning the code pages, also refer to the FAQ note 606359 and question/answer 19 that appears there.

  • How-To install SOAP Client Stack in Oracle Database

    Hi,
    1. i wrote a java clientstub that accesses a webservice.
    2. all works fine if i run it from within java.
    3. i then tried to port it to oracle database.
    4. loading the java classes defined in the sample code works fine too.
    5. i then loaded my client (wrapper and client-stub) classes and made pl/sql procedure from the wrapper.
    6. i try to access the webservice
    the problem:
    1. if i made step 5 in SYS-SCHEMA all is ok
    2. if i made step 5 in an other SCHEMA i got an exception in step 6:
    java.lang.NoClassDefFoundError
    the code line is pointing to: m_httpConnection = new OracleSOAPHTTPConnection();
    this is located in the client-stub class constructor
    there exist synonyms of all classes in the public schema.
    is it a problem with priviledges, and if what priviledges are required?
    if this isn't the best way to access webservices from within oracle database, what other solutions are possible?
    if more information are required, please let me know
    thanks
    ralf

    Hi,
    Refer to this document for information on loading SOAP jar files to the database.
    The database schema you are using needs to be granted the following permission to access the external web service
    execute dbms_java.grant_permission('<dbuser>','SYS:java.net.SocketPermission','<host-name>:<port>','connect,resolve');
    where, <host-name> and <port> point to the location where the webservice is running. If you are behind a firewall, use the proxy host and port here.
    For more information on accessing external web service from the database refer to the samples on the Database Web Services Page
    HTH,
    Sujatha
    OTN Group.

Maybe you are looking for

  • Retrieving multiple values from one column in SELECT statement

    Hi, I have a slight dilemma in that I'm trying to pull down all the values from a column from a select statement that includes some JOINS in it. If I run the query at the SQL Plus prompt, it pulls back all the values/rows. When I run the select (and

  • Availability check for sales order stock

    Hi, We use sales order stock in sales order which creates purchase requisition automatically.Movement types for GR 101E, for GI 601E. Material master data has on MRP2 view as GR processing time 2 days for example. I create sales order with requested

  • Loading LOTS of objects from xml

    hi I'm developing code that parses an XML file with known elements and reads the contents into objects I've been doing this using DOM DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); DocumentBuilder db = dbf.newDocumentBuilder(); In

  • VAT Registration number in F.12

    Do we have any way to get the VAT Registrator number in the report (S_ALR_87012357) or in any other tax reports. Kindly let me know Regards Madhava

  • Moving Multiple Objects in Pages

    I have a 20 page document with objects on some of the pages.  I want to add a page in the middle and move all the object forward to their right pages.  How can I move all of them at once.  In appleworks this was easy.  I could select and move them al