Re-download application jars from server issue

hello,
i have a "little" problem: by every start of an application the WebStart loads all the application jars from the server again. (only Vista version affected) Can anybody help please?
Thank you,
Eugen Cojocaru

I guess you're not using explicit versioning (that should solve it).
Are you using the JnlpDownloadServlet or one of your own?
Are you sure it's a Vista problem?
Did you check PC time and server time?
Did you check you're receiving 'If-Modified-Since' header server-side?

Similar Messages

  • Applet question, how to download resource files from server

    hi,
    i am new at applet world.
    i have an applet that reads some resource, data and configuration files. so i need to download these files from server to client. i did some resarch and could not find how to download files from server in an applet application.
    how can i do this task?
    thank you for your answers.

    You may want to distinguish between 'resources' and data/configuration files.
    'Resources' are non-class files that are part of your application, i.e without them the application would simply not work, just like class files.
    Those are typically images, sounds or resource bundles (GUI elements translated to different languages) that nobody except you, the developer, would touch (when releasing an upgrade or a patch).
    Those should just go into the applet jar or additional jars named in the applet tag.
    Data/configuration files, that may be changed by others than the developers, should be made available through HTTP, just like the applet jar itself. The applet will have (read) access to them using java.net.URLConnection.

  • How to download a file from server machine to client machine using jsp

    Hi,
    In my application, I have an excel file stored on my server machine. How can I download that excel file on to my client machine using jsp. Is there any other way I can open that file from my machine and save it in my machine using jsp/java?
    Its an emergency for me to do this.
    Can anyone provide me the full code to download a file from server machine as I don't have
    time to browse through various sites.
    thanks in advance,
    Tiijnar

    Please post your code using code tags (click on CODE above the text area, when posting)
    response.setContentType("application/octet-stream");Why octet-stream? Set the correct mime-type.
    String disHeader = "Attachment; Filename=\"filename\"";The filename should just be the file's name. Not the complete path to the file! This will tell anyone where the file is located on the server. It's also inconvenient because by default,the browser will suggest it as the name for the download.
    Your way of writing to the output stream is just plain wrong. See this snippet (picked from [http://balusc.blogspot.com/2007/07/fileservlet.html])
            BufferedInputStream input = null;
            BufferedOutputStream output = null;
            try {
                // Open streams.
                input = new BufferedInputStream(new FileInputStream(file), DEFAULT_BUFFER_SIZE);
                output = new BufferedOutputStream(response.getOutputStream(), DEFAULT_BUFFER_SIZE);
                // Write file contents to response.
                byte[] buffer = new byte[DEFAULT_BUFFER_SIZE];
                int length;
                while ((length = input.read(buffer)) > 0) {
                    output.write(buffer, 0, length);
                // Finalize task.
                output.flush();
            } finally {
                // Gently close streams.
                close(output);
                close(input);
            }

  • 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.

  • Exceptions at the time of downloading jars from server to client PC-Help !!

    Always getting some exceptions in my log file at the time of downloading the jar files from server to my client PC. Actually our appln contains different functionalities and one of the functionality is this stanalone appln. When i click on some links into my appln request will go to the server and then download some jars into client PC. After that it works as a stanalone appln.
    i am attaching my stack trace along with this query. Plse reply ----
    2006-04-06 05:48:58 StandardWrapperValve[default]: Servlet.service() for servlet default threw exception
    java.io.IOException: There is no process to read data written to a pipe.
    at java.net.SocketOutputStream.socketWrite(Native Method)
    at java.net.SocketOutputStream.write(SocketOutputStream.java(Compiled Code))
    at org.apache.catalina.connector.ResponseBase.flushBuffer(ResponseBase.java(Compiled Code))
    at org.apache.catalina.connector.ResponseBase.write(ResponseBase.java(Compiled Code))
    at org.apache.catalina.connector.ResponseBase.write(ResponseBase.java(Compiled Code))
    at org.apache.catalina.connector.http.HttpResponseStream.write(HttpResponseStream.java(Compiled Code))
    at org.apache.catalina.connector.http.HttpResponseStream.write(HttpResponseStream.java(Compiled Code))
    at org.apache.catalina.servlets.DefaultServlet.copyRange(DefaultServlet.java(Compiled Code))
    at org.apache.catalina.servlets.DefaultServlet.copy(DefaultServlet.java(Compiled Code))
    at org.apache.catalina.servlets.DefaultServlet.serveResource(DefaultServlet.java(Compiled Code))
    at org.apache.catalina.servlets.DefaultServlet.doGet(DefaultServlet.java(Compiled Code))
    at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
    at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java(Compiled Code))
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java(Compiled Code))
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java(Compiled Code))
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java(Compiled Code))
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java(Compiled Code))
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java(Compiled Code))
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java(Compiled Code))
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java(Compiled Code))
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java(Compiled Code))
    at org.apache.catalina.core.StandardContext.invoke(StandardContext.java(Compiled Code))
    at org.apache.catalina.core.StandardContext.invoke(StandardContext.java(Compiled Code))
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java(Compiled Code))
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java(Compiled Code))
    at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java(Compiled Code))
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java(Compiled Code))
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java(Compiled Code))
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java(Compiled Code))
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java(Compiled Code))
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java(Compiled Code))
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java(Compiled Code))
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java(Compiled Code))
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java(Compiled Code))
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java(Compiled Code))
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java(Compiled Code))
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java(Compiled Code))
    at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java(Compiled Code))
    at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java(Compiled Code))
    at java.lang.Thread.run(Thread.java:498)
    2006-04-06 05:48:59 ErrorDispatcherValve[localhost]: Exception Processing ErrorPage[exceptionType=java.lang.Exception, location=/error]
    java.lang.IllegalStateException
    at org.apache.catalina.connector.ResponseFacade.reset(ResponseFacade.java(Compiled Code))
    at org.apache.catalina.valves.ErrorDispatcherValve.custom(ErrorDispatcherValve.java(Compiled Code))
    at org.apache.catalina.valves.ErrorDispatcherValve.throwable(ErrorDispatcherValve.java:250)
    at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java(Compiled Code))
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java(Compiled Code))
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java(Compiled Code))
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java(Compiled Code))
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java(Compiled Code))
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java(Compiled Code))
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java(Compiled Code))
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java(Compiled Code))
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java(Compiled Code))
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java(Compiled Code))
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java(Compiled Code))
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java(Compiled Code))
    at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java(Compiled Code))
    at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java(Compiled Code))
    at java.lang.Thread.run(Thread.java:498)
    2006-04-06 05:48:59 StandardWrapperValve[default]: Servlet.service() for servlet default threw exception
    java.io.IOException: There is no process to read data written to a pipe.
    at java.net.SocketOutputStream.socketWrite(Native Method)
    at java.net.SocketOutputStream.write(SocketOutputStream.java(Compiled Code))
    at org.apache.catalina.connector.ResponseBase.flushBuffer(ResponseBase.java(Compiled Code))
    at org.apache.catalina.connector.ResponseBase.write(ResponseBase.java(Compiled Code))
    at org.apache.catalina.connector.ResponseBase.write(ResponseBase.java(Compiled Code))
    at org.apache.catalina.connector.http.HttpResponseStream.write(HttpResponseStream.java(Compiled Code))
    at org.apache.catalina.connector.http.HttpResponseStream.write(HttpResponseStream.java(Compiled Code))
    at org.apache.catalina.servlets.DefaultServlet.copyRange(DefaultServlet.java(Compiled Code))
    at org.apache.catalina.servlets.DefaultServlet.copy(DefaultServlet.java(Compiled Code))
    at org.apache.catalina.servlets.DefaultServlet.serveResource(DefaultServlet.java(Compiled Code))
    at org.apache.catalina.servlets.DefaultServlet.doGet(DefaultServlet.java(Compiled Code))
    at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
    at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java(Compiled Code))
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java(Compiled Code))
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java(Compiled Code))
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java(Compiled Code))
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java(Compiled Code))
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java(Compiled Code))
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java(Compiled Code))
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java(Compiled Code))
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java(Compiled Code))
    at org.apache.catalina.core.StandardContext.invoke(StandardContext.java(Compiled Code))
    at org.apache.catalina.core.StandardContext.invoke(StandardContext.java(Compiled Code))
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java(Compiled Code))
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java(Compiled Code))
    at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java(Compiled Code))
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java(Compiled Code))
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java(Compiled Code))
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java(Compiled Code))
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java(Compiled Code))
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java(Compiled Code))
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java(Compiled Code))
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java(Compiled Code))
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java(Compiled Code))
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java(Compiled Code))
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java(Compiled Code))
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java(Compiled Code))
    at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java(Compiled Code))
    at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java(Compiled Code))
    at java.lang.Thread.run(Thread.java:498)
    2006-04-06 05:49:00 ErrorDispatcherValve[localhost]: Exception Processing ErrorPage[exceptionType=java.lang.Exception, location=/error]
    java.lang.IllegalStateException
    at org.apache.catalina.connector.ResponseFacade.reset(ResponseFacade.java(Compiled Code))
    at org.apache.catalina.valves.ErrorDispatcherValve.custom(ErrorDispatcherValve.java(Compiled Code))
    at org.apache.catalina.valves.ErrorDispatcherValve.throwable(ErrorDispatcherValve.java:250)
    at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java(Compiled Code))
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java(Compiled Code))
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java(Compiled Code))
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java(Compiled Code))
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java(Compiled Code))
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java(Compiled Code))
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java(Compiled Code))
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java(Compiled Code))
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java(Compiled Code))
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java(Compiled Code))
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java(Compiled Code))
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java(Compiled Code))
    at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java(Compiled Code))
    at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java(Compiled Code))
    at java.lang.Thread.run(Thread.java:498)
    2006-04-06 05:49:00 StandardWrapperValve[default]: Servlet.service() for servlet default threw exception
    java.io.IOException: There is no process to read data written to a pipe.
    at java.net.SocketOutputStream.socketWrite(Native Method)
    at java.net.SocketOutputStream.write(SocketOutputStream.java(Compiled Code))
    at org.apache.catalina.connector.ResponseBase.flushBuffer(ResponseBase.java(Compiled Code))
    at org.apache.catalina.connector.ResponseBase.write(ResponseBase.java(Compiled Code))
    at org.apache.catalina.connector.ResponseBase.write(ResponseBase.java(Compiled Code))
    at org.apache.catalina.connector.http.HttpResponseStream.write(HttpResponseStream.java(Compiled Code))
    at org.apache.catalina.connector.http.HttpResponseStream.write(HttpResponseStream.java(Compiled Code))
    at org.apache.catalina.servlets.DefaultServlet.copyRange(DefaultServlet.java(Compiled Code))
    at org.apache.catalina.servlets.DefaultServlet.copy(DefaultServlet.java(Compiled Code))
    at org.apache.catalina.servlets.DefaultServlet.serveResource(DefaultServlet.java(Compiled Code))
    at org.apache.catalina.servlets.DefaultServlet.doGet(DefaultServlet.java(Compiled Code))
    at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
    at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java(Compiled Code))
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java(Compiled Code))
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java(Compiled Code))
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java(Compiled Code))
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java(Compiled Code))
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java(Compiled Code))
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java(Compiled Code))
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java(Compiled Code))
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java(Compiled Code))
    at org.apache.catalina.core.StandardContext.invoke(StandardContext.java(Compiled Code))
    at org.apache.catalina.core.StandardContext.invoke(StandardContext.java(Compiled Code))
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java(Compiled Code))
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java(Compiled Code))
    at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java(Compiled Code))
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java(Compiled Code))
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java(Compiled Code))
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java(Compiled Code))
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java(Compiled Code))
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java(Compiled Code))
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java(Compiled Code))
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java(Compiled Code))
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java(Compiled Code))
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java(Compiled Code))
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java(Compiled Code))
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java(Compiled Code))
    at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java(Compiled Code))
    at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java(Compiled Code))
    at java.lang.Thread.run(Thread.java:498)
    2006-04-06 05:49:00 ErrorDispatcherValve[localhost]: Exception Processing ErrorPage[exceptionType=java.lang.Exception, location=/error]
    java.lang.IllegalStateException
    at org.apache.catalina.connector.ResponseFacade.reset(ResponseFacade.java(Compiled Code))
    at org.apache.catalina.valves.ErrorDispatcherValve.custom(ErrorDispatcherValve.java(Compiled Code))
    at org.apache.catalina.valves.ErrorDispatcherValve.throwable(ErrorDispatcherValve.java:250)
    at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java(Compiled Code))
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java(Compiled Code))
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java(Compiled Code))
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java(Compiled Code))
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java(Compiled Code))
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java(Compiled Code))
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java(Compiled Code))
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java(Compiled Code))
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java(Compiled Code))
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java(Compiled Code))
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java(Compiled Code))
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java(Compiled Code))
    at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java(Compiled Code))
    at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java(Compiled Code))
    at java.lang.Thread.run(Thread.java:498)
    2006-04-06 05:49:02 StandardWrapperValve[default]: Servlet.service() for servlet default threw exception
    java.io.IOException: There is no process to read data written to a pipe.
    at java.net.SocketOutputStream.socketWrite(Native Method)
    at java.net.SocketOutputStream.write(SocketOutputStream.java(Compiled Code))
    at org.apache.catalina.connector.ResponseBase.flushBuffer(ResponseBase.java(Compiled Code))
    at org.apache.catalina.connector.ResponseBase.write(ResponseBase.java(Compiled Code))
    at org.apache.catalina.connector.ResponseBase.write(ResponseBase.java(Compiled Code))
    at org.apache.catalina.connector.http.HttpResponseStream.write(HttpResponseStream.java(Compiled Code))
    at org.apache.catalina.connector.http.HttpResponseStream.write(HttpResponseStream.java(Compiled Code))
    at org.apache.catalina.servlets.DefaultServlet.copyRange(DefaultServlet.java(Compiled Code))
    at org.apache.catalina.servlets.DefaultServlet.copy(DefaultServlet.java(Compiled Code))
    at org.apache.catalina.servlets.DefaultServlet.serveResource(DefaultServlet.java(Compiled Code))
    at org.apache.catalina.servlets.DefaultServlet.doGet(DefaultServlet.java(Compiled Code))
    at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
    at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java(Compiled Code))
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java(Compiled Code))
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java(Compiled Code))
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java(Compiled Code))
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java(Compiled Code))
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java(Compiled Code))
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java(Compiled Code))
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java(Compiled Code))
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java(Compiled Code))
    at org.apache.catalina.core.StandardContext.invoke(StandardContext.java(Compiled Code))
    at org.apache.catalina.core.StandardContext.invoke(StandardContext.java(Compiled Code))
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java(Compiled Code))
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java(Compiled Code))
    at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java(Compiled Code))
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java(Compiled Code))
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java(Compiled Code))
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java(Compiled Code))
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java(Compiled Code))
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java(Compiled Code))
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java(Compiled Code))
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java(Compiled Code))
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java(Compiled Code))
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java(Compiled Code))
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java(Compiled Code))
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java(Compiled Code))
    at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java(Compiled Code))
    at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java(Compiled Code))
    at java.lang.Thread.run(Thread.java:498)
    2006-04-06 05:49:02 ErrorDispatcherValve[localhost]: Exception Processing ErrorPage[exceptionType=java.lang.Exception, location=/error]
    java.lang.IllegalStateException
    at org.apache.catalina.connector.ResponseFacade.reset(ResponseFacade.java(Compiled Code))
    at org.apache.catalina.valves.ErrorDispatcherValve.custom(ErrorDispatcherValve.java(Compiled Code))
    at org.apache.catalina.valves.ErrorDispatcherValve.throwable(ErrorDispatcherValve.java:250)
    at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java(Compiled Code))
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java(Compiled Code))
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java(Compiled Code))
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java(Compiled Code))
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java(Compiled Code))
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java(Compiled Code))
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java(Compiled Code))
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java(Compiled Code))
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java(Compiled Code))
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java(Compiled Code))
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java(Compiled Code))
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java(Compiled Code))
    at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java(Compiled Code))
    at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java(Compiled Code))
    at java.lang.Thread.run(Thread.java:498)
    2006-04-06 05:49:04 StandardWrapperValve[default]: Servlet.service() for servlet default threw exception
    java.io.IOException: There is no process to read data written to a pipe.
    at java.net.SocketOutputStream.socketWrite(Native Method)
    at java.net.SocketOutputStream.write(SocketOutputStream.java(Compiled Code))
    at org.apache.catalina.connector.ResponseBase.flushBuffer(ResponseBase.java(Compiled Code))
    at org.apache.catalina.connector.ResponseBase.write(ResponseBase.java(Compiled Code))
    at org.apache.catalina.connector.ResponseBase.write(ResponseBase.java(Compiled Code))
    at org.apache.catalina.connector.http.HttpResponseStream.write(HttpResponseStream.java(Compiled Code))
    at org.apache.catalina.connector.http.HttpResponseStream.write(HttpResponseStream.java(Compiled Code))
    at org.apache.catalina.servlets.DefaultServlet.copyRange(DefaultServlet.java(Compiled Code))
    at org.apache.catalina.servlets.DefaultServlet.copy(DefaultServlet.java(Compiled Code))
    at org.apache.catalina.servlets.DefaultServlet.serveResource(DefaultServlet.java(Compiled Code))
    at org.apache.catalina.servlets.DefaultServlet.doGet(DefaultServlet.java(Compiled Code))
    at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
    at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java(Compiled Code))
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java(Compiled Code))
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java(Compiled Code))
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java(Compiled Code))
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java(Compiled Code))
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java(Compiled Code))
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java(Compiled Code))
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java(Compiled Code))
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java(Compiled Code))
    at org.apache.catalina.core.StandardContext.invoke(StandardContext.java(Compiled Code))
    at org.apache.catalina.core.StandardContext.invoke(StandardContext.java(Compiled Code))
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java(Compiled Code))
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java(Compiled Code))
    at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java(Compiled Code))
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java(Compiled Code))
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java(Compiled Code))
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java(Compiled Code))
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java(Compiled Code))
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java(Compiled Code))
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java(Compiled Code))
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java(Compiled Code))
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java(Compiled Code))
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java(Compiled Code))
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java(Compiled Code))
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java(Compiled Code))
    at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java(Compiled Code))
    at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java(Compiled Code))
    at java.lang.Thread.run(Thread.java:498)
    2006-04-06 05:49:04 ErrorDispatcherValve[localhost]: Exception Processing ErrorPage[exceptionType=java.lang.Exception, location=/error]
    java.lang.IllegalStateException
    at org.apache.catalina.connector.ResponseFacade.reset(ResponseFacade.java(Compiled Code))
    at org.apache.catalina.valves.ErrorDispatcherValve.custom(ErrorDispatcherValve.java(Compiled Code))
    at org.apache.catalina.valves.ErrorDispatcherValve.throwable(ErrorDispatcherValve.java:250)
    at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java(Compiled Code))
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java(Compiled Code))
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java(Compiled Code))
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java(Compiled Code))
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java(Compiled Code))
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java(Compiled Code))
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java(Compiled Code))
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java(Compiled Code))
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java(Compiled Code))
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java(Compiled Code))
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java(Compiled Code))
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java(Compiled Code))
    at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java(Compiled Code))
    at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java(Compiled Code))
    at java.lang.Thread.run(Thread.java:498)
    2006-04-06 05:49:05 StandardWrapperValve[default]: Servlet.service() for servlet default threw exception
    java.io.IOException: There is no process to read data written to a pipe.
    at java.net.SocketOutputStream.socketWrite(Native Method)
    at java.net.SocketOutputStream.write(SocketOutputStream.java(Compiled Code))
    at org.apache.catalina.connector.ResponseBase.flushBuffer(ResponseBase.java(Compiled Code))
    at org.apache.catalina.connector.ResponseBase.write(ResponseBase.java(Compiled Code))
    at org.apache.catalina.connector.ResponseBase.write(ResponseBase.java(Compiled Code))
    at org.apache.catalina.connector.http.HttpResponseStream.write(HttpResponseStream.java(Compiled Code))
    at org.apache.catalina.connector.http.HttpResponseStream.write(HttpResponseStream.java(Compiled Code))
    at org.apache.catalina.servlets.DefaultServlet.copyRange(DefaultServlet.java(Compiled Code))
    at org.apache.catalina.servlets.DefaultServlet.copy(DefaultServlet.java(Compiled Code))
    at org.apache.catalina.servlets.DefaultServlet.serveResource(DefaultServlet.java(Compiled Code))
    at org.apache.catalina.servlets.DefaultServlet.doGet(DefaultServlet.java(Compiled Code))
    at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
    at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java(Compiled Code))
    at org.apache.catalina.core.ApplicationFilterChain.doFil

    cross posting idiot well, im sorry for that..I posted it here now cause it concerns more bout servlet..

  • Cm.jar is working even after deleting the jar from Server

    Hi,
    To update the environment with the new changes we had manually copied the cm.jar into the respective folders but due to some class errors Deployment was not successful,So as a matter of trial we had deleted cm.jar from the respective folders and then we had ran the initialsetup,
    Strange thing what we have observed is that all the custom logic which was initially deployed through cm.jar was still exisiting in the applicationserver and are getting executed smoothly
    This is the process what we have followed
    Method 1:
    1)     Stop server
    2)     
    Copy cm.jar to SPLBASE/etc/conf/root/WEB-INF/lib
    Copy cm.jar to SPLBASE/etc/conf/XAI-APP/WEB-INF/lib
    Copy cm.jar to SPLBASE/ splapp/businessapp
    Copy cm.jar to SPLBASE/ splapp/ standalone/lib
    3)     Run InitialSetup
    4)     Start Server
    Method 2:
    1)     Stop server
    2)     Set Exploded directories to true
    3)     Initial Setup
    4)     
    Copy cm.jar to SPLBASE/splapp/applications/root/WEB-INF/lib
    Copy cm.jar to SPLBASE/ splapp/applications /XAI-APP/WEB-INF/lib
    Copy cm.jar to SPLBASE/ splapp/businessapp
    Copy cm.jar to SPLBASE/ splapp/ standalone/lib
    5)     Run InitialSetup
    6)     Start Server
    Method 3:
    1)     Cm packaging.
    Even after removing cm.jar from all places manually my custom code which I deployed initially is working. I could run custom batch and custom algorithm. Very Strange. I am not sure what I missed or where application is referring to.
    We want the old code to be removed permanently from server?Can you anyone help?
    Thanks
    shiva

    Hi Mr Shankar,
    Even if you have deleted the cm.jar file from respective location.It do exist in splapp.war file.If you will extract that file you will find the cm.jar file in /splapp/web-inf/lib/cm.jar location.So whenever you will run the initialsetup it will restore the cm.jar.This thing is happening in your case also.So delete the file from splapp.war and rebuild the war.This will solve your issue.
    Hope it will work for you.
    Regards
    sunil sahu

  • How to download a file from server?

    Hi everyone,
    I need to download a file from my server to client machine. I got a sample code from ur forum and I modified it slightly.
    //Snippet of code:
    public void doGet(HttpServletRequest req, HttpServletResponse res)throws
         ServletException, IOException{
    int bytesRead=0;
         int count=0;
         byte[] b1=new byte[1];
         //OutputStream out=res.getOutputStream();
         res.setContentType("application/html");
         //Create an input stream from file URL.
         String fileURL="http://localhost:8080/webapps/upload/upload.html";
         BufferedInputStream bis=null;
         BufferedOutputStream bos=null;
         boolean download=false;
         res.setHeader("Content-disposition", "attachment; filename=upload.html " );
         try{
         URL url=new URL(fileURL);
         URLConnection connection=url.openConnection();
         InputStream in=connection.getInputStream();
         bis=new BufferedInputStream(in);
         FileOutputStream fileout=new FileOutputStream("upload.html");
         bos=new BufferedOutputStream(fileout);
         while(-1 != (bytesRead = bis.read())){
         try{
         bos.write(bytesRead);
         bos.flush();
         }//end of try forwhile loop
         catch(SocketException e){
         setError(e);
         break;
    The code is getting compiled, when I run the appln using the URL,
    http://localhost:8080/upload/servlet/DownloadFile
    it opens a pop up dialog box, asking whether to "open", "save" or "cancel" buttons. When I try to open a file, I'm getting a blank page.
    I'm not getting the contents of the file.
    So pls can anyone tel me wht's wrong in the code or do i need to add few more lines in my code?
    Also pls let me know, how can I download any files of type .doc, html, .txt, .zip, or any type, without mentioning the file type?
    Thanks in advance

    Do not use a FileOutputStream (that will save it locally to the server). Call HttpServletResponse.getOutputStream(), which will send it back to the browser. Also remember to call close() on the stream at the end.
    - Saish

  • Downloading Media Files from server daily at a particular time on a day

    Hi to All,
    Actually I am building an application which downloads all the
    media files from the server(includes both video and images) after
    the download is complete. I will start the slide show of the
    downloaded media files accessing them m locally.
    ow my problem is I have to download all the media files once
    in a day at a particular time on a day from the server(The time is
    set in backend).
    I can acheive this by running a process and connecting to a
    server. But if I close the application window how the process can
    run and how it can download media files from the server daily.
    Is there a way so that I can create two applications one for
    downloading the media files from the server which runs always and
    runs in the background. Another one is my main application which
    displays the media files that are downloaded and saved in the local
    filesystem.
    All suggestions are appreciated.
    Thanks.

    From what I have read you have two options.  None of them very nice.  One , allow the user to select the files he would like to download , send them out as one fat daddy zip file.  The second option is to cue up the selected downloads.  When one finishes , the other starts , basically daisy chaining them together.  However , you may be able to use javascript to get around this , I'm not sure I stay away from that stuff.

  • Previously deleted messages are re-downloaded, not removed from server??

    I have a POP email account that I access from my iMac using Mail. I regularly delete mail from my inbox in Mail, so there are only a few hundred messages in the inbox. But the other day I logged onto my mail account via the web and discovered thousands of my previously deleted messages still in my inbox on the server. I opened Mail Preferences and discovered that the checkbox "Remove mail from Server ... when I move it from my inbox" was not checked, so I checked that box. However, I figured that would only cause future messages that are removed form my inbox to be removed from the server, but would not do anything about the thousands of previously deleted messages that were still on the server. So I also clicked the button labeled "Remove Now". I figured that would cause Mail to tell the server to remove all the old messages on the server that had previously been removed from the local Mail inbox.
    The next day I discovered that thousands of old messages I had already deleted (many of them long ago) had mysteriously reappeared in my Mail inbox. And of course, checking the account via the web, I discovered they were still on the server too. What did I do wrong? I thought Mail would tell the server to delete all those old messages. Instead it seems to have told the server to download them all to my Mail inbox again, the exact opposite of what I intended. I don't know if this is a disconnect between the Mac Mail client and the mail server, or if I misunderstood the purpose of these options in the Mail preferences dialog.

    Hello,
    I have never tried this exact action, but I think the Remove Now will not do much, with When Moved from the Inbox. This would require the action of removing the message, after this setting has been changed. I don't think it would remove any previously moved from the Inbox, because no check to correlate the current contents of Inbox to a POP account.
    Does this make sense, to you?
    However, there would appear to be some corruption in the file to prevent duplicate downloads, or messages previously downloaded.
    In Mail 2.x, Apple introduced a way to look a the server, of even POP accounts. To do this, control-click on any inbox or any mailbox, and choose Get Info. Once the dialogue window is presented, and if you have more than one account, choose the account, and you can not observe the server contents, but also choose and delete individual messages.
    Keep us posted about future behavior.
    Ernie

  • Removing email from server issue

    I have a new iMac and I am having problems with email (settings).
    I have the iMac and macbook both running yosemite and both have/share the main email account. the macbook email has the setting to remove email from server, but the iMac doesn't. When I use the remove now on the macbook to clear it off the server, it deletes them from my iMac (just inbox not junk)? I though once they are on the iMac they would be here, and the remove would just remove them from the host mail server?
    I'd like to be able to control the removal from the iMac (not macbook). Anybody else had this issue, and how can I get the settings to appear on my iMac mail pref window to control it there?

    See my reply to the message:
    https://discussions.apple.com/thread/2557520?start=15&tstart=0
    The problem is that the POP3 client does not issue a DELE command to remove the email from the server.

  • 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??

  • Siri can not download required information from server

    siri can not download required information from serve

    Make sure you are connected to the internet whether it is via Wi-fi or 3G.
    Then, try turning Siri off in Settings>General>Siri and then wait a couple seconds after it is off. Turn it back on and ask it something again.

  • Ipc: download custom userexits from server

    hi,
    i'm looking for  a way to find the java/class file someone else uploaded for ipc.
    via sm53 i can see the filename but not the file itself..
    i
    Edited by: bjorn corluy on Apr 29, 2009 2:16 PM

    >
    bjorn corluy wrote:
    > hi,
    >
    > i'm looking for  a way to find the java/class file someone else uploaded for ipc.
    >
    > via sm53 i can see the filename but not the file itself..
    >
    > i
    >
    > Edited by: bjorn corluy on Apr 29, 2009 2:16 PM
    Hi Bjorn Corluy,
    You can download the userexits from the transaction /sapcnd/ue_dev.
    Select option download -> userexits -> give the ABAP package and target directory.Hope it helps.
    Warm Regards,
    Sumit

  • How to download a file from server to client m/c

    hi
    my requirement is,
    a form is displayed to user with a download button and
    onclick of download ,user will see a box with options open,save,cancel.
    if user clicks on open /save ,how to get the info about download is complete on client side because i need to set a flag in database ,
    as Downloaded once the download is complete on client side
    my problem is ,in the action of form the path given is of servlet class
    having code of
    setheader and setcontenttype as attachment but on click of download button it is opening the servlet instead of the required file,
    means it is opening the page specified in action of form ,
    what can be done abt it??/

    Please post your code using code tags (click on CODE above the text area, when posting)
    response.setContentType("application/octet-stream");Why octet-stream? Set the correct mime-type.
    String disHeader = "Attachment; Filename=\"filename\"";The filename should just be the file's name. Not the complete path to the file! This will tell anyone where the file is located on the server. It's also inconvenient because by default,the browser will suggest it as the name for the download.
    Your way of writing to the output stream is just plain wrong. See this snippet (picked from [http://balusc.blogspot.com/2007/07/fileservlet.html])
            BufferedInputStream input = null;
            BufferedOutputStream output = null;
            try {
                // Open streams.
                input = new BufferedInputStream(new FileInputStream(file), DEFAULT_BUFFER_SIZE);
                output = new BufferedOutputStream(response.getOutputStream(), DEFAULT_BUFFER_SIZE);
                // Write file contents to response.
                byte[] buffer = new byte[DEFAULT_BUFFER_SIZE];
                int length;
                while ((length = input.read(buffer)) > 0) {
                    output.write(buffer, 0, length);
                // Finalize task.
                output.flush();
            } finally {
                // Gently close streams.
                close(output);
                close(input);
            }

  • How to download/save report from server machine to client machine?

    Hello All
    This is San,
    My problem is that i need to save pdf/html report in client machine while report running on client machine for this i have set destype as file and desformat as pdf/html.
    It is running and save automatically while report run on server machine (Application Server OS is Windows 20003 professional) but when i run it on client machine (Client machine OS is XP sp2) click on run button to run report then it give message as
    FRM-41214: Unable to run report
    When I do showjobs then it give message as
    Executed successfully but there were some errors when distribute the output<br>
    Please suggest me solution of the above mentioned.
    I am waiting for your reply.
    Thanks in Advance
    Edited by: user8752210 on Feb 11, 2011 11:46 PM

    Hello Mr.
    Thanks for quick reply.
    The e:\tempReport directory is on both app-server and client and it is shared folder, i am sending procedure that i have used as:
    PROCEDURE DOWNLOAD_AS IS
    l_success boolean;
    l_bare_filename varchar2(50);
    BEGIN
    --l_bare_filename := substr(:upload.file_name,instr(:download.file_name,'\',-1)+1);
    l_success := webutil_file_transfer.AS_to_Client_with_progress
    (clientFile => :GLOBAL.PATH3||:global.tmp--(\\client_ip_address\e:\tmpreports\file_name.html it is shared folder)
    ,serverFile => :GLOBAL.PATH2||:global.tmp--\\server_iip_address\e:\tmpreports\file_name.html it is shared folder)
    ,progressTitle => 'Download from Application Server in progress'
    ,progressSubTitle => 'Please wait'
    if l_success
    then
    message('File downloaded successfully from the Application Server');
    else
    message('File download from Application Server failed');
    end if;
    exception
         when others
         then
         message('File download failed: '||sqlerrm);
    END;
    Please suggest me what to do.
    Thanks

Maybe you are looking for