Connectivity Issue FROM Server To Client

Hi All,
I am having one trouble when i am connecting my server to the clients some of my client machines are working and some of the client machines are in remote locations.In Remote locations i am facing a problem when i want to upgrade the client machines to PL 20 and when i am trying to update it is taking a long time and after some time it is giving a message box as COMMUNICATION LINK FAILURE and DATABASE CONNECTION IS LOST OR BAD CONNECTION.So please help me to resolve this problem and when i am running ADDON'S       User Defined Objects are getting deleted and for some ADDON'S it is saying it as Wrong EXECUTABLE DIGITAL SIGNATURE.
MY SERVER MACHINE IS WINDOWS SERVER SP2 and DATABASE IS SQL 2008 R2
Regards
CHERRY

Hii
       The connection to the other places from the main server to other by Cable is working fine but when it is connceted to the other place which is a wireless connection is taking time for upgradation and also installation of the addons as it is utilizing the maximum network and unable to load the Customized addon even though when it is installed. and when i continously checking the ping suddenly at one point of time it is saying request timed out and application is closing from the client system.
Regards
Cherry

Similar Messages

  • Redundant folders created in root of C drive of server and Client . I want to stop the same and want to automatically delete them from server and client .

    Redundant folders created in root of C drive of server and Client . I want to stop the same and want to automatically delete them from server and client .
    Please let me know the solution to delete them not manually . It should not create automatically .Is there a way we can change the path of creation.
    Is there a way that once the folfer is create should be automatically deleted once the task is done.
    Redundant folders are created in the root of my C drive all the time,
    folder names look like:
    09b0508d0bd2dbd70523
    56f51b81c1462bb378009ee4d5ed03
    02afe4378371907aca40ab

    This is a duplicate of
    http://social.technet.microsoft.com/Forums/systemcenter/en-US/ae99c2d0-8dea-4c5e-8a79-17e08e9e5de4/sccm-2012-issue-folders-with-long-guid-are-created-in-c-drive?forum=winservergen#ae99c2d0-8dea-4c5e-8a79-17e08e9e5de4
    Jason | http://blog.configmgrftw.com

  • How can i transfer more than one file from server to client

    Hi,
    our requirement is transfer more than one files from server to client using the
    webutil_file_transfer.as_to_client_with_progress.One file transfer is already working in our system.If anybody know the solution please inform
    regards
    mat

    just an idea ...
    for this purpose let us put aside security concerns and other potential problems....
    -- Get the content of a server directory with Filter and create zip file
    1) create a class that implements java.io.FilenameFilter ...
    2) define accept() method ...
    3) call File.list() with the filter as a parameter. The returned array of strings will have all the names that passed through the accept() filter
    4) use java.util.Zip to create ZIP file on the server side
    -- I think it is better to create this functionality as a separate Java class, put it in required folder and after it
    -- use Forms->Program->"Import Java class" to create pl/sql wrappers, than to create wrappers for all classes and code in pl/sql
    5) use webutil to transfer file on the client
    6) use Java on client side to unzip transferred file
    if you think this is not too complicated, you should try ...
    Regards,
    Vladimir

  • Connectivity issues from Oracle to Sybase

    Friends.
    I have connectivity issue from Oracle 9.2.0.1 to Sybase 12.5 ASE .I am connecting through the database link in oracle to access the tables.
    The error message i am getting :
    select count(*) from TEST_TABLE@IND_TEST;
    ERROR at line 1:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    523 80
    ORA-02063: preceding 2 lines from IND_TEST
    Please guide me how to solve this error message. is it version incompatible now?
    Thanks
    Rocky

    Hi,
    You are now making the connection to the Sybase database but there is a problem with the user and password used in the database link.
    Sybase is case sensitive for names so you need to surround the user/password in double quotes to make sure they are passed to Sybase in the correct case -
    create database link ind_test connect to "sybuser" identified by "sybpass" using 'tnsnames_ora_entry' ;
    where sybuser is the userid as created in Sybase with the password sybpass.
    If they were setup in Sybase in mixed case then it would be -
    create database link ind_test connect to "Sybuser" identified by "Sybpass" using 'tnsnames_ora_entry' ;
    Regards,
    Mike
    Edited by: mkirtley on Sep 27, 2011 12:55 PM

  • VTP from server to client mode

    Hi,
    I have couple switches setup in VTP server mode. All of them have the same VTP revision number, but most of them should be in VTP client mode.
    Will switching some of them (but the one I really want to have in VTP server mode) into VTP client mode have negative impact on the network? I do know that if you change a switch (with the highest rev #) from client mode to server mode I could end up with problems. However, in my case it will be switching them from server to client mode with all of them with the same Rev #.
    Thanks for the help

    Hello,
    change the switches in question to VTP transparent mode first, and then to client mode, that will reset the revision and prevent any possible conflicts.
    In addition, in case you need to change the root switch as well, in general the VTP server switch should also be the root for your VLANs. You can set the switch as root by configuring it as:
    spanning-tree vlan x priority 0
    HTH,
    GP

  • Move files from server to client

    I have create txt file in server directory using UTL_FILE package,
    and I put in the directory in server.
    Server platform is linux. and client platform in Windows.
    What I want to ask is there any possibilities to copy that file from server to client using pl/sql ? could all of you "The Gurus" give me a script example ?
    Thanks a lot.
    regards,
    indra

    > What I want to ask is there any possibilities to copy that file from server
    to client using pl/sql
    No. Not really.
    Think about it.. the file is on the server. PL/SQL code executes inside the Oracle server session that is servicing the client.
    Just how is PL/SQL (on the server) suppose to reach out and push that file to a client's file system and directory?
    PL/SQL cannot do this. You need something on the client that will accept the file. You need something in-between the client and PL/SQL that will handle the transfer of the file. This something can be ftp, scp, tftp, NetBIOS etc.
    Anyway you look at this, it does not make sense. You are turning the server into the client that needs to push the file. You are turning the client into a server that needs to accept the file.
    Why? This is contrary to the basic client-server RDBMS architecture. You are adding more complexities and more moving parts to the architecture by forcing a swap of client and server roles. The are now a far greater likelihood of errors and bugs and failures.
    It does not make sense to do it this way.
    What is the business requirement you are trying to satisfy? Instead of us trying to help you to hack a flawed solution, let us rather assist you in determining the correct and proper solution.

  • Webrtc connection issue from chrome to firefox

    In my webrtc video application when there is always a connection issue from chrome to firefox.
    If the user on Firefox joins first to the room and the 2nd user on chrome joins second then ther is no issue. It connects smoothly.
    But in the reverse case there is a connection but no audio and video.
    You can check the app at : https://uc.connectuscom.com/video/#k9EBX8xd#Video
    open one instance of this this link on chrome and then another on Firefox to reproduce the issue. Use 2 separate machines to avoid the issue of camera availability for the browsers.

    Hi,
    You posted two questions on the same topic. Seems like you pressed Post twice. Please continue at [/questions/994533]. I'll be closing this thread.

  • Drive Redirection virtual channel hangs when copying a file from server to client over RDP 8.1

    Problem Summary:
    A UTF-8 without BOM Web RoE XML file output from a line of business application will not drag and drop copy nor copy/paste from a Server 2012 R2 RD Session Host running RD Gateway to a Windows 7 Remote Desktop client over an RDP 8.1 connection and the Drive
    Redirection virtual channel hangs.  The same issue affects a test client/server with only Remote Desktop enabled on the server.
    Other files copy with no issue.  See below for more info.
    Environment:
    Server 2012 R2 Standard v6.3.9600 Build 9600
    the production server runs RDS Session Host and RD Gateway roles (on the same server).  BUT,
    the issue can be reproduced on a test machine running this OS with simply Remote Desktop enabled for Remote Administration
    Windows 7 Pro w SP1v6.1.7601 SP1 Build 7601 running updates to support RDP 8.1
    More Information:
    -the file is a UTF-8 w/o BOM (Byte Order Marker) file containing XML data and has a .BLK extension.  It is a Web Record of Employment (RoE) data file exported from the Maestro accounting application.
    -the XML file that does not copy does successfully validate against CRA's validation XML Schema for Web RoE files
    -Video redirection is NOT AFFECTED and continues to work
    -the Drive Redirection virtual channel can be re-established by disconnecting/reconnecting
    -when the copy fails, a file is created on the client and is a similar size to the original.  However, the contents are incomplete.  The file appears blank but CTRL-A shows whitespace
    -we can copy the contents into a file created with Notepad and then that file, which used to copy, will then NOT copy
    -the issue affects another Server 2012 R2 test installation, not just the production server
    -it also affects other client Win7 Pro systems against affected server
    -the issue is uni-directional i.e. copy fails server to client but succeeds client to server
    -I don't notice any event log entries at the time I attempt to copy the file.
    What DOES WORK
    -downgrading to RDP 7.1 on the client WORKS
    -modifying the file > 2 characters -- either changing existing characters or adding characters (CRLFs) WORKS
    -compressing the file WORKS e.g. to a ZIP file
    -copying OTHER files of smaller, same, and larger sizes WORKS
    What DOES NOT WORK?
    -changing the name and/or extension does not work
    -copying and pasting affected content into a text file that used to have different content and did copy before, then does not work
    -Disabling SMB3 and SMB2 does not work
    -modifying TCP auto-tuning does not work
    -disabling WinFW on both client and server does not work
    As noted above, if I modify the affected file to sanitize it's contents, it will work, so it's not much help.  I'm going to try to get a sample file exported that I can upload since I can't give you the original.
    Your help is greatly appreciated!
    Thanks.
    Kevin

    Hi Dharmesh,
    Thanks for your reply!
    The issue does seem to affect multiple users.  I'm not fully clear on whether it's multiple users and the same employee's file, but I suspect so.
    The issue happens with a specific XML file and I've since determined that it seems to affect the exported RoE XML file for one employee (record?) in the software.  Other employees appear to work.
    The biggest issue is that there's limited support from the vendor in this scenario.  Their app is supported on 2012 R2 RDS.
    What I can't quite wrap my head around are
    why does it work in RDP 7.1 but not 8.1?  What differences between the two for drive redirection would have it work in 7.1 and not 8.1?
    when I examine the affected file, it really doesn't appear any different than one that works.  I used Notepad++ and it shows the encoding as the same and there doesn't appear to be any invalid characters in the affected file.  I wondered
    if there was some string of characters that was being misinterpreted by RDP or some other operation and blocked somehow but besides having disabled AV and firewall software on both ends, I'm not sure what else I could change to test that further
    Since it seems to affect only the one employee's XML file AND since modifying that file to change details in order to post it online would then make that file able to be copied, it seems I won't be able to post a sample.  Too bad.
    Kevin

  • BPC 4.2 connectivity issues with server

    Hello All, I have a user that is experiencing connectivity issues with our server.  This appears to be at a client level and I would like to know how to correct it.  We are currently using BPC 4.2 (service pack 2).
    The problem occurred when they had IE8 uninstalled and installed IE6 today.  This morning he had no issues connecting to BPC w/ IE8, but lost that connection when IE6 was installed.  When working through the connection wizard, the following errors appear.
    Here are the pop-up error messages they are receiving:
    "The server name, or IP address (srvbpmarl01) is unreachable now.  Please check the following:
    1.  LAN connection or Internet connection is working properly.
    2.  Server name or IP address is invalid
    Detailed Error Message:  Internet connection is not available"
    "The system cannot download information from server:  SRVBPMARL01.
    There may be a network or security issue.
    Error message:  Your LAN connection or Internet connection is not working properly.
    Detailed error message:  Internet connection is not available."
    I can't help but feel this issue is a result of the IE 8/6 complications, but I do not know which actions to take next.
    Thanks for any help you could provide!

    I don't think the problem is related to IE.
    It seems to be more a problem of configuration of IE.
    I suggest to chec the follow:
    1. Please make sure you are not using any proxy into connection of IE. Ot if you neede then make sure you will add your server into exceptions of proxy.
    2. Try to connect with IE to server. use: http://nameofserver/osoft and also http://nameofserver.
    If you received errors in both cases then it seems it is a problem with installaion of IE.
    If you are able to connect and to display the default page for osoft then it must be a configuration problem.
    I suppose MSDTC or Pivot table services is not correct.Try to use slow connection when you connect to server not High connection.
    Regards
    Sorin Radulescu

  • BPC Report emails only work from server (not client) - BPC v5.1

    Hi all.
    Hope someone might have seen something like this before.
    Basically, I setup our servers to send email from BPC about 3 weeks ago.
    (NB - If it makes a difference, we use Lotus Notes via a Domino server)
    The SMTP settings are all correct in BPC WebAdmin, the servers have been added to the allow list on the mail server and the port is open.
    Anyway, when I try to send mail from a client (using the Offline Report Distribution Wizard), I get the following error:
    "The transport failed to connect to the server".
    At SAP's suggestion, I ran a test by installing Office and a BPC client directly onto the Web Server.
    When I ran the wizard from the server, the email sent perfectly.
    The problem I have now is that although I informed SAP of the test outcome, I haven't heard anything back in about 3 weeks, and I really need to get the reporting email system up and running properly.
    Does anyone have any suggestions on what could be causing this?
    It's as though the system is telling the client to send the email itself, via the forwarding server, but this would mean allowing every user PC to access the mail server.
    Hope you can help, but thanks for looking either way.
    Craig

    Hi Ludovic
    The problem turned out to be mail server white-lists, due to the way that BPC sends emil.
    Although you setup the email account/profile on the server, it actually sends from the client PC of whichever user makes the email request.
    Our system is only configured to block all email requests with individual exceptions (ie a White-List).
    It needed the PC of every user who would need to send email from the BPC system to be added to the white-list.
    This is why it worked from the server, as we had added the server address to the list as part of the testing.
    Not reall y a BPC problem, more of an issue with functionality due to the method that it uses to send the messages.
    Hope that helps
    Craig

  • Why doesn't using EAS to sync Drafts from server to client work anymore?

    Hi All,
    I understand that uploading an email into a Drafts folder is not possible and has never been possible using Exchange ActiveSync.
    It has always been possible, however, to download emails from the Drafts folder and to sync the Drafts folder like any other folder. Recently, however, I have been having problems performing this sync. These problems are occuring on Office-365. Other users
    are also experiencing the issue. There is a thread discussing this issue  on that site at: http://community.office365.com/en-us/forums/158/p/176113/525322.aspx#525322 
    Unfortunately, there is still no resolution forthcoming from the Office-365 support team, so I thought it might help to cross-post the problem here.
    In short, the problem that I am seeing is that the GetItemEstimate command receives a Status of 4 indicating an invalid sync key. This is even though the Sync Key is known the be valid. If that issue is ignored, and a Sync command is sent, then there is no
    error, but the incorrect information is returned. The information that should be returned is the 'Adds' for the folder. Instead, an empty reply is received, indicating that there is nothing to sync.
    Here are the details from the interaction:
    =================
     [EAS] Client Sends: 
    ================
    <Sync xmlns="AirSync:">
        <Collections>
            <Collection>
                <SyncKey>0</SyncKey>
                <CollectionId>4</CollectionId>
            </Collection>
        </Collections>
    </Sync>
    ======================
    [EAS] Received from Server
    ======================
    <Sync>
        <Collections>
            <Collection>
                <SyncKey>1335200247</SyncKey>
                <CollectionId>4</CollectionId>
                <Status>1</Status>
            </Collection>
        </Collections>
    </Sync>
    =================
     [EAS] Client Sends:
    =================
    <GetItemEstimate xmlns="GetItemEstimate:">
        <Collections>
            <Collection>
                <airsync:SyncKey>1335200247</airsync:SyncKey>
                <CollectionId>4</CollectionId>
            </Collection>
        </Collections>
    </GetItemEstimate>
    ======================
     [EAS] Received from Server
    ======================
    <GetItemEstimate>
        <Response>
            <Status>4</Status>        
            <Collection>
                <CollectionId>4</CollectionId>
            </Collection>
        </Response>
    </GetItemEstimate>
    ================
    [EAS] Client Sends
    ================
    <Sync xmlns="AirSync:">
        <Collections>
            <Collection>
                <SyncKey>1335200247</SyncKey>
                <CollectionId>4</CollectionId>
                <DeletesAsMoves/>
                <GetChanges/>
                <WindowSize>64</WindowSize>
                <Options>
                    <airsync:MIMESupport>2</airsync:MIMESupport>
                </Options>
            </Collection>
        </Collections>
    </Sync>
    =====================================
    This receives an empty reply indicating no changes
    Here are the HTTP Headers:
    =====================================
    Headers: {
        "Cache-Control" = private;
        "Content-Encoding" = gzip;
        "Content-Length" = 119;
        "Content-Type" = "application/vnd.ms-sync.wbxml";
        Date = "Fri, 19 Jul 2013 22:31:47 GMT";
        "MS-Server-ActiveSync" = "15.0";
        Server = "Microsoft-IIS/7.5";
        "Set-Cookie" = "X-BackEndCookie=S-1-5-21-2447848828-1310731447-1641304557-13231500=u56Lnp2ejJqBz83MmsfNncnSzJnGztLLyMfP0p7Nxp3Szs/HycjPzJrIy5ybgZiQkJuXipKekYzRkJGSlpyNkIyQmYvRnJCSgcjQzsbQzc/OzN/Oz8XLzsXLyN+vsg==; expires=Fri,
    19-Jul-2013 22:41:47 GMT; path=/Microsoft-Server-ActiveSync; secure; HttpOnly";
        Vary = "Accept-Encoding";
        "X-AspNet-Version" = "4.0.30319";
        "X-BEServer" = BN1PR05MB121;
        "X-CalculatedBETarget" = "bn1pr05mb121.namprd05.prod.outlook.com";
        "X-DiagInfo" = BN1PR05MB121;
        "X-FEServer" = BY2PR09CA003;
        "X-Powered-By" = "ASP.NET";
        "request-id" = "b78e1afc-74b4-4080-a8b2-c641f567d4f9";
    Cookies: (
        "<NSHTTPCookie version:0 name:\"X-BackEndCookie\" value:\"S-1-5-21-2447848828-1310731447-1641304557-13231500=u56Lnp2ejJqBz83MmsfNncnSzJnGztLLyMfP0p7Nxp3Szs/HycjPzJrIy5ybgZiQkJuXipKekYzRkJGSlpyNkIyQmYvRnJCSgcjQzsbQzc/OzN/Oz8XLzsXLyN+vsg==\"
    expiresDate:2013-07-19 22:41:47 +0000 created:2013-07-19 22:31:47 +0000 (3.95966e+08) sessionOnly:FALSE domain:\"outlook.office365.com\" path:\"/Microsoft-Server-ActiveSync\" isSecure:TRUE>"
    Thanks!
        -Rich

    Hi Tom,
    Thanks for following up on this and providing a definitive answer. It is much appreciated.
    The decision they have made to block the Drafts folder syncing is mildly disappointing.
    Unfortunately, the mechanism by which they are implementing this makes it a more serious issue.
    Specifically, they should not be returning a Status of 4 in response to the GetItemEstimate for the Drafts folder. That Status of 4 effectively says, "Try Again".  See section 2.2.3.162.6 of the MS-ASCMD document.
    Instead, they should probably return a Status of 1 and an Estimate of 0. This would be the appropriate match with their empty collection in response to the Sync command.
    Alternatively, they could return a Status of 2 indicating, "an incorrect folder was requested". 
    Or they could simply omit the folder from the FolderHierarchy response.
    By returning a 4 and requesting that the client try again, they can cause the client to enter a continuous (and infinite) stream of GetItemEstimate requests. By following the documentation from 2.2.3.162.6, a client would get into this loop:
    1) GetItemEstimate returns 'Invalid sync key'
    2) FolderSync returns status OK 
    3) GetItemEstimate returns 'Invalid sync key'
    4) FolderSync with syncKey 0  returns Status OK
    5) goto 1
    Thanks,
        -Rich

  • Help :- Send Large File From Server To Client

    Hey guys, I am stuck with a problem.Hope u guys might be able to help me out. My problem is :-
    From client i am doing an operation which results in calculation of results by server and saving a file on the server..But i want to see what results have been computed by the server and hence i want to stream that file back to the client..
    The file may be of 100MB as well , that is, the size of the file may be huge.
    I want u guys to tell me how to stream that file back to the client..I tried returning byte array which gets serialized and then received at client side but as i said the file may be huge so memory problem may arise, so returning byte[] from function is not a good solution..
    I am looking something where server can send the file back to the client in chunks..Client keeps receiving these chucks and keep putting them in the file.
    So how to make server send file in chunks??Also, i don't know the hostname and ports...so sockets i can't use...
    Any Another way to do it...??
    is PipedStream a solution??
    Please guys, help me
    Thanks in advance
    Edited by: 854509 on Apr 25, 2011 8:28 AM
    Edited by: 854509 on Apr 25, 2011 8:59 AM

    854509 wrote:
    I knew about sockets but as i said i am able to send request to server by client by calling a remote method...There i haven't used sockets...RMI uses sockets, I assume you mean you don't access to the underlying socket.
    So i wanted to know if we can without using sockets send file back to Client..I would have the RMI return the connection details where the result can be obtains, .e.g with hostname, port, and file name to use.
    I would suggest trying to compress the stream as well (just wrapp the stream on the sender/reciever), especially for files over 1 MB.
    Tell me something abt PipedStreams as well..If they are of any use here or not?I don't see how. PipedStreams can be used to share data between threads in the same process.
    If RMI is your only choice you can perform a method which would return alot of data and have seperate methods to download portions of it.
    e.g.
    public int loadBigFile(String filename); // returns the number of portions.
    public byte[] returnPortion(int n);
    int portions = rmi.loadBigFile("my-big-file.xml");
    for(int i=0;i<portions;i++) {
       byte[] bytes = rmi.returnPortion(i);
       // do something with bytes.
    }You can have the server cleanup the file when the last portion is read.

  • Connection fails if server and clients are in different subnets

    Hello,
    our Volume License Manager (v2.1) is running in another subnets than the clients (All machines are running under Windows XP-SP2 without Domains or ADS, just workgroups).
    The server is in subnet A (192.168.42.0/24), all clients are located in another subnet  B (192.168.50.0/24).
    Routing is properly configured and is working fine, traffic to the specific hosts is not blocked by a firewall. We can ping every machine,
    open telnet connections to the NILM, everything works.
    But if the clients try to connect to the remote NILM (both local client NI License Manager and VLM port settings are correct)  their connection attempt always
    times out with error code "NILM10"
    (I already read the mentioned KBs, no solution has helped so far). This is true if clients and server are separated.
    For testing purposes, i plugged one client into the server's subnet (server's IP: 192.168.50.250, client 192.168.50.10)
    and it worked perfectly. Is there a reason why  server and client have to be on the same subnet or is it some other kind of problem that I am not aware of?
    Thank you.
    Thorsten

    Hello Thorsten,
    Did you add the server's domain to the client computer's DNS settings. To do this, complete the following steps on the client computer:
    1. Open Local Area Network Settings from the Control Panel (Start»Control Panel»Network Connections»Local Area Connection)
    2. Click the Properties button
    3. Select Internet Protocol (TCP/IP) from the list of network components
    4. Click the Properties button
    5. Click the Advanced button
    6. Change to the DNS tab
    7. Ensure Append these DNS suffixes is selected
    8. Click the Add button
    9. Enter the domain suffix of the license server and click Add
    10. Close any open dialog boxes, choosing OK and Close as necessary.
    (http://digital.ni.com/public.nsf/allkb/3AAF37CD7B89A2CD86257070005A075A?OpenDocument)
    Further you should check this KBs.
    Why is My NI License Manager Slow or Not Responsive with a Configured Network Server on Another Domain?
    http://digital.ni.com/public.nsf/allkb/27D6BD8116EF257A862572F2005C2181?OpenDocument
    How Can I Access NI Volume License Manager from a Different Network or Behind a Firewall?
    http://digital.ni.com/public.nsf/websearch/54E52C3F348B929786256DCD0056B19B?OpenDocument
    Regards,
    WolfgangZ

  • Loosing of object state when it is called from server to client side

    Hi,
    Iam loosing an object values when that object is returning from server side to client side.
    Even my server class implements serilizable interface, the object is not retaing its values..
    can any one suggest regarding this Issue..
    Regards,
    Dev

    got the solution

  • Sending XML messages from server to client using POST method

    Dear everyone,
    I have a simple client server system - using Socket
    class on the server side and URLConnection class on
    the client side. The client sends requests to the
    server in the form of an XML message using POST method.
    The server processes the request and responds with
    another XML message through the same connection.
    That's the basic idea.
    I have a few questions about headers and formats
    especially with respect to POST.
    1. In what format should the response messages from the
    server be, for the client? Does the server need to
    send the HTTP headers - for the POST type requests?
    Is this correct?:
       out.println("HTTP/1.1 200 My Server\r");
       out.println("Content-type: text/xml\r");
       out.println("Content-length: 1024\r");
       out.println("\r");
       out.println("My XML response goes here...");2. How do I read these headers and the actual message
    in the client side? I figured my actual message was
    immediately after the blank line. So I wrote
    something like this:
       String inMsg;
       // loop until the blank line is through.
       while (!"".equals(inMsg = reader.readLine()))
          System.out.println(inMsg);
       // get the actual message and process it.
       inMsg = reader.readLine();
       processMessage(inMsg);But the above did not work for me. Because I seem to
    be receiving a blank line after each header! (I suppose
    that was because of the "\r".) So what should I do?
    3. What are the different headers I must pass from
    server to the client to safeguard against every
    possible problem?
    4. What are the different exceptions I must be prepared
    for this situation? How could I cope with them? For
    example, time outs, IOExceptions, etc.
    Thanks a lot! I appreciate all your help!
    George

    hello,
    1) if you want to develop a distributed application with XML messages, you can look in SOAP.
    it's a solution to communicate objects distributed java (or COM or other) and it constructs XML flux to communicate between them.
    2) if it can help you, I have developed a chat in TCP/IP and, to my mind, when you send datas it's only text, so the format isn't important, the important is your traitement behind.
    examples :
    a client method to send a message to the server :
    public void send(String message)
    fluxOut.println(message);
    fluxOut.flush();
    whith
    connexionCourante = new Socket(lAdresServeur, noPort);
    fluxOut= new PrintWriter( new OutputStreamWriter(connexionCourante.getOutputStream()) );
    a server method in a thread to receive and print the message :
    while(true)
    if (laThread == null)
    break;
    texte = fluxIn.readLine();
    System.out.println(texte);
    that's all ! :)
    If you want to use it for your XML communication, it could be a good idea to use a special message, for example "@end", to finish the server
    ex :
    while(true)
    if (laThread == null)
    break;
    texte = fluxIn.readLine();
    // to stop
    if (texte.equals("@end"))
    {break;}
    processMessage(texte );
    hope it will help you
    David

