Newbie Question : Broken Pipe

Hi all,
I got a prob under Apache tomcat 5.5.6 and JDK & JRE 1.5.0_01:
From catalina.out, I got :
==========================================================
INFO: SessionListener: attributeAdded('D57CF5B49544DEE007778BB3F78EB407', 'cart', 'WebBlaBla.Main.MainModuleServlet@1fa1bb6')
processRequest submit = : login
java.net.SocketException: Broken pipe
processRequest submit = : login
processRequest submit = : login
processRequest submit = : refresh
processRequest submit = : refresh
processRequest submit = : refresh
processRequest submit = : refresh
java.net.SocketException: Broken pipe
processRequest submit = : refresh
CheckWebClient execute
checkWebClientConnexion ------>>>> 1105547298096
1990>20000
java.net.SocketException: Broken pipe
processRequest submit = : refresh
processRequest submit = : refresh
java.net.SocketException: Broken pipe
processRequest submit = : refresh
processRequest submit = : refresh
processRequest submit = : refresh
===========================================================
I have no idea of what happening ..... if some one has ....
Cheers,
Fell

can you give me more details about this.
like what u were doing when this happened etc.Hi,
On the server (Debian R3 and Tomcat 5.5.6), there's a java application running. This application is supposed to connect to a C++ server application througt a socket connection (winsocket).
It cannot established this connection.
This connection is ok under Windows XP , Mandrake 10.1 and Apache Tomcat 5.5.4.
Sometime under Mandrake, we had the same problem "broken pipe" but the connection could be reestablished.
Thx

