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)

Similar Messages

  • 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

  • AppServer or Web App error (9.0.4) and BROKEN PIPE

    Hi,
    I'm still using 9.0.4, and have started getting the following message in the base server.log of the Oracle Container.....
    07/12/16 21:18:33 Internal error in HttpServer
    java.lang.ArrayIndexOutOfBoundsException
    at java.lang.System.arraycopy(Native Method)
    at com.evermind.server.http.EvermindServletOutputStream.write(EvermindServletOutputStream.java:216)
    at com.evermind.server.http.EvermindServletOutputStream.write(EvermindServletOutputStream.java:151)
    at com.evermind.server.http.EvermindServletOutputStream.write(EvermindServletOutputStream.java:146)
    at com.evermind.server.http.EvermindHttpServletResponse.handleException(EvermindHttpServletResponse.java:1743)
    at com.evermind.server.http.EvermindHttpServletResponse.handleException(EvermindHttpServletResponse.java:1572)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:803)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:208)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:125)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    at java.lang.Thread.run(Thread.java:534)
    It's happening a lot, but I can't see any impact when using our web apps. Looking at my three most used web apps, I see the same error appearing at identical times in the individual log files, but they are all using different pages, so don't think they are 'causing' this prob.
    Does anyone think I have something wrong with the basic application server, or is this indeed an issue with a particular web application that's spreading it's error to other web apps? Example of the error in a web app below.....and what is a Broken Pipe error?
    Thanks in advance
    Iain
    07/12/16 21:18:33 web: Broken pipe
    07/12/16 21:18:33 web: Servlet error
    java.lang.ArrayIndexOutOfBoundsException
         at java.lang.System.arraycopy(Native Method)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.EvermindServletOutputStream.write(EvermindServletOutputStream.java:216)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.EvermindJSPWriter.writeOut(EvermindJSPWriter.java:456)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.EvermindJSPWriter.jspflush(EvermindJSPWriter.java:373)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.EvermindJSPWriter.write(EvermindJSPWriter.java:522)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.EvermindJSPWriter.write(EvermindJSPWriter.java:447)
         at observations.first_2d_observationsYR._jspService(_first_2d_observationsYR.java:174)

    Raju --
    Thanks for the intelligent posting on a difficult issue for you.
    I wasn't aware of anything specifically being introduced that prevented the bootclasspath technique from working** in the 904 release.
    For 904, the bootclasspath needs to be put in the start parameters tag of the java-options tag.
    <process-type id="home" module-id="OC4J" status="enabled">
    <module-data>
    <category id="start-parameters">
    <data id="java-options" ... -Xbootclasspath/a:/java/lib/xerces.jar"/>
    </category>
    </module-data>
    </process-type>
    You can also try copying the xerces.jar into the jre/lib/ext directory so it's loaded by the system classloader and see if that works**. This will put xerces at the extension level so
    **these workarounds are not supported and will put you in an unsupported situation if a problem occurs.
    The good news is that have taken steps to clearly enable the separation of container versus appplication class spaces in thenext production release (10.1.3) of OC4J. We will be providing a new classloading model which cleanly separates the two namespaces and allows applications to provide their own versions or distributions of class libraries with no collisions with the OC4J runtime libraries.
    I don't know of any easy ways to do what you need -- other than reworking the app to use JAXP so that the parser implementation used is pluggable as you kind of allude to. If it was possible, I'd do that rather than hard coding in the use of the Oracle XML parser.
    But just to reiterate, switching in xerces at the bootclasspath level is not a supported operation since it may have an effect on the OC4J runtime operation.
    cheers
    -steve-

  • HP 6510 stopped printing black and "broken pipe"

    All of a sudden my printer won't print black.  I did all the suggestions on your forum for this including hard reset, downloaded the new driver update to operate with Mac 10.9.1 Mavericks, uninstalled and reinstalled printer and the problem is not fixed.  I also uninstalled and reinstalled all 4 printer cartridges.  Mac and printer are both less than 2 years old.  We bought them at the same time.  Printer has been great until now but I'm ready to throw it out the window after already  having spent hours trying to fix it.  The other 3 colors are all working fine for printing.  Once the new driver installed I noticed that the print options had changed and now the "broken pipe" message came up on printer and on Mac.  I have always printed wirelessly.  Please help!

    Hi flytibbs,
    I understand that you are getting a broken pipe error when reinstalling the software and drivers on your Mac. Here is a link to the Apple Forum where a customer resolved this issue.
    For black ink not printing I recommend following the steps in this document for Printer Does Not Print Black Ink or Color Ink, or Prints Blank Pages. If you have done all of the steps in this document, then try installing the driver for the HP Envy 4500 series.
    I hope this helps, let me know how it goes.
    Thank you,
    I worked on behalf of HP.

  • 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 / timeout during slow SQL statement in servlet

    I have a servlet which supplies the client with quite a large block of data from an SQL query.
    This works fine in a local test environment but I get problems running it under a fully fledged application server environment.
    I find a "Broken Pipe" exception on the application log and the client side application gets an application error status code.
    07/07/16 09:32:30.85 lapSycWebsite: Broken pipe
    07/07/16 09:32:30.85 lapSycWebsite: Broken pipe
    07/07/16 09:32:30.85 lapSycWebsite: Broken pipe
    07/07/16 09:32:30.85 lapSycWebsite: Broken pipe
    07/07/16 09:32:30.85 lapSycWebsite: Broken pipe
    07/07/16 09:32:30.85 lapSycWebsite: Broken pipe
    07/07/16 09:32:30.86 lapSycWebsite: Broken pipe
    07/07/16 09:32:30.86 lapSycWebsite: Broken pipe
    07/07/16 09:32:30.86 lapSycWebsite: Broken pipe
    07/07/16 09:32:30.86 lapSycWebsite: Servlet error
    java.io.IOException: Broken pipe
    at sun.nio.ch.FileDispatcher.write0(Native Method)
    at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:29)
    at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:104)
    at sun.nio.ch.IOUtil.write(IOUtil.java:75)
    at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:302)
    at java.nio.channels.Channels.write(Channels.java:60)
    at java.nio.channels.Channels.access$000(Channels.java:47)
    at java.nio.channels.Channels$1.write(Channels.java:134)
    at com.evermind.server.http.AJPOutputStream.endRequest(AJPOutputStream.j
    ava:117)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java
    :309)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java
    :190)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSo
    cketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
    sableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    :q
    We're looking for ways to get the SQL execution time down, but even if we succeed in this case it's a source of instability that will trip us up in the future.
    This SQL statment can take up to about 8 minutes to return the first row.
    The client is a Java swing program, by the way, not a browser as such.
    Later:
    We've got the SQL execution time down and it's working for the time being but it's a problem that's going to hit us again sooner or later. Still looking for a solution.
    Message was edited by:
    IronChicken

    Refer this url for inserting blob datatype to database.
    See the LOBDatatype sample. This sample uses java application but same works for a servlet too.
    http://otn.oracle.com/sample_code/tech/java/sqlj_jdbc/files/advanced/advanced.htm
    You can refer source to see how the lob data is inserted.
    Chandar

  • 8500a all in one, and macbook pro wirelessly connected. Broken pipe ????

     i have an all in one 8500a and a mac pro wirelessly connected.  It has been fine for 7 months.  Now I am getting a message that says broken pipe, what do I do?  I have no idea what a pipe is.

    Hi,
    Try resetting the Printing System, then reconfigure the device:
    *Be aware that resetting the printer system will remove any existing print queue and reset any customized driver settings.
    Click the Apple menu, and then click System Preferences .
    Select Print & Fax.
    Right-click (or Ctrl + click) your product in the Printers list in the left panel, and then click Reset printing system .
    Click OK to confirm the reset.
    Type your user Name and Password .
    Click OK . The printing system resets.
    Now reconfigure the device by following the HP Setup Assistant, located under Applications > Hewlett Packard > Device Utilities.
    Now check if the problem been sorted.
    If the issue remains with no change, completely remove any installed HP Software by using Scrubber:
    **Please be aware that performing the next steps will remove any installed HP Software.
    1. Click on Go menu (Click the desktop, then look at the menu in the bar at the top of the page)
    2. Select Applications
    3. Select the Hewlett-Packard folder
    4. Double-click HP Uninstaller application
    5. Follow the uninstallation till prompted to select a device to uninstall
    6. Press and hold Control + Alt + Cmd keys on the keyboard simultaneously while you click on Uninstall
    7. approve any prompt to uninstall any HP Software.
    Repair the Mac OS Disc Permissions:
    1. Open the the Applications folder.
    2. Go to the Utilities folder.
    3. Double-click on Disk Utility.
    4. Select the hard drive containing the boot volume.
    5. Go to the First Aid tab and select Repair Disk Permissions.
    Note: This process may take several minutes depending on the Mac and amount of permissions that need to be repaired. The Progress Log will indicate when the proccess has been completed.
    Download and install the latest software below:
    Mac OS X v10.5 (Leopard) or v10.6 (Snow Leopard):
    http://ftp.hp.com/pub/softlib/software11/COL34340/mp-85024-2/OJ_AIO_08_8500_A910_Net_Full_Mac_WW_74....
    Mac OS X v10.7 (Lion):
    http://ftp.hp.com/pub/softlib/software12/COL40169/bi-97933-2/HP_Lion_Ink_SW_v12-1.13.22.dmg
    Finally make sure to install any available HP by clicking the Apple icon and then Software Update.
    Please let us know of any further issue,
    Shlomi
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • Broken pipe issue on Weblogic 8.1 and HP-UX

    Hey all,
    I get the following "broken pipe" error when stress-testing the Weblogic AS 8.1 installed on HP-UX 11.
    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.writeChunkNoTransfer(ChunkUtils.
    java:280)
            at weblogic.servlet.internal.ChunkUtils.writeChunks(ChunkUtils.java:241)
            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.MultibyteOutput.write(ChunkOutput.java:482)
            at weblogic.servlet.internal.ChunkOutputWrapper.write
    (ChunkOutputWrapper
    .java:125)
            at weblogic.servlet.internal.ServletOutputStreamImpl.write(ServletOutput
    StreamImpl.java:184)
            at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:66
            at java.io.BufferedOutputStream.write(BufferedOutputStream.java:110)
            at java.io.FilterOutputStream.write(FilterOutputStream.java:80)However, a quick glance on the forums revealed that this also happens on Weblogic+linux or tomcat+linux.
    Looks like an operating-system issue. Anyone has a clue ?
    Thank you,
    Cristian

    The following is the scenario where the broken pipe exception occurs to me:
    - webapp on a Linux server with Apache + Tomcat.
    - database (SQL Server) on another computer.
    - the webapp creates one db connection at startup, stores it in the ServletContext and always uses that connection for any db access.
    - If the db server is restarted, or just the SQL Server service is restarted, the connection that was in the ServletContext becomes invalid, and any attempt to access the db through it throws the broken pipe exception.
    At this point the webapp has to recreate the connection and re-store it in the ServletContext in order to gain access to the db again.
    HTH

  • 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

  • I recently downloaded is x mountain lion and while it finished it erased all my data, some of which I need. When using disk utility I found my old data but it says corrupted. I can't repair and while restoring the error code 32 Broken Pipe appears. Help?

    My data I need is on my computer but it needs to be repaired but can't and when I try to restore it/back it up it ends abruptly with error code 32 broken pipe.
    It was damaged while installing os x mountain lion and I found my data on disk repair (utility)

    Sounds like your hard drive is badly corrupted, likely due to problems that were already there when you started trying to install Mountain Lion. The problem is, if you don't have any backups already, you may not be able to recover all your data from this state. Do you have backups of that data already?
    If not, I assume when you say that "it needs to be repaired but can't," you mean that Disk Utility tells you there is a problem with the disk, but that it is unable to repair it? If so, you can try repairing the drive using DiskWarrior, which can repair problems that Disk Utility cannot. That may give you access to your data again, but may not.
    Also, it's important to understand that if your data is not backed up, everything you do with the computer runs the risk of overwriting or corrupting that data. You may want to go straight to trying to recover your data. See Recovering deleted files.
    Regarding the error code, if you're trying to back up the drive using Disk Utility's Restore tab, note that that is often not successful when the drive you're trying to back up is corrupt.
    Once the situation is resolved - either because you have backups, are able to recover your data files or are forced to accept that they are gone permanently - you will need to erase the hard drive and reinstall the system and all your apps from scratch.

  • Web Service Error: java.sql.SQLException: Io exception: Broken pipe

    Hi,
    I am using JDeveloper PL/SQL web service generator. After some time we start receiving the "java.sql.SQLException: Io exception: Broken pipe" exception when we invoke the web service. I've noticed that the error starts occuring once all the connections in the database have been closed.
    Here are the Data Source configurations I tried using:
    <data-source name="jdev-connection-SACS" class="com.evermind.sql.DriverManagerDataSource" location="jdbc/SACSCoreDS" xa-location="jdbc/xa/SACSXADS" ejb-location="jdbc/SACSDS" pooled-location="jdbc/MACSPooledDS" connection-driver="oracle.jdbc.driver.OracleDriver" username="xxx" password="xxxx" url="jdbc:oracle:thin:@test:1521:SACS" inactivity-timeout="30" connection-retry-interval="3" max-connections="5" min-connections="0" wait-timeout="20"/>
    AND I also tried:
    <data-source name="jdev-connection-SACS" class="com.evermind.sql.DriverManagerDataSource" location="jdbc/SACSCoreDS" xa-location="jdbc/xa/SACSXADS" ejb-location="jdbc/SACSDS" pooled-location="jdbc/SACSPooledDS" connection-driver="oracle.jdbc.driver.OracleDriver" username="xxxx" password="xxxx" url="jdbc:oracle:thin:@xxxx:1521:SACS" inactivity-timeout="30"/>
    That did not make any changes.
    I then changed ConnectionContext.KEEP_CONNECTION to ConnectionContext.CLOSE_CONNECTION in the <name>Base.sqlj:
    public void release() throws SQLException
    { if (__tx!=null && __onn!=null) __tx.close(ConnectionContext.CLOSE_CONNECTION);
    __onn = null; __tx = null;
    That did not help either. We are running these web services on the standalone OC4J and Oracle 8.1.7.2 database with the MTS installed on it.

    Hi,
    I don't use JDeveloper to develop stored procedure web services. However, I do use WebServicesAssembler.jar to generate stored procedure web services.
    I had the same problem as you did. After some research in this forum, I was informed that it's a bug in the web services generator itself. I was also informed that the newest version of WebServicesAssembler.jar is supposed to fix the problem.
    If you want, you can always write a batch job to restart the OC4J periodically. The command is
    dcmctl -ct oc4j -co home
    If I come across the posting containing the answer to your solution, I will forward it to you.
    Good luck
    Jack

  • Broken pipe error in plugin log

    Hello All,
    Any help will be much appreciated.
    Currently we have a webserver and weblogic servers(two) in the same box. The webserver
    is IPlanet and it communicates with weblogic(7.0 SP2) using the weblogic plug-in.
    Normally the webserver connects to the first weblogic server and subsequent request
    were sent to the same weblogic servers. While doing so, the plugin hits a broken
    pipe error and it failover to the second weblogic server. We do not know the cause
    of this problem as there is no broken pipe errors in the weblogic server logs.
    I changed the weblogic & plugin configurations and did various tests using the
    following configuratons, but no luck.
    Weblogic plugin configurations:
    1. HungServerRecoverSecs to 5000,
    2. WLSocketTimeoutSecs to 5000
    3. KeepAliveSecs="120" ( by default KeepAliveEnabled is true)
    4. ConnectTimeoutSecs="120" along with ConnectRetrySecs=2 ( i.e. 60 connections
    before it throws HTTP 503- Service Unavailable exception).
    Weblogic server configurations:
    1. Post Timeout Secs: 120(max)
    2. T3 Message Timeout: 480(max)
    3. HTTP Message Timeout: 480(max).
    The plugin log file contents are below:
    Thu May 13 09:35:25 2004 INFO: sysSend 1247
    Thu May 13 09:35:25 2004 INFO: sysSend 139
    Thu May 13 09:35:25 2004 ========= errno [32] msg [Broken pipe]
    Thu May 13 09:35:25 2004 POST timed out to the server 10.227.8.47:8101
    Thu May 13 09:35:25 2004 *******Exception type [POST_TIMEOUT] (POST timed out
    to the server 10.227.4.33:8101
    ) raised at line 731 of proxy.cpp
    Thu May 13 09:35:25 2004 failure on sendRequest() w/ recycled connection to 10.227.4.33:8101,
    numfailures=1
    Thu May 13 09:35:25 2004 Marking 10.227.8.47:8101 as bad
    Thu May 13 09:35:25 2004 Marking [0] as bad WLS: 10.227.8.47:8101:65535
    Thu May 13 09:35:25 2004 got exception in sendRequest phase: POST_TIMEOUT: [os
    error=32, line 731 of proxy.cpp]: POST timed out to the server 10.227.8.47:8101
    at line 1051
    Thu May 13 09:35:25 2004 Failing over after sendRequest exception
    Thu May 13 09:35:25 2004 attempt #1 out of a max of 5
    Thu May 13 09:35:25 2004 Server details are 10.227.8.47'/8101/65535
    Thu May 13 09:35:25 2004 Server was mark bad, going to next server
    Thu May 13 09:35:25 2004 Server details are ''/0/0
    Thu May 13 09:35:25 2004 Server was mark bad, going to next server
    Thu May 13 09:35:25 2004 general list: trying connect to '10.227.8.47'/8103/65535
    at line 1338 for '/callWebApp/application?pageid=NewCall&portletid=CompleteCall&portletns=CompleteCall&wfevent=CompleteCall.showContactAction'
    Thu May 13 09:35:25 2004 INFO: New NON-SSL URL
    Thu May 13 09:35:25 2004 Going to check the general server list
    Thu May 13 09:35:25 2004 WLS info : 10.227.8.47:8103 recycled? 0
    Many thanks
    Shaan

    Hi Sudeep,
    SAP Note 846079 - XI 3.0 JDBC Receiver: # of Retries on SQL Error w/o Effect
    Please check the following SAP note also - 831162
    Some info which i found there and can be relevant in to your scenario.....
    Q: I am using a JDBC Receiver Adapter in conjunction with the  Lotus Domino Driver for JDBC perform an INSERT or UPDATE operation on a database. When sending a message to the receiver, the Adapter Monitoring shows the following error message:
    "java.sql.SQLException: [Lotus][Domino Driver for JDBC]Invalid cursor state"
    Is there a fix for this issue?
    A: To work around this JDBC driver problem, activate the Advanced Mode for the respective JDBC Receiver channel and configure the setting "Number of Retries of Database Transaction on SQL Error" to a value > 0. Additionally, make sure that the setting "Database Auto-Commit Enabled" is also active as the Lotus Domino Driver for JDBC does not support transactions.
    Apply note 846079 before configuring this scenario.
    Q: The TCP/IP connection to my database host is running over an unreliable network connection, i.e. the connection is sometimes interrupted. Consequently, I sporadically receive an SQLException regarding a closed connection in the system trace or audit log or the connection as well as the JDBC Adapter channel are hanging.
    How can I work around this connectivity issue?
    A: Enable the "Advanced Mode" for the respective JDBC Adapter channel and select the option "Disconnect from Database After Processing each Message".
    Note that this might put additional load on your DBMS due to the creation of a new database connection for each message.
    I dont have access to a database right now, so i am not able to check this.
    Also check the JDBC driver compatability as mentioned in the above note.
    Cheer's

  • [Microsoft][SQLServer 2000 Driver for JDBC] Broken pipe

    Using 10.1.2.0.2
    I have Web App in which I am connecting to MS SQLServer 2005. I have created a datasource on the server and used Microsoft's free JDBC drivers i.e. msutil.jar,mssqlserver.jar,msbase.jar. Now every now and then I am getting the following error when trying to connect to the SQLServer
    [Microsoft][SQLServer 2000 Driver for JDBC]Broken pipe;nested exception is: java.sql.SQLException:[Microsoft][SQLServer 2000 Driver for JDBC]Broken pipeAny ideas what might be wrong and how to take care of this issue.
    Thanks

    DataDirect driver is certified with Oracle Application Server accessing SQLServer, here is an example of a data source entry for SQLServer in OralceAS 10.1.2.x.
    <data-source
    class="com.evermind.sql.DriverManagerDataSource"
    name="MerantDS"
    location="jdbc/MerantCoreSSDS"
    xa-location="jdbc/xa/MerantSSXADS"
    ejb-location="jdbc/MerantSSDS"
    connection-driver="com.oracle.ias.jdbc.sqlserver.SQLServerDriver"
    username="test"
    password="secret"
    url="jdbc:oracle:sqlserver://hostname:port;User=test;Password=secret"
    inactivity-timeout="30"
    />
    Here shows a SQLServer managed data source example and a SQLServer native source example in OracleAS 10.1.3.x:
    SQLServer Managed Data Source
    <connection-pool name="ConnectionSqlserver"
    max-connections="20"
    min-connections="1">
    <connection-factory
    factory-class="com.oracle.ias.jdbcx.sqlserver.SQLServerDataSource"
    user="msuser"
    password="mspass"
    url="jdbc:oracle:sqlserver://myserver\\myinstance;User=msuser;Password=mspass" >
    <property name="serverName" value="myserver\\myinstance"/>
    <xa-recovery-config>
    <password-credential>
    <username>msuser</username>
    <password>mspass</password>
    </password-credential>
    </xa-recovery-config>
    </connection-factory>
    </connection-pool>
    <managed-data-source connection-pool-name="ConnectionSqlserver"
    jndi-name="jdbc/mysqlserver"
    name="mysqlserver" />

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

  • IO Exception: Broken Pipe

    Hi,
    I use WLS6.0/Linux. I'm accessing EJBs on the server from a standalone Java
    Client application. From time to time, I suddenly get this error:
    IO Exception: Broken Pipe
    The error has not been reproducible (so far...). Any ideas what causes this
    error?
    thx
    Heiko

    I too am having the same problem with using an OAS 9.0.4. server talking to a 9iAS db. I have a Struts application that if you leave the application over night will have broken pipes in the morning. The connections should not have persisted, but might have. This problem only happens when the Servlet is left up and no activity over night.
    They claim that no restart of the server or DB happened during that time so I am betting on a timeout somewhere in the system too.
    I have two problems:
    One to set up a situation that reproduces the problem.
    Two finding out some way through JDBC to effectively test for this situation and
    be able to re-create, or re-open a connection to continue processing.
    Error in fetcAllDBRecord java.sql.SQLException: Io exception: Broken
    pipe06/09/26 09:05:25 java.sql.SQLException: Io exception: Broken pipe
    06/09/26 09:05:25 at
    oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:189)
    06/09/26 09:05:25 at
    oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:231)
    06/09/26 09:05:25 at
    oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:345)
    06/09/26 09:05:25 at
    oracle.jdbc.driver.OracleStatement.open(OracleStatement.java:717)
    06/09/26 09:05:25 at
    oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2605)
    06/09/26 09:05:25 at
    oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:777)
    ......app specific levels
    Any help would be appreciated.
    ---John Putnam

Maybe you are looking for