Error Unexpected end of file from server with HTTP POST

Hi everyone,
I'm coding a simple client to download some information from a local machine in my LAN.
I have to do this with an http post request.
When i try to parse the http response the program catch an exception, this one:
java.net.SocketException: Unexpected end of file from server
at sun.net.www.http.HttpClient.parseHTTPHeader(...)
the parameter is a JSON request, and of course the response is a JSON formatted.
i put the http request code:
import java.io.BufferedInputStream;
import java.io.BufferedReader;
import java.io.ByteArrayOutputStream;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.net.HttpURLConnection;
import java.net.URL;
public class HttpDownloaderThread  extends Thread{
     private String url;
        private String param;
     private HttpDownloadListener listener;
     private HttpURLConnection connection=null;
     private InputStream is;
        private OutputStreamWriter wr;
     public HttpDownloaderThread(String _url,String param, HttpDownloadListener _listener){
          url = _url;
          listener = _listener;
                this.param=param;
     public void run(){
          try{
               connection=(HttpURLConnection)new URL(url).openConnection();
                        connection.setRequestMethod("POST");
                        connection.setReadTimeout(5000);
                        connection.setRequestProperty("Content-Type", "application/jsonrequest");
                        connection.setDoOutput(true);
                        wr = new OutputStreamWriter(connection.getOutputStream());
                        wr.write(param, 0, param.length());
                        wr.flush();
                        int responseCode=0;
               System.out.println();
                        try{
                         responseCode= connection.getResponseCode();
                        }catch(Exception e){
                            e.printStackTrace();
               if (responseCode == HttpURLConnection.HTTP_OK){
                    is = connection.getInputStream();
                                 BufferedReader rd = new BufferedReader(new InputStreamReader(is));
                                String line;
                                while ((line = rd.readLine()) != null) {
                                    System.out.println(line);
                    closeHttpConnection();
                    listener.resourceDownloaded(url, null);
                            else{
                            closeHttpConnection();
                            listener.downloadFailed(url, new Exception("Http error: " + Integer.toString(responseCode)));
          }catch(Exception e){
               e.printStackTrace();
               listener.downloadFailed(url, e);
          }finally{
     public void closeHttpConnection(){
          if (is != null){
               try{
                    is.close();
                                wr.close();
               }catch (Exception e){
               }finally{
                    is = null;
                                wr=null;
          if (connection != null){
               try{
                    connection.disconnect();
               }catch (Exception e){
               }finally{
                    connection = null;
}there's someone who know's why??
Thanks to everyone :)
Thomas.

jole_star wrote:
this problem also happen to me,.So since you provided actually no information about your problem you are going to get exactly the same response.
Please don't hijack old threads. Start your own and provide much much much more information.
I shall lock this thread.

Similar Messages

  • Quick par upload NWDS ERROR   Unexpected end of file from server

    Hi:
    I can´t deploy my par file from NWDS, this is the error:
    28.04.09 / 08:24] #ERROR LEVEL# com.sap.portal.developmentTools.ideSpecific.eclipse.wizards.sapmakepar.SAPMPWizard$1 > No Information
    java.net.SocketException: Unexpected end of file from server
         at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:763)
         at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:626)
         at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:760)
         at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:626)
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:957)
         at com.sap.portal.developmentTools.general.wizards.upload.DeployEngine.readResponse(DeployEngine.java:363)
         at com.sap.portal.developmentTools.general.wizards.upload.DeployEngine.uploadPar(DeployEngine.java:435)
         at com.sap.portal.developmentTools.general.wizards.upload.DeployEngine.deploy(DeployEngine.java:221)
         at com.sap.portal.developmentTools.ideSpecific.eclipse.wizards.sapmakepar.SAPMPWizard$1.processUpload(SAPMPWizard.java:416)
         at com.sap.portal.developmentTools.ideSpecific.eclipse.wizards.sapmakepar.SAPMPWizard$1.run(SAPMPWizard.java:350)
         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:302)
         at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:252)
         at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:758)
         at com.sap.portal.developmentTools.ideSpecific.eclipse.wizards.sapmakepar.SAPMPWizard.performFinish(SAPMPWizard.java:531)
         at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:608)
         at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:321)
         at org.eclipse.jface.dialogs.Dialog$1.widgetSelected(Dialog.java:423)
         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
         at org.eclipse.jface.window.Window.runEventLoop(Window.java:583)
         at org.eclipse.jface.window.Window.open(Window.java:563)
         at com.sap.portal.developmentTools.general.uploader.QuickPARUploader.run(QuickPARUploader.java:146)
         at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)
         at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:456)
         at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionContributionItem.java:403)
         at org.eclipse.jface.action.ActionContributionItem.access$0(ActionContributionItem.java:397)
         at org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContributionItem.java:72)
         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
         at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
         at com.tssap.util.startup.WBLauncher.run(WBLauncher.java:79)
         at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
         at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.sap.ide.eclipse.startup.Main.basicRun(Main.java:291)
         at com.sap.ide.eclipse.startup.Main.run(Main.java:789)
         at com.sap.ide.eclipse.startup.Main.main(Main.java:607)
    Any idea?
    Thanks a lot for your time on this thread.
    Rocío.

    Hi Rocio,
    Check the proxy settings in NWDS and use JAVA RUNTIME 1.5.0_06-b05.
    Please refer to the links below where similar problems have been resolved:
    Cannot deploy par from NWDS
    Can not download SOAP CLIENT TOOL
    Another way of deploying the .par file is from System Administration -> Support -> Portal Runtime -> Administration Console.
    Hope this resolves your issue.
    Regards,
    Seema Rane.
    Edited by: Seema Rane on Apr 29, 2009 8:57 AM

  • Support Assistant, Can't register plugin, Unexpected end of file from server

    Hi, i have a problem with registration plugin with strange error "Unexpected end of file from server"
    All resolves perfectly for both sides.I add lines with vCenter into /etc/hosts and to vCenter %windir%/system32/././hosts.
    Test from Support Assistant, ip of vCenter was masked:
    enrck-suppass-01:/logs # wget https://1.2.3.4 --no-check-certificate
    --2013-02-05 06:08:22--  https://1.2.3.4/
    Connecting to 1.2.3.4:443... connected.
    WARNING: cannot verify 1.2.3.4's certificate, issued by `/O=VMware Installer':
      Unable to locally verify the issuer's authority.
    WARNING: certificate common name `VMware default certificate' doesn't match requested host name `1.2.3.4'.
    HTTP request sent, awaiting response... 200 OK
    Length: 3514 (3.4K) [text/html]
    Saving to: `index.html.2'
    100%[==========================================================================>] 3,514       --.-K/s   in 0s
    2013-02-05 06:08:22 (32.1 MB/s) - `index.html.2' saved [3514/3514]
    enrck-suppass-01:/logs #
    While registration process i wasn't saw any lines with my Assistant ip's into vpxd.log
    Debugging level -> Trace
    While registration i have:
    2013-02-05 05:30:07,011 ERROR com.vmware.gss.phonehome.util.PhoneHomePluginRegister - Can't register plugin
    com.sun.xml.ws.client.ClientTransportException: HTTP transport error: java.net.SocketException: Unexpected end of file from server
            at com.sun.xml.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:132)
            at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:153)
            at com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:94)
            at com.sun.xml.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:116)
    While registration i haven't any working firewalls and antiviruses.

    Additional info, for support:
    enrck-supass-01:/logs # wget https://supportassistant.vmware.com
    --2013-02-07 03:41:22--  https://supportassistant.vmware.com/
    Connecting to 10.5.8.4:8080... connected.
    Proxy request sent, awaiting response... 401 Unauthorized
    Authorization failed.
    enrck-supass-01:/logs # 

  • Error while starting the server - Unexpected end of file from server|

    Hi,
    I am getting below error when I start my glassfish server.
    SEVERE|sun-appserver2.1|com.stc.emanager.deployment.sunone.model.runtime.ServerRuntimeModel|_ThreadID=86;_ThreadName=httpWorkerThread-4048-3;_RequestID=8d1f2acd-9e4e-4e9f-a9fd-3b21e4223318;|Unexpected end of file from server|#]
    I see the process is running. But, I am not able to open admin console.
    could any one plz help me to resolve this issue.
    Thanks in Advance,
    -Manandi

    Welcome to the forum.
    Unfortunately for you, posting only about things not working isn't going to net you assistance or answers - at most you can get sympathy but there isn't too much of that to share with everyone. You should find a forum for the particular product that is not working. If you have a problem with Glassfish, then try the Glassfish forum.
    http://www.java.net/forums/glassfish/glassfish

  • Unexpected end of file from server

    Can someone confirm if this is an issue with the code being passed or if it is an issue with the applet?
    It seems that I may be receiving this message when I have more than one web app open that uses java.
    I am not a java developer but I am just looking for some help, tell me if more detail is needed please.
    Failed to parse the response with XML stream: java.net.SocketException: Unexpected end of file from server
         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 sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
         at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
         at com.kronos.wfc.platform.uiframework.framework.xml.SerializationClient.getResponse(SerializationClient.java:170)
         at com.kronos.wfc.platform.uiframework.applet.datamanager.RetrieveObjectsFromServer.run(RetrieveObjectsFromServer.java:172)
    Caused by: java.net.SocketException: Unexpected end of file from server
         at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source)
         at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
         at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source)
         at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(Unknown Source)
         at sun.net.www.protocol.https.HttpsURLConnectionImpl.getHeaderField(Unknown Source)
         at com.kronos.wfc.platform.uiframework.framework.xml.SerializationClient.getResponse(SerializationClient.java:132)
         ... 1 more
    UIDefaults.getUI() failed: no ComponentUI class for: javax.swing.JOptionPane[,0,0,0x0,invalid,alignmentX=0.0,alignmentY=0.0,border=,flags=0,maximumSize=,minimumSize=,preferredSize=,icon=,initialValue=,message=The application could not get data from the server.
    Please log off and try again.,messageType=ERROR_MESSAGE,optionType=DEFAULT_OPTION,wantsInput=false]
    java.lang.Error
         at javax.swing.UIDefaults.getUIError(Unknown Source)
         at javax.swing.MultiUIDefaults.getUIError(Unknown Source)
         at javax.swing.UIDefaults.getUI(Unknown Source)
         at javax.swing.UIManager.getUI(Unknown Source)
         at javax.swing.JOptionPane.updateUI(Unknown Source)
         at javax.swing.JOptionPane.<init>(Unknown Source)
         at javax.swing.JOptionPane.showOptionDialog(Unknown Source)
         at javax.swing.JOptionPane.showMessageDialog(Unknown Source)
         at javax.swing.JOptionPane.showMessageDialog(Unknown Source)
         at com.kronos.wfc.platform.uiframework.applet.baseapplet.KronosApplet.private_showErrorMessage(KronosApplet.java:3225)
         at com.kronos.wfc.platform.uiframework.applet.baseapplet.KronosApplet.showErrorMessage(KronosApplet.java:3193)
         at com.kronos.wfc.platform.uiframework.applet.baseapplet.KronosDataManager.showError(KronosDataManager.java:859)
         at com.kronos.wfc.platform.uiframework.applet.baseapplet.KronosDataManager.processNotification(KronosDataManager.java:429)
         at com.kronos.wfc.platform.uiframework.applet.baseapplet.KronosDataManager.update(KronosDataManager.java:741)
         at com.kronos.wfc.platform.uiframework.applet.datamanager.ServerConnectionObject.setRetrievedObject(ServerConnectionObject.java:195)
         at com.kronos.wfc.platform.uiframework.applet.datamanager.RetrieveObjectsFromServer.run(RetrieveObjectsFromServer.java:190)

    System.getProperties().put("proxySet", "true");You'll have to show what else you get from the server, but the above line does nothing.

  • Unexpected end fo file from server exception

    Hi all,
    When I try to run any of JWS demo application shipped with JRE, after a very long 'checking new version' message, the app ends up throwing the following exception :
    JNLPException[category: Download Error : Exception: java.net.SocketException: Unexpected end of file from server : LaunchDesc: null ]
         at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)
         at com.sun.javaws.cache.DownloadProtocol.isLaunchFileUpdateAvailable(Unknown Source)
         at com.sun.javaws.LaunchDownload.getUpdatedLaunchDesc(Unknown Source)
         at com.sun.javaws.Launcher.downloadResources(Unknown Source)
         at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
         at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
         at com.sun.javaws.Launcher.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)What's wrong ?
    Thanks in advance
    Setya

    I am having the same problem...Seyta, did the you
    find an answer?Not yet, another thread suggested that I check my proxy setting, I already do that with no luck, actually the my proxy setting at the JWS Console is the same as in my browser.
    Would u please inform me if u find solution.
    Thanks in advance.
    Setya

  • Error while reading a file from server

    Mine is 9i database and 11.5.10.2 oracle apps server
    I am trying to read PDF file from server, I used the below code
    l_bfile:=bfilename('\u05\app\applmgr\11i\oraclecomn\admin\out\jamuna_server','o7742576.out');
    if DBMS_LOB.FILEEXISTS(l_bfile) = 1 then
    dbms_output.put_line( 'Exists!');
    dbms_output.put_line(dbms_lob.getlength(l_bfile));
    else
    dbms_output.put_line( 'Not Exists!');
    end if;
    i used forward slashes (/) instead of backward slashes (\) too and i also made dbms_output.put_line(to_char(dbms_lob.getlength(l_bfile)));
    while using dbms_log package , i got the below error .I am bit worried since I have created directory and gave sufficicent priviliges too.
    Error report:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01460: unimplemented or unreasonable conversion requested
    ORA-06512: at "SYS.DBMS_LOB", line 485
    ORA-06512: at line 24
    I am sure bfilename('\u05\app\applmgr\11i\oraclecomn\admin\out\jamuna_server','o7742576.out') is give BFILE which is empty.
    Can you please suggest me what I can do to move further? what kind of priviliges it requires to point and read the file from server?
    Please help me in this.
    Thanks in advance

    I suspect you are not using a directory object is the problem.
    Here is the formal description of bfilename
    http://download.oracle.com/docs/cd/B10501_01/server.920/a96540/functions12a.htm#SQLRF00610
    Sybrand Bakker
    Senior Oracle DBA

  • Opening a file from server with options

    Hi all,
    I have one small problem.
    I have one radio group with two options. One is "open with wordpad" and the other is "open with notepad".
    There is one button with name "View", which when clicked, what ever option which is selected in the radio group, based on that i should be able to open a file which is there on the app server using the option selected.
    I'm not getting how to open the file which is there on server and with these options.
    Please help me with this problem.
    Regards,
    Sonu

    You can achive the same by following two methods. Since the file is in app server, you cannot directly view the file using client server method. But try the following options, its little bit long work around, even though there is no other way i think.
    1. Create a virtual directory for that folder in the app server. The same can be configued in the httpd.conf and then restart the http server.
    You can call the particular file like http://ipaddress:80/<vir-directory>/<your file name>
    In your forms view button, try to call the above url using web.show_docuement. FIle will be opened in a new web browser.
    Or
    2. Configure webutil in your forms and app server. Try to download the file from app server to your client machine using As_to_client funtion. And the using client_host command, you can call your file as you wish.
    Balaji

  • Calling a Web Server with HTTP POST to retrieve XML in chunks

    Hi,
    I have to call a Web Server with the HTPP POST method by providing the user id and password. I am getting the xml as output from the web server in chunks. This is possible through net.HTTPUrlConnection Java Api. But does any body knows how to implement this through OSB.
    Regards,
    Anuj Maheshwari

    sample usage:
      CALL FUNCTION 'HTTP_POST'
        EXPORTING
          ABSOLUTE_URI                = IM_OFX_CONTROL_DATA-ADDRESS
          REQUEST_ENTITY_BODY_LENGTH  = RESPONSE_ENTITY_BODY_LENGTH
          RFC_DESTINATION             = IM_OFX_CONTROL_DATA-HTTP_RFCDEST
          USER                        = IM_OFX_CONTROL_DATA-HTTP_USER
          PASSWORD                    = IM_OFX_CONTROL_DATA-HTTP_PASSWORD
          BLANKSTOCRLF                = 'X'
        IMPORTING
          STATUS_CODE                 = STATUS
          STATUS_TEXT                 = STATUS_TEXT
          RESPONSE_ENTITY_BODY_LENGTH = RLENGTH
        TABLES
          REQUEST_ENTITY_BODY         = LT_REQUEST
          RESPONSE_ENTITY_BODY        = RESPONSE
          RESPONSE_HEADERS            = LT_RESPONSE_HEADERS
          REQUEST_HEADERS             = LT_HTTP_HEADERS
       EXCEPTIONS
            OTHERS                      = 1.
    Refer the programs:
    LFPIFF02            
    LOFXALSU04          
    LPRGN_URL_RESPONSEU01
    LSBCCU01            
    LSFTPU09            
    for some idea.
    regards,
    ravi

  • How to delete file from server with space in name

    I am a novice, learned a little several years ago, but have to start all over again.
    I have set up the remote server (upload.comcast.net) without problems. I am unable to delete a file (file error:). I was able to upload the file, but cannot delete it. I figured out that that filename has a leading space. Now it's up on the server, but I cannot access it.
    Experiment:
    On the local folder, I deleted the leading space, and was able to upload, and delete it successfully. The original file remains unaccessible on the remote server.
    Thanks,
    Sonny

    Thanks for getting back so fast.
    Here is the error:
    /_4230151.ORF - error occurred - An FTP error occurred - cannot delete remote file _4230151.ORF.  Access denied.  The file may not exist, or there could be a permission problem.   Make sure you have proper authorization on the server and the server is properly configured
    As I mentioned before, I don't think that there is an authorization problem, as the changed name works fine, as does index.html
    What I do find interesting is that I was able to upload the file with the leading space. If I remember from several years ago, such a file would not even upload.
    I shutter to think of contacting Comcast. I think that they just give us the space with internet cable, but we are on our own with the website. Do you think that there might be some way to erase everything? I have only index.html up there, and don't mind starting over again.
    Sonny

  • Error when launching .rdp file from RDWebAccess with RD Gateway "NtlmWebAuthException: 2" on Mac Version 8.0.8 (Build 25010)

    When launching a .rdp file that has been download from an rdwebaccess session, the following error is generated "NtlmWebAuthException: 2". I have tested this on the Mac Microsoft Remote Desktop client version  8.0.8 (Build 25010).
    The following is the use case:
    Download the .RDP file for a published app "notepad.exe", on rdwebaccess (2012R2), accessed through the gateway (2012R2) VIA the connection broker (2012R2) on a RDSH server (2012R2). NLA is enabled everywhere.
    This same setup works on Windows using the Remote Desktop Connection client.
    I found that if you edit the .rdp file and add the following line (no quotes):
    "username:s: "
    Then the user is prompted for credentials. You may also set it to be "username:s:domain\username".
    This issue here appears that the Mac client is either ignoring the "prompt for credentials on client:i:1" setting, or it is passing blank credentials... or both.
    I appreciate all the work the MS team (and iTap) have done on this product... keep up the great work.
    Example failing RDP file:
    redirectclipboard:i:1
    redirectprinters:i:1
    redirectcomports:i:0
    redirectsmartcards:i:1
    devicestoredirect:s:*
    drivestoredirect:s:*
    redirectdrives:i:1
    session bpp:i:32
    prompt for credentials on client:i:1
    span monitors:i:1
    use multimon:i:1
    remoteapplicationmode:i:1
    server port:i:3389
    allow font smoothing:i:1
    promptcredentialonce:i:1
    videoplaybackmode:i:1
    audiocapturemode:i:1
    gatewayusagemethod:i:1
    gatewayprofileusagemethod:i:1
    gatewaycredentialssource:i:0
    full address:s:RDCB.COMPANY.COM
    alternate shell:s:||Notepad
    remoteapplicationprogram:s:||Notepad
    gatewayhostname:s:rdgateway.COMPANY.com
    remoteapplicationname:s:Notepad
    remoteapplicationcmdline:s:
    workspace id:s:RDCB.COMPANY.com
    use redirection server name:i:1
    loadbalanceinfo:s:tsv://MS Terminal Services Plugin.1.Notepad
    alternate full address:s:RDCB.COMPANY.COM
    signscope:s:Full Address,Alternate Full Address,Use Redirection Server Name,Server Port,GatewayHostname,GatewayUsageMethod,GatewayProfileUsageMethod,GatewayCredentialsSource,PromptCredentialOnce,Alternate Shell,RemoteApplicationProgram,RemoteApplicationMode,RemoteApplicationName,RemoteApplicationCmdLine,RedirectDrives,RedirectPrinters,RedirectCOMPorts,RedirectSmartCards,RedirectClipboard,DevicesToRedirect,DrivesToRedirect,LoadBalanceInfo
    signature:s:ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB ABCXXX123xDummyDataHerex321XXXCAB

    Hi,
    I too have this problem but I am unsure of how you fo about adding the "username:s:domain\username"
    into the file as it is downloaded via the RD Web Access page.
    I know that I can edit the RDP file after the event and then send it to my users but I don't want the
    hassle of doing this,
    The weird thing is that ver 8.0.8 release notes say that there is a "Fix for the issues of starting remote connection from RDP files that included gateway information" 
    Anybody have any ideas?
    Thanks,
    Jaggie

  • Sending files from server in http-response

    I'm building a site with a content that is supposed to be very much dynamic. I'm going to store a large number of files, images and sounds etc. either in my database or on disk (outside my webapp).
    Is it possible to do this, and still embed the images in the page?
    also, for sound files I would like to have a download.jsp?file=<id> and have it produce the file for download, like seen anywhere on the web.
    My best guess is that I will somehow embed the file data in the header-section of the page, but I don't have the slightest clue of how to achieve this...
    Do you?
    /J

    Ah, should've thought of that.
    Is there anything to stop me from doing this in a
    JSP-page, or does the .jsp --> servlet conversion
    mess up the response?It shouldn't mess up the response as long as nothing is written before or after the scriptlet that does the work...
    But this is the sort of thing that Servlets are best at, and you should do it streight in servlet, rather than adding a layer for JSP that does nothing but possibly make things more complicated...

  • Unexpected end of file has occurred. The following elements are not closed

    My installation of UPK has decided to stop working with the following error;
    Unexpected end of file has occurred. The following elements are not closed: Storage. Line 3, position 1.
    We've uninstalled and reinstalled the application and have the same error.
    Any insight into this error is apprectiated.
    A

    Verify from Compatibility between Office 365 MP and Management Server because this issue related to error in MP that you imported. And i think you use below link which is compatible with Management server 2007 R2 cu4 not SCOM 2012 R2
    http://www.systemcentercentral.com/scom-monitoring-office-365/
    Also you can refer to below link
    http://thoughtsonopsmgr.blogspot.com/2011/09/scom-and-office-365.html
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question, please click "Mark As Answer".

  • How to solve this problem in shell script: unexpected end of file

    Hello,
    I need to connect to each databases listed in /etc/oratab and check which database is shutdown(or mounted-only) and which database is opened to accept connection. However, following shell script gives me this error message:
    $>./check_is_db_runing.sh
    ./check_is_db_runing.sh: line 39: syntax error: unexpected end of file
    Could anyone please help me to solve this problem, why the code (line 29 to 32) does not work in the LOOP? It works without the LOOP.
    Thanks in advance!!!
    1 #!/bin/bash
    2
    3 LOGDIR=/data03/oracle/dbscripts
    4 ORATABFILE=/etc/oratab
    5
    6 cat $ORATABFILE | while read LINE
    7 do
    8 case $LINE in
    9 \#*) ;; #comment-line in oratab
    10 *)
    11 ORACLE_SID=`echo $LINE | awk -F: '{print $1}' -`
    12 if [ "$ORACLE_SID" = '*' ] ; then
    13 # NULL SID - ignore
    14 ORACLE_SID=""
    15 continue
    16 fi
    17
    18 # Proceed only if last field is 'Y'
    19 if [ "`echo $LINE | awk -F: '{print $NF}' -`" = "Y" ] ; then
    20 if [ `echo $ORACLE_SID | cut -b 1` != '+' ]; then
    21
    22 ORACLE_HOME=`echo $LINE | awk -F: '{print $2}' -`
    23 PATH=$ORACLE_HOME/bin:/bin:/usr/bin:/etc
    24 export ORACLE_SID ORACLE_HOME PATH
    25 LOGFILE=$LOGDIR/check_$ORACLE_SID.log
    26 touch $LOGFILE
    27 #echo $LOGFILE
    28
    29 $ORACLE_HOME/bin/sqlplus -s "/ as sysdba" << EOF > $LOGFILE
    30 select * from global_name;
    31 exit
    32 EOF
    33
    34 fi
    35 fi
    36 ;;
    37 esac
    38 done

    This code works ie. generates logs with sql result - slightly modified to be runable:
    #!/bin/bash
    LOGDIR=/tmp
    ORATABFILE=/etc/oratab
    cat $ORATABFILE | while read LINE
    do
    case $LINE in
    \#*) ;; #comment-line in oratab
    ORACLE_SID=`echo $LINE | awk -F: '{print $1}' -`
    if \[ -z $ORACLE_SID \] ; then
    # NULL SID - ignore
    ORACLE_SID=""
    continue
    # Proceed only if last field is 'Y'
    else
    ORACLE_HOME=`echo $LINE | awk -F: '{print $2}' -`
    PATH=$ORACLE_HOME/bin:/bin:/usr/bin:/etc
    export ORACLE_SID ORACLE_HOME PATH
    LOGFILE=$LOGDIR/check_$ORACLE_SID.log
    touch $LOGFILE
    #echo $LOGFILE
    $ORACLE_HOME/bin/sqlplus -s "/ as sysdba" << EOF > $LOGFILE
    select * from global_name;
    exit
    EOF
    fi
    esac
    done

  • How can i download many file from server one times.

    Hi,
    I want to create the service to download multi-files from web server one time
    from browser. It seems no way to do it. My soulition is compressing the files
    to zip before download it. The problem is that when the user uncompresses the
    files,full path of downloaded files are setted. Look like this:
    /usr/tmp/test/file1
    /usr/tmp/test/file2
    /usr/tmp/test/file3
    My question is :
    1. Is there any way not to specify the full path of a file when
    add the file to zip.
    Here is the source
    BufferedInputStream bis
    = new BufferedInputStream(
    new FileInputStream( file ) );
    //if not full path . can is works?????
    ZipEntry target = new ZipEntry( file.getPath() );
    // zos is ZipOutputStream
    zos.putNextEntry( target );
    int c;
    while( ( c = bis.read() ) != EOF ) {
    zos.write( (byte)c );
    2. Is there any way to get and change the current work directory of my server ?
    Please help!!

    If i use file.getName(). I will lost the struct of path.
    I means that,if i compress the list of files:
    /usr/tmp/test1/file1
    /usr/tmp/test1/file2
    /usr/tmp/test2/file3
    can i keep the part of path's strcut. (usr/tmp/../.. etc.)
    I tried to do as this:
    target = new ZipEntry( file.getPath.substring(1));
    an error be reported when uncompressed the zip file.
    error message:
    warning [zt000002.zip]: extra 28 bytes at beginning or within Zip file (attempting to process anyway)
    Error in file #1: bad Zip file offset (Error local header signature not found): 0
    (attempting to re-compensate)
    Extracting 20030109.xls
    Error: unexpected end of file encountered
    Error: invalid compressed data to inflate
    Why? can i set "any" entry name??

Maybe you are looking for

  • The keyboard of my computer doesn't work

    **** apple community, i have a very serius problem with my macbook. Today, i iniciated my computer to start working as usual, but i discovered that my computer do not recognize the keyboard or the trackapd that are attached to it. These are not exter

  • MySite Newsfeed: Follow without Permission

    Users can see Newsfeeds from pages they follow even without access permission to the page. When a user follows a page and afterwards his access permission is revoked he can still see all old and new messages of this site. I found this technet article

  • Material master classification view mandatory

    Hi All, Can we make classification view required for any material creation using MM01.  We want the user to maintain a value in the classification view before the user is allowed to save and create a new material.  Any help would be greatly appreciat

  • SQL Server compilation and Debugging

    Hello, I am trying to compile a SQL Server procedure but looks like the SQL Developer 3.2.20.09, I am using which is the latest treats the SQL Server code as read only, there is no option for compiling the code as is available for Oracle PLSQL. Am I

  • Multiple recipients when mailing a smartform

    Hi, I wonder if it's actually possible to email a smartform to multiple adresses. So far I only managed to send my smartform to 1 person Input is welcome! Bert