Similar Messages

  • BI Install Enterprise Linux - Broken Pipes

    Hi newbie BI Server (Siebel) question.
    I am attempting to install on Oracles Enterprise Linux Distribution. Everything went in ok, the Enterprise Manager and XML Publisher modules work ok. However when attempting to access the Business Intelligence (/analytics/saw.dll) The page hangs and I see a broken pipe error in the applications log file.
    Metalink has very little on the information front - has anyone on here had similar problems?
    Thanks in advance..

    Yes you can instal BIA796 on linux. But you don't have an installer for all components.
    So you install BIA on a windows environment, this will create a dwrep folder in your Oracle BI home dir.
    And in a RPD file in oraclebi/server/repository
    and a web cat in oraclebidata/web/catalog
    Copy all those files to linux to the same place
    and continue with installing the informatice server
    after that you must install the DAC server. But the manual says you have to install this on windows first as well... but if you take a look on OTN, you will see that there is an installer for unix as well...
    So don't know if you can install the DAC server directly on linux...
    Good luck...
    just follow the manual carefully!!

  • Broken pipe, DMLException: JBO-26061: Error while opening JDBC connection

    Hi,
    We are facing strange problem with oc4j903 container using bc4j getConnection() method.
    We are getting the following error intermitantly using bc4j getConnection() method.
    ApplicationModuleProvider JBO-30003: The application pool (bc4j_paris) failed to checkout an application module due to the following exception:
    oralce.jbo.DMLException: JBO-26061: Error while opening JDBC connection.
    and then it says ,
    java.sql.SQLException: Io exception: Broken pipe.
    It gets connection automatically in a matter of minutes.
    Has anybody faced these problem or anyone has the solution please help us out.
    Thanks,
    Chinna

    Bhaskar -- BC4J related questions are better directed to the JDeveloper forum; that's where the BC4J PMs and developers hang out.
    cheers
    -stevee

  • DMLException: JBO-26061: Error while opening JDBC connection, Broken pipe

    Hi,
    We are facing a strange problem with oc4j903 container using bc4j getConnection() method.
    We are getting the following error intermitantly using bc4j getConnection() method.
    ApplicationModuleProvider JBO-30003: The application pool (bc4j_paris) failed to checkout an application module due to the following exception:
    oralce.jbo.DMLException: JBO-26061: Error while opening JDBC connection.
    and then it says ,
    java.sql.SQLException: Io exception: Broken pipe.
    It gets connection automatically in a matter of minutes.
    Has anybody faced these problem or anyone has the solution please help us out.
    I appreciate your inputs.
    Thanks,
    Chinna

    Bhaskar -- BC4J related questions are better directed to the JDeveloper forum; that's where the BC4J PMs and developers hang out.
    cheers
    -stevee

  • Broken Pipe error  when connecting to database

    Hi
    I have installed ODI and Oracle 10g database on my machine.
    But getting a Broken Pipe error while creating an entity in Oracle Data Profiling and Quality tool
    Or I can say while connecting database.
    It’s a runtime error.
    Server terminated the application in an unusual way.
    Any inputs are much appreciated.
    Thanks
    KSK

    Hello KSK.
    Did you receive or did you find any answer about this question?
    Please, let me know if yes or no. I have a workmate with the same problem and we didn't find any clue about the problem.
    Best regards.
    Ponte

  • Infamous SocketException: Broken Pipe

    Hello,
    As with many of the other users on this forum I have been plagued by the Broken Pipe SocketException, very rarely, which seems to essentially block on the java.net.SocketOutputStream.socketWrite0(Native Method) for quite a long time (presumably the length of some timeout) during a flush. It is also typically accompanied by a "java.net.SocketException: Connection timed out" on the socket itself.
    I've read the many responses by EJP that this means:
    "This is caused by writing to a connection when the other end has already closed it.
    So you have a poorly defined or implemented application protocol."
    My main question is: Is it normal for these exceptions to occur, and we just need to write some layer that handles this?
    And a follow up: If so, would that layer be something along the lines of:
    - a separate thread on the server for each output stream, and if this thread blocks during flush (for whatever reason), either:
    - use a watchdog thread to close the output if some internal timeout has exceeded, or:
    - just let Java's connection timeout eventually occur and let the output thread die
    Or am I way off base here?
    One more thing: Any other advice / best architectural practices / help regarding this problem / reading suggestions would be extremely appreciated.
    Thanks.

    EJP wrote:
    Or else you are just streaming large amounts of data and the peer giving up is part oft the application protocol(for example, the peer is a browser and the user navigates away), in which case th correct action is to catch the exception and give up on the client.I believe this might be the case. The clients can (and typically do) receive the information I am sending. It is absolutely possible that they can navigate away during the transfer. It is fine for the purposes of the application to give up on this client. To give up on the client and not have flush() block my main thread, I would need a separate thread per client, for handling the outputstream, correct? ie. one for receive, another for send, per client.
    There is something seriously wrong with your statement that the peer gets a connection timeout when this side gets a broken pipe. Connection timeout happens when creating a connection: in fact it happens instead of creating a connection. So there is no connection yet, so no peer at all, so it is impossible for the other end to be writing to the connection at all, because there is no connection and no other end. Do you mean a read timeout?I get:
    ThreadID-1310 java.net.SocketException: Connection timed out
    ThreadID-1310 java.net.SocketException: Broken pipe
    On the server-side thread that holds the socket for this client. The Connection timed out happens from the Socket InputStream during a readByte(), Broken pipe happens from the Socket OutputStream during a flush().
    Init code:
    socket_ = serverSocket_.accept();
    in_ = new DataInputStream(new BufferedInputStream(socket_.getInputStream()));
    out_ = new DataOutputStream(new BufferedOutputStream(socket_.getOutputStream()));
    mainThread.add(this); // the output main thread with some synchronization
    start(); // the read thread belowReceive in the thread that throws Connection Timed out:
    run() {
      while(running) {
        try {
          byte index = in_.readByte();
        } catch (SocketException e) {
          System.err.println(getId() + ": " + e);
    }Send code in main thread that throws broken pipe:
        try {
          callingThread_.out_.flush()
        } catch (SocketException e) {
          System.err.println(callingThread_.getId() + ": " + e);
      }Both exceptions happen back to back. The Main thread keeps a back-pointer to the calling thread As you can see, both in_ and out_ are from the same socket on the original object. The user has absolutely been connected for a while before this occurs.
    Thanks again for the insight.

  • C7280 All-in-One - uploads hang at 12%, then 45% and prints one page at a time - broken pipe

    Printing upload hangs at 12% then 45%, then aborts printing with error message "Stopped - Unable to print data. Broken pipe".  Can this be fixed?
    This question was solved.
    View Solution.

    Hi JGarner98,
    A broken pipe error is a programming construct that is designed to 'pipe' data from point to point. From the description you have provided, it sounds like the operating system is telling yout that is has lost the ability to write date to the printer. This is generally caused by some sort of corruption in the CUPS printing system.
    CUPS consists of a print spooler and scheduler, a filter system that converts the print data to a format that the printer will understand, and a backend system that sends this data to the print device. CUPS uses the Internet Printing Protocol (IPP) as the basis for managing print jobs and queues. - Source
    To fix this, I suspect the best approach is to reset the printing system, repair disk permissions, re-add the printer using the right driver, and try to printing again.
    Reset Printing System
    Click the Apple icon (   ), and then click System Preferences.
    In the Hardware section, click Print & Fax/Scan. The Print & Fax/Scan  dialog box opens.
    Right-click (or  Ctrl  +click) in the left panel, and then click Reset printing system…
    Click OKto confirm the reset.
    Type the correct Name and Password.
    Click OK to reset the printing system. The Print & Fax dialog box shows no printer selected
    Note: This will remove all printers in the print and Fax/Scan, any printer removed can be re-added later by clicking the plus (+) symbol.
    Repair Disk Permissions
    On the Dock, click Applications, and then click Utilities.
    Double-clickDisk Utility.
    Highlight your hard drive/partition on the left (by default this is "Macintosh HD").
    Click the Repair Disk Permissions button at the bottom of the window.
    Once the repair is complete, restart the computer and add the printer back.
    When you add the printer, please ensure you are using the HP driver, not the AirPrint driver.
    Select Add other Printer or Scanner                                                       
    Select the printer you are adding and next to 'Use' you can the printer driver 
    I look forward to hearing from you. Please let me know if this resolves the issue. Thanks.
    Please click the Thumbs up icon below to thank me for responding.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Sunshyn2005 - I work on behalf of HP

  • Usr/bin/pacman-key: line 615: printf: write error: Broken pipe

    I've got some instances of same error from pacman which I think is abnormal when I tried to upgrade pacman-keyring via "pacman -Syu".
    usr/bin/pacman-key: line 615: printf: write error: Broken pipe
    What action should I take for the errors to maintain my system?
    Searching the web and this forum won't answer my question...
    The quotation of pacman.log of the upgrade sesson which evoked pacman-keyring upgrading is below:
    [2013-04-20 22:04] [PACMAN] Running 'pacman -Syu'
    [2013-04-20 22:04] [PACMAN] synchronizing package lists
    [2013-04-20 22:04] [PACMAN] starting full system upgrade
    [2013-04-20 22:05] [ALPM-SCRIPTLET] ==> Appending keys from archlinux.gpg...
    [2013-04-20 22:05] [ALPM-SCRIPTLET] gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model
    [2013-04-20 22:05] [ALPM-SCRIPTLET] gpg: depth: 0 valid: 1 signed: 5 trust: 0-, 0q, 0n, 0m, 0f, 1u
    [2013-04-20 22:05] [ALPM-SCRIPTLET] gpg: depth: 1 valid: 5 signed: 64 trust: 0-, 0q, 0n, 5m, 0f, 0u
    [2013-04-20 22:05] [ALPM-SCRIPTLET] gpg: depth: 2 valid: 64 signed: 1 trust: 64-, 0q, 0n, 0m, 0f, 0u
    [2013-04-20 22:05] [ALPM-SCRIPTLET] gpg: next trustdb check due at 2014-01-22
    [2013-04-20 22:05] [ALPM-SCRIPTLET] ==> Locally signing trusted keys in keyring...
    [2013-04-20 22:05] [ALPM-SCRIPTLET] -> Locally signing key 0E8B644079F599DFC1DDC3973348882F6AC6A4C2...
    [2013-04-20 22:05] [ALPM-SCRIPTLET] usr/bin/pacman-key: line 615: printf: write error: Broken pipe
    [2013-04-20 22:05] [ALPM-SCRIPTLET] -> Locally signing key 684148BB25B49E986A4944C55184252D824B18E8...
    [2013-04-20 22:05] [ALPM-SCRIPTLET] usr/bin/pacman-key: line 615: printf: write error: Broken pipe
    [2013-04-20 22:05] [ALPM-SCRIPTLET] -> Locally signing key 44D4A033AC140143927397D47EFD567D4C7EA887...
    [2013-04-20 22:05] [ALPM-SCRIPTLET] usr/bin/pacman-key: line 615: printf: write error: Broken pipe
    [2013-04-20 22:05] [ALPM-SCRIPTLET] -> Locally signing key 27FFC4769E19F096D41D9265A04F9397CDFD6BB0...
    [2013-04-20 22:05] [ALPM-SCRIPTLET] -> Locally signing key AB19265E5D7D20687D303246BA1DFB64FFF979E7...
    [2013-04-20 22:05] [ALPM-SCRIPTLET] usr/bin/pacman-key: line 615: printf: write error: Broken pipe
    [2013-04-20 22:05] [ALPM-SCRIPTLET] ==> Importing owner trust values...
    [2013-04-20 22:05] [ALPM-SCRIPTLET] ==> Updating trust database...
    [2013-04-20 22:05] [ALPM-SCRIPTLET] gpg: next trustdb check due at 2014-01-22
    [2013-04-20 22:05] [PACMAN] upgraded archlinux-keyring (20130224-1 -> 20130406-1)
    [2013-04-20 22:05] [PACMAN] upgraded bash-completion (2.0-3 -> 2.1-1)
    [2013-04-20 22:05] [ALPM-SCRIPTLET] Generating locales...
    [2013-04-20 22:05] [ALPM-SCRIPTLET] en_US.UTF-8... done
    [2013-04-20 22:05] [ALPM-SCRIPTLET] ja_JP.UTF-8... done
    [2013-04-20 22:05] [ALPM-SCRIPTLET] Generation complete.
    [2013-04-20 22:05] [PACMAN] upgraded glibc (2.17-4 -> 2.17-5)
    [2013-04-20 22:05] [PACMAN] upgraded binutils (2.23.2-1 -> 2.23.2-2)
    [2013-04-20 22:05] [PACMAN] upgraded m4 (1.4.16-2 -> 1.4.16-3)
    [2013-04-20 22:05] [PACMAN] upgraded bison (2.7-1 -> 2.7.1-1)
    [2013-04-20 22:05] [PACMAN] upgraded curl (7.29.0-2 -> 7.30.0-1)
    [2013-04-20 22:05] [PACMAN] upgraded expat (2.1.0-1 -> 2.1.0-2)
    [2013-04-20 22:05] [PACMAN] upgraded freeglut (2.8.0-2 -> 2.8.1-1)
    [2013-04-20 22:05] [PACMAN] upgraded gcc-libs (4.8.0-1 -> 4.8.0-2)
    [2013-04-20 22:05] [PACMAN] upgraded gcc (4.8.0-1 -> 4.8.0-2)
    [2013-04-20 22:05] [PACMAN] upgraded gpm (1.20.7-1 -> 1.20.7-2)
    [2013-04-20 22:05] [PACMAN] upgraded harfbuzz (0.9.14-1 -> 0.9.16-1)
    [2013-04-20 22:05] [PACMAN] upgraded isl (0.11.1-1 -> 0.11.2-1)
    [2013-04-20 22:05] [PACMAN] upgraded kmod (12-1 -> 13-1)
    [2013-04-20 22:05] [PACMAN] upgraded libldap (2.4.34-1 -> 2.4.35-1)
    [2013-04-20 22:05] [PACMAN] upgraded krb5 (1.11.1-1 -> 1.11.2-1)
    [2013-04-20 22:05] [PACMAN] upgraded lib32-glibc (2.17-4 -> 2.17-5)
    [2013-04-20 22:05] [PACMAN] upgraded lib32-gcc-libs (4.8.0-1 -> 4.8.0-2)
    [2013-04-20 22:05] [PACMAN] upgraded libcap (2.22-3 -> 2.22-4)
    [2013-04-20 22:05] [PACMAN] upgraded libpng (1.5.14-1 -> 1.5.15-1)
    [2013-04-20 22:05] [PACMAN] upgraded libtasn1 (3.2-1 -> 3.3-1)
    [2013-04-20 22:05] [ALPM-SCRIPTLET] >>> Updating module dependencies. Please wait ...
    [2013-04-20 22:05] [ALPM-SCRIPTLET] >>> Generating initial ramdisk, using mkinitcpio. Please wait...
    [2013-04-20 22:05] [ALPM-SCRIPTLET] ==> Building image from preset: 'default'
    [2013-04-20 22:05] [ALPM-SCRIPTLET] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
    [2013-04-20 22:05] [ALPM-SCRIPTLET] ==> Starting build: 3.8.7-1-ARCH
    [2013-04-20 22:05] [ALPM-SCRIPTLET] -> Running build hook: [base]
    [2013-04-20 22:05] [ALPM-SCRIPTLET] -> Running build hook: [udev]
    [2013-04-20 22:05] [ALPM-SCRIPTLET] -> Running build hook: [autodetect]
    [2013-04-20 22:05] [ALPM-SCRIPTLET] -> Running build hook: [block]
    [2013-04-20 22:05] [ALPM-SCRIPTLET] -> Running build hook: [filesystems]
    [2013-04-20 22:05] [ALPM-SCRIPTLET] -> Running build hook: [keymap]
    [2013-04-20 22:05] [ALPM-SCRIPTLET] -> Running build hook: [keyboard]
    [2013-04-20 22:05] [ALPM-SCRIPTLET] -> Running build hook: [fsck]
    [2013-04-20 22:05] [ALPM-SCRIPTLET] ==> Generating module dependencies
    [2013-04-20 22:05] [ALPM-SCRIPTLET] ==> Creating cat initcpio image: /boot/initramfs-linux.img
    [2013-04-20 22:05] [ALPM-SCRIPTLET] ==> Image generation successful
    [2013-04-20 22:05] [ALPM-SCRIPTLET] ==> Building image from preset: 'fallback'
    [2013-04-20 22:05] [ALPM-SCRIPTLET] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
    [2013-04-20 22:05] [ALPM-SCRIPTLET] ==> Starting build: 3.8.7-1-ARCH
    [2013-04-20 22:05] [ALPM-SCRIPTLET] -> Running build hook: [base]
    [2013-04-20 22:05] [ALPM-SCRIPTLET] -> Running build hook: [udev]
    [2013-04-20 22:05] [ALPM-SCRIPTLET] -> Running build hook: [block]
    [2013-04-20 22:05] [ALPM-SCRIPTLET] -> Running build hook: [filesystems]
    [2013-04-20 22:05] [ALPM-SCRIPTLET] -> Running build hook: [keymap]
    [2013-04-20 22:05] [ALPM-SCRIPTLET] -> Running build hook: [keyboard]
    [2013-04-20 22:05] [ALPM-SCRIPTLET] -> Running build hook: [fsck]
    [2013-04-20 22:05] [ALPM-SCRIPTLET] ==> Generating module dependencies
    [2013-04-20 22:05] [ALPM-SCRIPTLET] ==> Creating cat initcpio image: /boot/initramfs-linux-fallback.img
    [2013-04-20 22:05] [ALPM-SCRIPTLET] ==> Image generation successful
    [2013-04-20 22:05] [PACMAN] upgraded linux (3.8.5-1 -> 3.8.7-1)
    [2013-04-20 22:05] [PACMAN] upgraded orc (0.4.16-1 -> 0.4.17-1)
    [2013-04-20 22:05] [PACMAN] upgraded perl (5.16.3-1 -> 5.16.3-2)
    [2013-04-20 22:05] [PACMAN] upgraded psmisc (22.19-1 -> 22.20-1)
    [2013-04-20 22:05] [PACMAN] upgraded sqlite (3.7.16.1-1 -> 3.7.16.2-1)
    [2013-04-20 22:05] [PACMAN] upgraded sudo (1.8.6.p7-2 -> 1.8.6.p8-1)
    [2013-04-20 22:05] [PACMAN] upgraded systemd (198-2 -> 201-2)
    [2013-04-20 22:05] [PACMAN] upgraded systemd-sysvcompat (198-2 -> 201-2)
    [2013-04-20 22:05] [PACMAN] upgraded tar (1.26-2 -> 1.26-3)
    [2013-04-20 22:05] [PACMAN] upgraded wayland (1.0.6-1 -> 1.1.0-1)
    Thanks in advance!

    I just encountered the same issue with the latest update. I never had something similar to this:
    :: Retrieving packages ...
    archlinux-keyring-20130525-2-any 367,2 KiB 1023K/s 00:00 [################################################################] 100%
    linux-3.9.5-1-x86_64 45,5 MiB 1015K/s 00:46 [################################################################] 100%
    linux-headers-3.9.5-1-x86_64 5,6 MiB 1117K/s 00:05 [################################################################] 100%
    gnome-bluetooth-3.8.1-2-x86_64 835,0 KiB 955K/s 00:01 [################################################################] 100%
    gnome-documents-3.8.3-1-x86_64 305,0 KiB 1034K/s 00:00 [################################################################] 100%
    vlc-2.0.7-2-x86_64 7,6 MiB 1162K/s 00:07 [################################################################] 100%
    (6/6) checking keys in keyring [################################################################] 100%
    (6/6) checking package integrity [################################################################] 100%
    (6/6) loading package files [################################################################] 100%
    (6/6) checking for file conflicts [################################################################] 100%
    (6/6) checking available disk space [################################################################] 100%
    (1/6) upgrading archlinux-keyring [################################################################] 100%
    ==> Appending keys from archlinux.gpg...
    ==> Locally signing trusted keys in keyring...
    -> Locally signing key 0E8B644079F599DFC1DDC3973348882F6AC6A4C2...
    usr/bin/pacman-key: line 615: printf: write error: Broken pipe
    -> Locally signing key 684148BB25B49E986A4944C55184252D824B18E8...
    -> Locally signing key 44D4A033AC140143927397D47EFD567D4C7EA887...
    -> Locally signing key 27FFC4769E19F096D41D9265A04F9397CDFD6BB0...
    -> Locally signing key AB19265E5D7D20687D303246BA1DFB64FFF979E7...
    ==> Importing owner trust values...

  • ZipOutputStream causing broken pipes.

    Hi,
    I'm using a ZipOutputStream to write files over an FTP socket (my java program is unaware of the FTP, as it receives a "file wrapper" from the OS for this FTP).
    Strangly enough I get unexplained broken pipes (see exception trace bellow) during the process when I work with large files (15MB).
    I have read in some posts that: "Zip streams can have very large sets of trailers, and a consumer unzipping the data can detect the end of the last file before the last trailer block has arrived. In other words, the consumer shut down before the producer thought it was done. Without a bit of fiddling, this caused obscure "broken pipe" exceptions."
    My question is, does anyone know how to override\solve this problem?
    thanks
    Shahar.
    ----The Exception Trace ----
    java.io.IOException: Broken pipe
         at java.io.FileDescriptor.write([BII)I [native]
         at java.io.FileOutputStream.write([BII)V [compiled]
         at java.io.BufferedOutputStream.flush()V [compiled]
         at java.util.zip.ZipOutputStream.deflate()V [line 905]
         at java.util.zip.DeflaterOutputStream.finish()V [line 207]
         at java.util.zip.ZipOutputStream.closeEntry()V [line 554]
         at java.util.zip.ZipOutputStream.putNextEntry(Ljava/util/zip/ZipEntry;)V [line 326]
         at com.pcube.management.common.ZipFileWriter.addToZip(Ljava/io/InputStream;Ljava/lang/String;)V [line 60]
         at com.pcube.management.common.ZipFileWriter.addToZip(Ljava/lang/String;Ljava/lang/String;)V [line 127]
         at com.pcube.management.framework.agent.AgentDelegate.addFileToInformationFile([Ljava/io/File;Lcom/pcube/management/common/ZipFileWriter;Ljava/io/PrintWriter;)V [line 856]
         at com.pcube.management.framework.agent.AgentDelegate.buildInformationFileAbsolute(Ljava/lang/String;ZZLcom/pcube/management/se/cli/CliFeedbackWriter;)Ljava/lang/String; [line 756]
         at com.pcube.management.framework.agent.AgentDelegate$CliLoggerGetSupportFile.execute(Ljavax/management/MBeanServer;[Ljava/lang/String;Lcom/pcube/management/se/cli/CliSessionInfo;Lcom/pcube/management/se/cli/CliFeedbackWriter;)V [line 2033]
         at com.pcube.management.se.cli.CliMbean$RunCommand.run()V [line 299]

    I'll tell you how I have solved this when the underlying stream was is own (built atop RMI):
    My server operates as two threads
    o one - a remote write by the sender, feeds a pipe.
    o the other a consumer, reads from the pipe and unzips the data.
    When the consumer detects end of input (i.e. eof on the ZipInputStream), it flags the other thread. The next remote operation gets a broken pipe, notes that the consumer had seen all of the input (the flag), and throws an application-specific I/OException.
    On the client side, the ouput stream detects the special exception and exits as though there is a normal end-of-processing.

  • Java.sql.SQLException: Io exception: Broken pipe

    To whom it may concern:
    Anyone who can help me with my problem? We have Java application(Loading2Staging) that calls a series of stored procedures in Oracle. This job takes about 30 hours to complete. We have other Java applications that is running and calling Oracle on the same machine and database. All of the applications are using "Java connection pooling". I'm encountering problem with the said application. When Loading2Staging is running and then other jobs would start to establish a connection, Loading2Staging then fails with this error: java.sql.SQLException: Io exception: Broken pipe
    The procedures of Loading2Staging is taking too long to complete. So my question is, "Is the job failing because of its inactivity or do some other applications steal the 'connection pooling' assigned to it for it to run smoothly?"
    If that's the case, could I create a "dedicated connection" or "connection pooling" to prevent the stealing of connection among jobs?
    This is a very urgent issue. Your immediate response will be much appreciated.
    Thank you.
    wletmp5

    Having exactly the same problem, does anybody know where the problem is?
    Thanks
    PD

  • Jackd + guitar: "timeouts and broken pipes"

    Hi friends! I'm trying to pass my electric guitar via any rack/effects (like Guitarix or Creox) with no luck. I've got this sound card:
    01:06.0 Multimedia audio controller: Creative Labs [SB Live! Value] EMU10k1X
    01:06.1 Input device controller: Creative Labs [SB Live! Value] Input device controller
    I try with QJackCtl and invoking jackd from the terminal with any luck.
    jackd -d alsa -C -P
    jackd 0.121.3
    Copyright 2001-2009 Paul Davis, Stephane Letz, Jack O'Quinn, Torben Hohn and others.
    jackd comes with ABSOLUTELY NO WARRANTY
    This is free software, and you are welcome to redistribute it
    under certain conditions; see the file COPYING for details
    could not open driver .so '/usr/lib/jack/jack_net.so': libcelt0.so.2: cannot open shared object file: No such file or directory
    could not open driver .so '/usr/lib/jack/jack_firewire.so': libffado.so.2: cannot open shared object file: No such file or directory
    JACK compiled with System V SHM support.
    loading driver ..
    creating alsa driver ... hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit
    control device hw:0
    configuring for 48000Hz, period = 1024 frames (21.3 ms), buffer = 2 periods
    ALSA: final selected sample format for capture: 16bit little-endian
    ALSA: use 2 periods for capture
    ALSA: final selected sample format for playback: 16bit little-endian
    ALSA: use 2 periods for playback
    jackd watchdog: timeout - killing jackd
    [gabo@machina ~]$
    This is the output from QJackCtl:
    00:12:07.126 Client deactivated.
    00:12:07.130 JACK is being forced...
    cannot read server event (Success)
    cannot continue execution of the processing graph (Bad file descriptor)
    zombified - calling shutdown handler
    cannot send request type 7 to server
    cannot read result for request type 7 from server (Broken pipe)
    cannot send request type 7 to server
    cannot read result for request type 7 from server (Broken pipe)
    00:12:07.339 JACK was stopped with exit status=1.
    I can hear my guitar and record with Audacity, but when jackd enter into the escenario everything blows up. I read that nowadays almost any sound card will work with QJackCtl with the default options. I play with the parameters and sometimes jack refuse to start. With the default options on i can make it run, but i get no sound of the racks or guitar effects processors neither the guitar tuners that use jack takes the sound from the guitar. My line input is in capture via alsamixer, but still no luck. Any clue on this? I'm skipping steps?
    Thanks in advance.
    iamgabo

    Hi!
    groups && cat /proc/asound/cards && cat ~/.asoundrc && cat '/etc/security/limits.d/audio.conf' && jackd -v
    adm disk lp wheel http network video audio optical storage power users polkitd vboxusers wireshark kismet
    0 [Live ]: EMU10K1X - Dell Sound Blaster Live!
    Dell Sound Blaster Live! at 0xcc00 irq 17
    #pcm.upmix71 {
    #type upmix
    #slave.pcm "surround71"
    #delay 15
    #channels 8
    pcm.!default {
    type hw
    card 0
    ctl.!default {
    type hw
    card 0
    # convert alsa API over jack API
    # use it with
    # % aplay foo.wav
    # use this as default
    pcm.!default {
    type plug
    slave { pcm "jack" }
    ctl.mixer0 {
    type hw
    card 1
    # pcm type jack
    pcm.jack {
    type jack
    playback_ports {
    0 system:playback_1
    1 system:playback_2
    capture_ports {
    0 system:capture_1
    1 system:capture_2
    cat: /etc/security/limits.d/audio.conf: No such file or directory
    I have a file called 99-audio.conf
    cat /etc/security/limits.d/99-audio.conf
    @audio - rtprio 99
    @audio - memlock unlimited
    Also i've seen some guys changing this file too:
    cat /etc/security/limits.conf
    # /etc/security/limits.conf
    #Each line describes a limit for a user in the form:
    #<domain> <type> <item> <value>
    #Where:
    #<domain> can be:
    # - an user name
    # - a group name, with @group syntax
    # - the wildcard *, for default entry
    # - the wildcard %, can be also used with %group syntax,
    # for maxlogin limit
    #<type> can have the two values:
    # - "soft" for enforcing the soft limits
    # - "hard" for enforcing hard limits
    #<item> can be one of the following:
    # - core - limits the core file size (KB)
    # - data - max data size (KB)
    # - fsize - maximum filesize (KB)
    # - memlock - max locked-in-memory address space (KB)
    # - nofile - max number of open files
    # - rss - max resident set size (KB)
    # - stack - max stack size (KB)
    # - cpu - max CPU time (MIN)
    # - nproc - max number of processes
    # - as - address space limit (KB)
    # - maxlogins - max number of logins for this user
    # - maxsyslogins - max number of logins on the system
    # - priority - the priority to run user process with
    # - locks - max number of file locks the user can hold
    # - sigpending - max number of pending signals
    # - msgqueue - max memory used by POSIX message queues (bytes)
    # - nice - max nice priority allowed to raise to values: [-20, 19]
    # - rtprio - max realtime priority
    #<domain> <type> <item> <value>
    #* soft core 0
    #* hard rss 10000
    #@student hard nproc 20
    #@faculty soft nproc 20
    #@faculty hard nproc 50
    #ftp hard nproc 0
    #@student - maxlogins 4
    * - rtprio 0
    * - nice 0
    @audio - rtprio 65
    @audio - nice -10
    @audio - memlock unlimited
    jackd 0.121.3
    There are the snaps for QJackCtl
    Also, checkout this stuff that i've recorded with audacity, only from the line and nothing else
    http://ompldr.org/vZ3A2eg
    Thanks!
    Last edited by iamgabo (2012-12-15 02:21:08)

  • Recovering the failed server to the Cluser !!!!!!!!!!!!!!!!!!! BROKEN PIPE

    Hi,
              I have a weblogic cluster with 2 managed servers on 2 different machines,
              Now i have an application.ear which is kept on the first server and while deploying i choose the option "copy to the other server" and i deploy this EAR to the cluster.
              Mine is a applet-servlet based application and the applet gets downloaded onto client browser.
              Now when both the servers are up load balancing and the failover is also happening.Now the problem is when rejoing the failed server back to the cluster.
              I have setup the classpath entries and arguments entries "Remote Start" tab in the server configuration,
              I bring back the server through weblogic console and it joins the cluster also without any problem.
              The problem is if some users have already opened the application then after rejoining also it works fine.
              But if a new user tries to access the applications what happens is
              we get
              java.net.SocketException: Broken pipe
              at java.net.SocketOutputStream.socketWrite0(Native Method)
              at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
              at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
              at weblogic.servlet.internal.ChunkUtils.writeChunkTransfer(ChunkUtils.java:267)
              at weblogic.servlet.internal.ChunkUtils.writeChunks(ChunkUtils.java:239)
              at weblogic.servlet.internal.ChunkOutput.flush(ChunkOutput.java:311)
              at weblogic.servlet.internal.ChunkOutput.checkForFlush(ChunkOutput.java:387)
              at weblogic.servlet.internal.ChunkOutput.write(ChunkOutput.java:254)
              at weblogic.servlet.internal.ChunkOutputWrapper.write(ChunkOutputWrapper.java:125)
              at weblogic.servlet.internal.ServletOutputStreamImpl.write(ServletOutputStreamImpl.java:184)
              at java.io.ObjectOutputStream$BlockDataOutputStream.drain(ObjectOutputStream.java:1639)
              at java.io.ObjectOutputStream$BlockDataOutputStream.write(ObjectOutputStream.java:1603)
              at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1325)
              at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1304)
              at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)
              at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
              at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1224)
              at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1050)
              at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1224)
              at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1050)
              at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1332)
              at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1304)
              at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)
              at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
              at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1332)
              at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1304)
              at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)
              at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
              at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
              at WebRequestController.doPost(WebRequestController.java:184)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
                   at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
              at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6718)
              at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
              at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
              at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
              at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
              We use IPlanet proxy server to route to the cluster
              Somebody pls help..
              Regards
              Suresh

    Davin Czukoski wrote:
    We have been switching back and forth between the BEA MS SQL server driver
    and the Data Direct driver ever since the SP3 problem started.
    This seems to be a problem with the BEA MS SQL server driver. We switch to
    Data Direct and the problem went away.
    There were no memory messages in our logs for SQL server.Ok. And this only happens during a big sequence of inserts? Let me see your code,
    and please describe the table too. I'll try to duplicate it, but if the data direct driver
    or the free MS driver works for you, go with them.
    Joe
    >
    >
    "Joseph Weinstein" <[email protected]> wrote in message
    news:[email protected]..
    Davin Czukoski wrote:
    I am getting this error part way through an 1000 row update.
    Exception: I/O exception while talking to the server,
    java.io.IOException:
    Broken pipe
    Is it a driver or network issue?Probably neither. I'm guessing the DBMS ran out of memory for theinsert-logging
    or something like that, and killed the client connection. Check your DBMSlog.
    Joe Weinstein at BEA

  • Ping timeouts at server and broken pipes at client

    I am experiencing unexpected broken pipe exceptions at the client side of a coherence server. These exceptions prevent our code to establish a connection to the cache server.
    Due to network restrictions, we are connecting client and server through Coherence*Extend.
    At the server side, the logs show the following message:
    DEBUG Coherence:3 - 2013-02-01 11:12:20.584/85.322 Oracle Coherence GE 3.7.1.5 <D6> (thread=Proxy:TcpProxyServicePof:TcpAcceptor, member=1): Closed: TcpConnection(Id=0x0000013C953D8F150AA202D9F632E5EAFD6BDDE1A713F026C65BC1E7CC1E5952, Open=false, Member(Id=0, Timestamp=2013-02-01 11:11:44.404, Address=127.0.0.1:0, MachineId=0, Location=site:,process:1612, Role=WeblogicServer), LocalAddress=10.162.2.217:28088, RemoteAddress=10.162.2.231:45202) due to:
    com.tangosol.net.messaging.ConnectionException: TcpConnection(Id=0x0000013C953D8F150AA202D9F632E5EAFD6BDDE1A713F026C65BC1E7CC1E5952, Open=true, Member(Id=0, Timestamp=2013-02-01 11:11:44.404, Address=127.0.0.1:0, MachineId=0, Location=site:,process:1612, Role=WeblogicServer), LocalAddress=10.162.2.217:28088, RemoteAddress=10.162.2.231:45202): did not receive a response to a ping within 500 millis
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Peer.checkPingTimeout(Peer.CDB:12)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.peer.Acceptor.checkPingTimeouts(Acceptor.CDB:7)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Peer.onNotify(Peer.CDB:115)
    at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
    at java.lang.Thread.run(Thread.java:662)
    And at the client side:
    ERROR (01/02/2013) 11:12:20 [threadsafe]Thread-15/AbstractComponentHandler Unable to create new instance 45067 ms
    com.tangosol.net.messaging.ConnectionException: TcpConnection(Id=0x0000013C953D8F150AA202D9F632E5EAFD6BDDE1A713F026C65BC1E7CC1E5952, Open=true, Member(Id=0, Timestamp=2013-02-01 11:11:44.404, Address=127.0.0.1:0, MachineId=0, Location=site:,process:1612, Role=WeblogicServer), LocalAddress=10.162.2.231:45202, RemoteAddress=10.162.2.217:28088)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.peer.initiator.TcpInitiator$TcpConnection.send(TcpInitiator.CDB:35)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Peer.send(Peer.CDB:29)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Peer.post(Peer.CDB:23)
    at com.tangosol.coherence.component.net.extend.Channel.post(Channel.CDB:25)
    at com.tangosol.coherence.component.net.extend.Channel.request(Channel.CDB:18)
    at com.tangosol.coherence.component.net.extend.Channel.request(Channel.CDB:1)
    at com.tangosol.coherence.component.net.extend.RemoteNamedCache$BinaryCache.putAll(RemoteNamedCache.CDB:10)
    at com.tangosol.util.ConverterCollections$ConverterMap.putAll(ConverterCollections.java:1708)
    at com.tangosol.coherence.component.net.extend.RemoteNamedCache.putAll(RemoteNamedCache.CDB:1)
    at com.tangosol.coherence.component.util.SafeNamedCache.putAll(SafeNamedCache.CDB:1)
    at com.tangosol.net.cache.CachingMap.putAll(CachingMap.java:1023)
    Caused by: java.net.SocketException: Write failed: Broken pipe
    at jrockit.net.SocketNativeIO.writeBytesPinned(Native Method)
    at jrockit.net.SocketNativeIO.socketWrite(SocketNativeIO.java:46)
    at java.net.SocketOutputStream.socketWrite0(SocketOutputStream.java)
    at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
    at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
    at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
    at java.io.BufferedOutputStream.write(BufferedOutputStream.java:104)
    at java.io.DataOutputStream.write(DataOutputStream.java:90)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.peer.initiator.TcpInitiator$TcpConnection.send(TcpInitiator.CDB:27)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Peer.send(Peer.CDB:29)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Peer.post(Peer.CDB:23)
    at com.tangosol.coherence.component.net.extend.Channel.post(Channel.CDB:25)
    at com.tangosol.coherence.component.net.extend.Channel.request(Channel.CDB:18)
    at com.tangosol.coherence.component.net.extend.Channel.request(Channel.CDB:1)
    at com.tangosol.coherence.component.net.extend.RemoteNamedCache$BinaryCache.putAll(RemoteNamedCache.CDB:10)
    at com.tangosol.util.ConverterCollections$ConverterMap.putAll(ConverterCollections.java:1703)
    at com.tangosol.coherence.component.net.extend.RemoteNamedCache.putAll(RemoteNamedCache.CDB:1)
    at com.tangosol.coherence.component.util.SafeNamedCache.putAll(SafeNamedCache.CDB:1)
    at com.tangosol.net.cache.CachingMap.putAll(CachingMap.java:1023)
    I can ping the client machine from the server without a problem.
    Has anybody seen this before?
    Edited by: 982740 on Feb 1, 2013 2:29 AM

    Hi user,
    It seems from the log that when the proxy node accepts your client connection the client fails to respond to a ping request down the same pipe. Does this happen consistently? If so, no putAll would ever succeed.
    I have to admit I've never seen this behaviour before. I can't see how this would be a firewall port issue, as the connection has been established... the only things I can think of would be a) your weblogic client node is running way to hot and doesn't respond to the grids ping request in time, b) Some very aggressive network infrastructure is killing the connection just after its created, or c) aliens are interfering with your system.
    sorry I can't be of more help,
    Andy

  • Ssh configuration to avoid connection timeouts / broken pipes ?

    I'm running irssi through screen on my server via ssh. Recently, my parents' internet connection has become very dodgy, and because of this, my terminal freezes altogether once every 15 minutes or so, and resumes with some "broken pipe" message after a very long time (around 10 minutes). I usualy just kill the terminal when I notice the freezing and open a new one with another ssh connection, but this seems to be getting more and more frequent, so it's very annoying. I was wondering if there is a way to get around this? Server configuration, client configuration, a different ssh client ... ?
    By googling, I found that disabling "TCPKeepAlive" might do the trick, and so I did. It seemed to work at first, my connection was up for about half an hour, but then the same thing occured again
    The sadest part of this is that by using puTTY on my phone over 3G, the connection stays up forever, but with the wired broadband, it won't stay up for more than 15 minutes
    EDIT: This time I got this message: "Timeout, server <myaddress> not responding", after 29 minutes.
    Last edited by pauligrinder (2011-04-24 00:50:30)

    yep, this connection used to be reliable too, but now I get timeouts all the time, and also if I connect the Deluge-GTK to a daemon running on my server, it will randomly freeze and I have to reconnect to get it to work again. Luckily I'm getting out of here tomorrow
    Still, it would be nice to solve this problem, because I will be coming here every once in a while... I would call the ISP and complain (I don't think the problem can be with our routers, because ssh connections inside the LAN work just fine), but because it's easter, their customer support is closed Besides, I don't know how to explain the problem to them, because most likely they won't even know what ssh is...
    I tried rwd's configs, and they didn't help either. The only difference is that it seems to timeout faster now, instead of freezing the whole terminal for a long time...
    Last edited by pauligrinder (2011-04-25 14:13:11)

  • Broken Pipe Error when using database link

    We are using WebLogic 6.1 sp2 / oracle database 8.1.6. / thin drivers.
    The connection works fine, unit I try to access a view that has a union and db links
    in it.
    We have used one or the other (view or a dblink) and it works, but when used together,
    we get broken pipe error.
    I haven't proven that this is the cause, I will try to setup a test, but I was wondering
    if this is a known issue or what ??
    thanks
    Rich

    You need to create the catalog views that support distributed SQL in your remote database (the database you connect to via db_link).
    To create these views, connect "/ as sysdba" and run:
    $ORACLE_HOME/rdbms/admin/catproc.sql
    which will in turn call several other scripts including: $ORACLE_HOME/rdbms/admin/catrpc.sql (which creates your missing view)
    It is best to run the whole catproc.sql script (and not just the catrpc script).
    You can run and rerun catproc.sql several times quite safely.
    Cheers

Maybe you are looking for

  • I'm really, really bad with speakers. (Polk Audio T15 Setup)

    So I bought these speakers and don't even know what the first step is. What cords/home theater setup do I need? I'm connecting it to a sony google TV. 

  • Need documentation on  "[SWF (....)]"

    I have some example actionscript files working with Papervision3D and they contain the following line : [SWF (width="640", height="480", backgroundColor="0x000000")] Is this part of the AS3 language? If so, where can I find documention for what this

  • Directory Services and Windows Question

    If this question has been asked before or if it seems really simple I am sorry. I have a client that has a small windows work group of XP machines. They want to move to a client server infrastructure but are not interested in the headaches involved i

  • Setup between Oracle streams and MQ

    Hi All, I m trying to create the setup between oracle streams and Messing Queue(MQ).i have already install MQClient on my machine and messing gateways is also working fine,but accoring to setup docs i have created one user having all the granst they

  • Before page load

    Jdev 11.1.2.3.0 1.     I have a method in a java class which I wanted to execute shortly before the page loads. 2.     Also just like above, I have another method in a java class which I wanted to execute before control passes to an input Text, How d