Socket Problem, Problem about printing the response from server

Or even I am not sure if there is a response from server. My code is like that
               //Connection between, httpProxy and target adress
               Socket clientSocket= new Socket("some host", 80);
               DataOutputStream outToServer= new DataOutputStream(clientSocket.getOutputStream());
               BufferedReader inFromServer= new BufferedReader(new     InputStreamReader(clientSocket.getInputStream()));
               //The first way
               //outToServer.writeBytes("GET http://www.somehost.com/ HTTP/1.1"+ '\n');
               //System.out.println("FROM SERVER: "+inFromServer.readLine());
               //The second way
               PrintWriter out_writer = new PrintWriter(outToServer, false);
               out_writer.println("GET http://www.somehost.com/ HTTP/1.1");
               out_writer.println("Host: localhost:80");
               out_writer.println("Connection: Close");
               out_writer.println();
                                    //The second way cont.
               String s = null;
               while ((s = inFromServer.readLine()) != null)
               System.out.println(s);
               inFromServer.close();There are the two ways that I tried, and both of them didn't work. Why they are not working ? How can I solve it ?

problem is solved, the reason it doesn't work is i didn't write the parts correctly. I mean it should be exactly the same packetIf you mean that the entire request must be sent in a single IP packet, this isn't true.
and host name must also be exactly sent to server.Of course.
They must be like in the wireshark.No. The actual data you send must be the same, but the server has no way of telling about what the IP packet looks like or how many there were.
One of your problems is that newlines in HTTP are defined as \r\n. In one case you're just using \n and in the other case you're using whatever the platform line terminator is. Neither is correct.

