Connecting oracle database remotely

Hi,
my oracle database is installed on a virtual machine (guest machine)
now I want to connect it to my IBM Rational S/W Architect IDE thats installed on my host machine
I have only installed OC4J on my host machine but can't connect to the database
can anyone pls guide me with this configuration issue??
Message was edited by:
jayant

Thanks David,
the IDE has picked up the drivers and the argument string without any trouble.
but I'm afraid that the errors are not over yet!!
this time the IDE seems to be trying to establish the connection with the database on the virtual machine, but fails mid-way
Moreover, i got to know about some interesting thing about this virtual machine.(I'm using VMWare Server as a virtualisation tool and its a NAT driver which shares the IP address of my host machine)
when i check the IP addresses of my physical machine by ipconfig, i get :
Windows IP Configuration
Ethernet Adapter VMWare Network Adapter VMnet8:(this is the n/w adapter that
i use to get connected with my physical machine)
connection-specific DNS suffix:
IP Address: 192.168.126.1
Subnet mask: 255.255.255.0
Default Gateway:
Ethernet Adapter VMWare Network Adapter VMnet1:
connection-specific DNS suffix:
IP Address: 192.168.5.1
Subnet mask: 255.255.255.0
Default Gateway:
Ethernet Adapter Local Area Connection 2:
Media State: Media disconnected
Ethernet Adapter Wireless Network Connection 2:
connection-specific DNS suffix: domain_not_set.invalid
IP Address: 192.168.1.72
Subnet mask: 255.255.255.0
Default Gateway: 192.168.1.1
when i check for the IP Addresses of the virtual machine(Win XP Pro) thats installed on VMWare Server, i get
Windows IP Configuration
Ethernet Adapter Local Area Connection:
connection-specific DNS suffix: localdomain
IP Address: 192.168.126.128
Subnet mask: 255.255.255.0
Default Gateway:192.168.126.2
now the error that's being flashed is:
connection to GPS_NODE failed. IWAS0126E Problems encountered while trying to establish connection conn1. Reason: IOException: The Network Adapter could not establish the connection
I suspect that there is some configuration issue with the network adapters but can't figure out How to rectify that :(
pls help

Similar Messages

  • How to connect Oracle database in VC++.06

    How to connect Oracle database in VC++.06 please give me details

    on the Insert command button and add the following code to the button click event:
    try
    string results = "";
    OracleConnection con = new OracleConnection("DSN=Employee;uid=system;pwd=test");
    con.Open();
    .....................................................................

  • To connect oracle database with ms access database

    i want to connect oracle database with ms access database
    i have follow the following steps
    1. create ms access database.
    2. create system dsn.
    3. make change in listener.ora.
    4. make change in hs folder.
    5.change the tnsname.ora.
    6. lsnrctl stop and lsnrct start.
    7. create database link in oracle sql*plus.
    8.select the table of ms access
    but i have return the foloowing error.
    ORA-12154: TNS:could not resolve the connect identifier specified
    using window 2000, oracle 10g

    Have a look on ths thread, may it helps ...
    Re: copy access data into oracle with form builder 9i

  • Problem about using Oracle Form 6i to connect Oracle Database 10g express.

    Sorry to interrupt all of you.
    I have encountered a problem about using Oracle Form 6i to connect Oracle Database 10g express.
    As I would like to
    I use Oracle Net8 Easy Config to create a connection.
    According to "tnsnames.ora", the paramater of connection is as follows;
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
    (CONNECT_DATA = (SID = XE))
    Unfortunately, when I use Oracle Net8 Easy Config to test the connection, an error message is prompted as follows:
    Connecting....
    The test did not succeed.
    ORA-03106: fatal two-task communication protocol error
    There may be an error in the fields entered
    or the server may not be ready for a connection.
    You can check the server and retry, or continue.
    After I google it, I still have no idea how to solve the problem. I would like to ask, could anyone mind providing some hints or solution to address the issues.
    Thanks for your assistance in advance.

    I don't believe the Net8 Easy Config (NEC) will create a compatible entry in the tnsnames.ora. I have Forms 6i running successfully against a 10g Express database, but I did not use the NEC - I created the entry myself. Here is the entry I use:
    XE=
      (DESCRIPTION=
        (ADDRESS=
          (PROTOCOL=TCP)
          (HOST=<<servername or IP address>>)
          (PORT=1521)
        (CONNECT_DATA=
          (SERVER=dedicated)
          (SERVICE_NAME=XE)
      )Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • How to connect Oracle database into Visual basic 6.0

    Hi. I am using Oracle I Enterprise version 9.2.0.1, I have a problem for connecting oracle database into VB. I use a ODBC to connect oracle database with VB. By testing connection. Message tells me that "connection successfully", but I can not have a record display in VB. It tells me that can not publish a connection with ODBC. Please tell me why

    Are you using the Oracle ODBC driver? If so, which version?
    Are you writing your own VB application? What API are you using-- ADO? Can you post the code that's making a connection and the exact text of the error message?
    Justin

  • How to connect Oracle database from Active Server page

    Hi
    This is srinivas aluri
    I have developed an application using ASP and MS-SQL7.
    Now i want to port this application to Oracle 8i database
    I have written my connection in seperate file called
    connection.inc using SQL OLEDB provider
    If i have to connect oracle database what will be my provider
    and what is the exact code for this connection string
    Here i am giving the code of SQL databse connection string
    strcon= Provider=SQLOLEDB.1;Persist Security Info=False;User
    ID=sa;Initial Catalog=prjdb;Data Source=servername
    i have tried by changing the provider name from SQLOLEDB.1 to
    OraOLEDB.oracle
    but i could not able connect the database.
    It is giving provider not found or not properly installed error.
    But the same code is perfectly working from Visual Basic code.

    it depends on configuration your going to choose, there are two ways--
    - Using X/Open standards, for this
    you have to make an entry of Resource manager in $TUXDIR/udataobj/RM file.
    Then in UBBConfig file in GROUPS section u have to set Openinfo.
    It also depend on which database you are going to use.
    In your service now you need to call tpopen() API from tpsvrinit() function.
    - Other possibility is, take an implicit connection using Pro*C or Pro*Cobol whatever platform you are using.
    EXEC SQL Connect ...

  • How to Connect Oracle Database without using TNS entry

    Hi,
    i need to connect Oracle Database server from my pc without using the TNS entry. How to do that?
    Regards,
    007

    You have marked the question as answered, so it means you can answer my questions:
    1.How do i check that i can make easy connect to the server or not, I mean is it configured on Server ?
    2.Can I make connection with easy connect without having Net Services software installed on the client ?
    3.What if I am not able to access sqlnet.ora ?
    4.Is there any difference in connect string, which is based upon OS for easy connect ?
    5.How do i use global database name, if it is configured ?
    6.What are pros and cons of using easy connect ?
    7....
    20....
    I think this are those 20 questions which John is talking about.
    Regards
    Girish Sharma

  • How to connect oracle database from tuxedo

    Hi,
    How to connect oracle database from tuxedo.
    If any one can help me.
    Regards,

    it depends on configuration your going to choose, there are two ways--
    - Using X/Open standards, for this
    you have to make an entry of Resource manager in $TUXDIR/udataobj/RM file.
    Then in UBBConfig file in GROUPS section u have to set Openinfo.
    It also depend on which database you are going to use.
    In your service now you need to call tpopen() API from tpsvrinit() function.
    - Other possibility is, take an implicit connection using Pro*C or Pro*Cobol whatever platform you are using.
    EXEC SQL Connect ...

  • How to connect oracle database using jsf

    how to connect oracle database using javaserver faces with connection pooling

    Here is one way...
    http://jakarta.apache.org/commons/dbcp/

  • How to connect oracle database with JAVA

    how to connect oracle database with JAVA....
    using j2sdk and Jcreator . which connector to use .. what are the code for that ..

    PLEASE .... Ask in an Oracle Java forum.
    And read the documentaiton. There is a whole document devoted to doing that. http://download.oracle.com/docs/cd/B19306_01/java.102/b14355/toc.htm has examples.
    PLEASE ... do not ask product questions in a forum which clearly has a title saying it is devoted to assisting with download problems.

  • How to connect oracle database into VC?GIve step by step.

    Hi Experts,
    Please help
    How to connect oracle database into VC?
    I need step by step.
    what shall i do the first to connect via jdbc or  something else.
    whether we have to create dsn name or using jdbc connections?which one to use?
    Please give the basic steps.Its very urgent.
    Thanks and Regards,
    Nutan

    Hi ,
    all information are in the following document:
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6209b52e-0401-0010-6a9f-d40ec3a09424">How to Configure a Business Intelligence JDBC System for Visual Composer</a>
    Rgds,
    Karim

  • Connect Oracle Database with help of sql server storedprocedure

    Hii,
              Is there Any way to connect Oracle Database Using sql server storedprocedure.I want access oracle database and take some data and insert into my sql server database.so is there any way to connect in one
    stored procedure to connect oracle database and take some data and insert in to my sql server database.
    Nikunj Nandaniya

    Hello,
    I am getting below error when i kust Clic k on Test Connection in SSMS:
    TITLE: Microsoft SQL Server Management Studio
    The test connection to the linked server failed.
    ADDITIONAL INFORMATION:
    An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)
    Cannot initialize the data source object of OLE DB provider "OraOLEDB.Oracle" for linked server "test".
    OLE DB provider "OraOLEDB.Oracle" for linked server "test" returned message "ORA-12154: TNS:could not resolve the connect identifier specified". (Microsoft SQL Server, Error: 7303)
    For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.50.4000&EvtSrc=MSSQLServer&EvtID=7303&LinkId=20476
    BUTTONS:
    OK
    Can you please guide is there any other setting i need to do after install Oracle Client ?
    Best Regards,
    Tushar Malvi

  • Need to Connect oracle database through EP

    Hi,
    my requirement is trying to connect oracle database and getting values from oracle database and displaying in portal (through EP)
    i created driver name called - sapdirect and import the jars like pOracle.jar in the driver and then i'll try to create datasource with the following configurations
    Name : sapdsn
    Aliases : sapalias
    Driver name: selected whatever i created before (ex: sapdirect)
    class : com.sap.portals.jdbc.oracle.OracleDriver
    url : jdbc:sap:oracle://10.145.4.171:1521;RAMS
    user name :scott
    password :tiger
    But the datasource can't create , the follwing error shown,
    Please gimme Solution for this.
    Even, all the services running oracle m/c.
    im wating for solution,
    Thanks in advance
    Bye for now
    Vasu
    Error:
    java.rmi.RemoteException: Error occurred while starting application in whole cluster and wait.; nested exception is:
    com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Clusterwide execption: server ID 3739150:Exception while preparing start of application sap.com/JDBCConnector_sapdsn.xml.
    at com.sap.engine.services.deploy.server.DeployCommunicatorImpl.startApplicationAndWait(DeployCommunicatorImpl.java:679) at com.sap.engine.services.deploy.server.DeployCommunicatorImpl.startApplicationAndWait(DeployCommunicatorImpl.java:661) at com.sap.engine.services.dbpool.deploy.DataSourceManagerImpl.startApplication(DataSourceManagerImpl.java:562) at com.sap.engine.services.dbpool.deploy.DataSourceManagerImpl.deploy(DataSourceManagerImpl.java:261) at com.sap.engine.services.dbpool.deploy.DataSourceManagerImpl.createDataSource(DataSourceManagerImpl.java:317) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sap.pj.jmx.introspect.DefaultMBeanInvoker.invoke(DefaultMBeanInvoker.java:58) at com.sap.pj.jmx.mbeaninfo.AdditionalInfoProviderMBean.invoke(AdditionalInfoProviderMBean.java:289) at com.sap.pj.jmx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:944) at com.sap.pj.jmx.server.interceptor.MBeanServerWrapperInterceptor.invoke(MBeanServerWrapperInterceptor.java:288) at com.sap.engine.services.jmx.CompletionInterceptor.invoke(CompletionInterceptor.java:400) at com.sap.engine.services.jmx.RedirectInterceptor.invoke(RedirectInterceptor.java:340) at com.sap.pj.jmx.server.interceptor.MBeanServerInterceptorChain.invoke(MBeanServerInterceptorChain.java:330) at com.sap.engine.services.jmx.MBeanServerSecurityWrapper.invoke(MBeanServerSecurityWrapper.java:287) at com.sap.engine.services.jmx.MBeanServerInvoker.invokeMbs(MBeanServerInvoker.java:157) at com.sap.engine.services.jmx.ClusterInterceptor.invokeMbs(ClusterInterceptor.java:220) at com.sap.engine.services.jmx.ClusterInterceptor.invoke(ClusterInterceptor.java:803) at com.sap.engine.services.jmx.MBeanServerInterceptorInvoker.invokeMbs(MBeanServerInterceptorInvoker.java:102) at com.sap.engine.services.jmx.connector.p4.P4ConnectorServerImpl.invokeMbs(P4ConnectorServerImpl.java:61) at com.sap.engine.services.jmx.connector.p4.P4ConnectorServerImplp4_Skel.dispatch(P4ConnectorServerImplp4_Skel.java:64) at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:291) at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:183) at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:119) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37) at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)Caused by: com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Clusterwide execption: server ID 3739150:Exception while preparing start of application sap.com/JDBCConnector_sapdsn.xml.
    at com.sap.engine.services.deploy.server.application.ParallelAdapter.sleepClientThread(ParallelAdapter.java:232) at com.sap.engine.services.deploy.server.application.ParallelAdapter.runInTheSameThread(ParallelAdapter.java:113) at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesAndWait(ParallelAdapter.java:214) at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:4601) at com.sap.engine.services.deploy.server.DeployCommunicatorImpl.startApplicationAndWait(DeployCommunicatorImpl.java:677) ... 31 more

    Go to System Administration
    -> System Configuration
    -> System Landscape
    -> select a Folder where you want to store your system object
    -> right click -> New System
    -> in the wizard, select JDBC System
    -> enter values
    -> edit
    Then fill in the correct values as stated here:
    http://help.sap.com/saphelp_nw04/helpdata/en/84/d5df3df2ad685ae10000000a11405a/frameset.htm
    Then assign an Alias and enter some usermapping data for the system.
    You then can use the ConnectorService to get a native sql connection and fire statements. I'm sure you can find some examples here.
    Regards, Karsten

  • Connect oracle database

    Hi Expert,
          I am new into VC. How to connect Oracle Database in VC for Insert,edit,delete
    I have following requirements...
    I have 2 input fields
       1. Name
       2  AGE
    then 3 buttons
       1. Insert
       2. edit
       3. delete
    If click Insert button  data will be stored in oracle database
    if click edit button data will be edited in oracle database
    if click delete button data will be deleted from the oracle database
             please help...its very urgent..
    Regards,
    P.Manivannan.

    Hi,
    Please follow this link which explains you the procedure to configure BI JDBC system for visual composer.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6209b52e-0401-0010-6a9f-d40ec3a09424
    Regards
    Inder
    Do reward points if helpful.

  • Connecting Access Databases remotely?

    Currently:
    Currently I have a Java application which performs all I wanted and the limitation in it is "It only resides on the Local machine for which it needs to work". I have the Microsoft Access Databases located on a Remote Server and I install the Java app on the remote server to connect the databases using a connectionString "jdbc:odbc:DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=D:\DATA\DPPI\DATA\DPPI\DPPIPR01.mdb"; It connects to Access Databases and do all the bussiness logics with them.
    Enhancements (to be done):
    1. Making the application online - not a big issue.
    2. Connecting the databases remotely - its the only concern.
    So, if I make the Application Online the Access Databases need to be connecting through network (somewhat like ip or some web address).
    Problem:
    But after going through this http://stackoverflow.com/questions/11388277/connect-to-access-database-remotely, it seems my requirement can not be completed.
    Is there any way if I'm able to upload the database to the online web hosting server and access the database from there only? If yes, then how should I do the connectivity since Access Database connects by giving the fully qualified name containing drive letter and all. But how should I proceed further so that I may be able to connect the mdb Databases remotely?
    ADO .Net Solution:
    After going through the link:
    http://webcheatsheet.com/ASP/access_connection_strings.php , it seems we can perform remote Access Database connectivity.
    The solution for the ADO is something like:
    connectionString="Provider=MS Remote; Remote Server=http://your_remote_server_ip;" &_ "Remote Provider=Microsoft.Jet.OLEDB.4.0; Data Source=c:\your_database_name.mdb"
    I'm a tad confused to how Access Database we can connect.
    EDIT
    There is one more question in my head.
    I'm making use of Type-1 Driver. By making use of Type-4 Driver like HXTT Access(http://www.hxtt.com/access.html), a commercial type 4 driver for MS Access, supports it. But is there any open source Type-4 Driver like this?
    Edited by: Sanchit Java Dev on May 29, 2013 9:54 PM

    Thanks for your responses guys. It seems I'm heading in a right direction (but can't completely say as I would also like to be concerned about the performance issues.)
    For the time being I would like to consider this approach until it is fully confirmed.
    Please let me know if I'm proceeding in a right way? (developed a webservice using Jax-ws testing application)
         1. I wrote a Jax-ws webservice published and tested on the localhost - its returning the response (tested using Soap-Ui).
              So, I would like to have the same application to be acting as a Server to be deployed on the Server housing the Microsoft Access Databases. It would connect the database and return the result to be consumed from Client.
         2. From the other end I opened the Soap-Ui such that I edited the Endpoint like: (this call would be actually made from the Online Application)
              Previous End point of the Wsdl- http://localhost:8080/myService/services/Invoker - tried and tested
              Edited End point of the Wsdl for testing - http://remoteIp:8080/myService/services/Invoker
              I got the Error stating:
                                            ERROR:org.apache.http.conn.HttpHostConnectException: Connection to http://192.168.1.6:8080 refused.
         Please let me know what I'm doing wrong or is there a special requirements for calling the services remotely?
    EDIT
    I took the IP address by executing ipconfig.
    Edited by: Sanchit Java Dev on May 31, 2013 3:28 AM

Maybe you are looking for

  • Return Query based on conditon

    Hi, I there are two queries i need to return them conditinally but i am getting a error please let me know where this error is comming from DECLARE q VARCHAR2(2000); BEGIN if :app_user like 'sudhir' then //Here :app_user is a bind variable q:=' SELEC

  • OS X 10.9.2 Crashed a lot

    OS X 10.9.2 Crashed a lots of times....  crashing my all inbulit or 3rd party apps...Finder crashing.... even auto log out .... user acount switching take a lot of time...!!  user login take lots of time.... mac working slower...  this type of proble

  • Using Bash script to edit config file

    This is a really simple question, but given that I'm just learning Bash scripting and having this solved now would be really illustrative for me, I would really thank some help here. I'm using uzbl, and running Tor+Polipo. So, as you will see below i

  • 2 accounts authorized on computer; can only transfer to iPod on one of them

    We have a new Dell laptop running Vista Home Premium. We successfully migrated the library from the previous computer (still in use, so those accounts are still authorized). The problem is with only one of our accounts: When downloading from the iTun

  • ALE Inbound steps

    Hi All, What are the step's for ALE inbound process. Step by step for ALE Congfiguration. Regards, Suresh.D