Connect Db From Different Machine

Hi,
OS : Windows xp
DB : 10.1.0.4.2
I have one database in my machine and i install form developer in my lab Top (Other machine) i try to connect to my database from
my laptop but i can't i got this error ORA-12154. but i can access to my database from database machine.
Regards,

kingadmin wrote:
CLIENT SQLNET FILE
SQLNET.AUTHENTICATION_SERVICES= (NTS)
NAMES.DIRECTORY_PATH= (LDAP, TNSNAMES, EZCONNECT, ONAMES, HOSTNAME)
CLIENT TNAMES
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.3)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = NVS)
)content of tnsnames.ora appears to be malformed
below show valid tnsnames.ora & how it is supposed to work
bcm@bcm-laptop:~$ cat /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora
# tnsnames.ora Network Configuration File: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.
V112=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=V112)))
bcm@bcm-laptop:~$ sqlplus user1/user1@v112
SQL*Plus: Release 11.2.0.1.0 Production on Thu Apr 26 11:06:01 2012
Copyright (c) 1982, 2009, Oracle.  All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
11:06:02 SQL>

Similar Messages

  • JDBC connection to two different machines from the same program

    I want to use JDBC to connect to two different databases that are on two different MySQL installations on two different machines.
    One of the installations is MySQL 4.1.12 and the other is 4.1.14-nt
    For some reason, all my statements seem to be going only to one machine, even though I am very clearly set it up to go to two different machines.
    Does anyone know whether connecting to two different installations from one program presents any unusual problems?
    Thanks.

    Unless there is some horrible defect in the MySQL JDBC driver (which I doubt!), there should be no problem and like the other poster says, please post snippits of your code so we can see what your doing...

  • RMI client running from different machine giving error

    HI all
    I am trying to run the sample application getStart hello world.
    I am able to run the java applet from the same machine ....
    but i am get error when i am trying run client applet from the different machine .
    (HelloApplet exception: access denied (java.net.SocketPermission)
    client applet on machine1 and server and registory on machine2 in same lan .
    i copied the Helloapplet.class and Helloclient.html to machine1.
    appletviewer Helloclient.html
    but the java version is different in both machines.......
    can any one give some idea ....
    the errror i am geting is :
    HelloApplet exception: access denied (java.net.SocketPermission Neind-ws-003 res
    olve)
    java.security.AccessControlException: access denied (java.net.SocketPermission N
    eind-ws-003 resolve)
    at java.security.AccessControlContext.checkPermission(AccessControlConte
    xt.java:272)
    at java.security.AccessController.checkPermission(AccessController.java:
    399)
    at java.lang.SecurityManager.checkPermission(SecurityManager.java:545)
    at java.lang.SecurityManager.checkConnect(SecurityManager.java:1042)
    at java.net.InetAddress.getAllByName0(InetAddress.java:559)
    at java.net.InetAddress.getAllByName0(InetAddress.java:540)
    at java.net.InetAddress.getByName(InetAddress.java:449)
    at java.net.Socket.<init>(Socket.java:100)
    at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirect
    SocketFactory.java:25)
    at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMaster
    SocketFactory.java:120)
    at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:499)
    at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:190
    at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:174)
    at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:318)
    at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
    at java.rmi.Naming.lookup(Naming.java:84)
    at examples.hello.HelloApplet.init(HelloApplet.java:23)
    at sun.applet.AppletPanel.run(AppletPanel.java:344)
    at java.lang.Thread.run(Thread.java:484)
    The helloapplet.java code is :
    package examples.hello;
    import java.applet.Applet;
    import java.awt.Graphics;
    import java.rmi.Naming;
    import java.rmi.RemoteException;
    public class HelloApplet extends Applet {
    String message = "blank";
    // "obj" is the identifier that we'll use to refer
    // to the remote object that implements the "Hello"
    // interface
    Hello obj = null;
    public void init() {
         try {
              System.out.println("Path looking: " +getCodeBase().getHost());
         //obj = (Hello)Naming.lookup("//" +
              //     getCodeBase().getHost() + "/HelloServer");
                   obj = (Hello)Naming.lookup("//Neind-ws-003/HelloServer");
         message = obj.sayHello();
         } catch (Exception e) {
         System.out.println("HelloApplet exception: " +
                        e.getMessage());
         e.printStackTrace();
    public void paint(Graphics g) {
         g.drawString(message, 25, 50);
    The helloclient.html code:
    <HTML>
    <title>Hello World</title>
    <center> <h1>Hello World</h1> </center>
    The message from the HelloServer is:
    <p>
    <applet
              code="examples.hello.HelloApplet"
    width=500 height=120>
    </applet>
    </HTML>

    Your problem is at the following line.
    obj = (Hello)Naming.lookup("//Neind-ws-003/HelloServer");
    The line you had commented beforehand is
    //obj = (Hello)Naming.lookup("//" +
    // getCodeBase().getHost() + "/HelloServer");
    This worked because the applet was being retreived from the same server where the RMI server exists.
    Remember, applets can only connect themselfs to the same host they are stored in and retreived from. This is because of VM, the sandbox does not allow you to connect to other machines other than the server where it resides on. If you use a applet viewer it might work if you loosen the security features. On a browser i do not belive it can be done. Maybe if you modify your security options for the VM you are able to achieve something, but personally i'm going for the "It cannot be done " answer because of what I said before.
    Hope this helps
    If any trouble then reply and I'll answer later.
    Rui P.

  • Ifs Connection problem from local machine to Ifs server using API

    I am trying to make an API call to connect to Ifs database server running on different machine(UNIX) from local machine. I copied all jar files and /Lib/Ifs/Settings directory to my local machine. All these files are in the classpath of weblogic 6.0 environment. A jsp on weblogic server call a bean which has a responsibibility of connecting to Ifs server to get LibrarySession.
    From Visual Cafe 4.5 everything works fine but when i start weblogic 6.0 outside the visual cafe environment i get the error
    below. I included all the jar files and /Lib/Ifs/Settings in start up script of weblogic server
    Do you know if i missing some thing????
    java.lang.UnsatisfiedLinkError: do_open
    at oracle.jdbc.oci8.OCIDBAccess.do_open(Native Method)
    at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:309)
    at oracle.jdbc.driver.OracleConnection.(OracleConnection.java:198)
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
    va:251)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:224)
    at java.sql.DriverManager.getConnection(DriverManager.java:517)
    at java.sql.DriverManager.getConnection(DriverManager.java:177)
    at oracle.ifs.server.LibraryConnection.(LibraryConnection.java:235
    at oracle.ifs.server.ConnectionPool.createLibraryConnection(ConnectionPo
    ol.java:576)
    at oracle.ifs.server.ConnectionPool.(ConnectionPool.java:321)
    at oracle.ifs.server.S_LibraryService.(S_LibraryService.java:912)
    at oracle.ifs.server.S_LibraryService.startService(S_LibraryService.java
    :1129)
    at oracle.ifs.beans.LibraryService.connectLocal(LibraryService.java:408)
    at oracle.ifs.beans.LibraryService.connect(LibraryService.java:280)

    Have you installed the Oracle client software on the machine where you are running WebLogic and your custom iFS application (your bean)?
    It looks like the native JDBC libraries are not available to the JVM where WebLogic is executing your code. iFS uses JDBC to access the Oracle database, and it requires "thick" (OCI8) JDBC to do so. This means that you need Oracle client software to be installed (in an ORACLE_HOME directory) on a computer where you want to use the iFS API.
    If you do have the Oracle client software installed already, then perhaps the WebLogic environment isn't configured to have access to the native JDBC libraries. Normally, as long as $ORACLE_HOME/lib is in the LD_LIBRARY_PATH (on unix) or $ORACLE_HOME/bin is in the PATH (on windows), stuff should just work.
    See if you can find any information about including native libraries (for instance, to use JNI) in the WebLogic documentation. We don't certify with WebLogic, which is why I don't know the answer offhand.

  • I just connect portal from server machine. Help me!

    Please, can someone help me?
    I've instaled the Oracle portal 3.0.9.8.0 in the Oracle 8.1.7.
    From the server machine I can access the Portal, but if I try from a
    client machine, a error happens.
    If I try only the server machine's name, the Oracle Http Server shows up,
    but if I try to do machinename/pls, a error happens and with the server
    machine works.
    Do someone know what's going wrong? Do I need to configure somthing at the
    client machine?
    And what about the DAD? Whath do I need to configure?
    Thaks for helping,

    Pls ignore the previous one and refer to this one, its not identifying greater than & Smaller than sign, I have replaced them with square brackets ([]).
    Tiago,
    Where is your midtier, I mean where is your Http Server(Apache) is running? Is it running on the same machine where database is running or it is running on a different machine?? In either cases it doesn't actually matter, unless your are accessing the portal correctly.
    You should be accessing the portal in the following manner (From any machine, be it server or client).
    http://[midtier-machinename]:[Port]/pls/[DAD]
    [midtier-machinename]: The machine on which your Apache is running.
    [Port]: Port on which your Apache is running. (You can check it in your your setupinfo.txt file, which gets created when you install 9iAS).
    [DAD]: DAD, through which you identify your portal instance. You can check it by giving the following url
    http://[midtier-machinename]:[Port]/pls/bootstrap/admin_/dadentries.htm
    Just double check your settings on the basis of above mentioned guidelines. Hope it should work.

  • How to include a html from different machine?

    I've tired the inculde tag, but it seem unable to inculde files from other machines...
    could anyone teach me how to do so?!
    thanks!!!

    Hi,
    I think you are using <%@include file="filename"%>. This mechanism is a bit more efficient (the inclusion is done at the time the JSP is being compiled), but is limited to including text files (the file is read, rather than being processed as an HTTP URL; so if you include, say, a CGI script, the contents of your CGI script are revealed in the JSP output: not useful!). The <jsp:include> can include a URL of any type (HTML, servlet, JSP, CGI, even PHP or ASP).
    Try with <jsp:include> to include files on the other machines.
    Hope this helps.
    With Regards
    Gayam_Slash

  • Imp from different machine

    Hi,
    I have dump(exp) which was took on oracle 10g solaris.
    I want to import in oracle 9i (windows) which is not psble as downward compatiblity not psble.
    So, I m trying to import through 10g oracle home which is on different machine. but cudnt it throws out error
    D:\oracle\product\10.2.0\BIN>imp abc/xyz@test
    Import: Release 10.2.0.1.0 - Production on Mon Aug 9 13:15:11 2010
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    IMP-00058: ORACLE error 6550 encountered
    ORA-06550: line 1, column 33:
    PLS-00302: component 'SET_NO_OUTLINES' must be declared
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    IMP-00000: Import terminated unsuccessfully
    regards,

    try this out
    set ORACLE_SID=test
    sqlplus
    /as sysdba
    startup
    get back to host
    imp username/password@test file=filename.dmp fromuser=abc touser=xyz
    if u have the complete database dump file use this
    imp username/password@test file =filename.dmp full=y
    Edited by: Suhail Faraaz on Aug 9, 2010 3:26 AM

  • Cannot browse Time Machine backup from different machine

    I've recently got a new macbook, and am transferring stuff selectively from my old machine rather than doing it holus bolus.
    As per http://pondini.org/TM/17.html (that site's a great resource!) I can direct  Time Machine to the previous machine's backup set (done locally on a USB-connected external HD) by alt-clicking on the Time Machine menu bar icon and choosing 'browse other backup disks'.
    The problem from there is that the root of the Time Machine/'Finder' interface's hierarchy is my current machine's name. There's no way of browsing 'above' that to the name of my previous machine, from where I might browse the previously backed-up files. Time Machine can apparently open the alternative backup set, but has no way of showing me what's in there. What it shows me is my current machine's files, with no earlier versions available (because I haven't done any time machine backups of the new machine yet).
    (I can of course just browse manually to the most recent backup of the old machine in [time machine drive]/Backups.backupdb/[old machine name], but that doesn't provide an easy means of browsing earlier versions of files.)

    Thanks again Joe.
    One last question. Once I've transferred my files from the Power Mac's Time Machine disk could I select that disk in MacBook Pro's Preferences as it's Time Machine backup disk?
    (Effectively stop using it as the Power Mac's backup disk & continue using it as the MacBook Pro's backup disk).
    Backing up new files on the MacBook Pro to the disk, but still be able to 'go back in time' & restore files from the Time Machine disk (backup up over time on the Power Mac).

  • How to connect Systems from different server

    Dear All,
    i am trying to do establish the following connection.
    We have a Data services installed on server A and the SAP system is installed on server B. To get connected to both we are using VPN connection. (We are using different link to get connectedto VPNand can not get logged in both simultaneously)
    I am trying now to connect the data services to the sap system but it do not work.
    How to get the connection establish?
    Thank you.
    Pat

    Hi Pat,
    What kind of connection are you trying to establish? Does that other system has to push/fetch data from SAP? What protocol is being used for that?
    Kind regards,
    Mark

  • Issue with display of Barcode in the report output from different Machines

    Hi ,
    I have developed a BI Publisher report to print barcode on the output.
    I have configured the necessary setup in XML Publisher Responsibility
    by following the steps
    1) Home --> Administration
    a)     Create Font Files
    Uploaded the ttf file
    2. Create Font Mapping Set
    "Special Fonts"
    3.Created font Mapping under the Mapping set of type "Special Fonts"
    4.Provided the Value of Font Mapping Set to ‘FO Processing ‘ under Configuration
    Font Mapping Set : Special Fonts
    The above configuration works fine and I am able to view the Barcode in the output.
    Issue : When I try to run the same concurrent porgram from a different PC ,and if I view the output, I am not able to see the barcode.
    Please let me know if anyone has faced issue of such kind.
    I guess the above cannot be system specific and please let me know where it is going wrong.
    Thanks,
    Seshu

    Hello again
    I have the font file and I already put it into C:/Windows/Font folder. I just don't have the option to "Create Font Files".
    I try to use this code in a xdo.cfg file:
    <config version="1.0.0" xmlns="http://xmlns.oracle.com/oxp/config/">
    <fonts>
    <font family="Free 3 of 9 Extended" style="normal" weight="normal">
    <truetype path="FRE3OF9X.ttf"/>
    </font>
    </fonts>
    </config>
    but i just can't make the bar code appear in PDF.
    Thanks a lot
    Edited by: pedropereira on 22/Fev/2012 12:51
    Edited by: pedropereira on 22/Fev/2012 12:57

  • Not able to call BPEL web service using RMI call from different machine

    Hi,
    1. I have created a smiple Helloworld asynchoronous BPEL process
    2. I am able to call that BPEL process using java program (RMI call) which I have written in JDeveloper 10.1.3.3 and the java program is running in the embeded OCJ4 instance of JDeveloper sucessfully.
    3. Now I am trying to run the same Java program in my unix machine where oracle application is installed.
    4. I have set all the CLASSPATH for required jars which I have used in JDeveloper and also kept the jar file in Unix machine.
    5. The java codes are complied successfully.
    6. But when I am trying to run it , getting the following exception:
    bash-3.00$ java HelloworldAsyn
    name is Debkanta
    property file data are: {java.naming.provider.url=opmn:ormi://172.18.19.169:6003:home/orabpel, java.naming.factory.initial=com.evermind.server.rmi.RMIInitialContextFactory, orabpel.platform=ias_10g, java.naming.security.principal=oc4jadmin, java.naming.security.credentials=welcome1}
    hello3
    java.lang.Exception: Failed to create "ejb/collaxa/system/DeliveryBean" bean; exception reported is: "javax.naming.NameNotFoundException: ejb/collaxa/system/DeliveryBean not found
    at com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:52)
    at javax.naming.InitialContext.lookup(InitialContext.java:351)
    at com.oracle.bpel.client.util.BeanRegistry.lookupDeliveryBean(BeanRegistry.java:279)
    at com.oracle.bpel.client.delivery.DeliveryService.getDeliveryBean(DeliveryService.java:250)
    at com.oracle.bpel.client.delivery.DeliveryService.post(DeliveryService.java:174)
    at com.oracle.bpel.client.delivery.DeliveryService.post(DeliveryService.java:149)
    at HelloworldAsyn.main(HelloworldAsyn.java:64)
    at com.oracle.bpel.client.util.BeanRegistry.lookupDeliveryBean(BeanRegistry.java:293)
    at com.oracle.bpel.client.delivery.DeliveryService.getDeliveryBean(DeliveryService.java:250)
    at com.oracle.bpel.client.delivery.DeliveryService.post(DeliveryService.java:174)
    at com.oracle.bpel.client.delivery.DeliveryService.post(DeliveryService.java:149)
    at HelloworldAsyn.main(HelloworldAsyn.java:64)
    bash-3.00$
    I need to solve it urgently. Can anyone please help me.
    Is it relaed to some user access issue in unix?
    Thanks & Regards
    Deb
    Message was edited by:
    user587916

    actually , I have laready given print stataement for the data in the context property file that you can see in the output. Today I am also able to call the bpel process using the same java program from my DOS command promt(cmd). Don't understand why the problem is occuring in unix.
    please help.

  • Connecting SqlPlus from Remote Machine

    Does anyone have an idea one how to connect Sqlplus to an Oracle DB on an other machine?
    I really do appreciate your help guys!!
    Thanks,
    Karim Soliman

    On the Client use Net Configuration Assistant (netca command on Linux/Unix) to configure the connection string. Then you can connect as
    sqlplus <username>/<password>@<connection string>
    but... what does this have to do with Application Server ?

  • Different results from different machines

    I have one program to output jpg photo
    to control quality:
    ImageWriteParam param = writer.getDefaultWriteParam();
    param.setCompressionMode(ImageWriteParam.MODE_EXPLICIT);
    param.setCompressionQuality(0.8f);
    param.setCompressionType("JPEG");
    writer.write(null, new IIOImage(bimage, null, null), param);
    I got satisfied photo on my computer
    when I run the same program on another machine I got bad quality jpg photo
    both machines is windows system
    that second machine max color=256, is that cause poor quality of jpg images?

    that second machine max color=256Are you sure the bad quality doesn't come from just the display? JPEG images typically have thousands of colours so they are bound to look crappy on a 256 colour display.

  • Can you Sync different parts from different machines

    I've got an iPod with Video and three computers with music on (work, home and laptop).
    I'd like to sync my podcasts from work, contacts and calendar from my laptop and add music from all three.
    As far as I can tell you can't do this? If it's synced with one machine none of the others will be able to copy to it
    I've got two Macs and a PC, and the iPod is formatted for Windows.
    Thanks,
    Chris

    Because I like answering my questions.
    Yes, it seems you can - as long as you tick 'Manually manage music and videos'
    Yeh!

  • Purchase Order created from different client machine with same login ID

    Hi,
    Purchase Order created from different machine using same Login ID. How to trace IP address of that Machines.
    Thanks
    Hemanth

    Hi;
    Please review:
    Re: sql to get Machine IP
    Regard
    Helios

Maybe you are looking for

  • Bug: Numbers File cannot be deleted because it is in use

    Whenever I try to delete a Numbers 09 file, I get the error message that the file cannot be deleted because it is in use. I get this without the file being open at all, so it shouldn't be in use and I should be able to delete it.

  • Cannot install digikam:Unresolved dependencies

    [root@arch ~]# pacman -S digikam error: cannot resolve dependencies for "digikam": "sqlite3" is not in the package set I am pretty sure it used to work just fine. Searching the forums didn't help.

  • Adding Covers and song info slow down

    I just my new 120gb Ipod for christmas and I started to load album covers to it. It started out fine, the album cover would load/save in no time, but now it takes forever to save a cover to a song, any help on why?

  • Can I upgrade to intel i7

    Can I upgrade to intel i7 from core 2? Both chips require the same socket. I have a touchsmart 600XT. Would also like to upgrade to a ss hard drive. Any thoughts?

  • How can I track attendee names for an archived webinar?

    Hello: Tracking the names of attendees of a live webinar in Adobe Connect is no problem. However, what I want to do is track the names of people who access an archived webinar. We know how to track the number of views for archived webinars, but I wan