Similar Messages

  • ConnectException while downloading the resource from server

    Hi All,
    I am getting this problem always while downloading the resources from server:
    java.net.ConnectException: Connection timed out: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(Unknown Source)
         at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
         at java.net.PlainSocketImpl.connect(Unknown Source)
         at java.net.SocksSocketImpl.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at sun.net.NetworkClient.doConnect(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.http.HttpClient.<init>(Unknown Source)
         at sun.net.www.http.HttpClient.New(Unknown Source)
         at sun.net.www.http.HttpClient.New(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
         at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
         at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
         at com.sun.deploy.net.BasicHttpRequest.doGetRequest(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
         at com.sun.javaws.LaunchDownload$DownloadTask.call(Unknown Source)
         at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
         at java.util.concurrent.FutureTask.run(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    We checked following:
    1. Client can ping to server.
    2. Client can connect to server through ssh.
    3. we can do telnet to to that ip and port.
    As i initially though this problem could be because of the proxy setting i tried the following:
    1. removed the proxy from IE.
    2.
    1) go to Control Panel -> Java
    2) click the Network Settings button
    3) Select Direct Connection, and click ok .
    Still we are getting the same exception please give some clues how to solve this problem.
    Thnaks a lot.
    Regards
    Avdesh

    and i checked even firewall is also off.

  • One socket and two ports, not getting response from the server

    Hi everyone,
    I am working on device which communicate through Tcp sockets, It has an IP address and one port for listening and another for sending the response.
    Problem is that I am able to create a connection to Device ip+port, and i am trying to listen on the same port while the device is sending the response on other port. My problem is that i can't create another socket using this port and therefore not getting the response from the device.
    Can you people tell me how to handle such socket communication in java ?
    Thanks in advance.

    I am working on device which communicate through Tcp sockets, It has an IP address and one port for listening and another for sending the response.Are you sure? That's not usual. It would be usual for it to use the same port for listening, reading, and writing.
    Problem is that I am able to create a connection to Device ip+port, and i am trying to listen on the same port while the device is sending the response on other port.I would try just reading from the same socket you are sending on. I suggest you have misunderstood how the device works.

  • Problem with barcode print in Adobe From

    Hello All,
    We are using Adobe Forms to print our shipping labels and this as been working well for few years now. These labels include readable text and barcodes. The barcodes are 1-D but recently we now have a need to print 2-D barcodes.
    We are able to print PDF-417 as a 2-D barcode on the form, but when we try to print Datamatrix barcode, the barcode does not show and instead we just see the text which should have been encoded as 2-D barcode.
    We analyze the spool output file on the server to check the correct print controls are being sent to label printer. Our printer is a Zebra S4M using ZPLII. We send test form to our printer which will print two barcodes only (both 2-D), one is PDF-417 the other is Datamatrix. The spool output when viewed in Wordpad, is as below:
    ^XA
    PRALH0,3
    ^XZ
    CI13XA
    ^LL1219
    ^FO127,102
    ^BY3,,203
    ^B7N,,5,,,N
    FHFD1234567890
    ^FS
    ^FO127,356
    FHFD1234567890
    ^FS
    ^XZ
    The ^B7 print control is the  barcode PDF-417 control code. The Datamatrix control code ^BX is missing and should appear where there is an empty line. If we edit the spool output file and add the missing control code sequence, and then reprint the spool from SAP, then the Datamatrix 2-D barcode prints correctly.
    So for some reason, the .zpl spool output file is not being generated with the ^BX control code sequence for the datamatrix barcode. We cannot find any information on why this is so.
    We are running ECC6 SP11 (single stack) and ADS is running on a separate dual-stack BI system (NW2004s SP21).
    Our Zebra S4M printer firmware is V53.17.6Z, and printer driver is ZebraDesigner 2.6.42 (Build 2382). Our SAP device type which is assigned is AZPL203. Our ADS version is 7.00.21.0.
    We are seeing the same problem if we print test label from ECC or BI system. ECC kernel is 700 patch 266. BI kernel is 700 patch 254.
    We have found SAP Notes related to incorrect ZPL format in ^BX for NW7.1 and NW7.1 EhP1, but not for NW7.0.
    Has anyone else come across a problem like this before? Any advice would be much appreciated and duly rewarded.
    Thanks in advance
    George

    Issue is resolved.
    We updated our ADS to 7.11.5.0

  • I am having a problem opening images in the Editor from iPhotos into photoshop elements

    I am having a problem opening images in the Editor from iphoto (on my macbook pro) to the photoshop elements

    What exactly is the problem? What happens when you try, and how are you trying to do this?

  • Unable to print the reports from Transaction iViews

    Hi Experts,
    We have configured SAP Transctions iViews in portal. These transactions are basically of reports, when we want to print the report from EP. When clicking on the Print from the Transaction iView we are getting the error "File does not begin with '%PDF".
    iView launches in HTML Gui.
    When we launch the same report from ECC directly login with GUI we are able to take the print.
    Is there any settings need to be maintain in "FRONTEND_PRINT" service.
    Thanks
    Murthy

    Hi,
    Check the note Note 1042424 - Printing in WebGUI: Error "File does not begin with '%PDF-'"
    This should help resolve the problem.
    Cheers-
    Pramod

  • Socket Programming-Not getting response from server.

    Hi,
    I am trying to communicate with server using java socket programming, I am getting the response for first two times third time when I am trying to write some thing I am not getting any response from the server,
    I am writing to migrate the vb code to Java the vb is using a c++ dll to communicate with the server and we tried accessing the dll from java using JNI then it is working fine, this dll is dependent on windows so we want to avoid the dependency with windows that is why we are going for socket programming, Please help on this.

    Hi,
    I am writing the data in forms of string
    like
    Socket sockt = new Socket(ipAddress, portNo);     
    out= new DataOutputStream(sockt.getOutputStream());
    in = new DataInputStream(sockt.getInputStream());
    out.writeBytes("Serv");
    out.writeBytes("Serv,32");
    out.writeBytes("home,serv32,run.prg,sucess");
    these are the strings to communicate with server.
    I am trying to read the same
    StringBuffer buf = new StringBuffer();
              byte b = '\0';
                        try {
                   while ((b = in.readByte()) != '\0')
                        char ch = (char) b;
                        buf.append(ch);
              } catch (Exception e) {
                   System.out.println(e.getStackTrace());
    we are getting the response for the first two strings, but for the third string it is getting stucked for some time and returing some junk values like '???' we are sending the same string using JNI and it is working.

  • A serious problem occurred while installing the iPlanet Messaging Server Init Config

    Hi I have this error while working with iMS5.x and iAS6.5. As long as iMS is the only product installed, nothing is the problem. If I try installing iMS after iAS installed, it points an error. I dont know whats the reason. The following is the message that I got:
    <b>
    A serious problem occurred while installing the iPlanet Messaging Server Init Co
    nfig. It reported the following problem:
    The application command "jre -cp "/train/iplanet/server5/bin/msg/imta/classes/im
    taconfig.jar" com.iplanet.msg.imta.config.InitConfig -d iplanet1.com -r iplanet1
    .com -h shivaram.sun.com -c /train/iplanet/server5/msg-shivaram-2/imta/config" c
    ould not be run.
    Press any key to continue.
    ON PRESSING ANY KEY, I GET...
    Due to a serious problem the iPlanet Messaging Server installer is unable to con
    tinue. Please examine the log file "/train/iplanet/server5/setup/msg/iplanet-ms
    g-install.log" for more information.
    Press any key to continue.
    </b>
    The content of "/train/iplanet/server5/setup/msg/iplanet-msg-install.log" file is:
    <b>
    Installer log started.
    GMT: 20020426225748Z
    NOTICE: Creating Common Product Configuration.
    NOTICE: Running Directory Setup.
    MESSAGE: running command
    /train/iplanet/server5/install/perl /train/iplanet/server5/bin/msg/install/bin/ims_dssetup.pl -i yes -c /train/iplanet/server5 -d slapd-shivaram -r "o=internet" -u "o=isp" -s yes -S /train/iplanet/server5/bin/msg/install/bin/config
    cmdpath: none
    runpath: none
    NOTICE: Creating Messaging Product Information in LDAP.
    NOTICE: Creating Messaging users/groups information in LDAP.
    NOTICE: Creating Messaging file links.
    NOTICE: Running PostInstall Product After Hook.
    MESSAGE: running command
    perl prod-post-aft-hook.pl /train/iplanet/server5
    cmdpath: /train/iplanet/server5/install
    runpath: /train/iplanet/server5/bin/msg/install/bin
    NOTICE: Creating Instance Name.
    NOTICE: Creating Messaging Common Instance Files.
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/configutil /train/iplanet/server5/msg-shivaram-2/configutil
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/counterutil /train/iplanet/server5/msg-shivaram-2/counterutil
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/expire /train/iplanet/server5/msg-shivaram-2/expire
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/getconf /train/iplanet/server5/msg-shivaram-2/getconf
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/refresh /train/iplanet/server5/msg-shivaram-2/refresh
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/setconf /train/iplanet/server5/msg-shivaram-2/setconf
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/start-msg /train/iplanet/server5/msg-shivaram-2/start-msg
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/stop-msg /train/iplanet/server5/msg-shivaram-2/stop-msg
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/start-ens /train/iplanet/server5/msg-shivaram-2/start-ens
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/stop-ens /train/iplanet/server5/msg-shivaram-2/stop-ens
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/README.txt /train/iplanet/server5/msg-shivaram-2/README.txt
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/imsimta /train/iplanet/server5/msg-shivaram-2/imsimta
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/imta/config/ChannelDefaults.opt /train/iplanet/server5/msg-shivaram-2/imta/config/ChannelDefaults.opt
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/imta/config/big5.txt /train/iplanet/server5/msg-shivaram-2/imta/config/big5.txt
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/imta/config/cns11643.txt /train/iplanet/server5/msg-shivaram-2/imta/config/cns11643.txt
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/imta/config/gb2312.txt /train/iplanet/server5/msg-shivaram-2/imta/config/gb2312.txt
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/imta/config/jis0208.txt /train/iplanet/server5/msg-shivaram-2/imta/config/jis0208.txt
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/imta/config/jis0212.txt /train/iplanet/server5/msg-shivaram-2/imta/config/jis0212.txt
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/imta/config/ksx1001.txt /train/iplanet/server5/msg-shivaram-2/imta/config/ksx1001.txt
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/imta/config/charnames.txt /train/iplanet/server5/msg-shivaram-2/imta/config/charnames.txt
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/imta/config/charsets.txt /train/iplanet/server5/msg-shivaram-2/imta/config/charsets.txt
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/imta/config/charsets_ps.txt /train/iplanet/server5/msg-shivaram-2/imta/config/charsets_ps.txt
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/imta/config/charsubs.txt /train/iplanet/server5/msg-shivaram-2/imta/config/charsubs.txt
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/imta/config/countries.txt /train/iplanet/server5/msg-shivaram-2/imta/config/countries.txt
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/imta/config/dirsync.opt /train/iplanet/server5/msg-shivaram-2/imta/config/dirsync.opt
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/imta/config/dispatcher.cnf /train/iplanet/server5/msg-shivaram-2/imta/config/dispatcher.cnf
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/imta/config/dl_auth.map /train/iplanet/server5/msg-shivaram-2/imta/config/dl_auth.map
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/imta/config/dns_canonical.rules /train/iplanet/server5/msg-shivaram-2/imta/config/dns_canonical.rules
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/imta/config/imta_tailor /train/iplanet/server5/msg-shivaram-2/imta/config/imta_tailor
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/imta/config/internet.rules /train/iplanet/server5/msg-shivaram-2/imta/config/internet.rules
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/imta/config/job_controller.cnf /train/iplanet/server5/msg-shivaram-2/imta/config/job_controller.cnf
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/imta/config/languages.txt /train/iplanet/server5/msg-shivaram-2/imta/config/languages.txt
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/imta/config/magic.dat /train/iplanet/server5/msg-shivaram-2/imta/config/magic.dat
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/imta/config/maximum.dat /train/iplanet/server5/msg-shivaram-2/imta/config/maximum.dat
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/imta/config/maximum_charset.dat /train/iplanet/server5/msg-shivaram-2/imta/config/maximum_charset.dat
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/imta/config/maximum_command.dat /train/iplanet/server5/msg-shivaram-2/imta/config/maximum_command.dat
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/imta/config/name_content.dat /train/iplanet/server5/msg-shivaram-2/imta/config/name_content.dat
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/imta/config/option_charset.dat /train/iplanet/server5/msg-shivaram-2/imta/config/option_charset.dat
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/imta/config/locale/C/LC_MESSAGES/return_bounced.txt /train/iplanet/server5/msg-shivaram-2/imta/config/locale/C/LC_MESSAGES/return_bounced.txt
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/imta/config/locale/C/LC_MESSAGES/return_deferred.txt /train/iplanet/server5/msg-shivaram-2/imta/config/locale/C/LC_MESSAGES/return_deferred.txt
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/imta/config/locale/C/LC_MESSAGES/return_delayed.txt /train/iplanet/server5/msg-shivaram-2/imta/config/locale/C/LC_MESSAGES/return_delayed.txt
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/imta/config/locale/C/LC_MESSAGES/return_delivered.txt /train/iplanet/server5/msg-shivaram-2/imta/config/locale/C/LC_MESSAGES/return_delivered.txt
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/imta/config/locale/C/LC_MESSAGES/return_failed.txt /train/iplanet/server5/msg-shivaram-2/imta/config/locale/C/LC_MESSAGES/return_failed.txt
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/imta/config/locale/C/LC_MESSAGES/return_forwarded.txt /train/iplanet/server5/msg-shivaram-2/imta/config/locale/C/LC_MESSAGES/return_forwarded.txt
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/imta/config/locale/C/LC_MESSAGES/return_header.opt /train/iplanet/server5/msg-shivaram-2/imta/config/locale/C/LC_MESSAGES/return_header.opt
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/imta/config/locale/C/LC_MESSAGES/return_prefix.txt /train/iplanet/server5/msg-shivaram-2/imta/config/locale/C/LC_MESSAGES/return_prefix.txt
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/imta/config/locale/C/LC_MESSAGES/return_suffix.txt /train/iplanet/server5/msg-shivaram-2/imta/config/locale/C/LC_MESSAGES/return_suffix.txt
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/imta/config/locale/C/LC_MESSAGES/return_timedout.txt /train/iplanet/server5/msg-shivaram-2/imta/config/locale/C/LC_MESSAGES/return_timedout.txt
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/imta/bin/sendmail /train/iplanet/server5/msg-shivaram-2/imta/bin/sendmail
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/imta/bin/cshrc /train/iplanet/server5/msg-shivaram-2/imta/bin/cshrc
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/imta/bin/kshrc /train/iplanet/server5/msg-shivaram-2/imta/bin/kshrc
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/attach_fs.html /train/iplanet/server5/msg-shivaram-2/html/attach_fs.html
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/collect_fs.html /train/iplanet/server5/msg-shivaram-2/html/collect_fs.html
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/comp_fs.html /train/iplanet/server5/msg-shivaram-2/html/comp_fs.html
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/fldr_fs.html /train/iplanet/server5/msg-shivaram-2/html/fldr_fs.html
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/frame.html /train/iplanet/server5/msg-shivaram-2/html/frame.html
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/ldap_fs.html /train/iplanet/server5/msg-shivaram-2/html/ldap_fs.html
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/mbox_fs.html /train/iplanet/server5/msg-shivaram-2/html/mbox_fs.html
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/msg_fs.html /train/iplanet/server5/msg-shivaram-2/html/msg_fs.html
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/opts_fs.html /train/iplanet/server5/msg-shivaram-2/html/opts_fs.html
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/receipt_fs.html /train/iplanet/server5/msg-shivaram-2/html/receipt_fs.html
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/compRecipient.js /train/iplanet/server5/msg-shivaram-2/html/compRecipient.js
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/editPabEntry.js /train/iplanet/server5/msg-shivaram-2/html/editPabEntry.js
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/form.js /train/iplanet/server5/msg-shivaram-2/html/form.js
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/editPabGroup.js /train/iplanet/server5/msg-shivaram-2/html/editPabGroup.js
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/lookup.js /train/iplanet/server5/msg-shivaram-2/html/lookup.js
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/main.js /train/iplanet/server5/msg-shivaram-2/html/main.js
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/pab.js /train/iplanet/server5/msg-shivaram-2/html/pab.js
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/util.js /train/iplanet/server5/msg-shivaram-2/html/util.js
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/en/compRecipient_fs.html /train/iplanet/server5/msg-shivaram-2/html/en/compRecipient_fs.html
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/en/default.html /train/iplanet/server5/msg-shivaram-2/html/en/default.html
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/en/editPabEntry_fs.html /train/iplanet/server5/msg-shivaram-2/html/en/editPabEntry_fs.html
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/en/editPabGroup_fs.html /train/iplanet/server5/msg-shivaram-2/html/en/editPabGroup_fs.html
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/en/lookup_fs.html /train/iplanet/server5/msg-shivaram-2/html/en/lookup_fs.html
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/en/mail.html /train/iplanet/server5/msg-shivaram-2/html/en/mail.html
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/en/pab_fs.html /train/iplanet/server5/msg-shivaram-2/html/en/pab_fs.html
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/en/help2.htm /train/iplanet/server5/msg-shivaram-2/html/en/help2.htm
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/en/ix.htm /train/iplanet/server5/msg-shivaram-2/html/en/ix.htm
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/en/topics.htm /train/iplanet/server5/msg-shivaram-2/html/en/topics.htm
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/en/i18n.js /train/iplanet/server5/msg-shivaram-2/html/en/i18n.js
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/en/iplanet.jpg /train/iplanet/server5/msg-shivaram-2/html/en/iplanet.jpg
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/ja/compRecipient_fs.html /train/iplanet/server5/msg-shivaram-2/html/ja/compRecipient_fs.html
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/ja/default.html /train/iplanet/server5/msg-shivaram-2/html/ja/default.html
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/ja/editPabEntry_fs.html /train/iplanet/server5/msg-shivaram-2/html/ja/editPabEntry_fs.html
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/ja/editPabGroup_fs.html /train/iplanet/server5/msg-shivaram-2/html/ja/editPabGroup_fs.html
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/ja/lookup_fs.html /train/iplanet/server5/msg-shivaram-2/html/ja/lookup_fs.html
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/ja/mail.html /train/iplanet/server5/msg-shivaram-2/html/ja/mail.html
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/ja/pab_fs.html /train/iplanet/server5/msg-shivaram-2/html/ja/pab_fs.html
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/ja/i18n.js /train/iplanet/server5/msg-shivaram-2/html/ja/i18n.js
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/ko/compRecipient_fs.html /train/iplanet/server5/msg-shivaram-2/html/ko/compRecipient_fs.html
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/ko/default.html /train/iplanet/server5/msg-shivaram-2/html/ko/default.html
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/ko/editPabEntry_fs.html /train/iplanet/server5/msg-shivaram-2/html/ko/editPabEntry_fs.html
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/ko/editPabGroup_fs.html /train/iplanet/server5/msg-shivaram-2/html/ko/editPabGroup_fs.html
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/ko/lookup_fs.html /train/iplanet/server5/msg-shivaram-2/html/ko/lookup_fs.html
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/ko/mail.html /train/iplanet/server5/msg-shivaram-2/html/ko/mail.html
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/ko/pab_fs.html /train/iplanet/server5/msg-shivaram-2/html/ko/pab_fs.html
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/ko/i18n.js /train/iplanet/server5/msg-shivaram-2/html/ko/i18n.js
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/de/compRecipient_fs.html /train/iplanet/server5/msg-shivaram-2/html/de/compRecipient_fs.html
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/de/default.html /train/iplanet/server5/msg-shivaram-2/html/de/default.html
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/de/editPabEntry_fs.html /train/iplanet/server5/msg-shivaram-2/html/de/editPabEntry_fs.html
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/de/editPabGroup_fs.html /train/iplanet/server5/msg-shivaram-2/html/de/editPabGroup_fs.html
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/de/lookup_fs.html /train/iplanet/server5/msg-shivaram-2/html/de/lookup_fs.html
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/de/mail.html /train/iplanet/server5/msg-shivaram-2/html/de/mail.html
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/de/pab_fs.html /train/iplanet/server5/msg-shivaram-2/html/de/pab_fs.html
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/de/i18n.js /train/iplanet/server5/msg-shivaram-2/html/de/i18n.js
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/fr/compRecipient_fs.html /train/iplanet/server5/msg-shivaram-2/html/fr/compRecipient_fs.html
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/fr/default.html /train/iplanet/server5/msg-shivaram-2/html/fr/default.html
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/fr/editPabEntry_fs.html /train/iplanet/server5/msg-shivaram-2/html/fr/editPabEntry_fs.html
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/fr/editPabGroup_fs.html /train/iplanet/server5/msg-shivaram-2/html/fr/editPabGroup_fs.html
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/fr/lookup_fs.html /train/iplanet/server5/msg-shivaram-2/html/fr/lookup_fs.html
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/fr/mail.html /train/iplanet/server5/msg-shivaram-2/html/fr/mail.html
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/fr/pab_fs.html /train/iplanet/server5/msg-shivaram-2/html/fr/pab_fs.html
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/fr/i18n.js /train/iplanet/server5/msg-shivaram-2/html/fr/i18n.js
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/es/compRecipient_fs.html /train/iplanet/server5/msg-shivaram-2/html/es/compRecipient_fs.html
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/es/default.html /train/iplanet/server5/msg-shivaram-2/html/es/default.html
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/es/editPabEntry_fs.html /train/iplanet/server5/msg-shivaram-2/html/es/editPabEntry_fs.html
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/es/editPabGroup_fs.html /train/iplanet/server5/msg-shivaram-2/html/es/editPabGroup_fs.html
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/es/lookup_fs.html /train/iplanet/server5/msg-shivaram-2/html/es/lookup_fs.html
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/es/mail.html /train/iplanet/server5/msg-shivaram-2/html/es/mail.html
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/es/pab_fs.html /train/iplanet/server5/msg-shivaram-2/html/es/pab_fs.html
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/es/i18n.js /train/iplanet/server5/msg-shivaram-2/html/es/i18n.js
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/zh-CN/compRecipient_fs.html /train/iplanet/server5/msg-shivaram-2/html/zh-CN/compRecipient_fs.html
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/zh-CN/default.html /train/iplanet/server5/msg-shivaram-2/html/zh-CN/default.html
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/zh-CN/editPabEntry_fs.html /train/iplanet/server5/msg-shivaram-2/html/zh-CN/editPabEntry_fs.html
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/zh-CN/editPabGroup_fs.html /train/iplanet/server5/msg-shivaram-2/html/zh-CN/editPabGroup_fs.html
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/zh-CN/lookup_fs.html /train/iplanet/server5/msg-shivaram-2/html/zh-CN/lookup_fs.html
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/zh-CN/mail.html /train/iplanet/server5/msg-shivaram-2/html/zh-CN/mail.html
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/zh-CN/pab_fs.html /train/iplanet/server5/msg-shivaram-2/html/zh-CN/pab_fs.html
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/zh-CN/i18n.js /train/iplanet/server5/msg-shivaram-2/html/zh-CN/i18n.js
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/zh-TW/compRecipient_fs.html /train/iplanet/server5/msg-shivaram-2/html/zh-TW/compRecipient_fs.html
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/zh-TW/default.html /train/iplanet/server5/msg-shivaram-2/html/zh-TW/default.html
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/zh-TW/editPabEntry_fs.html /train/iplanet/server5/msg-shivaram-2/html/zh-TW/editPabEntry_fs.html
    cmdpath: none
    runpath: none
    MESSAGE: running command
    cp /train/iplanet/server5/bin/msg/install/templates/msg-inst/msg/html/zh-TW/editPabGroup_fs.html /train/iplanet/server5/msg-shivaram-2/html/zh-TW/editPabGroup_fs.html
    cmdpath: none

    You are probably installing on a hardened machine.
    The "installation guide" says that if you are doing so, you need to create a file named libx11.so.4 and update your LD_LIBRARY_PATH (see http://docs.iplanet.com/docs/manuals/messaging/ims52/ig/unix/overview.htm)but:
    1- the library name is libX11.so.4 and
    2- for jre a common file is not enough, you need to install SUNWxwplt at least. This will install the library on /usr/openwin/lib.
    You can check the results running <server-root>/bin/base/jre/bin/jre
    Hope that helps and sorry about my poor english.

  • Unable to get the response from dynamic partnerlink

    Hi
    I used dynamic partnerlink, in this i am able to invoke the services dynamcially but i am unable to get the response from the services which i had invoked dynamically. In my dynamic partnerlink wsdl i had included callback binding and call back service in the wsdl you can see them below
    <binding name="LoanServiceCallbackBinding" type="tns:LoanServiceCallback">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="onResult">
    <soap:operation soapAction="onResult" style="document"/>
    <input>
    <soap:header message="tns:RelatesToHeader" part="RelatesTo" use="literal" required="false"/>
    <soap:body use="literal"/>
    </input>
    </operation>
    </binding>
    <service name="LoanServiceCallbackService">
    <port name="LoanServiceCallbackPort" binding="tns:LoanServiceCallbackBinding">
    <soap:address location="http://openuri.org"/>
    </port>
    </service>
    please help me on this
    thanks
    Srikanth

    Hi, thanks for the input
    Actually My partnerLink had two messageTypes one for Input message request and the other for the Output message request and for the input message i had used the operation as initiate also for the output messsage type operation as result.For both of them binding is defined.
    With these am passing the values from myBPELl to the service which am nvoking dynamically but unable to capture the response the variables are local to myBPEL.

  • How can I print the calendar from my iPad?

    How can I print the calendar from my iPad/iPhone 4?  I would like each month on a separate 8 1/2 x 11 sheet of paper.  Thanks!

    What print app do you have? I think that you need certain printing apps in order to print the iPad calendar. The print feature is not built into the app itself ...As far as I know.

  • Print the Screen from Mobile App

    Hi All,
    As i am creating the new Syclo Mobile application for iPad, and in that i need to print the screen from the application, is it possible to do that or else i need to store in any type of the file then transfer to mail and then prin the document? kindly suggest me if any possible way to do that?
    Tags edited by: Michael Appleby

    Hi Jason,
    Can we take a print out from syclo application using a external printer, if so please share me the link for know the syntax and code snippet if possible.
    Thanks & Regards
    R. Thiyagarajan

  • How do you print the calander from an iPad to a wireless HP6520. I can print everything else.

    Hiw do you print the calander from an iPad to a wifi connected HP 6520. I can print everything else. Printer and wifi both working fine.

    It's not meant to support that. You can do a work around by taking a screen cap and then printing that. To take a screen cap push down the home and sleep button at the same time (like you'd press down a camera shutter)
    The screen will flash white and you'll hear a camera sound. You'll find the screen cap in your photos app.

  • How can I Print the calendar from iPad with WiFi-Printer?

    It's possible to print the calendar from iPad (1) to a WiFi-printer?

    I also wish I could print my calendar from my ipad, it's crucial for my business yet they forgot to put a print option????? How hard would it be?? A screen shot doesn't help, on my wifi printer it reduces the image by one third? They say computers make like easier, but do they? We spend so much time just trying to get stuff to work, we can never really do what we need to, without having to talk to seven hundred people to find a hard to work solution. 

  • Error: Request failed. unexpected response from server. the status code of response is '0' in safari browser

    Hi,
    I am using Javascript serializer to send server side code to javascript.
    This works in IE 9, Mozilla, chrome. But fails with error in Safari as "request failed. unexpected response from server. the status code of response is '0' . status text of the response is ". null
    My code is as below:
    <asp:UpdatePanel ID="panLayout" runat="server">
    <ContentTemplate>
    <div id="divloadingImage" >
    <br />
    <asp:Image ID="imgLoading" runat="server" ImageUrl="/images/rotate.gif" ImageAlign="Middle" />
    <br />
    </div>
    <div id="banner-fade" >
    <ul id="carousel" class="bjqs">
    </ul>
    </div>
    <asp:Timer ID="timerRSS" Interval="1" runat="server" ontick="timerRSS_Tick"></asp:Timer>
    </ContentTemplate>
    </asp:UpdatePanel>
    In CS:
    protected void timerRSS_Tick(object sender, EventArgs e)
    DisplayImages();
    divloadingImage.Visible = false;
    bannerfade.Visible = true;
    timerRSS.Enabled = false;
    private void DisplayImages()
    List<SharePointListItem> allImages = GetallImages();
    JavaScriptSerializer serializer = new JavaScriptSerializer();
    string json = serializer.Serialize(allImages);
    string script = string.Format("<script type=\"text/javascript\">var allSliderImages={0}</script>", json);
    if (!this.Page.ClientScript.IsClientScriptBlockRegistered("clientScripts"))
    ScriptManager.RegisterClientScriptBlock(panLayout, panLayout.GetType(), "clientScripts", script, false);
    string scriptRegister = string.Format("<script type=\"text/javascript\">FetchData();</script>");
    ScriptManager.RegisterClientScriptBlock(panLayout, panLayout.GetType(), "clientScriptData", scriptRegister, false);
    In Javascript:
    function FetchData() {
    if (typeof allSliderImages !== "undefined") {
    for (var i = 0; i < allSliderImages.length; i++) {
    Imagesuccess(allSliderImages[i].fileleafref, allSliderImages[i].filedirref, allSliderImages[i].caption1);
    var rota = $("#bannerfade");
    rota.css("display", "block");
    function Imagesuccess(fileLeaf, fileDir, UserCaption1) {
    var ul = $('#bannerfade > ul');
    var li;
    var filename = fileLeaf;
    var dir = fileDir;
    var caption1 = UserCaption1;
    var sfils = filename;
    filename = dir + '/' + filename;
    var imageCaptionData;
    if (caption1 != null && caption1 != "") {
    imageCaptionData = '<div class="HeadlineDiv">' + caption1 + '</div>';
    li = $('<li>' + imageCaptionData + '<div class="SubHeadline" style="color:white;">' + '<br/></div>' + '<img src="' + filename + '"/>' + '</li>');
    ul.append(li);
    $('#bannerfade').bjqs({
    height: 354,
    width: 970,
    responsive: true
    Below is the data I get:
    <script type="text/javascript">
    var allSliderImages=[{"id":"1","Title":"Scenic","caption1":"scenic","fileleafref":"02.jpg","filedirref":"/s/Test/Library"},
    {"id":"2","Title":"nature","caption1":"scenic2","fileleafref":"C034.jpg","filedirref":"/s/Test/Library"},
    {"id":"3","Title":"Tiff","caption1":"Tiff","fileleafref":"test_tiff.tif","filedirref":"/s/Test/Library"}]</script>
    The data is shown in all browsers except Safari. How to fix this?
    Update: I have checked this link: http://sharepoint.sureshc.com/2013/07/unexpected-response-data-from-server-in.html
    but that did not help.
    Thanks

    Hi,
    From
    this documentation, though SharePoint 2013 supports several commonly used web browsers including Apple Safari (latest released version), it is not guarantee
    that SharePoint 2013 can run perfectly on all these browsers, “certain web browsers could cause some SharePoint 2013 functionality to be downgraded, limited, or available only through alternative steps”.
    According to the code provided, it seems more relate to ASP.NET, therefore, a suggestion is that you can open a thread in ASP.NET forum, communities there will be more familiar
    with this issue:
    http://forums.asp.net/
    Thanks
    Patrick Liang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Patrick Liang
    TechNet Community Support

  • HT2486 How do I print the notes from a contact in my address book?

    Here is the whole question.   I am still adjusting to life without my Palm desktop app
    How do I print the notes from a contact in my address book?  I used to do this all the time with my Palm desktop app and would like to be able to do this, as I use the notes field for lots of important info.  thanks.

    Print > Attribues > checkmark notes?

Maybe you are looking for

  • SDK v3.0 Compatible with 2.4

    Just starting to look into LR plug-in work. I'm still on LR v2.4. My question is whether the currently available SDK 3.0 for LR would be backwards compatible with LR 2.4, or do I need a 2.x SDK (and if so, where could I find that).

  • Album art sync and disp

    For any one who has tried absolutely everything to get the album art?on their zen vision m and have it fail. I feel for you. If this is you, consider using a program called media monkey. It doesn't matter what size the pics are and it syncs them stra

  • Flash IDE: Retain collapsed code

    I've been developing using Flash CS4 Professional and have some rather large classes. I like to collapse the code to make it more managable, but when I save the file and reopen later, the code remains collapsed only occasionally. The vast majority of

  • Slow performance of getObject on ref cursor

    Hi guys and gals, I have a performance issue in accessing data from a ref cursor. The getObject statement is unbelievably slow. In one case, it takes as long as 3 seconds to execute a single getObject statement. I have tested this using a simple Syst

  • Does the nano use the same dock connector cord as a 3rd generation iPod?

    I currently have a 3rd gen iPod (touch wheel w/ four buttons above it) and am looking to upgrade to the new iPod Nano. Will all my old accessories be compatable with the nano? - Dock connector, AC adapator, car charger etc. Thanks in advance.