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

Similar Messages

  • Broken Pipe issue on HP

    I was printing large format color images on my HP Color LaserJet CP1515 with great results when suddenly one image did not come out. I checked the printer and appeared this info: Error 49 Broken Pipe... I thought it was a printer problem, I turned off and on and tried to print the demo page. It worked perfectly, tried an Acrobat file with image and again perfect, so I tried again the file I had the issue and again no results... This file was being printed using Photoshop.
    I would appreciate any help about this issue.
    Thanks!
    Mario

    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

  • I am a Mac User having "broken pipe" issues with my HP photosmart 7510

    I am a Mac user having trouble printing from my computer to my HP photosmart 7510. The message is that I have a
    "broken pipe". What is this?  What do I need to do to fix this?

    Hello Jacaranda,
    Thanks for the post. Check the below thread for some good information on getting this resolved.  Good Luckand thanks to IronBadger!
    http://h30434.www3.hp.com/t5/Mac-Printing-and-Scan​ning/the-meaning-broken-pipe/td-p/897133
    Basically the OS is telling you that it has lost the ability to write data to the printer.  This would typically be caused by some sort of corruption in the CUPS printing system.
    The first thing I would try is Restting the print system and re-adding the printer.
    To do this open System Preferences and then Open Print & Fax.  Then <control> click or right click on the blank space around the list of printers on the left hand side.  You should see a pop up menu and the option to Reset print system.
    Once you select that the OS will restore the CUPS printing system to all the original default settings.  Thsi will of course erase all of your print queues.
    Once that is done I would reboot the Macintosh and the printer.  Then go back to System Preferences--> Print & Fax and then re-add the printer.
    I worked for HP but my posts and replies are my own....Thank you!
    *Say thanks by clicking the *Kudos!* which is on the left*
    *Make it easier for other people to find solutions, by marking my answer with (Accept as Solution) if it solves your issue.*

  • Issues with weblogic 7.0 and Java 1.2, Please Respond ASAP

    Hi Everyone,
    I have servlet program running on weblogic 7.0. The code works fine in development (same config as Production).
    But I have problems with the code in production/Test domain. The code runs successfully only for the first time. Subsequent execution of the code results into infinite loop.
    Has anyone came across this issue. If so please help
    Thanks in advance

    Hi Everyone,
    The code works fine in development (same config as
    Production).
    But I have problems with the code in production
    domain. This tells me that the first statement is false - development is NOT the same as production. You need to stop telling yourself that they're the same and figure out what's different.
    The code runs successfully only for the first
    time and displays the result in the screen. (its
    using the if condition checking the boolean value
    returned from another methods is true or false.)
    Next time, when i run with the same input, it
    returns the value from another method and returns
    the value to the caller and starts executing from
    begining of the caller methods (instead of
    displaying result in the screen) and it goes in to
    the loop. Could be anything - threading issues, etc. Who knows? You've really provided no details at all. I'm not sure I'd want to see them, either, because this will be a very difficult problem to solve on a forum. You really ought to be talking to your WebLogic support.
    %

  • EPMA 11.1.1.3 manual deployment issues with WEBLOGIC in EAS and WEBANALYSIS

    Hi all,
    As we are working on 64 bit machines, we have to deploy hyperion products manually with WEBLOGIC. other than EAS and WEBANALYSIS, all the products are working fine.
    we have followed all the steps related to manual deployment. but still we r getting JAVA related error. so if anything else that we need to perform other than normal manual deployment steps, please let me know.
    NOTE: EASDOCS, HBRLAUNCHER, are working but EAS is not been deployed.
    Regards

    Is your WebLogic 32-bit or 64-bit WebLogic? What specific O/S and version are you using? Some of the products make use of 32-bit native libraries's for JNDI and there are not 64-bit native libraries available unless you are using the AIX or Solaris Platform and even then not all products are supported for 64-bit.
    If you were to use 11.1.2 it supports most of the product suite in 64-bit on most platforms.
    Refer to support matrices at: http://www.oracle.com/technetwork/middleware/bi-foundation/hyperion-supported-platforms-085957.html
    Regards,
    John A. Booth
    http://www.metavero.com

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

  • 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

  • Pacman broken pipe

    I have installed new ArchLinux 0.7 system. When I wrote "pacman -Syu" it has synchronized and offered to upgrade pacman. After pacman upgrade I wrote once again "pacman -Syu" and pacman offered me to update about 20 packages. It started downloading the first one and when it have completed it wrote: Broken pipe. Pacman turned off. And now every time I try to update or install a new package, when I run pacman and it download something I get broken pipe after each downloaded file and pacman turns off. How can I correct this problem? Using wget didn't helped. It stucks when "Logging into ftp as anonymous". Any ideas?

    I'm guessing he's already tried that, since I suspect the reason he's tried wget is because it's mentioned in the only other thread relevant to this, and pacman.static is mentioned there too...
    I may be wrong tho

  • 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

  • Weblogic 8.1 SP6 with 10g SocketException: Write failed: Broken pipe

    Hi
    We have recently upgraded DB from 9.2.0 to 10.2.0 (DB installed on XP), Our application is deployed on WebLogic 8.1 SP6 (installed on Linux Enterprise 5.2), every thing worked fine but after upgrade, application server log throw following exception if i change connection pool to use url for 10g instead of 9i,
    Actions
    Updated thin client driver by following instructions from
    http://e-docs.bea.com/wls/docs81/jdbc/thirdparty.html#1110914 but it didnt work
    Any other suggestions
    java.net.SocketException: Write failed: Broken pipe
    at jrockit.net.SocketNativeIO.writeBytesPinned(I[BII)V(Native Method)
            at jrockit.net.SocketNativeIO.socketWrite(Ljava.io.FileDescriptor;[BII)V(Unknown Source)
            at java.net.SocketOutputStream.socketWrite0(Ljava.io.FileDescriptor;[BII)V(SocketOutputStream.java:???)
            at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
            at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
            at weblogic.servlet.internal.ChunkUtils.writeHeaderChunk(ChunkUtils.java:218)
            at weblogic.servlet.internal.ChunkUtils.writeChunkTransfer(ChunkUtils.java:259)
            at weblogic.servlet.internal.ChunkUtils.writeChunks(ChunkUtils.java:243)
            at weblogic.servlet.internal.ChunkOutput.flush(ChunkOutput.java:311)
            at weblogic.servlet.internal.ChunkOutput.checkForFlush(ChunkOutput.java:389)
            at weblogic.servlet.internal.ChunkOutput.print(ChunkOutput.java:271)
            at weblogic.servlet.internal.ChunkOutputWrapper.print(ChunkOutputWrapper.java:138)
            at weblogic.servlet.jsp.JspWriterImpl.print(JspWriterImpl.java:282)
            at jsp_servlet.__transferbetweenaccounts._writeText(__transferbetweenaccounts.java:172)
            at jsp_servlet.__transferbetweenaccounts._jspService(__transferbetweenaccounts.java:538)
            at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
            at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1077)
            at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465)
            at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:348)
            at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:646)
            at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:431)
            at com.bankframe.fe.statemachine.ext.connectors.servlet.JSPView.build(JSPView.java:114)
            at com.bankframe.fe.statemachine.ext.apps.View.build(View.java:64)
            at com.bankframe.fe.statemachine.base.RequestManager.manageRequest(RequestManager.java:364)
            at com.bankframe.fe.statemachine.ext.connectors.servlet.EntryServlet.delegateToRequestManager(EntryServlet.java:75)
            at com.bankframe.fe.statemachine.ext.connectors.servlet.EntryServlet.doPost(EntryServlet.java:105)
            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:1077)
            at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465)
            at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:348)
            at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:7047)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    I can't guess this issue has to do with Database and its driver.
    Possible reason could be that the browser is closed when the site is rendering the response from the server.
    The error indicates the communication is broken.
    This particular servlet/jsp is trying to write something on the response stream for which the call started from the below line:
    at jsp_servlet.__transferbetweenaccounts._writeText(__transferbetweenaccounts.java:172)

  • Broken pipe error in Sync Send JDBC Receiver:   Extremely Serious issue

    Hi forum,
    I have a serious error in a JDBC->XI--> JDBC scenario,
    Step1: I use a sender JDBC channel to select some distinct values from  a table say X, and update the same rows,
    Query SQL Statement: select distinct Branch from dbo.X where status = 0
    Update SQL statement: update dbo.X set Status = 2 where Status = 0
    Step 2: enter BPM
    Step 3: enter a loop
    Step 4:make a synchronous call to the same table X, to fetch some records,
    SQL query: select * from X where status = 0 and Branch = i; Update X set status = 9 where Branch = i
    Step 5: close loop,  this loop iterates for 5 or 6 times depending on i, which is no. of branches selected by the sender JDBC channel
    so all the calls are to the same table, same databsse(SQL Server)
    the problem is when this sync calls happens in the loop, it some times gives following error, which i se in RWB:
    <b>Error Unable to execute statement for table or stored procedure. 'X' (Structure 'STATEMENT_X') due to com.microsoft.sqlserver.jdbc.SQLServerException: An exception occurred during the DBComms.transmit operation. Exception:Broken pipe (errno:32). Context:(2217)</b>
    i have no way to trace the cause of the error, the database is perfect and the error logs in the SQL server shows no trace of any error,
    Note: It works sometimes
    i dont know whom to approach, pls help
    the issue is very very serious as its in production system,

    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

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

  • 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

  • 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

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

Maybe you are looking for