Telnet client - multiple servers

Hi,
Is it possible to configure multiple telnet servers on the rf terminal's telnet client?
The ideia is to give the user (of the rf terminal) the possibilty to (easily) choose between different telnet servers.
Greetings,
NB

Did you explicitly assign a port for the client? If not, it probably was assigned automatically. So it's likely you have 3 ports connected to a server each. Since you are connected to each server on a separate thread, you'll want to receive the data from each server separately. How did you verify that data was received from one server for a few seconds before switching to the next server?
Humphrey H.
Applications Engineer
National Instruments

Similar Messages

  • Multiple servers and multiple clients on one machine

    Hi,
    I was hoping someone could give me some direction as to how to go about creating multiple servers and muliple clients on the one computer using RMI and threads. I intend to have say 4 servents (able to perform both client and server methods) running on the one computer, with the clients being able to connect to each of the servers. (I'm doing this to emulate using 4 computers, which I don't have!). I know I have to use different ports to do this. How do I go about the following using RMI - start up a server (port number as argument from command line?), which starts a thread listening for connections from the other clients.. when a new connection is established between server and client, then start a new thread which 'handles' that connection.
    The examples I've seen of RMI only deal with single server and single client... I'd appreciate any suggestions as to how to go about this problem!!

    Hi,
    I suggest not to use the rmiregistry program at all
    but to start the registry in a program of your own.
    Then you can specify all you need (url, port, even
    client and server socket) as command line argument.
    You need something like this:
    Registry registry = null;
    Remote server = null;
    try
    { // this succeeds if the registry already runs
      registry = LocateRegistry.getRegistry(yourRegistry);
      server = registry.rebind( yourServer );     
    }catch( RemoteException )
    { // no registry reachable, create one
      registry = LocateRegistry.createRegistry(yourRegistry);                 
      server = registry.rebind( yourServer );     
    }Have fun,
    wiedkla

  • Packaging and deploying jax ws (webservice) in multiple servers

    I am a java developer and new to JAX-WS.
    i got one requirement to create a web service using jax-ws, packaging using ant build and deploying it in JBOSS and WEBSPHERE server.
    The process which i followed to create a web service below:
         1) created a web service class using @webservice annotation
         2) created a client side artifacts using wsimport which is provided by Jdk and created a war and deployed it jboss.
         3) wsdl is getting generated while deploying a war using a URI - (http://localhost:8080/mywebapplication/routing?wsdl)
         4) create client class to call the webservice. everything is working fine for me.
    Need your expert input for the following below:
         1) if i write the ant build script to package the client stubs, how i can use wsdl location in wsimport ant task. should i use URI (wsdl="http://localhost:8080/mywebapplication/routing?wsdl") or
    (wsdl="d:/route.wsdl")? which is the best practice?
         2) i want to deploy my webservice in JBOSS and WEBSPHERE in different machine and different port no?
         for e.g
    *     http://ip1:port1/mywebapplication/route?wdl*
    *     http://ip2:port2/mywebapplication/route?wdl*
    *     http://ip3:port3/mywebapplication/route?wdl*
         how to mention dynamic ipaddress and port no while running ant build script?
         how to change the wsdl location and port number in generated wsdl and RoutingService client stubs class dynamically? (dont want to change soad address location manually)
    *     Do i need to use wsgen to generate server stubs?*
    *     Need your inputs in packaging and deploying jax ws in multiple servers.*
    Thanks in advance.

    how to change the wsdl location and port number in generated wsdl and RoutingService client stubs class dynamically? (dont want to change soad address location manually)
    Your client stub should look like that...
    <code>
    @WebServiceClient(name = "MyClientStub", targetNamespace = "http://www.openuri.org/", wsdlLocation = "http://localhost:8080/MyClientStub/MyClientStubProxy/#%7Bhttp%3A%2F%2Fwww.openuri.org%2F%7DMyClientStub?wsdl")
    public class MyClientStub
    extends Service
    public MyClientStub(URL wsdlLocation, QName serviceName) {
    super(wsdlLocation, serviceName);
    </code>
    You can use the constructor above, like that...
    <code>
    URL baseUrl = MyClientStub.class.getResource(".");
    URL url = new URL(baseUrl, "http://your-server:your-port-no/MyClientStub/MyClientStubProxy/#%7Bhttp%3A%2F%2Fwww.openuri.org%2F%7DMyClientStub?wsdl");
         MyClientStub stub = new MyClientStub(url, new QName("http://www.openuri.org/", "MyClientStub");
    </code>

  • Collecting Notifications from multiple servers and applications

    Hi,
    I'm researching JMX technology for our Enterprise-wide monitoring needs.
    I've got a good understanding of how to create jmx connections and instrument resources for monitoring in a 1-to-1 jmx client to application scenario.
    However, I need to manage (and collect notification alerts) from multiple servers/applications.
    Any ideas where to start learning how to do this?
    Thanks,
    Jon

    Hi Gavin,
    So, you're looking into JMX monitoring solutions too. great! I've collected some good links and examples.
    You can email me privately at jcolby550 "at" hotmail "dot" com, maybe we can share ideas.

  • Multiple Servers with same Remote Interface?

    Is it possible to declare the same remote interface on multiple RMI servers? Secondly, is it possible to pick which RMI server will manage a particular request?
    In other words, imagine if multiple servers could service a particular request that has the same signature, but the client wants to specify which server to send the invocation. An example would be the following:
    public String getPhoneNumber(String pLastName) ;But the client should decide that server A should manage requests of last names starting with A-G, server B should handle H-P, and server C should handle Q-Z. The remote method invocation is the same, but the server upon which is should be invoked needs to be determined at runtime.
    I realize this can be done multiple ways, with an interim proxy server that designates the server. However, I'm most interested in the ability within the RMI and/or JNDI standard to select and invoke methods on a particular server.
    Thanks for any help.

    "Server" is a little bit vague in this context.
    My assumption is that you want separate RMI servers running on separate hosts. (Otherwise, why bother with multiple "servers"?)
    That being said, it's not clear to me how you would expect RMI to sort out something as application-specific as you suggest. It sounds to me like you need your own registry/redirector. This is going to either be an rmiregistry rewrite by you, or - as was suggested by another poster - a proxy.

  • Deploy project to multiple servers

    Hi,
    Does anyone know if it is possible to deploy a process to multiple servers at once (from one central point)??
    In our test environment we only have a few services running, but when we go live, this number would increase. Therefor it would be a time-saving point if we could impress our clients with such a reason.
    Kind regards,
    René

    I would implement such a deployment configuration using ant by extending the default build.xml generated by ant. ant has a lot of built-in task that can help with remote deployment. -Edwin

  • Login questions - multiple servers - vpn

    My goal is to permit users to login from their home PCs over a Cisco
    VPN (IPSec client) without using the Novell client. Servers are
    running NetWare 6.5 sp7 with CIFS. Test client is XP. I can login
    and access the servers, but I am trying to simplify things.
    After the client connects over the VPN, I issued the following
    commands:
    net use L: \\192.168.1.1\data4
    net use N: \\192.168.1.3\apps
    I get prompted to login to each server. Is there a way to access
    multiple servers with a single login instead?
    Is it possible to use the Cisco VPN username and password to
    seamlessly login and not get prompted for another username and
    password to access my servers?
    Thanks for the help.
    Regards,
    Ken Etter
    Novell....it does a server good!

    On Wed, 24 Feb 2010 18:09:38 GMT, KeN Etter
    <kle@_remove_this_msktd.com> wrote:
    >After the client connects over the VPN, I issued the following
    >commands:
    >
    >net use L: \\192.168.1.1\data4
    >net use N: \\192.168.1.3\apps
    >
    >I get prompted to login to each server. Is there a way to access
    >multiple servers with a single login instead?
    >
    >Is it possible to use the Cisco VPN username and password to
    >seamlessly login and not get prompted for another username and
    >password to access my servers?
    A little searching solve this. I found this page:
    http://www.digitalissues.co.uk/html/...re-smb.html#18
    Short answer: If my Windows username and password matches my
    eDirectory username and simple password, then I can immediately access
    all servers without an additional login and without a login per
    server. If they do not match, then I will get a per server prompt to
    login.
    If anyone knows how to make that per server prompt into a single
    login, I would greatly appreciate it.
    Regards,
    Ken
    Novell....it does a server good!

  • Telnet Client?

    Hey, brand new Mac user here, and pretty much a novice in all things computer related. I'm enrolled in a web publishing class through my university and I'm trying to get away with using iweb, however I'm not entirely sure how to publish to the universities browser. I've got one guy telling me what I need is a "telnet client" again, novice, not a clue what that means or where to locate that. Any help would be greatly appreciated.

    I'm
    not entirely sure how to publish to the universities
    browser.
    Instead of "browser" you mean "server."
    I've got one guy telling me what I need is a
    "telnet client" again
    You need an ftp client.
    Here are some tips for using iWeb with other servers:
    http://homepage.mac.com/thgewecke/iwebserver.html

  • How to deploy the same WebService to multiple servers

    Hi
    I have to deploy the same webservice + its clients to multiple servers. However, the WS URL is hardcoded in its descriptor, as well as in the client, so it means that I have to rebuild everything each time I want to deploy it to a new server.
    How can I set the URL dynamically at runtime?
    Thanks a lot
    Jean-Noel

    Hi There,
    I think what you can do is once you create your webservice , it has a property called
    SOAP RPC URL which you can edit before you create the wsdl and the client.
    Hope that helps
    Kishore

  • ASA Remote Access VPN Clients - Multiple DNS Suffixes?

    Hi community!
    I am setting up a new remote access VPN using the traditional IPSec client via ASA 5515-X runnning OS 8.6.1(5).
    We require to provide each client multiple DNS suffixes, but are only to provide a single DNS suffix in the grouip policy.
    I have tested using an external DHCP server, but using our Windows Server 2008 infrastructure and Option 119 the list is not provided to clients, and I have read that Windows 7 clietns may ignore this option anyway.
    Other than umanually configuring the clients , does anybody have any other suggestions on how we may get this to work?
    Full marks for helpful posts!
    Kind regards, Ash.

    Hi
    I am looking into the same issue, and I am finding conflicting documentation about this and wondered if you got the answers you were looking for.
    I have a remote access requirement for users from separate AD's to authenticate through an ASA.
    I was reading about Global Catalogue Server but this is not specifically what I want; and also creating a new AAA server group but the user would need to accept which group to use when they log in
    Regards

  • How to set up  Planning on Multiple Servers

    Hi,
    1) I am trying to install a Finance Planning application so that it runs on one Planning Web Server and the other operations Planning application on another Planning 9.3.1 web server. Is that possilbe?
    2) May be unrelated question:
    HP_Windows_Install.pdf has only a few lines explaining how to set up Planning on Multiple Servers. Is it as simple as that?
    Here are the "few lines" from install.pdf:
    Perform the same installation and configuration process on your secondary servers, making sure to choose
    Planning Web Server component for any secondary server.
    Make sure you select Reuse existing tables when prompted during the Configure a Database task
    in the Configuration utility.

    Tomcat.
    But it will be nice to know the steps for Weblogic too - as Weblogic will be bundled "free" with future releases of Planning.

  • How to prevent a solaris user to telnet from multiple computers

    Hello,
    How to prevent Solaris users to telnet from multiple computers? They should be able to telnet from only one PC.
    Please help..

    ora_tech have a good point, i was about to suggest ipfilter, which is a built-in-firewall in Solaris, but using tcp wrappers would probably be easier. It all depends on which level of security you want (blocking the telnet requests in a firewall would generally be safer than blocking them at the tcp wrapper level, since its prevents some processing).
    Since Solaris 10 you can also easily enable tcp wrappers on the inetd services with inetadm, see:
    http://blogs.sun.com/gbrunett/entry/tcp_wrappers_on_solaris_10
    .. for more details..
    .7/M.

  • Managing multiple servers

    Not sure what i am looking for at the moment but we have 6 * solaris 9 servers, 5 * solaris 10, about 30 zones and it's only going to get bigger.
    it's become a real pain to manage(add,remove,keep track) users across multiple server/zones. How do other people go about managing multiple servers i for one don't want to log into each box/ zone and create a user accout which is currently what we do.
    Guess what i am looking for is some way of managing all of our boxes from a central point.

    Using a directory service like NIS or LDAP will allow user accounts for many hosts to be created and managed centrally. LDAP is what Active Directory is based on. Sun's implementation is called iPlanet. Sun One Directory Server, or Java Directory service, depending on the phases of the moon.
    For spotting problems on servers (disk full, host down, &c), we use nagios. It's fantastic.
    My employer also spent a good deal of money on opsware, but shall we say the benefits of it are not yet obvious.

  • Having problems with a Java Telnet Client

    I'm trying to write a Telnet Client(for a mud). I've searched the forum but can't seem to find the answer to my problem. The mud sends the ANSI color codes, is there anyway to get java to interpret this, or will I have to make a parser and do all the work by hand?

    Try looking up RFC854 & RFC855. A Google Search will give several references. Other Searches include "Interpret As Command", and "Telnet IAC Options".
    The keys to telnet communications:
    1. Unless it is explicitly a command, it is data.
    2. All Commands start with the Interpret As Command (IAC) character, decimal 255 or hexidecimal ff.
    3. IAC DO/DONT/WILL/WONT Negotiations for a Telnet Option occurs before IAC SB/SE Subnegotiations. DON'T/WON'T is the default Telnet Network Virtual Terminal (NVT) setting for all options.
    4. All Negotiations complete before you get to the data phase.
    5. Be ready for Negotiations, at the start and during the middle of the Telnet Session....
    Here is an example of decoding Telnet
    The remote host may start with the following, shown in decimal:
    255, 253, 3, 255, 253, 24, etc...
    Viewed as UTF text, this appears to be some "y" characters with special accents above them.
    Cheat Sheet:
    255 == Interpret As Command (IAC)
    254 == DON'T, as is "I DON'T support xyz...."
    253 == DO, as in "I DO support xyz..."
    252 == WON'T, as in "You WON'T support abc..."
    251 == WILL, as in "You WILL support abc..."
    250 == SuBnegotiations Start (SB)
    240 == Subnegotiations End (SE)
    The above has 2 commands:
    - 255, 253, 3 == IAC DO Suppress Go Ahead
    - 255, 253, 24 == IAC DO Terminal Type
    Appropriate Responses could be:
    - 255, 251, 3, 255, 251, 24, etc....
    OR
    - 255, 252, 3, 255,252, 24, etc...
    OR
    - 255, 251, 3, 255, 252, 24, etc...
    OR
    - 255,252, 3, 255, 251,24, etc...
    Once you get the remotes questions answered, you can move on to the real work of passing data.
    Cheers,
    Joel.

  • Folder Comparison from multiple servers

    I need to compare folders from multiple servers which do not have direct connection so i was trying to generate a text file with command dir /b /s >c:\server1.txt and feed them to script to compare. 
    my desired output is csv file in the following format
    File name,Server1,server2,server3,is it missng file?
    File1,yes,yes,yes,No
    file2,Yes,Yes,No,Yes
    File3,Yes,No,Yes,Yes
    File4,No,Yes,Yes,Yes
    these folders contains few hundred thousand files and the script is taking 4 to 5 hours to run the comparison. i thought threads will help to run fast using parallel processng but did not help. i have no expreience with threads and after searching for examples
    and implementing it was even slower than normal. 
    i probably am doing something wrong. Any help is much appreciated. 
    The following is the script so far and it works fine but its taking long time.
    [array]$contentArray = @()
    [array]$allfileslist = @()
    [array]$uniquefileslist = @()
    [array]$allfilesSRVlist = @()
    [array]$srvlist = @()
    $FolderName = Split-Path -parent $MyInvocation.MyCommand.Definition
    $reportName = $FolderName + "\ComparisonReport3.csv"
    $ListOfFiles = get-childitem $FolderName
    $List = $ListOfFiles | where {$_.extension -ieq ".txt"}
    $list.count
    $index = 0
    foreach($listitem in $List){
    $listfilename = $listitem.FullName
    $listname = $listitem.Name
    $listname = $listname.replace(".txt","")
    $srvlist = $srvlist + $listname
    write-host $listfilename
    #$StrContent = get-content $listfilename
    $StrContent = [io.file]::ReadAllLines($listfilename)
    $contentArray += ,@($StrContent)
    $StrContent.count
    $contentArray[$index].count
    $index = $index + 1
    for($i = 0;$i -lt $index;$i++){
    $allfileslist = $allfileslist + $contentArray[$i]
    $allfileslist.count
    $uniquefileslist = $allfileslist | sort-object | get-unique
    $Stroutline = "File Name,"
    foreach($srvlistitem in $srvlist){
    $Stroutline = $Stroutline + $srvlistitem.ToUpper() + ","
    $Stroutline = $Stroutline + "Is it Missing file?"
    Write-Output $Stroutline | Out-File "$reportName" -Force
    foreach($uniquefileslistitem in $uniquefileslist){
    $Stroutline = ""
    $missingfile = "No"
    $Stroutline = $uniquefileslistitem + ","
    for($i=0;$i -lt $index;$i++){
    if($contentArray[$i] -contains $uniquefileslistitem){
    $Stroutline = $Stroutline + "Yes,"
    else{
    $Stroutline = $Stroutline + "No,"
    $missingfile = "Yes"
    $Stroutline = $Stroutline + $missingfile
    Write-Output $Stroutline | Out-File "$reportName" -Force -Append
    $j++
    Following is the script i modified using threads example. this is running even slower.
    [array]$contentArray = @()
    [array]$allfileslist = @()
    [array]$uniquefileslist = @()
    [array]$allfilesSRVlist = @()
    [array]$srvlist = @()
    $FolderName = Split-Path -parent $MyInvocation.MyCommand.Definition
    $reportName = $FolderName + "\ComparisonReport3.csv"
    $ListOfFiles = get-childitem $FolderName
    $List = $ListOfFiles | where {$_.extension -ieq ".txt"}
    $list.count
    $index = 0
    #$contentArray = New-Object 'object[,]' $xDim, $yDim
    foreach($listitem in $List){
    $listfilename = $listitem.FullName
    $listname = $listitem.Name
    $listname = $listname.replace(".txt","")
    $srvlist = $srvlist + $listname
    write-host $listfilename
    #$StrContent = get-content $listfilename
    $StrContent = [io.file]::ReadAllLines($listfilename)
    $contentArray += ,@($StrContent)
    $StrContent.count
    $contentArray[$index].count
    $index = $index + 1
    for($i = 0;$i -lt $index;$i++){
    $allfileslist = $allfileslist+ $contentArray[$i]
    $allfileslist.count
    #$uniquefileslist = $allfileslist | select –unique
    get-date
    $uniquefileslist = $allfileslist | sort-object | get-unique
    $uniquefileslist.count
    get-date
    $Stroutline = "File Name,"
    foreach($srvlistitem in $srvlist){
    $Stroutline = $Stroutline + $srvlistitem.ToUpper() + ","
    $Stroutline = $Stroutline + "Is it Missing file?"
    Write-Output $Stroutline | Out-File "$reportName" -Force
    $j = 1
    $count = $uniquefileslist.count
    $stroutput = ""
    $maxConcurrent = 50
    $results= ""
    $PauseTime = 1
    $uniquefileslist | %{
    while ((Get-Job -State Running).Count -ge $maxConcurrent) {Start-Sleep -seconds $PauseTime}
    $job = start-job -argumentList $_,$contentArray,$index -scriptblock {
    $StrArgFileName = $args[0]
    $ArgContentArray = $args[1]
    $ArgIndex = $args[2]
    $Stroutline = ""
    $missingfile = "No"
    $Stroutline = $StrArgFileName + ","
    for($i=0;$i -lt $ArgIndex;$i++){
    if($ArgContentArray[$i] -contains $StrArgFileName){
    $Stroutline = $Stroutline + "Yes,"
    else{
    $Stroutline = $Stroutline + "No,"
    $missingfile = "Yes"
    $Stroutline = $Stroutline + $missingfile
    $Stroutline
    While (Get-Job -State "Running")
    Start-Sleep 1
    $results = Get-Job | Receive-Job
    $results
    $stroutput = $stroutput + "`n" + $results
    Remove-Job *
    Write-Output $stroutput | Out-File "$reportName" -Force -Append
    Thank you very much!
    Vamsi.

    no i am not comparing the number of lines.. count i used was only for my information... it has nothing to do with the compare. here is the script with out count... 
    [array]$contentArray = @()
    [array]$allfileslist = @()
    [array]$uniquefileslist = @()
    [array]$allfilesSRVlist = @()
    [array]$srvlist = @()
    $FolderName = Split-Path -parent $MyInvocation.MyCommand.Definition
    $reportName = $FolderName + "\ComparisonReport3.csv"
    $ListOfFiles = get-childitem $FolderName
    $List = $ListOfFiles | where {$_.extension -ieq ".txt"}
    $index = 0
    foreach($listitem in $List){
    $listfilename = $listitem.FullName
    $listname = $listitem.Name
    $listname = $listname.replace(".txt","")
    $srvlist = $srvlist + $listname
    $StrContent = [io.file]::ReadAllLines($listfilename)
    $contentArray += ,@($StrContent)
    $index = $index + 1
    for($i = 0;$i -lt $index;$i++){
    $allfileslist = $allfileslist+ $contentArray[$i]
    $uniquefileslist = $allfileslist | sort-object | get-unique
    $strfinal = "File Name,"
    foreach($srvlistitem in $srvlist){
    $strfinal = $strfinal + $srvlistitem.ToUpper() + ","
    $strfinal = $strfinal + "Is it Missing file?"
    foreach($uniquefileslistitem in $uniquefileslist){
    $missingfile = "No"
    $Stroutline = $uniquefileslistitem + ","
    for($i=0;$i -lt $index;$i++){
    if($contentArray[$i] -contains $uniquefileslistitem){
    $Stroutline = $Stroutline + "Yes,"
    else{
    $Stroutline = $Stroutline + "No,"
    $missingfile = "Yes"
    $Stroutline = $Stroutline + $missingfile
    $strfinal = $strfinal + "`n" + $Stroutline
    Write-Output $strfinal | Out-File "$reportName" -Force -Append
    if you want to test it... just create two text files and put them in the same folder as the script. 
    server1.txt will have the following content
    filename1
    filename2
    filename3
    server2.txt will have the following content
    filename1
    filename2
    filename4
    it should generate the csv file ComparisonReport3.csv
    filename,server1,server2,Is it Missing file?
    filename1,yes,yes,no
    filename2,yes,yes,no
    filename3,yes,no,yes
    filename4,no,yes,yes

Maybe you are looking for

  • How do you invoke a simple jsp

    hi, i have a very simple jsp that displays the current time. it works on my tomcat server (installed on my computer). i purchased a domain from yahoo, say, www.beginer.com and uploaded the jsp file to the yahoo server. but when i referenced it with t

  • Need user exit or BADI name

    Hi   I have the below requirement. In the transaction Me51n, in the item data->valuation tab when the valuation price is greater than 5000.then it should display an error message 'user should not enter mothan price Rs 5000'. Please provide me the use

  • How to run a file in trusted mode?

    Okay, so I have a .swf that I run on my PC, that communicates with other linux boxes, etc... across my network based on IP address.  It works great, once the folder that swf resides in is trusted in the Global Settings Manager. Now, here's the proble

  • How can I find out if an installation of Unified Development Server is 128 or 40 bit encryption

    I have UDS installed, I would like to know whether its 128 or 40 bit encryption

  • Scene selection only allows first chapter to play in previews

    In the scene selection screen, iDVD will show each chapter in the movie and allows you to play a short movie clip as a preview. I would think that each chapter would allow you to play a portion of video from that chapter. But instead, iDVD only allow