Multithread server with futureTask

i want to write a multithread server that prints the message received from a client in reverse order i have problems with getting the message from a client and passing that to futureTask
this is my futureTaskCallback
class FutureTaskCallback<V> extends FutureTask<V> {
public FutureTaskCallback(Callable<V> callable) {
super(callable);
public void done() {
String result = "Wynik: ";
if (isCancelled()) result += "Cancelled.";
else try {
result += get();
} catch(Exception exc) {
result += exc.toString();
JOptionPane.showMessageDialog(null, result);
and mycallable
public class MyCallable implements Callable
String toReverse;
public MyCallable(String s){toReverse=s;}
public String call () throws java.io.IOException, InterruptedException {
     StringBuffer out = new StringBuffer();
     ////ClientWorker w;
/// w = new ClientWorker(server.accept(), textField);
/// Thread t = new Thread(w);
//// t.start();
//////toReverse=textField.getText();
     ///System.out.println(toReverse);
if (toReverse == null || toReverse.trim().equals(""))
throw new IllegalArgumentException("Set string to reverse");
///if (t.isInterrupted()) return null;
char[] org = toReverse.toCharArray();
//// if (t.isInterrupted()) return null;
for (int i = org.length-1; i>=0; i--) {
Thread.sleep(500);
out.append(org);
////if (t.isInterrupted()) return null;
///textField.setText(out.toString());
////if (t.isInterrupted()) return null;
     ///////Thread t = Thread.currentThread();
return out.toString();
i want to pass the message received from a client to mycallable then to server so it can print the output
how to do that ?
thank you
regards

Here's a primitive example:
import java.net.*;
import java.util.concurrent.*;
import java.io.*;
import javax.swing.*;
public class RevServer{
  ServerSocket ss;
  boolean go;
  public RevServer(int port){
    try{
      ss = new ServerSocket(port);
    catch (Exception e){
      e.printStackTrace();
    go = true;
  public void runServer(){
    try{
      while (go){
        Socket s = ss.accept();
        System.out.println("...client connected");
        service(s);
      ss.close();
    catch (Exception e){
      e.printStackTrace();
  void service(Socket s){
    Thread t = new Thread(new ClientHandler(s));
    t.start();
  public static void main(String[] args){
    RevServer rs = new RevServer(9999);
    rs.runServer();
class ClientHandler implements Runnable{
  Socket sct;
  public ClientHandler(Socket s){
    sct = s;
  public void run(){
    try{
      BufferedReader br
       = new BufferedReader(new InputStreamReader(sct.getInputStream()));
      String msg = br.readLine();
      FutureTaskCallback<String> ftc
       = new FutureTaskCallback<String>(new MyCallable(msg));
      new Thread(ftc).start();
      PrintWriter pw = new PrintWriter(sct.getOutputStream(), true);
      pw.println(ftc.get());
      sct.close();
    catch (Exception e){
      e.printStackTrace();
class FutureTaskCallback<V> extends FutureTask<V> {
  public FutureTaskCallback(Callable<V> callable) {
    super(callable);
  public void done() {
    String result = "Wynik: ";
    if (isCancelled()){
     result += "Cancelled.";
    else{
      try {
        result += get();
      catch(Exception exc) {
        result += exc.toString();
    JOptionPane.showMessageDialog(null, result);
class MyCallable implements Callable<String>{
  String toReverse;
  public MyCallable(String s){
    toReverse = s;
  public String call() throws java.io.IOException, InterruptedException {
    StringBuffer out = new StringBuffer();
    if (toReverse == null || toReverse.trim().equals("")){
      throw new IllegalArgumentException("Set string to reverse");
   char[] org = toReverse.toCharArray();
    for (int i = org.length - 1; i >= 0; i--) {
      Thread.sleep(500);
      out.append(org);
return out.toString();
import java.net.*;
import java.io.*;
public class RevClient{
public static void main(String[] args) throws Exception{
String str, rstr;
str = "All you need is love";
if (args.length > 0){
str = args[0];
Socket sc = new Socket("127.0.0.1", 9999);
PrintWriter pw = new PrintWriter(sc.getOutputStream(), true);
BufferedReader br
= new BufferedReader(new InputStreamReader(sc.getInputStream()));
pw.println(str);
System.out.println("...wait a moment");
rstr = br.readLine();
System.out.println(rstr);
sc.close();

Similar Messages

  • MultiThreaded Server and Client connections query.

    I have written a MultiThreaded Server to accept incoming client requests.
    Multiple clients can connnect to this server and have a conversation.
    I invoke the 'MultiServer' from the command line and then invoke 3 clients
    from the command line.('Client').
    c:> java MultiServer
    c:> java Client
    c:> java Client
    c:> java Client
    All the 3 clients now run in their own thread and send messages
    to the server.
    The problem I am facing is this:
    When client1 connects to the server and sends a message to the server (with the server responding)
    it works fine.Both Server and Client can exchange messages.
    When client2 connects to the server and sends a message and when the server
    responds with a message,the message does NOT go to client2,but goes to Client1
    As Clients have their own thread to run,shouldnt the messages also be delivered to
    individual clients
    Am I missing something?
    My Code
    public class MultiServer {
        public static void main(String[] args) throws IOException {
            ServerSocket serverSocket = null;
            boolean listening = true;
            try {
                serverSocket = new ServerSocket(4444);
                System.out.println("MultiServer listening on Port 4444");
            } catch (IOException e) {
                System.err.println("Could not listen on port: 4444.");
                System.exit(-1);
            // Indefinite Loop.
            while (listening)
             new MultiServerThread(serverSocket.accept()).start();
            serverSocket.close();
    public class MultiServerThread extends Thread {
        private Socket socket = null;
        public MultiServerThread(Socket socket) {
         super("MultiServerThread");
         this.socket = socket;
        public void run() {
         try {
             PrintWriter out = new PrintWriter(socket.getOutputStream(), true);
             BufferedReader in = new BufferedReader(
                            new InputStreamReader(
                            socket.getInputStream()));
               BufferedReader stdInFromServer = new BufferedReader(new InputStreamReader(System.in));
            String fromTheClient,fromServer;
               fromServer = "Hi Client,How u doing? ";
            // Send a message from the Server.
               out.println(fromServer);
                while ((fromTheClient = in.readLine()) != null) {
                 if (fromTheClient.equals("ByeServer"))
                 break;
                 // Display message received from Client.
                 System.out.print("Client Response : ");
              System.out.println(fromTheClient);
                 // Input reply from the Server.
                 fromServer = stdInFromServer.readLine();
                 out.println(fromServer);
                 if (fromServer.equals("Bye."))
                    break;
             out.close();
             in.close();
             socket.close();
         } catch (IOException e) {
             e.printStackTrace();
    Client Code
    ===========
    public class Client {
        public static void main(String[] args) throws IOException {
            Socket kkSocket = null;
            PrintWriter out = null;
            BufferedReader in = null;
            try {
                kkSocket = new Socket("localhost", 4444);
                out = new PrintWriter(kkSocket.getOutputStream(), true);
                in = new BufferedReader(new InputStreamReader(kkSocket.getInputStream()));
            } catch (UnknownHostException e) {
                System.err.println("Don't know about host: localhost.");
                System.exit(1);
            } catch (IOException e) {
                System.err.println("Couldn't get I/O for the connection to: localhost.");
                System.exit(1);
            BufferedReader stdIn = new BufferedReader(new InputStreamReader(System.in));
            String fromServer;
            String fromUser;
            while ((fromServer = in.readLine()) != null) {
                System.out.println("Server: " + fromServer);
                if (fromServer.equals("Bye."))
                    break;
                    fromUser = stdIn.readLine();
             if (fromUser != null) {
                    out.println(fromUser);
            out.close();
            in.close();
            stdIn.close();
            kkSocket.close();
    }

    Taking standard input for multiple threads from one console is quite unpredictable. I think the first client thread is waiting for input when you connect the second. You type something into your server window and since the first thread was waiting for input, it takes the input and sends it to client 1.

  • How does create a server with multiple Clients ?

    Any people can lead me .
    How does create a server with multiple Clients ?
    Thanks

    For a multithreaded server you will need a thread to listen and at least one thread per client. If the conversation is half duplex, one thread per client works very well, if it's full duplex you will find one thread to send and one to receive much easier to program.
    I posted a Simple Socket Server that uses 1+2*clients threads.

  • Logging for Multithread Server

    Hi Folks,
    I am trying to implement a simple logger for my Socket server and I have the following code working.
    public synchronized static void log(String msg) {
        DataOutputStream dos = null;
         Date dateValue;
         String dateTempString=new String();
        try {
              dateValue=new Date();
              SimpleDateFormat formatter = new SimpleDateFormat ("dd-MM//hh-mm-ss");
              dateTempString = formatter.format(dateValue);
          dos = new DataOutputStream(new FileOutputStream("log.txt", true));
              dos.writeBytes(dateTempString+"\n"+msg+"\n");
              dos.close();
        } catch (FileNotFoundException ex) {
              } catch (IOException ex) {
      }Whenever I write something to console, I also call this function with the appropriate message.
    My question is that How to implement it for a multithreaded Server?
    In the log.txt file..there would be no way of knowing that which message belonged to which thread?
    Any Pointers here ?
    And Also, Is there a better way to do this simply?
    Thanks a lot to all you guys in advance...Looking forward to some good input.

    Hi
    dos = new DataOutputStream(new FileOutputStream("log.txt", true));
    dos.writeBytes(dateTempString+"\n"+msg+"\n");
    Can you change the second line to the following.
    dos.writeBytes(Thread.currentThread().getName + "\n"+dateTempString+"\n"+msg+"\n");
    Make sure that each thread that you create has a unique name.
    HTH
    VJ

  • Multi-threaded server with independent IO

    I have designed a multi-threaded server which handles XML via sockets. I am running into the issue that when I try to send data to all of the clients, I have having to iterate through a shared resource where the sockets are stored at. I do not have this problem with reading because it is done in the thread created for this client (I pass the socket into the thread). If one computer freezes, then the iteration (writeToAll) through the client sockets also freeze. I would like to send XML to all clients and have everything fully independent so if it has a problem writing to a client, then it wouldn't halt the server. I would spawn a new thread for each write but that wouldn't be practical and I worry about threads live-locked.
    I have looked into JCSP and it looks promising for the common issues associated with thread programming, but this is more of a design issue.
    Any robust multi-threaded servers out there for enterprise use and scalability?

    A basic server which provides an example of what I mean:
    http://www.wellho.net/solutions/java-a-multithreaded-server-in-java.html
    connectiontable is a non-synchronized static method; I use a synchronized non-static method. I do not know which one I need to use.
    The problem: If a socket "lingers" on sending output* (ex if the client is frozen but the socket is still bounded), then it never throws an exception!
    *Sending from a shared resource (hashtable) on the parent thread (where the serversocket resides).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Connect to a data server with topology manager

    Hi! I am new to ODI...
    I've created a master and work repository. Now I'm in topology manager to create a data server from Physical Architecture. I succeed in connecting to this data server with "Oracle Toad" using a service name...so I select JDBC driver and then I insert jdbc:oracle:oci8:@&lt;tns_alias&gt; (with the right service name).
    Then it give me the message that it can connect to the data server, but when i click ok, it says me:
    {color:#ff0000}java.lang.UnsatisfiedLinkError: no ocijdbc10 in java.library.path
    at java.lang.ClassLoader.loadLibrary(Unknown Source)
    at java.lang.Runtime.loadLibrary0(Unknown Source)
    at java.lang.System.loadLibrary(Unknown Source)
    at oracle.jdbc.driver.T2CConnection.loadNativeLibrary(T2CConnection.java:3013)
    at oracle.jdbc.driver.T2CConnection.logon(T2CConnection.java:228)
    at oracle.jdbc.driver.PhysicalConnection.&lt;init&gt;(PhysicalConnection.java:361)
    at oracle.jdbc.driver.T2CConnection.&lt;init&gt;(T2CConnection.java:142)
    at oracle.jdbc.driver.T2CDriverExtension.getConnection(T2CDriverExtension.java:79)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:595)
    at com.sunopsis.sql.SnpsConnection.u(SnpsConnection.java)
    at com.sunopsis.sql.SnpsConnection.a(SnpsConnection.java)
    at com.sunopsis.sql.SnpsConnection.testConnection(SnpsConnection.java)
    at com.sunopsis.sql.SnpsConnection.testConnection(SnpsConnection.java)
    at com.sunopsis.graphical.frame.b.jz.dP(jz.java)
    at com.sunopsis.graphical.frame.b.jz.bD(jz.java)
    at com.sunopsis.graphical.frame.bo.bz(bo.java)
    at com.sunopsis.graphical.frame.b.jz.em(jz.java)
    at com.sunopsis.graphical.frame.b.jz.&lt;init&gt;(jz.java)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at com.sunopsis.graphical.frame.bb.b(bb.java)
    at com.sunopsis.graphical.tools.utils.swingworker.v.call(v.java)
    at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
    at com.sunopsis.graphical.tools.utils.swingworker.l.run(l.java)
    at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
    at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
    at java.lang.Thread.run(Unknown Source)
    {color}
    My environment variable for Oracle are:
    C:\oracle\ora92\bin;C:\Programmi\Oracle\jre\1.3.1\bin;
    I succeed in connecting with OCI using Toad...why can't I connect with ODI? Need I to install another component? (and which?)
    Sorry for my english...please help me! thanks....
    Alessia
    Edited by: user1762560 on 26-feb-2009 9.06

    jdbc:oracle:oci8:@tns_alias
    it doesn't contain the sign '< ' or '>'

  • Hi, i am trying to open and view a report that comes from another server with different odbc connection

    hi, i am trying to open and view a report that comes from another server with different odbc connection
    i created a crystal report for a mysql database on my machine and everything works great
    but we have other reports that come from other machines with different odbc connection
    and this its not working when opens the report asks for credentials
    and i cannot use the remote ip for these reports that come from other machine
    question
    if i cannot connect to remote ip to open the report
    for each report i have to create a database the report database on my machine and then open the report ?
    or there is some other way to open the report ?
    i am using visual studio 2013 and mysql and
       <add key="MYSQLODBCDRIVER" value="{MySQL ODBC 5.3 UNICODE Driver}"/>
    thanks

    short
    i have a report that it was created on another server with a specific dsn
    now i am trying to open the report on my machine
    the database from the other server does not exist on my machine
    the server machine where the report was created the ip its not accessible
    question ?
    can i open the report on my machine or its impossible ?
    thanks

  • Setup a home file/Media server with no internet access

    Hi,
    I have a home network with a wifi router connected to an Adsl modem. I try to setup a new server (macbook pro with Yosemite as OS) which will be only used as file and media server for my local network.
    I DO NOT want this server to have access to out of my local network and no one out of my local network could access it. in other words, it has to be isolated as a local server with no incoming/outgoing access from out of my local network.
    I should mention that this server can be accessed by other family members and they can setup other applications without my awareness... and I do not want to manually deny each access request (in or out) in the server's firewall and I am not always behind the server. I want to be sure that "all access" from/to out of my local network are denied.
    my local network dhcp rang is 192.168.10.10 to 192.168.10.20 and I have a firewall on the router and one on this server (little snitch).
    I have no idea how to do this, how to configure IPs out of my local network in the firewalls etc...
    I would appreciate if anyone can help me (I have a limited knowledge about networking)
    Many thanks
    Bye

    Thanks for your reply ChuckBing.
    Unfortunately I had already copied the instructions I found in the Sun documentaion to the letter and it still needed access to the internet. In the end I solved the problem by pointing the iepluginurl to a non existent file and putting a URL, pointing to an offline JRE executable on the server, as the message that appears when the applet cannot be loaded. The clients then have the choice of downloading the JRE or installing it online by clicking on the URL.
    Thanks anyway.
    David

  • SBS2008: Move email from Exchange 2007 to new server with Exchange 2013

    We have an old server (SBS2008) and plan to buy a new server with (Server 2012). I need to move all the exchange emails, contacts & calendars to the new server. We will no longer use the old server. 
    Is there a document or migration tool that will help me understand how to move this data form the old exchange server to the new one? 
    Old Server:
    SBS2008 running Exchange 2007
    New Server:
    Server 2012
    Exchange 2013
    Any help is appreciated!

    Hi Dave,
    It can be done, and as Larry suggested you will consider two Server 2012 installs in order to achieve an environment that looks like your current SBS roles; Exchange 2013 on an Active Directory controller isn't a good long-term solution (SBS did this for
    you in the past).
    For your size operation, a virtual server host, with a Windows Server 2012 license, and two virtual machines would probably be a suitable design model.  In this manner, you have Server 2012 license that permits 1 +2 licenses (one host for virtualization,
    up to 2 Virtual Machines on same host).
    There's no migration tool. That comes with experience and usually trial and error. You earn the skills in this migration path, and for the average SBS support person you should plan on spending 3x (or more) your efforts estimate in hours planning your migration. 
    You can find a recommended migration path at this link to give you an idea of the steps, but its not exactly point by point going to cover you off for an sbs2008 to server 2012 w/exchange 2013 migration.  But the high points are in here. If it looks
    like something you would be comfortable with then you should research more.
    http://blogs.technet.com/b/infratalks/archive/2012/09/07/transition-from-small-business-server-to-standard-windows-server.aspx
    Specific around integrating Exchange 2013 into an Exchange 2007 environment, guidance for that can be found here:
    http://technet.microsoft.com/en-us/library/jj898582(v=exchg.150).aspx
    If that looks like something beyond your comfort level, then you might consider building a new 2012 server with Exchange 2013 environment out as new, manually export your exchange 2007 mailbox contents (to PST) and then import them into the new mail server,
    and migrate your workstations out of old domain into new domain.  Whether this is more or less work at your workstation count is dependent upon a lot of variables.
    If you have more questions about the process, update the thread and we'll try to assist.
    Hopefully this info answered your original question.
    Cheers,
    -Jason
    Jason Miller B.Comm (Hons), MCSA, MCITP, Microsoft MVP

  • How do I connect to a terminal server with my mac book pro

    How do I connect to a terminal server with my mac book pro

    Use the Remote Desktop icon on the tray and make sure to use the Fully Qualified Domain Name (FQDN) on the 'name of server' field.  If that does not work then use the IP address to connect.

  • How to Use Team Foundation Server With SharePoint 2013 For Development

    Hi All,
    As i am new to team foundation server and i want to use team foundation server for our development. Please give me good startup point.

    Hi,
    If you wanted to integrate Team Foundation Server with SharePoint 2013,
    there are two articles for your reference:
    http://dumians.wordpress.com/2013/04/01/integrate-team-foundation-server-with-sharepoint-2013/
    http://nakedalm.com/integrate-sharepoint-2013-with-team-foundation-server-2013/
    By the way, you can also post the question in in Visual Studio Team Foundation Server forums and more experts will assist you.
    Team Foundation Server – General  http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=tfsgeneral
    More information:
    SharePoint Products requirements for Team Foundation Server:
    http://msdn.microsoft.com/en-us/library/hh667648.aspx
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Your backup is from a different version of Microsoft SharePoint Foundation and cannot be restored to a server running The backup file should be restored to a server with version '12.0.0.6318' or later.

    am trying  to restore the bak file into a new  site collection in my sp 2010  standalone env.
    am getting error
    PS C:\Windows\system32> stsadm -o restore -url http://srvr1-01:123/sites/Repository -filename "C:\mBKUPCOPY\Sharepoint_bankup.bak"
    STSADM.EXE : Your backup is from a different version of Microsoft SharePoint Foundation and cannot be restored to a server running
    the current version. The backup file should be restored to a server with version '12.0.0.6318' or later.
    At line:1 char:1
    + stsadm -o restore -url http://srvr1-01:123/sites/Repository -filename "C: ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : NotSpecified: (Your backup is ...6318' or later.:String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError

    As stated in the other thread on this topic you can't restore a 2007 backup to 2010, it needs to be upgraded.
    https://social.technet.microsoft.com/Forums/en-US/31c70f0a-5d89-4308-895b-af0c2b249114/restore-the-site-collection-from-moss-2007-to-sp-2010-site-collec?forum=sharepointadminprevious

  • 1) How to Boot from SAN for T4-1 Server with Solaris 11.1 OS on the disk? 2) How to SMI Label/Format a disk while OS Installation in Solaris 11.1?

    FYI....boot from SAN is required for physical server (T4-1) (not OVM).
    1) How to Boot from SAN for T4-1 Server with Solaris 11.1 OS on the disk?
    The SAN disks allocated are visible in ok prompt. below is the output.
    (0) ok show—disks
    a) /pci@400/pci@2/pci@0/pci@f/pci@0/usb@0, 2/hub@2/hub@3/storage@2/disk
    b) /pci@400/pci@2/pci@0/pci€a/SUNW, ezalxs@0, l/fp@0, 0/disk
    e) /pci@400/pci@2/pci@0/pci@a/SUNW, ealxs@0/fp@0, 0/disk
    d) /pci@400/pci@2/pci@0/pci@8/SUNW, emlxs@0, l/fp@0, 0/disk
    e) /pci@400/pci@2/pci@0/pci@8/SUNW,enlxs@0/fp@0,0/disk
    f) /pci@400/pci@2/pci@0/pci@4/scsi@0/disk
    g) /pci@400/pci@1/pci@0/pci@4/scsi@0/disk
    h) /iscsi—hba/disk
    q) NO SELECTION
    valid choice: a. . .h, q to quit c
    /pci@400/pci@2/pci@0/pci@a/SUNW, ealxs@0/fp@0, 0/disk has been selected.
    Type “Y ( Control—Y ) to insert it in the command line.
    e.g. ok nvalias mydev “Y
    for creating devalias mydev for /pci@400/pci@2/pci@0/pci@a/SUNW,emlxs@0/fp@0,0/disk
    (0) ok set—sfs—boot
    set—sfs—boot ?
    We tried selecting a disk and applying sfs-boot at ok prompt.
    Can you please help me providing detailed pre-requesites/steps/procedure to implement this and to start boot from SAN.
    2) How to SMI Label/Format a disk while OS Installation in Solaris 11.1?
    As we know that ZFS is the default filesystem in Solaris 11.
    We have seen in the Oracle documentation that for rpool below are recommended:
    - A disk that is intended for a ZFS root pool must be created with an SMI label, not an EFI label.
    - Create root pools with slices by using the s* identifier.
    - ZFS applies an EFI label when you create a storage pool with whole disks.
    - In general, you should create a disk slice with the bulk of disk space in slice 0.
    I have seen the solution that using format -e, we change the labelling but all the data will be lost, whats the way to apply a SMI Label/Format on a rpool disks while OS Installation itself.
    Please provide me the steps to SMI Label a disk while installaing Solaris 11.1 OS.

    Oracle recommends below things on rpool: (thats reason wanted to apply SMI Label)
    I have seen in the Oracle documentation that for rpool below are recommended:
    - A disk that is intended for a ZFS root pool must be created with an SMI label, not an EFI label.
    - Create root pools with slices by using the s* identifier.
    - ZFS applies an EFI label when you create a storage pool with whole disks.
    - In general, you should create a disk slice with the bulk of disk space in slice 0.

  • I am using the "G Web Server" with Bridgeview 2.1. The problem I am having is that I have to

    restart the web server once every 2 to 3 days, or the web pages don't show the vi (images). Any ideas to trouble shoot - I dont know if the problem is related to my workstation hardware or a setting that needs to be tweaked on the G Web Server. Thank you.I am using a Pentium 233 machine/ Win 95. The PLC I am collecting info from is a GE Fanuc Series 9030 (?). Ethernet connection.

    restart the web server once every 2 to 3 days, or the web pages don't show the vi (images). Any ideas to trouble shoot - I dont know if the problem is related to my workstation hardware or a setting that needs to be tweaked on the G Web Server. Thank you.Hi,
    we are using the G Web Server with LabVIEW on a WinNT 4 machine. Up to now these works fine. Therefore I would recommend you to choose a more stable OS.
    Maybe you can try to programmatically restart the server every 2 days. Within LabVIEW you would do this by running "HTTP Server Control.vi". Unfortunatly all connections will be closed, thus be aware of that!
    Hope that helps
    chris

  • SAP Business One 8.8 running on a server with Peer to Peer

    Can SAP Business One 8.8  be install and run in a server with a Peer to Peer Operative system?

    You have more than one Oracle Release on the Server. hence more than one ORACLE_HOME.
    Check which is your default ORACLE_HOME on the server and check which of the homes PERL5LIB environment variable is pointing from both command prompt and in Windows.
    That could explain the funny bahaviour. If you change ORACLE_HOME, that could help.

Maybe you are looking for

  • Select a song to play next (after current song)

    I love iTunes, but for me it's just missing one thing.... I can't (at least I don't know how) select a certain song from my playlist to play AFTER the current song is finished... If it would have that function, or a way to do this, it would be ALL I

  • Can i use user exits

    Hi, Can anybody tell me if i can use user exits for not applying cost centre fields for Assets and liabilites gl a/c when we post transcations in fb60 0r fb50 f-22 etc warm regards Manjunath

  • Firefox cannot load websites but other programs can

    Firefox cannot load any webpages, but IE can. I have tried everything suggested. This problem happened befoer I updated Firefox and did not resolve after I updated firefox. I tried changing internet settings, disabling firewall, and even disabling IV

  • Java 1.5beta compilation help

    I don't know if anyone here has tried the new(ish) java 1.5.0beta, but I can't get it to work for the life of me. If anyone knows why it still seems to compile like 1.4, or if anyone knows where I can get more help, please let me know... Specifically

  • After purchasing CS5, updating online to CS6, I reimaged harddrive. How do I get back to CS6?

    After purchasing CS5 boxed, updating to CS6 online, I've had to reimage my harddrive. How do I get back to CS6 from 5 without the physical copy???