Compressing data written to Truecrypt container by rsync

I want to rsync data into a Truecrypt container. However, since the data consists of highly compressable files (text), I'd like to compress everything on the fly too, while the files are being written to the Truecrypt volume. Filesystems are ext4.
How would I do the "transparent compression" thingy?
Last edited by mir91 (2014-10-14 08:14:15)

You have two different options; compress each file individually, or create a single file from all files and compress that. The first variant allows you to access single files, but takes more space. The second variant results in better compression but you need to uncompress everything to access a single file. Using rsync is only possible with the first variant, as rsync deals with individual files.
http://serverfault.com/questions/154254 … be-fastest

Similar Messages

  • Access the adobe form data in the workflow container for further processin

    HI,
    I am using HCM processes and Forms. I need to access the form data in the workflow container once the workflow kicks off.
    I need to access these data as would need it for further processing in the workflow.
    I know that TS17900110 allows to import form conatiner to
    -> WF Container in the field name and value pair. But I need to access a lot more fields than what is in the task. Is there a standard task which allow to retrieve all the fields in the form in one task or do I need to develope a custom class to do that. If so could you please provide some clue as in how to code this specific requirement as i am somewhat new to OO ABAP.
    Thanks...

    hi,
    in the livecycle designer under libary tab u have webdynpro tab--->choose submit to sap button and place it in the adobe form ur designing. u can use this button to trigger the code that u have written in webdynpro java.
    for eg if u have
    a value node details
    and under that two value attr fname,lname
    import the model (Insertdata---it has two import param fname and lname)u need for updating the data to r3 system.
    in the ctrller have a method submit.Here write the code to insert fname and lname into the db.
    IPrivateMyForm.IDetailsElement elem = wdContext.nodeDetails().currentDetailsElement();
    Insertdata_Input input = new Insertdata_Input();
    wdContext.nodeInsertdata_Input().bind(input);
    input.setFname(elem.getFname());
    input.setLname(elem.getLname());
    try
    wdContext.currentInsertdata_InputElement().modelObject().execute();
    wdContext.nodeOutput().invalidate();
    catch (Exception ex)
    { ex.printStackTrace();}
    ul bind details to the datasource.
    when u edit ur interactive ui element these attr(fname and lname) vl be visible under dataview tab u can drag and drop them to the form
    now add submit to sap button in ur form.
    this button correspond to the onactionSubmit dat u have written in the ctrller.
    so wen u click this the data vl be inserted
    Regards
    Jay

  • There is no process to read data written to a pipe

    Hi
    I have an application server and a database server. I have a process that is running on the application server - that is processing records in a huge file - 2.41 GB. This file contains 20 million records. The process reads and processes one record at a time. For each record, the process reads the record, goes to the database to search for a match, does not find it - since on purpose we have created the test bed to not match, and then it updates the bookmark in one of the database tables and moves on the next record.
    The process runs fine for 86399 seconds and then it throws the 'java.sql.exception Io exception There is no process to read data written to a pipe'.
    Note that in this 86399 seconds, it process 11934696 records.

    It is important to undertand, why do I have to create
    the connection. If the connection has already been
    established and is in use, why after processing
    nearly 11.9 million records, I need to close the
    connection and create a new one.It might be important to you but it isn't important to me.
    When I work I work towards a solution and not understanding. So if closing the connection and re-opening every 100,000 records solves it then that is what I would do. I would do it knowing that something in the driver or the database is preventing me from solving it without doing that and also knowing that I am not going to be able to fix either the driver or the database and I don't have time to wait for those fixes.
    Not to mention that if it was taking an entire day to run anyways then I would consider closing and opening a connection a very minor part of what would be a much bigger problem.
    >
    In this particular case my java program is reading a
    record from a file and extracting certain fields in
    that file record. Based on those fields it is looking
    for a match in the database. It is the same code,
    having application and business logic to take a
    different path if a match is found in the database. .....and again I can only wonder how much faster it would be if you did it in the database. I would suspect at least an order of magnitude.
    >
    I guess the issue here is not java vs Database. The
    issue is what causes this exception in my test
    scenario.So you are looking for a reason and not a solution? Then it should be simple enough to create a small test app, reproduce the bug and then file a bug report with the vendor. Then wait for between 6 weeks and 2 years for an answer. Maybe. Because they might never respond.
    Or disassemble the driver and debug it. And since I consider it unlikely that the problem is in the java code you will also need a cpu op code reference and a debugger that can debug the database itself. Then just start running it and step through the instructions to figure it out.

  • DPM 2012 Reporting 9.2Tb Data Written to an LTO6 Tape.

    I understood the "Data Written" to be the total amount of data written to the tape, so how can my LTO6 be reporting 9,201,199.88 Mb !
    LTO6 Tapes are 2.5Tb Native & 6Tb compressed.
    Can anyone explain this ?

    Hi,
    LTO-6 advertises a capacity of 6.25 TB (assuming a 2.5:1 compression), if the data you are backing up is highly compressible, you can get more data on the tape.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Mike J. [MSFT]
    This posting is provided "AS IS" with no warranties, and confers no rights.

  • Display data in a custom container

    Hi All,
    My requirment is to just display data in a custom container.
    I could able to display data in change mode but not display mode.Can you please let me now how can i do that.
    Thanks in Advance
    KV

    Im using cl_gui_custom_container.
    In PBO
    here is my code whihc is fine for Change/Edit mode.
      create control container
        CREATE OBJECT g_editor_container
            EXPORTING
                container_name = 'DISP_CONT'
            EXCEPTIONS
                cntl_error = 1
                cntl_system_error = 2
                create_error = 3
                lifetime_error = 4
                lifetime_dynpro_dynpro_link = 5.
        IF sy-subrc NE 0.
        do nothing
        ENDIF.
      create calls constructor, which initializes, creats and links
       a TextEdit Control
        CREATE OBJECT g_editor
          EXPORTING
             parent = g_editor_container
             wordwrap_mode =  cl_gui_textedit => wordwrap_at_fixed_position
             wordwrap_to_linebreak_mode = cl_gui_textedit=>TRUE
          EXCEPTIONS
              OTHERS = 1.
        IF sy-subrc NE 0.
        do nothing
        ENDIF.
    In PAI
    CALL METHOD g_editor->get_text_as_r3table
        IMPORTING
          table  = Text_table
        EXCEPTIONS
          OTHERS = 1.
      IF sy-subrc NE 0.
      ENDIF.
    Text_table contains messages which r supposed to be displayed.
    Based on certain logical operations i will display the messages.

  • Report and data comming wrong after compress data with full optimization

    In SAP BPC 5.1 version to increase the sysetm performance we did full optimization with compress data.
    Theis process end with error, after login into system the report and values comming wrong,
    What is the wrong,how to rectify it
    Regards
    prakash J

    This issue is resolved,

  • MDT 0xc0000098 The windows boot configuration data file does not contain a valid OS entry

    hello,
    i installed WDS+MDT for OS deployment. all was working fine.
    Now i need our branch office to be able to deploy OS as well.
    I installed a new Win 2008R2 server, and installed the WDS service on it.
    When reading about this on the internet i saw i need, on the MDT at our main office, to make a link, under "Advanced Configuration" - "Linked Deployment Shares" to the new WDS server (I used this: http://www.balm.se/?p=115")
    when doing so i entered the UNC path to the new server and then, on the created link, i right click and choose "Replicate now".
    after doing so, i tried booting a laptop just to see if there is any impact, and now, I'm getting this error:
    Windows failed to start. A recent hardware or software change might be the cause. To fix the problem:
    1. insert your windows installation disk and restart your computer
    2. choose your language, and then click "Next"
    3. Click "Repair your computer"
    If you do not have this disc, contact your system administrator or computer manufacturer for assistance.
    File: \Boot\BCD
    Status: 0xc0000098
    Info: The windows Boot Configuration Data file does not contain a valid OS entry.
    I know that usually when I'm getting this message, it means that a previous MDT installation was started and did not finished correctly, and the are some [stuff] on the HD, so i do a partition erase and start over and all working fine.
    Now it's not working. I tried several computer, even new ones, and NADA.
    someone know the cause?
    I know I read something, i don't remember where or how to find it, that when doing the steps I did, it alter\change some ini or xml, or something like this. is that true? any one know on what file do i need to look and see if something is misconfigured?
    thanks a lot for your help

    hello,
    i installed WDS+MDT for OS deployment. all was working fine.
    Now i need our branch office to be able to deploy OS as well.
    I installed a new Win 2008R2 server, and installed the WDS service on it.
    When reading about this on the internet i saw i need, on the MDT at our main office, to make a link, under "Advanced Configuration" - "Linked Deployment Shares" to the new WDS server (I used this: http://www.balm.se/?p=115")
    when doing so i entered the UNC path to the new server and then, on the created link, i right click and choose "Replicate now".
    after doing so, i tried booting a laptop just to see if there is any impact, and now, I'm getting this error:
    Windows failed to start. A recent hardware or software change might be the cause. To fix the problem:
    1. insert your windows installation disk and restart your computer
    2. choose your language, and then click "Next"
    3. Click "Repair your computer"
    If you do not have this disc, contact your system administrator or computer manufacturer for assistance.
    File: \Boot\BCD
    Status: 0xc0000098
    Info: The windows Boot Configuration Data file does not contain a valid OS entry.
    I know that usually when I'm getting this message, it means that a previous MDT installation was started and did not finished correctly, and the are some [stuff] on the HD, so i do a partition erase and start over and all working fine.
    Now it's not working. I tried several computer, even new ones, and NADA.
    someone know the cause?
    I know I read something, i don't remember where or how to find it, that when doing the steps I did, it alter\change some ini or xml, or something like this. is that true? any one know on what file do i need to look and see if something is misconfigured?
    thanks a lot for your help
    For a branch solution I would use DFS(R) rather than linked deploymentshares.
    If there is infrastructure at the remote sites you could use the MDT environment at your main site, and  then at each other site use an existing server or build a new server (VM is available). Create a Deploymentshare on each sever
    and copy the contents of the MDT environment from the first site into this share.  Next you will have to add the WDS service to each site's server. For WDS add the boot image. Of course as Keith noted ensure that you
    have the same versions of MDT and the WAIK/ADK on all systems
    You can use DFS to replicate to all of the other sites, but you will still have to create a deploymentshare, and install WDS at each site. So each site talks to its own WDS server you can use the DefaultGateway parameter instead -
    [Settings]
    Priority=Default, DefaultGateway
    [Default]
    SkipBDDWelcome=YES
    [DefaultGateway]
    192.168.10.1=Bergen
    192.168.20.1=Oslo
    [Bergen]
    DeployRoot=\\MDT-Bergen\DeploymentShare$
    [Oslo]
    DeployRoot=\\MDT-Oslo\DeploymentShare$
    If this post is helpful please click "Mark for answer", thanks! Kind regards

  • Java.io.IOException: There is no process to read data written to a pipe.

    Hi all
    I am facing a problem when i run my application
    I am using jdk1.3 and Tomcat 4.0.3
    Actually my application works absolutely fine but when i check the
    local_host log file of tomcat i find the following stack trace in it
    2006-01-04 10:59: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.ResponseStream.write(ResponseStream.java:312)
         at org.apache.catalina.connector.http.HttpResponseStream.write(HttpResponseStream.java:189)
         at org.apache.catalina.servlets.DefaultServlet.copyRange(DefaultServlet.java:1903)
         at org.apache.catalina.servlets.DefaultServlet.copy(DefaultServlet.java:1652)
         at org.apache.catalina.servlets.DefaultServlet.serveResource(DefaultServlet.java:1197)
         at org.apache.catalina.servlets.DefaultServlet.doGet(DefaultServlet.java:519)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java(Compiled Code))
         at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107)
         at java.lang.Thread.run(Thread.java:498)
    2006-01-04 10:59:00 ErrorDispatcherValve[localhost]: Exception Processing ErrorPage[exceptionType=java.lang.Exception, location=/error]
    java.lang.IllegalStateException
         at java.lang.RuntimeException.<init>(RuntimeException.java:39)
         at java.lang.IllegalStateException.<init>(IllegalStateException.java:36)
         at org.apache.catalina.connector.ResponseFacade.reset(ResponseFacade.java:243)
         at org.apache.catalina.valves.ErrorDispatcherValve.custom(ErrorDispatcherValve.java:384)
         at org.apache.catalina.valves.ErrorDispatcherValve.throwable(ErrorDispatcherValve.java:250)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:178)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java(Compiled Code))
         at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107)
         at java.lang.Thread.run(Thread.java:498)
    What i dont get is in the entire stack trace i am not able to locate which of my application files is causing the errors
    I searched on net and found a few root causes but i am not able to find out exactly which class file is causing the stack trace
    Any suggestions are most welcome
    Thanking in advance

    Did you do something strange like writing the object out using the Servlet response's output stream and then attempted to redirect or forward a user to another page? That is usually how the IllegalStateException gets generated. You would still see a valid response from the caller's perspective, but since you attempted to forward or redirect after data has already been written to the stream on the server, an exception is thrown there.
    - Saish

  • Io exception: There is no process to read data written to a pipe.

    Hi there,
    I get following Exception when i try to open a connection from a AIX machine to a Oracle Database.
    Fehler: Io exception: There is no process to read data written to a pipe.
    java.sql.SQLException: Io exception: There is no process to read data written to a pipe.
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:184)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:226)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:339)
    at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:406)
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:457)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:332)
    at java.sql.DriverManager.getConnection(DriverManager.java:559)
    at java.sql.DriverManager.getConnection(DriverManager.java:189)
    The connection code looks like:
    Class.forName("oracle.jdbc.driver.OracleDriver");
    DriverManager.registerDriver (new OracleDriver());
    String url = "jdbc:oracle:thin:@"+dbserver+":"+dbPort+":"+db;
    Connection con = DriverManager.getConnection(url, user, pwd);
    Anyone got the same/similar problems and found a solution?
    Regards
    mark

    Hi,
    I got the same error and the problem was in the resolving hosts names by the DNS.
    We changed the configuration in netsvc.conf so it will check /etc/hosts file and this fixed the problem.
    See more details here:
    http://www.regatta.cmc.msu.ru/doc/usr/share/man/info/ru_RU/a_doc_lib/files/aixfiles/netsvc.conf.htm

  • Servlet request terminated with IOException:java.io.IOException: There is no process to read data written to a pipe.

    Hi,
    I am getting this following error. Could anyone please throw some light.
    Thanks
    Nilesh
    <HTTP> Servlet request terminated with IOException:
    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 weblogic.servlet.internal.ChunkUtils.writeChunks(ChunkUtils.java(Compiled
    Code))
         at weblogic.servlet.internal.ResponseHeaders.writeHeaders(ResponseHeaders.java(Compiled
    Code))
         at weblogic.servlet.internal.ServletResponseImpl.writeHeaders(ServletResponseImpl.java(Compiled
    Code))
         at weblogic.servlet.internal.ServletOutputStreamImpl.flush(ServletOutputStreamImpl.java(Compiled
    Code))
         at weblogic.servlet.internal.ServletOutputStreamImpl.finish(ServletOutputStreamImpl.java(Compiled
    Code))
         at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java(Compiled
    Code))
         at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java(Compiled
    Code))
         at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java(Compiled
    Code))
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)

    I forgot to mention.
    I am using Weblogic 5.1 with SP 9
    Nilesh
    "Nilesh Shah" <[email protected]> wrote:
    >
    Hi,
    I am getting this following error. Could anyone please throw some light.
    Thanks
    Nilesh
    <HTTP> Servlet request terminated with IOException:
    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 weblogic.servlet.internal.ChunkUtils.writeChunks(ChunkUtils.java(Compiled
    Code))
         at weblogic.servlet.internal.ResponseHeaders.writeHeaders(ResponseHeaders.java(Compiled
    Code))
         at weblogic.servlet.internal.ServletResponseImpl.writeHeaders(ServletResponseImpl.java(Compiled
    Code))
         at weblogic.servlet.internal.ServletOutputStreamImpl.flush(ServletOutputStreamImpl.java(Compiled
    Code))
         at weblogic.servlet.internal.ServletOutputStreamImpl.finish(ServletOutputStreamImpl.java(Compiled
    Code))
         at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java(Compiled
    Code))
         at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java(Compiled
    Code))
         at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java(Compiled
    Code))
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)

  • XI SOAP SocketException:There is no process to read data written to a pipe.

    Hi guys!
    I get this error and have no idea, where it comes from..
    It occurs in scenario: SAR/3P->IntegrationProcess->SAPR/3, wher in integration process I map r/3 message to soap call synchronously external web service, map soap response to target sap msg and send it into R/3.
    Message is sent from r/3 correctly, received by IP correctly, problem occurs in SOAP communication.
    Log from messaging system - received messages - sync:
    2007-07-12 15:29:36 Success Message successfully received by messaging system. Profile: XI URL: http://xxxx:50200/MessagingSystem/receive/AFW/XI Credential (User): PIISUSER
    2007-07-12 15:29:36 Success Using connection SOAP_http://sap.com/xi/XI/System. Trying to put the message into the request queue.
    2007-07-12 15:29:36 Success Message successfully put into the queue.
    2007-07-12 15:29:36 Success The message was successfully retrieved from the request queue.
    2007-07-12 15:29:36 Success The message status set to DLNG.
    2007-07-12 15:29:36 Success Delivering to channel: CC_IS2SOAP
    2007-07-12 15:29:36 Success SOAP: request message entering the adapter
    2007-07-12 15:29:37 Error SOAP: call failed
    2007-07-12 15:29:37 Error SOAP: error occured: com.sap.aii.af.ra.ms.api.RecoverableException: java.net.SocketException: There is no process to read data written to a pipe.
    2007-07-12 15:29:37 Error Exception caught by adapter framework: java.net.SocketException: There is no process to read data written to a pipe.
    2007-07-12 15:29:37 Error Delivery of the message to the application using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: java.net.SocketException: There is no process to read data written to a pipe.. Setting message to status failed.
    2007-07-12 15:29:37 Error The message status set to FAIL.
    2007-07-12 15:29:37 Error Returning synchronous error message to calling application: com.sap.aii.af.ra.ms.api.RecoverableException: java.net.SocketException: There is no process to read data written to a pipe..
    Any idea, what could be wrong?  Thanx a lot!
    Olian

    Olian,
    You can also do the same process as mentioned in the weblog:
    /people/bhavesh.kantilal/blog/2006/11/20/webservice-calls-from-a-user-defined-function
    Regards,
    ---Satish

  • Java.sql.SQLException : There is no process to read data written to a pipe

    I have an IDoc being sent from SAP R/3 to Oracle using JDBC Adapter
    I get the following error message:
    Last message processing started 02:03:43 2004-12-14, Error: Transform error in xml processor class, rollback:
    ERROR:Processing request: Error when executing statement for table/stored proc. 'MATERIAL_MASTER': java.sql.SQLException: Io exception: There is no process to read data written to a pipe.
    did anybody encounter this exception before..? any solutions?
    Thanks in advance.
    Anand

    Hi Friends,
    This problem was fixed when I increased the "number of retries" in the JDBC adapter configuration.
    Thanks
    Anand

  • Professional photo program that transfers data written on photos to PC

    I have a Mac OS X v. 10.5.8 and I am looking for a professional Photo program or application that I can write information or data on photo's or on the side of the photo's and have all of that data transfer onto other programs including PC based programs.  I need to be able to share photo's with data written on them with colleagues that run PC.
    Please give me some ideas as to what program to use. I already own Iphoto and Aperature and the data does not transfer.
    Please help me.
    Thanks, Eric

    Have you tried after editing the photo, and it is in full view, do a screen shot? The saved screen shot should appear as a new photo.

  • Compressing data through URLConnection

    I was looking into to the URLConnection and try to get a way to configure the connection(set my own sockets so that I can compress data going back and forth) similar to the way RMI handles this issue by providing clientSocketFactory, and serversocketFactory to UnicastRemoteObject. It seems there is no way to do that. I know I can specify URLStreamHandlerFactory but that does not seem to do what I am looking for.
    I am looking for a way to control the underlying communication mechanism in which the connection I get from URL.openConnection() uses. That is possible if the API would provide a way to pass <mechanism>Factories to the URL. if any one has a solution to this please email it to me.
    I will give you some code to see what I am talking about.
    //Servlet
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class DataCruncherServlet extends HttpServlet {
    public void init(ServletConfig config) throws ServletException {
    super.init(config);
    public void doGet(HttpServletRequest req, HttpServletResponse res)
    throws ServletException, IOException {
    doPost(req, res);
    public void doPost(HttpServletRequest req, HttpServletResponse res)
    throws ServletException, IOException {
    ServletInputStream in = req.getInputStream();
    InputStreamReader inr = new InputStreamReader(in);
    StringBuffer sb = new StringBuffer();
    char data[] = new char[1024];
    while( inr.read(data) != -1 ) {
    sb.append(new String(data));
    OutputStream out = res.getOutputStream();
    out.write(sb.toString().getBytes());
    in.close();
    inr.close();
    out.close();
    //For The client
    import java.net.*;
    import java.io.*;
    public class DataCruncherClient {
    public static void main(String[] args) {
    URL fileURL = null;
    URLConnection con = null;
    StringBuffer buffer = null;
    OutputStream out = null;
    BufferedReader br = null;
    InputStreamReader in = null;
    try {
    fileURL = new URL("http://localhost:8000/myContext/DataCruncherServlet");
    //There is no way to control the underlying communication mechanism(sockets rmi, ...)
    //connection we get uses.
    con = fileURL.openConnection();
    con.setDoOutput(true);
    con.setDoInput(true);
    out = con.getOutputStream();
    br = new BufferedReader(new FileReader("test.txt"));
    StringBuffer sb = new StringBuffer();
    String line = null;
    while( (line = br.readLine()) != null){
    sb.append(line);
    out.write(sb.toString().getBytes());
    in = new InputStreamReader(con.getInputStream());
    char data[] = new char[1024];
    buffer = new StringBuffer();
    while( in.read(data) != -1 ) {
    buffer.append(new String(data));
    catch(MalformedURLException me) {
    System.out.println("MalFormed URLException: "+me.getMessage());
    catch(FileNotFoundException fe) {
    System.out.println("File Not Found: "+fe.getMessage());
    catch(IOException ioex){
    System.out.println("IOEXception: "+ioex.getMessage());
    finally{
    try {
    out.close();
    br.close();
    in.close();
    catch(IOException ioex) {
    System.out.println("can not close stream: "+ioex.getMessage());
    System.out.println("Returned from Servlet is: ");
    System.out.println(buffer.toString());
    email me :[email protected]

    s.append(char[]) and s.append(char[], int, int) are
    similar each one is converted into string throught
    String.valueOf(char[]) and String.valueOf(char[], int,
    int) respectively then it is appended to the
    s(stringBuffer) so I do not see why one is more
    efficient Than the other, please explain.from the implementation of StringBuffer:
        public synchronized StringBuffer append(char str[], int offset, int len) {
            int newcount = count + len;
         if (newcount > value.length)
             expandCapacity(newcount);
         System.arraycopy(str, offset, value, count, len);
         count = newcount;
         return this;
        }where do you see conversion to String? typically you do multiple appends and then one StringBuffer.toString(). this is different from creating a String on every append.
    Using Zip streams can fix the particular problem I
    outlined but I was thinking about a way to control
    the underlying communication mechanizim in which the
    connection(URLConnection) depend on.so you wanted to hide the compression inside of URL.openStream()?
    robert

  • Xserve Data Written speeds

    Due to an application upgrade for one of our departments, I had to upgrade our Xserve G5 w/megaraid from 10.3.9 to 10.5.7. Since the upgrade, I have noticed that the internal drive speed seems to be slow when our apps are attempting to do a mysqldump of the databases (internal drive to internal drive). Diagnostics don't show any problems.
    When I go to Activity Monitor, it shows the Data Read speed as 8 - 12MB /sec (sometimes a little lower or higher) and a Data Written speed of around 6MB - 8MB /sec (sometimes a little higher, but sometimes much lower around 1 - 2MB /sec).
    Is this normal? I'm not sure what the "normal" data write speed is for Xserve PCI RAID hard drives? I have three 80GB Apple module drives on a RAID-5 via megaraid.
    Thanks.

    Similar problem here. I have three Mac (iMac, MacBook PB G4) connected to the same AE and the attached USB hard drive. Every one of them recognise the changes I did to the hard drive except the iMac. Doesnt has a clue what's going on.

Maybe you are looking for