How to identify client and server versions

Hi all,
Ok, this may sound silly, but I have to write an application to access an Oracle database. Prior development in other languages has used ODBC and works fine. VS.NET using the OLE DB works as well.
However, I installed the ODT with ODAC 11.10.6.21 and tried that. I get an error trying to access the data.
When I execute the conn.open(), I get:
ORA-12154: TNS:could not resolve the connect identifier specified
I have opened the TNSNames.ora file and used that to create the connection string just in case. But I still get the error.
My guess is that either the client on my system is too old or the Oracle Server is still running an old version.
Is there an easy way for me to identify the latest client I have installed as well as the version of Oracle that is running on the server?
No, I can't just ask the people who manage the server or I would have done so already. I am a contractor here and it is very hard for me to get through to anyone who might know.
Thanks,
JustMe

http://www.oracle.com/technology/tech/dotnet/col/odt_faq.html#ORA-12154:_TNS:could_not_resolve_the

Similar Messages

  • How to create client and server app using node.js in firefox os.

    I want to create a client and server app using node.js for firefox os. Please suggest me how to create a apps.
    I want to send a request from client to server and based on client request, service reply to client.
    If any links available, Please share it.
    Thanks

    Hi sb00349044,
    The SUMO forums focuses on end-user support.
    For questions about developing for Firefox OS, you will find better guidance in MDN, StackOverflow, and mailing lists:
    * [https://developer.mozilla.org/en-US/Firefox_OS MDN - Firefox OS]
    * [http://stackoverflow.com/questions/tagged/firefox-os StackOverflow - Firefox OS]
    * [https://lists.mozilla.org/listinfo Mailing Lists at Mozilla]
    Thanks,
    - Ralph

  • How to bulid client and server on differen machine

    i want to build client on a sco unix machine and
    server on a tandem unix machine.how can i complete it?
    i made a test.the application is simple sample TOUPPER.
    below is my ubbconifg
    #ident     "@(#)apps:simpapp/ubbsimple     60.3"
    #Skeleton UBBCONFIG file for the TUXEDO Simple Application.
    #Replace the <bracketed> items with the appropriate values.
    *RESOURCES
    IPCKEY          50000
    #Example:
    #IPCKEY          123456
    DOMAINID     simpapp
    MASTER          simple
    MAXACCESSERS     5
    MAXSERVERS     5
    MAXSERVICES     10
    MODEL          MP
    LDBAL          N
    OPTIONS          LAN
    *MACHINES
    FSPSRB          LMID=simple
              TUXDIR="/db010/gdproj/tuxedo"
              APPDIR="/db010/home/tuxtest/gy"
              TUXCONFIG="/db010/home/tuxtest/gy/tuxconfig"
              UID=135
              GID=120
    GDPSRB          LMID=simple2
    TUXDIR="/appl/gdproj/tuxdev"
              APPDIR="/appl/home/gy/simple"
              TUXCONFIG="/appl/home/gy/simple/tuxconfig"
              UID=139
              GID=100
    #DEFAULT:
    #          APPDIR="/db010/home/tuxtest/gy"
    #          TUXCONFIG="/db010/home/tuxtest/gy/tuxconfig"
    #          TUXDIR="/db010/gdproj/tuxedo"
    #Example:
    #          APPDIR="/home/me/simpapp"
    #          TUXCONFIG="/home/me/simpapp/tuxconfig"
    #          TUXDIR="/usr/tuxedo"
    #FSPSRB          LMID=simple
    #Example:
    #beatux          LMID=simple
    *NETWORK
    simple          NADDR="//10.194.0.3:9000"
    NLSADDR="//10.194.0.3:9001"
              BRIDGE="/dev/tcp"
    simple2          NADDR="//10.194.0.155:9000"
              NLSADDR="//10.194.0.155:9001"
    BRIDGE="/dev/tcp"
    *GROUPS
    GROUP1
         LMID=simple     GRPNO=1     OPENINFO=NONE
    *SERVERS
    DEFAULT:
              CLOPT="-A"
    simpserv     SRVGRP=GROUP1 SRVID=1
    *SERVICES
    TOUPPER
    i start the tlisten at each site .
    when i exec tmboot -y i can't get BBL at client site
    below is the ULOG at server site
    092248.FSPSRB!DBBL.5148: 081802: TUXEDO Version 6.4 IRIX 5.3 11091812 IP22 mips.
    092248.FSPSRB!DBBL.5148: LIBTUX_CAT:262: INFO: Standard main starting
    092250.FSPSRB!BBL.5149: 081802: TUXEDO Version 6.4 IRIX 5.3 11091812 IP22 mips.
    092250.FSPSRB!BBL.5149: LIBTUX_CAT:262: INFO: Standard main starting
    092252.FSPSRB!DBBL.5148: CMDTUX_CAT:4350: INFO: BBL started on simple - Release
    6400
    092253.FSPSRB!BRIDGE.5150: 081802: TUXEDO Version 6.4 IRIX 5.3 11091812 IP22
    mips.
    092253.FSPSRB!BRIDGE.5150: LIBTUX_CAT:262: INFO: Standard main starting
    092253.FSPSRB!BRIDGE.5150: LIBTMIB_CAT:74: ERROR: Failed to advertise dynamic
    /Admin service TBR0
    092253.FSPSRB!BRIDGE.5150: CMDTUX_CAT:1788: WARN: Could not advertise administrative
    service
    092300.FSPSRB!DBBL.5148: LIBTUX_CAT:328: ERROR: No space in Bulletin Board for
    Service Table
    092300.FSPSRB!tmboot.5147: 081802: TUXEDO Version 6.4 IRIX 5.3 11091812 IP22
    mips.
    092300.FSPSRB!tmboot.5147: CMDTUX_CAT:825: ERROR: Process BBL at simple2 failed
    with /T tperrno (TPENOENT - no entry found)
    092300.FSPSRB!tmboot.5147: WARN: No BBL available on site simple2.
         Will not attempt to boot server processes on that site.
    092300.FSPSRB!simpserv.5153: 081802: TUXEDO Version 6.4 IRIX 5.3 11091812 IP22
    mips.
    092300.FSPSRB!simpserv.5153: LIBTUX_CAT:262: INFO: Standard main starting
    092300.FSPSRB!DBBL.5148: LIBTUX_CAT:328: ERROR: No space in Bulletin Board for
    Service Table
    092300.FSPSRB!simpserv.5153: LIBTUX_CAT:248: ERROR: System init function failed,
    Uunixerr =
    092300.FSPSRB!tmboot.5147: CMDTUX_CAT:825: ERROR: Process simpserv at simple failed
    with /T tperrno (TPENOENT - no entry found)
    below is the ULOG at client site
    071457.GDPSRB!tmloadcf.15432: 081802: TUXEDO Version 6.4 IRIX 5.3 11091812 IP22
    mips.
    071457.GDPSRB!tmloadcf.15432: NLS:4: Cannot open message catalog CMDTUX_CAT, set
    1, num 879; check TUXDIR=/appl/gdproj/tuxdev, LANG=chinese
    071457.GDPSRB!tmloadcf.15432: NLS:4: Cannot open message catalog CMDTUX_CAT, set
    1, num 871; check TUXDIR=/appl/gdproj/tuxdev, LANG=chinese
    071457.GDPSRB!BSBRIDGE.15436: 081802: TUXEDO Version 6.4 IRIX 5.3 11091812 IP22
    mips.
    071457.GDPSRB!BSBRIDGE.15436: NLS:4: Cannot open message catalog LIBTUX_CAT, set
    1, num 262; check TUXDIR=/appl/gdproj/tuxdev, LANG=chinese
    071500.GDPSRB!BBL.15441: 081802: TUXEDO Version 6.4 IRIX 5.3 11091812 IP22 mips.
    071500.GDPSRB!BBL.15441: NLS:4: Cannot open message catalog LIBTUX_CAT, set 1,
    num 262; check TUXDIR=/appl/gdproj/tuxdev, LANG=chinese
    071502.GDPSRB!BBL.15441: NLS:4: Cannot open message catalog LIBTUX_CAT, set 1,
    num 248; check TUXDIR=/appl/gdproj/tuxdev, LANG=chinese
    071502.GDPSRB!BBL.15441: NLS:4: Cannot open message catalog CMDTUX_CAT, set 1,
    num 26; check TUXDIR=/appl/gdproj/tuxdev, LANG=chinese
    i can set BRIDGE at each site.from the client ULOG ,i think
    the "LIBTUX_CAT, set 1, num 248" is the reason BBL can't boot.
    In reference manual LIBTUX_CAT 248 means "System init function faied".
    what can i do at this time.Please help me.
    If possible,please send me a exapmle.
    thanks!!!
    [email protected]

    gongyu,
    The problem is that your MAXSERVICES parameter is too low.
    Increase it (say, to 100) and while you're at it, I would increase MAXSERVERS
    and MAXACCESSERS too (Maybe 50 and 100 respectively)
    Then your app. should boot.
    There is no fundamental problem with what you're trying to do.
    Regards,
    Peter.
    gongyu wrote:
    i want to build client on a sco unix machine and
    server on a tandem unix machine.how can i complete it?
    i made a test.the application is simple sample TOUPPER.
    below is my ubbconifg
    #ident     "@(#)apps:simpapp/ubbsimple     60.3"
    #Skeleton UBBCONFIG file for the TUXEDO Simple Application.
    #Replace the <bracketed> items with the appropriate values.
    *RESOURCES
    IPCKEY          50000
    #Example:
    #IPCKEY          123456
    DOMAINID     simpapp
    MASTER          simple
    MAXACCESSERS     5
    MAXSERVERS     5
    MAXSERVICES     10
    MODEL          MP
    LDBAL          N
    OPTIONS          LAN
    *MACHINES
    FSPSRB          LMID=simple
              TUXDIR="/db010/gdproj/tuxedo"
              APPDIR="/db010/home/tuxtest/gy"
              TUXCONFIG="/db010/home/tuxtest/gy/tuxconfig"
              UID=135
              GID=120
    GDPSRB          LMID=simple2
    TUXDIR="/appl/gdproj/tuxdev"
              APPDIR="/appl/home/gy/simple"
              TUXCONFIG="/appl/home/gy/simple/tuxconfig"
              UID=139
              GID=100
    #DEFAULT:
    #          APPDIR="/db010/home/tuxtest/gy"
    #          TUXCONFIG="/db010/home/tuxtest/gy/tuxconfig"
    #          TUXDIR="/db010/gdproj/tuxedo"
    #Example:
    #          APPDIR="/home/me/simpapp"
    #          TUXCONFIG="/home/me/simpapp/tuxconfig"
    #          TUXDIR="/usr/tuxedo"
    #FSPSRB          LMID=simple
    #Example:
    #beatux          LMID=simple
    *NETWORK
    simple          NADDR="//10.194.0.3:9000"
    NLSADDR="//10.194.0.3:9001"
              BRIDGE="/dev/tcp"
    simple2          NADDR="//10.194.0.155:9000"
              NLSADDR="//10.194.0.155:9001"
    BRIDGE="/dev/tcp"
    *GROUPS
    GROUP1
         LMID=simple     GRPNO=1     OPENINFO=NONE
    *SERVERS
    DEFAULT:
              CLOPT="-A"
    simpserv     SRVGRP=GROUP1 SRVID=1
    *SERVICES
    TOUPPER
    i start the tlisten at each site .
    when i exec tmboot -y i can't get BBL at client site
    below is the ULOG at server site
    092248.FSPSRB!DBBL.5148: 081802: TUXEDO Version 6.4 IRIX 5.3 11091812 IP22 mips.
    092248.FSPSRB!DBBL.5148: LIBTUX_CAT:262: INFO: Standard main starting
    092250.FSPSRB!BBL.5149: 081802: TUXEDO Version 6.4 IRIX 5.3 11091812 IP22 mips.
    092250.FSPSRB!BBL.5149: LIBTUX_CAT:262: INFO: Standard main starting
    092252.FSPSRB!DBBL.5148: CMDTUX_CAT:4350: INFO: BBL started on simple - Release
    6400
    092253.FSPSRB!BRIDGE.5150: 081802: TUXEDO Version 6.4 IRIX 5.3 11091812 IP22
    mips.
    092253.FSPSRB!BRIDGE.5150: LIBTUX_CAT:262: INFO: Standard main starting
    092253.FSPSRB!BRIDGE.5150: LIBTMIB_CAT:74: ERROR: Failed to advertise dynamic
    /Admin service TBR0
    092253.FSPSRB!BRIDGE.5150: CMDTUX_CAT:1788: WARN: Could not advertise administrative
    service
    092300.FSPSRB!DBBL.5148: LIBTUX_CAT:328: ERROR: No space in Bulletin Board for
    Service Table
    092300.FSPSRB!tmboot.5147: 081802: TUXEDO Version 6.4 IRIX 5.3 11091812 IP22
    mips.
    092300.FSPSRB!tmboot.5147: CMDTUX_CAT:825: ERROR: Process BBL at simple2 failed
    with /T tperrno (TPENOENT - no entry found)
    092300.FSPSRB!tmboot.5147: WARN: No BBL available on site simple2.
         Will not attempt to boot server processes on that site.
    092300.FSPSRB!simpserv.5153: 081802: TUXEDO Version 6.4 IRIX 5.3 11091812 IP22
    mips.
    092300.FSPSRB!simpserv.5153: LIBTUX_CAT:262: INFO: Standard main starting
    092300.FSPSRB!DBBL.5148: LIBTUX_CAT:328: ERROR: No space in Bulletin Board for
    Service Table
    092300.FSPSRB!simpserv.5153: LIBTUX_CAT:248: ERROR: System init function failed,
    Uunixerr =
    092300.FSPSRB!tmboot.5147: CMDTUX_CAT:825: ERROR: Process simpserv at simple failed
    with /T tperrno (TPENOENT - no entry found)
    below is the ULOG at client site
    071457.GDPSRB!tmloadcf.15432: 081802: TUXEDO Version 6.4 IRIX 5.3 11091812 IP22
    mips.
    071457.GDPSRB!tmloadcf.15432: NLS:4: Cannot open message catalog CMDTUX_CAT, set
    1, num 879; check TUXDIR=/appl/gdproj/tuxdev, LANG=chinese
    071457.GDPSRB!tmloadcf.15432: NLS:4: Cannot open message catalog CMDTUX_CAT, set
    1, num 871; check TUXDIR=/appl/gdproj/tuxdev, LANG=chinese
    071457.GDPSRB!BSBRIDGE.15436: 081802: TUXEDO Version 6.4 IRIX 5.3 11091812 IP22
    mips.
    071457.GDPSRB!BSBRIDGE.15436: NLS:4: Cannot open message catalog LIBTUX_CAT, set
    1, num 262; check TUXDIR=/appl/gdproj/tuxdev, LANG=chinese
    071500.GDPSRB!BBL.15441: 081802: TUXEDO Version 6.4 IRIX 5.3 11091812 IP22 mips.
    071500.GDPSRB!BBL.15441: NLS:4: Cannot open message catalog LIBTUX_CAT, set 1,
    num 262; check TUXDIR=/appl/gdproj/tuxdev, LANG=chinese
    071502.GDPSRB!BBL.15441: NLS:4: Cannot open message catalog LIBTUX_CAT, set 1,
    num 248; check TUXDIR=/appl/gdproj/tuxdev, LANG=chinese
    071502.GDPSRB!BBL.15441: NLS:4: Cannot open message catalog CMDTUX_CAT, set 1,
    num 26; check TUXDIR=/appl/gdproj/tuxdev, LANG=chinese
    i can set BRIDGE at each site.from the client ULOG ,i think
    the "LIBTUX_CAT, set 1, num 248" is the reason BBL can't boot.
    In reference manual LIBTUX_CAT 248 means "System init function faied".
    what can i do at this time.Please help me.
    If possible,please send me a exapmle.
    thanks!!!
    [email protected]

  • Multiplayer game: how to synchronize client and server

    Hi there, I'm wondering how to synchronzie client's and server's frame number?
    I have a multiplayer spaceship(2D) game running at constant 30 FPS, since I use "frame number" to determine if a packet is too late or not, so I would like to have server and client both start frame 1 at the same time, but I have no idea how to do so, can anyone give me a hint?
    well, if you want more details(may not be too much relevant to my problem, but any way, for anyone who interested):
    I use UDP(my teammate implemented a TCP version, it's working but TCP is just way too stupid, lagging and some unknown problems produce very funny result). So far, on client side, input(key strokes) is sent via network immediately, but processed 2 frames later locally. So on lan, server will likely get the packet before it's time to process it, thus solve the packet delay problem a little bit).
    Example: If user pressed fire button at frame 5, it's sent immediately to server, then at frame 7, client engine processes this "fire" event, and likely, server will get this packet at frame 6 or 7, then it can just processes it in time as well.
    So there's a problem, server and client must both running the same frame number at the same time(maybe not exact, but gotta be very close).
    By the way, I need some suggestions implementing the server, my brain hurts just thinking about it, I hope I will never have to code network stuff again: Server runs at 30FPS(but only broadcast game state at 6FPS), it just sit there between frame 1~4, get all packets and store them, then between frame 4~5, processes all the packets recieved, then broadcast the result(game state), client recieves it, will treat this game state as "correct game state for frame 5". I use this way because it solves packet delay and out of order packet to some extend.
    However, say, if server broadcasts the game state for frame 5 at frame 5, then client is likely to recieve it at frame 7 or even later, how can client use it?
    So, together, if you have suggestion or solution for my server and client implementation, please let me know, thanks heaps. I'm in quite a desperation at the moment.
    P.S: I also posted this synchronizing problem at the socket programming forum, hope you guys (and girls) dont mind, since this is a place talking about game, that is a place talking about network, so I thought might be good to have suggestions from people in different programming area.

    Why does the client need to have the same frame number as the server? I think a good way to do it would be as follows:
    - Client sends all of the user's commands to the server (i.e. accellerate left, accellerate right, start firing, etc).
    - Server processes these to update game state and every so often sends updates to the clients, saying something like "at frame 7, user X is at (10, 10) and user Y is at (20,20) and firing south".
    - Clients process all updates from the server, as long as it hasn't seen any update from a later time yet. So if it recieves the update from time 10 before the update from time 9, it only does the one from time 10. It tries to move things smoothly, taking into average time between updates (if there are 100 ms between updates and on the next frame, user X should move 10 units, then move 1 unit every 10 ms).
    By the way, it is possible to use TCP in games. Most MMORPG games use it. I don't know whether it's fast enough for a spaceship game, but it might be worth trying to fix the code you have. Try to keep packets small (use bytes for event type codes, player numbers, etc), group multiple events into one packet if they are all available at the same time, flush() the output stream as soon as you send one, and don't use a buffered stream or reader when reading them.

  • How to Integrate Client and Server?

    How to Integrate Client system and Server system?
    A scenario which is working successfully in server system, not working in client system.
    help me out in this issue.
    pankaj.

    This doesn't make any sense... ???
    can you please rewrite your question?

  • Hyperion Enterprise client and server version

    All,
    We are using Hyperion Enterprise version 6.1 for a long time and currently it supports and works fine on windows 2000 server. We are planning to move to HFM shortly but in the meantime i wanted to see if there is a version out there between 6.1 and 6.5 that will enable us to install client on "xp" and still talk to version 6.1 on the server?
    any help would be appreciated.
    Thanks
    Srikanth

    Rk,
    Thank you for the response. Do you happen to know which version of Hyperion retrieve on the client side works with xp and still be able to talk to version 6.1 on the server side. I looked into the version 6.5 and it does not support version 6.1 on the server side.
    Also, where can i find the installs for older version i looked in the edelivery site and have not been successful.
    Thanks again,
    Srikanth
    Edited by: vemulasri on Jul 28, 2009 10:41 AM

  • Async tcp client and server. How can I determine that the client or the server is no longer available?

    Hello. I would like to write async tcp client and server. I wrote this code but a have a problem, when I call the disconnect method on client or stop method on server. I can't identify that the client or the server is no longer connected.
    I thought I will get an exception if the client or the server is not available but this is not happening.
    private async void Process()
    try
    while (true)
    var data = await this.Receive();
    this.NewMessage.SafeInvoke(Encoding.ASCII.GetString(data));
    catch (Exception exception)
    How can I determine that the client or the server is no longer available?
    Server
    public class Server
    private readonly Dictionary<IPEndPoint, TcpClient> clients = new Dictionary<IPEndPoint, TcpClient>();
    private readonly List<CancellationTokenSource> cancellationTokens = new List<CancellationTokenSource>();
    private TcpListener tcpListener;
    private bool isStarted;
    public event Action<string> NewMessage;
    public async Task Start(int port)
    this.tcpListener = TcpListener.Create(port);
    this.tcpListener.Start();
    this.isStarted = true;
    while (this.isStarted)
    var tcpClient = await this.tcpListener.AcceptTcpClientAsync();
    var cts = new CancellationTokenSource();
    this.cancellationTokens.Add(cts);
    await Task.Factory.StartNew(() => this.Process(cts.Token, tcpClient), cts.Token, TaskCreationOptions.LongRunning, TaskScheduler.Default);
    public void Stop()
    this.isStarted = false;
    foreach (var cancellationTokenSource in this.cancellationTokens)
    cancellationTokenSource.Cancel();
    foreach (var tcpClient in this.clients.Values)
    tcpClient.GetStream().Close();
    tcpClient.Close();
    this.clients.Clear();
    public async Task SendMessage(string message, IPEndPoint endPoint)
    try
    var tcpClient = this.clients[endPoint];
    await this.Send(tcpClient.GetStream(), Encoding.ASCII.GetBytes(message));
    catch (Exception exception)
    private async Task Process(CancellationToken cancellationToken, TcpClient tcpClient)
    try
    var stream = tcpClient.GetStream();
    this.clients.Add((IPEndPoint)tcpClient.Client.RemoteEndPoint, tcpClient);
    while (!cancellationToken.IsCancellationRequested)
    var data = await this.Receive(stream);
    this.NewMessage.SafeInvoke(Encoding.ASCII.GetString(data));
    catch (Exception exception)
    private async Task Send(NetworkStream stream, byte[] buf)
    await stream.WriteAsync(BitConverter.GetBytes(buf.Length), 0, 4);
    await stream.WriteAsync(buf, 0, buf.Length);
    private async Task<byte[]> Receive(NetworkStream stream)
    var lengthBytes = new byte[4];
    await stream.ReadAsync(lengthBytes, 0, 4);
    var length = BitConverter.ToInt32(lengthBytes, 0);
    var buf = new byte[length];
    await stream.ReadAsync(buf, 0, buf.Length);
    return buf;
    Client
    public class Client
    private TcpClient tcpClient;
    private NetworkStream stream;
    public event Action<string> NewMessage;
    public async void Connect(string host, int port)
    try
    this.tcpClient = new TcpClient();
    await this.tcpClient.ConnectAsync(host, port);
    this.stream = this.tcpClient.GetStream();
    this.Process();
    catch (Exception exception)
    public void Disconnect()
    try
    this.stream.Close();
    this.tcpClient.Close();
    catch (Exception exception)
    public async void SendMessage(string message)
    try
    await this.Send(Encoding.ASCII.GetBytes(message));
    catch (Exception exception)
    private async void Process()
    try
    while (true)
    var data = await this.Receive();
    this.NewMessage.SafeInvoke(Encoding.ASCII.GetString(data));
    catch (Exception exception)
    private async Task Send(byte[] buf)
    await this.stream.WriteAsync(BitConverter.GetBytes(buf.Length), 0, 4);
    await this.stream.WriteAsync(buf, 0, buf.Length);
    private async Task<byte[]> Receive()
    var lengthBytes = new byte[4];
    await this.stream.ReadAsync(lengthBytes, 0, 4);
    var length = BitConverter.ToInt32(lengthBytes, 0);
    var buf = new byte[length];
    await this.stream.ReadAsync(buf, 0, buf.Length);
    return buf;

    Hi,
    Have you debug these two applications? Does it go into the catch exception block when you close the client or the server?
    According to my test, it will throw an exception when the client or the server is closed, just log the exception message in the catch block and then you'll get it:
    private async void Process()
    try
    while (true)
    var data = await this.Receive();
    this.NewMessage.Invoke(Encoding.ASCII.GetString(data));
    catch (Exception exception)
    Console.WriteLine(exception.Message);
    Unable to read data from the transport connection: An existing   connection was forcibly closed by the remote host.
    By the way, I don't know what the SafeInvoke method is, it may be an extension method, right? I used Invoke instead to test it.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How corba client and server find Naming service

    hello
    i want to ask how corba client and server find the Naming service ?
    10x

    By using a well-known port (I think the default for JavaIDL's NS is 1049) on a well-known address (localhost).
    As these values are not really standard, you can specify them when starting the server and client (+-ORBInitialPort 1050 -ORBInitialHost localhost+). See the documentation .

  • How to run a datagram socket client and server program

    hi,
    I am new to socket programming. I am following the tutorial of sun for socket programming...The link is
    http://java.sun.com/docs/books/tutorial/networking/datagrams/clientServer.html
    I have understood the concept, but the problem is i cannot run the program. I am using netbeans and i have created a package and stored the files QuoteServer,QuoteServerThread, QuoteClient in this package. How can i make the server program run first and then client program in netbeans
    kindly help me
    Thankyou

    I think you are trying to run both server and client
    on one machine!!!
    It is impossible, your server is blocking the port to
    send packets, so you must run client on another
    computer!!!It's not impossible to run a client and server on the same machine just for testing or as a demo. Just have the server listen on one port and the client use a different port.
    No need to use 2 seperate computers. I've done it one computer before without a problem.
    Nick

  • The version of OLE on the client and server machines does not match. (Exception from HRESULT: 0x80010110)

    Hi,
    I have installed FIM CM Client on one machine and FIM CM update service on another machine. Both are windows server 2008 r2 machines.
    When i try to enroll a permanent smart card for a user, its shows me the following error:-
    The version of OLE on the client and server machines does not match. (Exception from HRESULT: 0x80010110)
    Also there is no logging done for the particular event.
    I am able to change my smart card pin and view my smart card info. through the FIM CM client. 
    Is there a compatibility issue of FIM CM 2010 with Windows server 2008 r2?
    Thanks

    Hi,
    Sorry for the delay in reply.
    Please try the following steps first:
    Open Powershell as Administrator
    Go to Start--> Run and type wbemtest.exe.
    •Click Connect. 
    •In the namespace text box type "root" (without quotes).
    •Click Connect.
    •Click Enum Instances…
    •In the Class Info dialog box enter Superclass Name as "__ProviderHostQuotaConfiguration" (without quotes) and press OK. Note: the Superclass name includes a double underscore at the front.
    •In the Query Result window, double-click "__ProviderHostQuotaConfiguration=@"
    •In the Object Editor window, double-click HandlesPerHost.
    •In the Value dialog, type in 8192
    •Click Save Property.
    •Click Save Object.
    Under properties find the property "MemoryPerHost" or any other ones you need to modify  and double click it
    Change the value from 512 MB which is 536870912 to 1GB which is 1073741824
    Click Save Property
    Click Save Object.
    •Close Wbemtest.
    •Restart the computer.
    And if all nodes are Windows server 2012, install the following update rollup as well:
    Windows RT, Windows 8, and Windows Server 2012 update rollup: August 2013
    http://support.microsoft.com/KB/2862768
    If you have any feedback on our support, please send to [email protected]

  • How to handle when Client and server write to the socket at the same time

    Hi all,
    I'm writing a socket communication when client and server may write information the the socket at the same time. I look every where but the samples from the internet only shows example of server replies to client after receiving requests from clients.
    Let's say that:
    Client 1 ->Socket 1 -> Server 1
    Now if there are two threads in the server, one blocked waiting for the input from client on socket 1, the second one write something on the socket to client 1, is it possible?
    And if it's possible, if at the time Server 1 writes information to Client 1, Client 1 writes some information to Server 1 too, will there be any conflict problem or the socket could handle that two ways communication simultaneously?
    It's critical questions for me. Thanks for your help.

    I really use Server Client paradigm. However, beside the request, response mechanism, there is also an additional mechanism called update which server periodically send information update to client without the need for a request from client.
    So you suggest client should initiate 2 sockets, one for request and response, one for receiving update from the server? Will this work?

  • JSSE  Client and server communication problem .err:untrusted server cert

    Hai all,
    I am trying to communicate JSSE client and server.
    I have created root.cert(CA),root.key,server.cert,server.key , client.cert and client.key. All these certificates are created using openssl.
    I have placed root.cert in default keystore cacerts.
    I have created a keystores(server & client) name mykeystore.
    I have placed root.cert and client.cert in the client keystore.
    I have placed root.cert and server.cert in the server keystore.
    But during the run time i am getting javax.net.ssl.SSLException: untrusted server cert chain.
    please suggest the modifications needs to be done to fix the error.
    please tell me In the client keystore and in the server keystore....what certificates we need to put?
    whether my approach as said above is correct or not?
    In java code how to specify this particular certificate we are referring?
    I have coded in this way ....
    SSLContext ctx;
    KeyManagerFactory kmf;
    KeyStore ks;
    char[] prasad = "prasad".toCharArray();
    ctx = SSLContext.getInstance("SSLv3");
    kmf = KeyManagerFactory.getInstance("SunX509");
    ks = KeyStore.getInstance("jks");
    ks.load(new FileInputStream("mykeystore"), prasad);
    kmf.init(ks, prasad);
    ctx.init(kmf.getKeyManagers(), null, null);
    factory = ctx.getSocketFactory();
    But my doubt is we are specifying only keystore name with that how it will check root.cert(ca) and client.cert and server.cert?
    Is there any modifications need in my code?
    Please tell me some way ...
    Thanks ,
    Prasad.

    Hi prasad,
    There will be a problem with the certificates being received from thr remote server or client. Check that your trust store contains the certificate of the remote machine or the CA that signed it and that the certificate has not expired.
    Also be sure that both machines are using the latest version of the JSSE.
    Hope this will help you.
    Regards,
    Anil.
    Technical Support Engineer.

  • Connection between SDM client and server is broken

    Dear All,
    First of all this is what I have
    -NW04 SPS 17
    -NWDS Version: 7.0.09 Build id: 200608262203
    -using VPN connection
    -telnet on port 57018 is succesfull
    I can login to SDM server (from NWDS and from SDM GUI) I can see the state of SDM(green light), restart it, can navigate through tabs in GUI, but every time I am trying to deploy an ear i have this error:
    Deployment exception : Filetransfer failed: Error received from server: Connection between SDM client and server is broken
    Inner exception was :
    Filetransfer failed: Error received from server: Connection between SDM client and server is broken
    I have already read a lot of topics,blogs,notes but didn't find the solution.
    Can anybody help me?
    Best Regards

    Having same issue. Nothing helped so far... Using NWDS 7.0 SP18.
    I have turned SDM tracing on and this is what I see on client side after sending first data package:
    com.sap.sdm.is.cs.cmd.client.impl.CmdClientImpl: debug "20120224140253 0280/17 Client: finished sending string part"
    com.sap.sdm.is.cs.cmd.client.impl.CmdClientImpl: debug "20120224140253 0280/0 Client: receive String part from Server"
    com.sap.sdm.is.cs.cmd.client.impl.CmdClientImpl.receiveFromServer(NetComm ..): Entering method
    com.sap.bc.cts.tp.net.NetComm.receive(): Entering method
    com.sap.bc.cts.tp.net.NetComm: debug "Method "receive(char[])" could not read all requested bytes. There are still 12 bytes to read"
    com.sap.bc.cts.tp.net.NetComm: debug "Caught IOException during read of header bytes (-1,          43):Connection reset"
    com.sap.bc.cts.tp.net.NetComm: debug "  throwing IOException(net.id_000001)"
    com.sap.bc.cts.tp.net.NetComm.receive(): Exiting method
    com.sap.sdm.is.cs.cmd.client.impl.CmdClientImpl: Exiting method
    com.sap.sdm.is.cs.cmd.client.impl.CmdClientImpl: debug "20120224140253 0281/1 Client: connection was broken"
    com.sap.sdm.is.cs.cmd.client.impl.CmdClientImpl: Exiting method
    com.sap.sdm.is.cs.cmd.client.impl.CmdClientImpl: debug "20120224140253 0281/0 Client: finshed sendAndReceive"
    com.sap.sdm.is.cs.cmd.client.impl.CmdClientImpl: Exiting method
    My connection on server is still active so I have to restart SDM server to reset and try it again.
    Anyone have idea whats happening?
    Edited by: skyrma on Feb 24, 2012 2:46 PM
    Edited by: skyrma on Feb 24, 2012 2:47 PM
    Edited by: skyrma on Feb 24, 2012 2:47 PM

  • Client and Server in one process

    Hi all,
    I am trying to create a process which can act as both Client and Server.
    How can I do this?
    Thanks!

    AH. That's a better definition or explanation. Thanks.
    This smells of a single process with multiple threads, each thread handling the basic needs of your requirements. In other words, have a thread deal with making one or more client type connections (use a main thread - the client controller - to spawn client-connection threads. This assumes you need multiplicity in your client-connection model.
    Then make another thread - the server controller - to handle inbound connections, spawning a new thread for each inbound connection. Your main thread, the one that contains your main method, can watch everything that's going on and log or report what's going on in your client and server threads.
    Going into specifics would be a lot to do here. Maybe someone is up for the challenge. Of course, this being a "New to Java Technology" forum, these concepts may be a bit beyond your skillset.
    This is not the only way to go about solving your problem, but it's the only way I can think of at the moment given your requirements.
    Hope this helps some.

  • Configure client and server

    Hi ,
    Iam trying to configure client and server on OEL5.5 on vmware server i ahve 2 virtual machines which are on network i want to make one machine as server and another as client so on server machine i have a database called as SERVER and iam creating a listerner for it and my listener is created i chked my listener.ora files but on termianal when i execute
    LSNRCTL> STATUS LISTENER1
    TNS-01101: Could not find service name
    LSNRCTL>
    LSNRCTL> START LISTENER1
    Starting /u01/app/oracle/product/10.2.0/db_1/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 10.2.0.1.0 - Production
    System parameter file is /u01/app/oracle/product/10.2.0/db_1/network/admin/listener.ora
    Log messages written to /u01/app/oracle/product/10.2.0/db_1/network/log/listener1.log
    Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=oracle10g.home.com)(PORT=2525)))
    TNS-12542: TNS:address already in use
    TNS-12560: TNS:protocol adapter error
    TNS-00512: Address already in use
    Linux Error: 98: Address already in use
    Listener failed to start. See the error message(s) above...
    and copying and pasting the contents of listener.ora file
    # listener.ora Network Configuration File: /u01/app/oracle/product/10.2.0/db_1/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    LISTENER1 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = oracle10g.home.com)(PORT = 2525))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /u01/app/oracle/product/10.2.0/db_1)
    (PROGRAM = extproc)
    SID_LIST_LISTENER1 =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = server)
    (ORACLE_HOME = /u01/app/oracle/product/10.2.0/db_1)
    (SID_NAME = server)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = oracle10g.home.com)(PORT = 1521))
    so as there is only 2 listeners on my machine named as listener which listens at 1521(default) and another which i created listener2 listens as 2525
    so please help me and let me know where iam going wrong
    Thanks in advance ....
    with Regards
    Kavita

    user12665759 wrote:
    Hi ,
    Iam trying to configure client and server on OEL5.5 on vmware server i ahve 2 virtual machines which are on network i want to make one machine as server and another as client so on server machine i have a database called as SERVER and iam creating a listerner for it and my listener is created i chked my listener.ora files but on termianal when i execute
    LSNRCTL> STATUS LISTENER1
    TNS-01101: Could not find service name
    LSNRCTL>
    LSNRCTL> START LISTENER1
    Starting /u01/app/oracle/product/10.2.0/db_1/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 10.2.0.1.0 - Production
    System parameter file is /u01/app/oracle/product/10.2.0/db_1/network/admin/listener.ora
    Log messages written to /u01/app/oracle/product/10.2.0/db_1/network/log/listener1.log
    Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=oracle10g.home.com)(PORT=2525)))
    TNS-12542: TNS:address already in useThose last two lines tell the tale. Something else is running on port 2525. Why are you trying to use that port for your listener?
    Use netstat to find out what process is using the port.
    And as a follow-up, why configure two listeners?
    TNS-12560: TNS:protocol adapter error
    TNS-00512: Address already in use
    Linux Error: 98: Address already in use
    Listener failed to start. See the error message(s) above...
    and copying and pasting the contents of listener.ora file
    # listener.ora Network Configuration File: /u01/app/oracle/product/10.2.0/db_1/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    LISTENER1 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = oracle10g.home.com)(PORT = 2525))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /u01/app/oracle/product/10.2.0/db_1)
    (PROGRAM = extproc)
    SID_LIST_LISTENER1 =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = server)
    (ORACLE_HOME = /u01/app/oracle/product/10.2.0/db_1)
    (SID_NAME = server)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = oracle10g.home.com)(PORT = 1521))
    so as there is only 2 listeners on my machine named as listener which listens at 1521(default) and another which i created listener2 listens as 2525
    so please help me and let me know where iam going wrong
    Thanks in advance ....
    with Regards
    Kavita

Maybe you are looking for

  • Album Track Order Problem

    I have recently noticed that the track order in some of my albums has gone all screwy. Even though when I go to >Get Info, and verify that the track order and disk number is correct, they don't appear in the order listed. For Example, when I sort by

  • Wanted working example of a rich media enhanced magzine

    Does anybody know a working (live) example of a rich media enhanced magzine, preferably a magazine with flipping pages and (a combination of) normal and moving pictures (movies). If so please advise url, because a (moving) picture is more than  a tho

  • Automating sheet creation and naming

    Hi! I have a list of students in Numbers. I would like to automate -creating a new sheet (not file) for each student -naming the sheet with the student's name -inserting the student's name in cell on the sheet. Is it possible to do this without manua

  • Application Server Role missing

    I am using the Server Manager to add server roles and I do not see the Application Server role.  Was that removed or replaced by something else?

  • CRM 2015 - How to limit Field Level Security based on unit/subunit ?

    Hello, I have a problem with field level security.  I have entity entityX, and then have set of financial fields on this entityX. These fields are under field level security profile named "Financials". Next, I have a team which can read/write those f