Maybe you are looking for

  • Change the colour of bullets in a ul (html)

    Hi there, I'm working on an emailing completely in html. Now I have a paragraph with a ul in it and I want to style the bullets in a different colour than the text. I've looked at some examples but somehow for me it's not working. Here's what I have

  • How to create a user name for iTunes reviews?

    I just noticed that almost every iTunes review is posted under an anonymous user name... except for mine! How do I add a user name to my profile/account so that my real full name isn't automatically posted under every review? I had this same issue wi

  • ITunes 10.3.1 (55) crashes when opening store

    Hi Folks, since I updated to the latest iTunes 10.3.1 build 55 it's impossible to open the store. Itunes itself runs fine, I can listen to music but whenever I am using functions in need of a remote connection it crashes. following exception is throw

  • Intermittent skip at BOF (beginning of file)

    Hi: I'm trying to narrow down how and why this happens. With my 80 gig Video, and 8 gig nano, every once and a while a song will end, but instead of starting the next song at ZERO, it starts a few seconds to a few minutes into the song. I have Reset

  • Pse 8 -nothing happens

    please help.  i have inserted a brand new pse 8 in my imac snow leaopard ver 10.6.2 and nothing happens.  i never get prompted or anything.   the blue disc shows up on my desktop but nothing happens from there.  when i click on it then i see a blue f