Open server socket in terminal server

my application needs open a server socket, but this app will be used in a terminal server environment, does anybody know in the terminal server case, if it's successful for multi-user to open a same server socket(eg:127.0.0.1:8080)?
thanks,
Jack

yes, normally for server socket I think so, but i thought for terminal server every session for the seperate user point of view it's a different but identical connection. but seems i am wrong.
thanks
Jack

Similar Messages

  • How to open two sockets in one single server

    May I open two sockets with different listening port numbers in a single server? For each socket, the way to deal with the inputstream and outputstream is different. May the thread be like this:
    public class twoSocketServer implements Runnable {
    public twoSocketServer() {
    try{
    SSLServerSocketFactory fact = SSLServerSocketFactory.getInstance(rand, selfPrivateKey, selfCertificate, trustEngine, null);
    serverSocket1 = (SSLServerSocket) fact.createServerSocket(ListeningPort1);
    serverSocket1.setNeedClientAuth(false);
    serverSocket2 = (SSLServerSocket) fact.createServerSocket(ListeningPort2);
    serverSocket2.setNeedClientAuth(false);
    } catch {...}
    public void run()
    while(true)
    try
    SSLSocket socket1 = (SSLSocket) serverSocket1.accept();
    new handler1(socket1).start();
    SSLSocket socket2 = (SSLSocket) serverSocket2.accept();
    new handler2(socket2).start();
    } catch {...}
    class handler1 extends Thread {...}
    class handler2 extends Thread {...}
    Is there something wrong with this idea? If yes, how can I correct it? Thanks.

    try
    SSLSocket socket1 = (SSLSocket)
    serverSocket1.accept();
    new handler1(socket1).start();
    SSLSocket socket2 = (SSLSocket)
    serverSocket2.accept();
    new handler2(socket2).start();
    Is there something wrong with this idea? If yes, how
    can I correct it? Thanks.You can do it.
    In the above code block you are going to need two threads. One for each SocketServer. The accept() method blocks until it recieves a connection. So in your above code it would first wait only for a connection on port 1. Then it would wait only for a connection on port 2. And then start over. That probably isn't what you want.

  • Error Installing 8i in UNIX Open Server 5.0.5

    Dear Friends,
    When I installing Oralce8i in Unix open Server 5.0.5 box,I am getting this error.
    relocation error: symbol not found:real path.
    I copied the entire oracle 8i disk to location /orasoft and from there I am running the ./runInstaller
    Installtion starts with the message
    Initializing Java Virtual Machine from ../stage.Components/oracle.swd.jre.1.1.7/DataFiles/Expanded/jre/unixware/bin/../bin/i386/green_threads/jre:relocation error:symbol not found: real path
    Pl. Help to overcome this problem
    Thanx,
    Rams.
    null

    user4306972 wrote:
    Hi all,
    I need help in installing 8i on win 2000 server.What should i do???????/
    Hardware is Intel(R) Xeon(TM) cpu 3.40 GHz, RAM =2GB.
    Is the above hardware is compitible with 8i installation
    I would appreciate your valuable suggestions.
    Regards,
    Asma.
    Edited by: user4306972 on Dec 9, 2009 1:02 AMI've already given you several suggestions: "surely you realize that Win 2000 server didn't even exist until long after 8i was fully *DE*-supported ..."
    That means 8i was never certified on Win 2000. That means there's no guarantee that you can install it, or that it will work after installed.
    But if you are determined to go down this totally uncertified, unsupported path, my only suggestion is to go back and read ... and heed ... all the points in the fine installation guide. Particularly the part about installing the loopback. Don't assume "I don't need that". Just do what the install guide says.

  • When start tomcat on centOS 5.6, got application.log error: Could not open server properties

    Hi
    I follow  FAXS_2_0_Quickstart and start tomcat. The check
    http://centos:8080/flashaccessserver/flashaccess/license/v1
    is ok. But the log file say
    2011-04-21 15:57:59,122 FATAL [com.adobe.flashaccess.refimpl.packager.RefImplPackagerServer][] - Could not open server properties
    java.io.FileNotFoundException
            at com.adobe.flashaccess.refimpl.packager.RefImplPackagerServer.packagerSetup(RefImplPackage rServer.java:98)
            at com.adobe.flashaccess.refimpl.packager.RefImplPackagerServer.run(RefImplPackagerServer.ja va:165)
            at java.lang.Thread.run(Thread.java:636)
    2011-04-21 15:57:59,125 INFO [com.adobe.flashaccess.refimpl.packager.RefImplPackagerServer][] - Exiting Packager thread.
    Which file is it refer to ?
    Where is the propert file to set this?

    Hello,
    It looks like at one time or another, you tried setting up the Flash Access Reference Implementation License Server.  Part of that package is a packaging server (which interfaces with a Graphical UI to package content).  The error you're seeing below suggests something from the Reference Implementation is left behind.
    I suggest doing the following:
    1. Shut down your Flash Access license server
    2. Remove the following from your <tomcat installation directory>/webapps
         2a. (file) flashaccess-packager.war
         2b. (directory) flashaccess-packager
    3. Remove the directory <tomcat installation directory>/work/Catalina
    4. Remove the directory <tomcat installation directory>/conf/Catalina
    5. Start your server
    Also - something to note is that your logfile seems to indicate only an issue was found with the packager deployment.  If there are no issues around the flashaccessserver, then your license server should still work, as those 2 different services (packager server & license server) are independent of each other.
    cheers,
    /Eric.

  • Every time I open Server Admin one server complains: (kNetworkError)

    Every time I open Server Admin I receive the following error:
    +The service has encountered an error. Try to refresh the view (foobar.myserver.edu/Server). Report the problem to the administrator if it persists. (kNetworkError)+
    * The error happens only with one of the 6 servers I have on my list.
    * I tried running Server Admin from multiple other machines and the issue is always reproduced.
    * The problem surfaced sometime last year, and updates 10.5.5 to 10.5.7 have not solved the issue.
    * The network is properly setup with Static IP and DNS.
    * Running changeip returns: "The names match. There is nothing to change".
    * Server runs OD, AFP, MAIL XGRID, WEB, and PCP, all systems are fully operational.
    Any ideas where to start?

    The same error appeared on my test server at home tonight. I upgraded to 10.5.7 this afternoon. server logs showing:
    May 27 22:57:52 advanced com.apple.launchd[1] (com.apple.pcastserverd): Throttling respawn: Will start in 1 seconds
    May 27 22:57:59 advanced pcastserverd[6013]: Checking permissions on /podcast
    May 27 22:57:59 advanced pcastserverd[6013]: /podcast is not read/execute by other
    May 27 22:57:59 advanced pcastserverd[6013]: Cannot launch pcastserverd -- invalid configuration
    May 27 22:58:00 advanced com.apple.launchd[1] (com.apple.pcastserverd[6013]): Exited with exit code: 1
    May 27 22:58:00 advanced com.apple.launchd[1] (com.apple.pcastserverd): Throttling respawn: Will start in 4 seconds
    May 27 22:58:20 advanced pcastserverd[6014]: Checking permissions on /podcast
    May 27 22:58:20 advanced pcastserverd[6014]: /podcast is not read/execute by other
    May 27 22:58:20 advanced pcastserverd[6014]: Cannot launch pcastserverd -- invalid configuration
    May 27 22:58:21 advanced com.apple.launchd[1] (com.apple.pcastserverd[6014]): Exited with exit code: 1
    I had had Podcast Producer and Xgrid set up on this server when testing but they have since been turned off.
    I went into Settings / Services and unchecked them. The error message has now gone and the other services come on line quickly. The log list is still occurring though. This may stop after a restart, which I have timed for the middle of the night.
    Hope this helps.

  • After Effect CS6 not open server dynamik link ? why ?

    Hi, how open server dynamik link ? to After Effect CS6
    PC: Windows 7 ( 64 bit )  3 Go de RAM GeForce GT 610
    help me please

    What, exactly, are you trying to do? We don't have nearly enough information to help you.
    What steps you're taking and the exact text of any error messages are necessary. As is the rest of this: FAQ: What information should I provide when asking questions?

  • I have Mac OSX maxmini; Safari states "can't open server since starting with 'open-help-anchor'.  How do I get into the web site this is blocking?

    I have Mac Mini OSX 10.6.2; Safari states "can't open server since url starting with 'open-help-anchor'.  I didn't type this but possibly I was hijacked but it only occurs on the specific banking site I'm trying to get into.  How do I get into the web site I've always been able to get but now this is blocking it?   Is this related to cookies?

    https://discussions.apple.com/message/25085868#25085868
    I started a thread in safari maverics, I ment to put it in iOS Safari.  New Thread lists all the steps I've taken.  No I haven't tried another browser.  I've only ever used Safari on my iDevices.

  • Unable to complete login process due to delay in opening server connection

    Hi Experts !!!
    In my client machine , when ever i start SAP application , i need to choose the server and enter UID and PWd.
    but it is not getting connected to server , and throws error as
    "connection failed :
    SQL State : 08001
    SQL Server Error : 0
    [Microsoft][Sql Native Client]Unable to complete login process due to delay in opening server connection ." *
    Any suggestions woould be appreciable
    Regards
    Krishna Vamsi

    Hi, I had similar connections problems at a clients site recently, the following helped me resolve the issue:
    SAP provided the following solution as a workaround:
    SAP Business One client (not installed on the same machine as the
    license service) might take several minutes to log you on successfully due to a delay in establishing a connection with the license server.
    After logon, SAP Business One functions as expected.
    This is due to the fact that the server or PC on which the license server is installed has more than one network card, or there is a dial-up & VPN interface-configured server.
    Note: This can happen when you install the license service on a machine with more than one network card ALREADY installed.
    Installing additional network cards on a single network card machine with a license service already installed might not produce this issue.
    Other terms
    SAP Business One, slow, login, log-in, delay, license, server, NIC, VPN, connection.
    Reason and Prerequisites
    Application error.
    Solution
    This issue is a candidate to be resolved in a future release.
    Until then, you can use one of the following workarounds:
    1.Disable additional network cards in the Network Connections. Also make sure there is no dialup interface or VPN interface set up, and restart the server. Note that you can re-enable the additional network card after the restart. This will resolve the issue until the next restart.
    2.Install the license server on a machine with a single network card.
    3.Disable all network cards, restart the license server and then enable the network cards again.
    Disabling one of the network cards sorted it.  This may or may not be the same problem you are facing though.
    Regards,
    Adrian

  • Sybase Open Server equivalent

    Is Advanced Queuing (AQ) the equivalent to Sybase Open Server?

    Hi Kedar,
    As far as I know there is not a trial version of the Open Server. You can try the SDK for SAP ASE but it is missing the libsybsrv binary which is the primary binary in OpenServer.
    You can talk to your sales person and see if they get you a trial version of the Software.
    If you want to look at the SDK for SAP ASE. At the end of this blog tells you how to get the free SDK, this became available toward the mid year of 2014:
    http://scn.sap.com/thread/3360231
    Thanks,
    Dawn Kim

  • Opening a socket from an applet

    I tried to open a socket from an applet to a server on a remote computer and I've got a refusal message.
    When I try it on a server in the local machine, it works.
    What could be the problem ?
    P.S. : when I open the socket from an application in the Java environment, to the same remote server it works ok.

    this is part of the security system built into java and Applets
    unless you sign an Applet it cannot do many "dangerous" things, like..
    access the loacl file system
    connect to any server except the server that it came from

  • Applet not opening a socket on its own host. Please help.

    I have also posted this in JSC2 forum.
    My applet is not able to open a socket on its own host.
    The applet is being served by a JSP (developed using Sun Creator2) from my laptop behind a DHCP broadband router at (say) 125.238.104.132 at my residence. I have a URL �samsub.no-ip.biz� that redirects port 80 calls to 29080 where my application runs. All required router rules/mapping are done and the JSPs run perfectly fine. In one of the pages, I have inserted an applet inside an escape disabled statictext field as follows:
    <applet code="AppClient.class" width=540 height=440></applet>
    The applet code and the test server code are shown below for your analysis. Note that, when run on the same machine (at home), the applet works fine. The commented lines will show other failed test. The error reported at the java console was: null pointer at line 56
    Could someone help me please. Thanx. MarySam
    The applet code
    1     import java.util.*;          
    2     import java.awt.*;          
    3     import java.applet.*;          
    4     import java.text.*;          
    5     import javax.swing.*;          
    6     import com.sun.java.swing.plaf.windows.*;          
    7     import java.awt.event.*;          
    8     import java.net.*;          
    9               
    10     public class AppClient extends Applet {          
    11     JInternalFrame jif;          
    12     JTextArea jta1, jta2;          
    13     Socket kkSocket = null;          
    14               
    15     public void init() {          
    16          try {     
    17               LookAndFeel lf = new WindowsLookAndFeel();
    18               UIManager.setLookAndFeel(lf);
    19          kkSocket = new Socket("125.238.104.132", 4444);
              //kkSocket = new Socket("samsub.no-ip.biz", 4444);
              //kkSocket = new Socket("125.238.104.132:29080", 4444);
              //kkSocket = new Socket("samsub.no-ip.biz:29080", 4444);
    20          }      catch(Exception e) {}
    21               
    22          setLayout(null);      
    23          setBackground(Color.black);     
    24          jif = new JInternalFrame();     
    25          jif.setLocation(20,20);     
    26          jif.setSize(500,400);     
    27          Container con1 = jif.getContentPane();     
    28          con1.setLayout(null);     
    29               
    30          jta1 = new JTextArea();      
    31          JScrollPane jcp1 = new JScrollPane(jta1);     
    32          jcp1.setBounds(10,10,410,100);     
    33          con1.add(jcp1);     
    34               
    35          jta2 = new JTextArea();     
    36          JScrollPane jcp2 = new JScrollPane(jta2);     
    37          jcp2.setBounds(10,115,470,245);     
    38          con1.add(jcp2);      
    39               
    40          JButton jb = new JButton("Go");     
    41          jb.setBounds(425,10,60,30);     
    42          jb.addActionListener(this);     
    43          con1.add(jb);      
    44               
    45          JLabel jlb = new JLabel();     
    46          jlb.setOpaque(true);     
    47          jlb.setBackground(Color.gray);     
    48          jlb.setForeground(Color.white);      
    49          jlb.setBounds(425,50,60,30);     
    50          con1.add(jlb);      
    51               
    52               
    53          jif.setVisible(true);     
    54          add(jif);      
    55          //jta2.setText(getCodeBase().toString());     
    56          jta2.setText(kkSocket.getInetAddress().toString());     
    57               
    58     }          
    59               
    60     public void start() {}          
    61               
    62     public void stop() {}          
    63               
    64               
    65     }          
    66               
    67               
    The test server Code
    1     import java.net.*;                         
    2     import java.io.*;                         
    3                              
    4     public class MyServer {                         
    5     public static void main(String[] args) throws IOException {               
    6                              
    7     ServerSocket serverSocket = null;                    
    8     try {                         
    9     serverSocket = new ServerSocket(4444);                    
    10     } catch (IOException e) {                         
    11     System.err.println("Could not listen on port: 4444.");          
    12     System.exit(1);                         
    13     }                         
    14                              
    15     Socket clientSocket = null;                         
    16     try {                         
    17     clientSocket = serverSocket.accept();                    
    18     System.out.println(clientSocket.getInetAddress().toString());          
    19     } catch (IOException e) {                         
    20     System.err.println("Accept failed.");                    
    21     System.exit(1);                         
    22     }                         
    23                              
    24     clientSocket.close();                         
    25     serverSocket.close();                         
    26     }                         
    27     }                         
    28                              
    29

    Hi Guys,
    I'm not actually from Mozilla Firefox, but I've had this problem before, and I've solved it with the help from another website.
    What you need to do is download a programme called "tdsskiller" from here:
    http://www.geekpolice.net/t23369-computer-infected
    scroll down the page and you should see a link. (I know the article itself seems irrelevant to your problem, but trust me, the programme they recommend works on this virus too.) It's only 1.3MB or so, so it doesn't take up huge amounts of space either! :)
    I can safely say that it is COMPLETELY safe to download this from geekpolice.net, as this website is a free website which helps people with viruses on their computer. If you ever have another problem with anything to do with computers, go and have a look on geekpolice.net, they should have something that might help you.
    Before anyone wonders why I am singing its praises so much, no I am not advertising them for any personal gain, but they have helped me get rid of some pretty nasty viruses on my computer before, so I am very grateful to them :)
    SO, anyway, after you've downloaded the tdsskiller, you should run it, and it may find some infected files, in which case let it repair them. After rebooting your computer, the annoying opening tab thing should be gone!
    I hope this works for anyone who's stuck :) If it doesn't, I'm really sorry, but it has definately worked for me!
    Good luck!
    Yashmeee :)

  • Redeploy fails after trying to open a socket to an invalid IP address

    I'm having a problem with a servlet on the JSE8 application server. In this servlet I write to a socket. Everything is fine if the IP address I write to is valid, however if I try to open a socket to an ip address that doesn't exist I get an exception of course. However, after this if I try to redeploy the servlet I get an error saying the directory can't be deleted and the redeployment fails. Any ideas on what might be causing this issue?

    Hey ioannis,
    So I would recommend starting from scratch on this one and seeing if we can get things to work.  I would recommend following these steps:
    Make sure that you have access to port 80, which is what LabVIEW and the Web Server uses for communication.  This might mean turning off virus checkers or firewalls, as Altenbach suggested.
    Restart your computer.  This is to make sure that there isn't anything already accessing this port that is conflicting.
    Start LabVIEW once the computer is back up.
    Open the VI that you would like to publish.  I might recommend using an Example just to test, but you could use your program.
    Select Tools » Web Publishing Tool (WPT).
    On the bottom of the WPT window, press the Start Web Server button.
    Configure your VI as you would like.  You can probably just use the defaults for now. 
    Select Save to Disk and replace the file if necessary.
    Hightlight the address that comes up in the Document URL window and press Ctrl+C to copy it.
    Open Internet Explorer and past the URL into the address bar on the development computer. 
    These steps should be all that is necessary to use the WPT, so please follow them and let me know if they help or not. 
    Thanks!
    Andy F.
    Message Edited by Andy F. on 03-17-2006 12:41 PM
    National Instruments

  • Failed to open a socket connection to the Authentication Manager

    Hello,
    When I use utcapture command, I get the error *�Failed to open a socket connection to the Authentication Manager�*.
    SO: Solaris 10 8/07
    SRSS: Sun Ray Server Software 4.0
    LAN Configuration
    Thanks.

    Since the question was also posted to the sunray-users alias, see http://www.filibeto.org/pipermail/sunray-users/2007-December/008281.html for the answer. (Which currently seems to be that the Sun Ray auth daemon was not running.)

  • Error opening a Socket

    Hi
    I am getting delay in opening a socket in my application.
    I have a listener service listening on a particular port. There are 2 entities that try to connect to this service - One is a standalone C batch program and other is Java Web application.
    Both these programs use sockets to connect to this service.
    Now about once a month (under some unknown scenario) the C batch faces a problem. It takes about 10-15 seconds to open the connection. In some retries it was not able to open the connection also. Under normal scenarios it does not take more than 100 millisec to do the same.
    I saw the code but could not find any reason why this should happen. The only suspicious part of code was Java code, which while opening the socket in catch block, does not close the socket.
    Please guide me on this problem. Also is there any limitation on how many sockets can be opened on a port in Java /C?

    There's a platform limit on the number of file descriptors. The Java code (and the C code) should certainly close the socket, via all possible execution paths, any time it gets an EOF or any exception other than a SocketTimeoutException.

  • Unable to open a socket to talk to CMS (FWM 01005)

    Hi,
    I am running the monitoring probes every 15 minutes or so and once in while, the probes return this error message:
    Unable to open a socket to talk to CMS (FWM 01005) {/quote}
    Can anybody tell me what this error means and what I can do to avoid it?
    Or is there a place where I can find definitions of error message in BusinessObjects.
    PS: BO XI 3.1 SP3 .net
    Thanks,
    Aude Freeman

    The error message(s) is mainly seen when trying to authenticate a user during login into BusinessObjects Enterprise. The error can be seen under following different actions:
    Login to InfoView or
    From CCM panel, click on "Manage Servers" and try to login or
    Preview a Xcelsius Dashboard based on QaaWS or Live Office connection that is set to refresh on load and try to login in the authentication box that comes up.
    Looks like once in a while you have either CMS too busy to answer or some network issues.

  • Open a socket from a LAN (with a proxy connect to internet) to outside

    Hi everybody
    I have a chat program that opens a socket through which I sent voice data. Every one that wants to receive voice must open a sockect to the computer sending the voice. (It means that if you want to send data you must open a socket to another computer and if you want to receive you S.O. must open a socket to you). It works ok with all computers inside the LAN. Now I'd like to stablish a connection to a computer which is outside this LAN (my computer at home). From here, using some ports which are not closed by the firewall at the proxy I can connect my computer at home.
    My questions are:
    Can I use the same socket to send and receive data? Or they are only 'one-way' direction, so I need another socket from home to here?
    How can I open the socket from home to here? Is there a way to send my computer at home the whole addres at work? I mean sent my computer at home my 'mac address' or something so the proxy knows where to send the packages received from outside?
    Thanks,
    Dani.
    I WILL GIVE YOU 10 DUKES IF YOUR SOLUTION WORKS.

    How can I open the socket from home to here? Isthere
    a way to send my computer at home the whole addresat
    work? I mean sent my computer at home my 'mac
    address' or something so the proxy knows where to
    send the packages received from outside?This can't be done (as far as I know).
    /KajOr, well. You might be able to configure the proxy to do port forwarding, but I guess that you don't want to do that?

Maybe you are looking for

  • Cannot delete files from the itunes music folder

    I am running mac 10.6.7 and itunes 10.4. When i delete music or podcast from the library in itunes, I get a warning whether i would like to keep or move the file to trash. I respond i want to move the file to trash, however this does not happen, no f

  • IPhoto crashes when trying to upgrade my library

    I'm running Snow Leopard and just upgraded to iPhoto 11. When I launch iPhoto it tells me I need to upgrade my library so it starts to do so and about 70% of the way through it freezes and crashes the app. Here is the crash report. This has been very

  • Calls failing to connect due to "Internal Error"

    I have been having issues, with increasing frequency, with Skype on my Mac as well as iPhone. Now EVERY time I try to call a phone number it gives the notification of "Call ended - internal error". What the **bleep**?

  • Extending JButton class , getting black text , Why??

    Hi, I'm extending the JButton class like this.... public class JIconButton extends JButton { public JIconButton(String label, String file, Icon rollovericon) { super(label,new ImageIcon(file)); etc... and when i construct a button from my new superco

  • Can't open logicExpress-project in LogicPro7

    I've got the following problem: I'm using LOGIC PRO 7 and I try to open a project which was created in LOGIC EXPRESS (7/8?)... but unfortunately I can't find any project-file to open...? the project is composed of 4 folders (Bounces,Fade Files, Proje