OSM 7.0.3 PIP Error in SIEntryPoint.Xquery

Hi All,
I have created one new function component and in SIENTRY Point.Xquery, i am getting below error:-
or in #...pdateOrder($automator, "false"#:
Variable $automator has not been declared. . File[null (actual location resolved to [])] Line[186] Column[52]
Below is the error message:-
####<Nov 11, 2012 2:31:58 PM IST> <Error> <oms> <INPUHJLP03690> <AdminServer> <ExecuteThread: '14' for queue: 'oms.automation'> <oms-automation> <BEA1-1B1DEC65870F3057A4BD> <> <1352624518243> <BEA-000000> <rule.XQueryHelper: XQuery static error in #...pdateOrder($automator, "false"#:
Variable $automator has not been declared. . File[null (actual location resolved to [])] Line[186] Column[52]
net.sf.saxon.trans.XPathException: XQuery static error in #...pdateOrder($automator, "false"#:
Variable $automator has not been declared
     at net.sf.saxon.query.QueryParser.grumble(QueryParser.java:345)
     at net.sf.saxon.expr.ExpressionParser.parseBasicStep(ExpressionParser.java:1270)
     at net.sf.saxon.expr.ExpressionParser.parseStepExpression(ExpressionParser.java:1213)
     at net.sf.saxon.expr.ExpressionParser.parseRelativePath(ExpressionParser.java:1151)
     at net.sf.saxon.expr.ExpressionParser.parsePathExpression(ExpressionParser.java:1137)
     at net.sf.saxon.expr.ExpressionParser.parseUnaryExpression(ExpressionParser.java:1026)
     at net.sf.saxon.expr.ExpressionParser.parseCastExpression(ExpressionParser.java:691)
     at net.sf.saxon.expr.ExpressionParser.parseCastableExpression(ExpressionParser.java:646)
     at net.sf.saxon.expr.ExpressionParser.parseTreatExpression(ExpressionParser.java:627)
     at net.sf.saxon.expr.ExpressionParser.parseInstanceOfExpression(ExpressionParser.java:609)
     at net.sf.saxon.expr.ExpressionParser.parseIntersectExpression(ExpressionParser.java:1059)
     at net.sf.saxon.expr.ExpressionParser.parseUnionExpression(ExpressionParser.java:1041)
     at net.sf.saxon.expr.ExpressionParser.parseMultiplicativeExpression(ExpressionParser.java:978)
     at net.sf.saxon.expr.ExpressionParser.parseAdditiveExpression(ExpressionParser.java:958)
     at net.sf.saxon.expr.ExpressionParser.parseRangeExpression(ExpressionParser.java:876)
     at net.sf.saxon.expr.ExpressionParser.parseComparisonExpression(ExpressionParser.java:826)
     at net.sf.saxon.expr.ExpressionParser.parseAndExpression(ExpressionParser.java:423)
     at net.sf.saxon.expr.ExpressionParser.parseOrExpression(ExpressionParser.java:405)
     at net.sf.saxon.expr.ExpressionParser.parseExprSingle(ExpressionParser.java:354)
     at net.sf.saxon.expr.ExpressionParser.parseFunctionCall(ExpressionParser.java:1780)
     at net.sf.saxon.expr.ExpressionParser.parseBasicStep(ExpressionParser.java:1307)
     at net.sf.saxon.expr.ExpressionParser.parseStepExpression(ExpressionParser.java:1213)
     at net.sf.saxon.expr.ExpressionParser.parseRelativePath(ExpressionParser.java:1151)
     at net.sf.saxon.expr.ExpressionParser.parsePathExpression(ExpressionParser.java:1137)
     at net.sf.saxon.expr.ExpressionParser.parseUnaryExpression(ExpressionParser.java:1026)
     at net.sf.saxon.expr.ExpressionParser.parseCastExpression(ExpressionParser.java:691)
     at net.sf.saxon.expr.ExpressionParser.parseCastableExpression(ExpressionParser.java:646)
     at net.sf.saxon.expr.ExpressionParser.parseTreatExpression(ExpressionParser.java:627)
     at net.sf.saxon.expr.ExpressionParser.parseInstanceOfExpression(ExpressionParser.java:609)
     at net.sf.saxon.expr.ExpressionParser.parseIntersectExpression(ExpressionParser.java:1059)
     at net.sf.saxon.expr.ExpressionParser.parseUnionExpression(ExpressionParser.java:1041)
     at net.sf.saxon.expr.ExpressionParser.parseMultiplicativeExpression(ExpressionParser.java:978)
     at net.sf.saxon.expr.ExpressionParser.parseAdditiveExpression(ExpressionParser.java:958)
     at net.sf.saxon.expr.ExpressionParser.parseRangeExpression(ExpressionParser.java:876)
     at net.sf.saxon.expr.ExpressionParser.parseComparisonExpression(ExpressionParser.java:826)
     at net.sf.saxon.expr.ExpressionParser.parseAndExpression(ExpressionParser.java:423)
     at net.sf.saxon.expr.ExpressionParser.parseOrExpression(ExpressionParser.java:405)
     at net.sf.saxon.expr.ExpressionParser.parseExprSingle(ExpressionParser.java:354)
     at net.sf.saxon.expr.ExpressionParser.parseExpression(ExpressionParser.java:306)
     at net.sf.saxon.query.QueryParser.readElementContent(QueryParser.java:3350)
     at net.sf.saxon.query.QueryParser.parseDirectElementConstructor(QueryParser.java:3028)
     at net.sf.saxon.query.QueryParser.parsePseudoXML(QueryParser.java:2767)
     at net.sf.saxon.query.QueryParser.readElementContent(QueryParser.java:3316)
     at net.sf.saxon.query.QueryParser.parseDirectElementConstructor(QueryParser.java:3028)
     at net.sf.saxon.query.QueryParser.parsePseudoXML(QueryParser.java:2767)
     at net.sf.saxon.query.QueryParser.parseConstructor(QueryParser.java:2357)
     at net.sf.saxon.expr.ExpressionParser.parseBasicStep(ExpressionParser.java:1387)
     at net.sf.saxon.expr.ExpressionParser.parseStepExpression(ExpressionParser.java:1213)
     at net.sf.saxon.expr.ExpressionParser.parseRelativePath(ExpressionParser.java:1151)
     at net.sf.saxon.expr.ExpressionParser.parsePathExpression(ExpressionParser.java:1137)
     at net.sf.saxon.expr.ExpressionParser.parseUnaryExpression(ExpressionParser.java:1026)
     at net.sf.saxon.expr.ExpressionParser.parseCastExpression(ExpressionParser.java:691)
     at net.sf.saxon.expr.ExpressionParser.parseCastableExpression(ExpressionParser.java:646)
     at net.sf.saxon.expr.ExpressionParser.parseTreatExpression(ExpressionParser.java:627)
     at net.sf.saxon.expr.ExpressionParser.parseInstanceOfExpression(ExpressionParser.java:609)
     at net.sf.saxon.expr.ExpressionParser.parseIntersectExpression(ExpressionParser.java:1059)
     at net.sf.saxon.expr.ExpressionParser.parseUnionExpression(ExpressionParser.java:1041)
     at net.sf.saxon.expr.ExpressionParser.parseMultiplicativeExpression(ExpressionParser.java:978)
     at net.sf.saxon.expr.ExpressionParser.parseAdditiveExpression(ExpressionParser.java:958)
     at net.sf.saxon.expr.ExpressionParser.parseRangeExpression(ExpressionParser.java:876)
     at net.sf.saxon.expr.ExpressionParser.parseComparisonExpression(ExpressionParser.java:826)
     at net.sf.saxon.expr.ExpressionParser.parseAndExpression(ExpressionParser.java:423)
     at net.sf.saxon.expr.ExpressionParser.parseOrExpression(ExpressionParser.java:405)
     at net.sf.saxon.expr.ExpressionParser.parseExprSingle(ExpressionParser.java:354)
     at net.sf.saxon.query.QueryParser.parseLetClause(QueryParser.java:1910)
     at net.sf.saxon.query.QueryParser.parseForExpression(QueryParser.java:1642)
     at net.sf.saxon.expr.ExpressionParser.parseExprSingle(ExpressionParser.java:338)
     at net.sf.saxon.expr.ExpressionParser.parseExpression(ExpressionParser.java:306)
     at net.sf.saxon.expr.ExpressionParser.parseBasicStep(ExpressionParser.java:1286)
     at net.sf.saxon.expr.ExpressionParser.parseStepExpression(ExpressionParser.java:1213)
     at net.sf.saxon.expr.ExpressionParser.parseRelativePath(ExpressionParser.java:1151)
     at net.sf.saxon.expr.ExpressionParser.parsePathExpression(ExpressionParser.java:1137)
     at net.sf.saxon.expr.ExpressionParser.parseUnaryExpression(ExpressionParser.java:1026)
     at net.sf.saxon.expr.ExpressionParser.parseCastExpression(ExpressionParser.java:691)
     at net.sf.saxon.expr.ExpressionParser.parseCastableExpression(ExpressionParser.java:646)
     at net.sf.saxon.expr.ExpressionParser.parseTreatExpression(ExpressionParser.java:627)
     at net.sf.saxon.expr.ExpressionParser.parseInstanceOfExpression(ExpressionParser.java:609)
     at net.sf.saxon.expr.ExpressionParser.parseIntersectExpression(ExpressionParser.java:1059)
     at net.sf.saxon.expr.ExpressionParser.parseUnionExpression(ExpressionParser.java:1041)
     at net.sf.saxon.expr.ExpressionParser.parseMultiplicativeExpression(ExpressionParser.java:978)
     at net.sf.saxon.expr.ExpressionParser.parseAdditiveExpression(ExpressionParser.java:958)
     at net.sf.saxon.expr.ExpressionParser.parseRangeExpression(ExpressionParser.java:876)
     at net.sf.saxon.expr.ExpressionParser.parseComparisonExpression(ExpressionParser.java:826)
     at net.sf.saxon.expr.ExpressionParser.parseAndExpression(ExpressionParser.java:423)
     at net.sf.saxon.expr.ExpressionParser.parseOrExpression(ExpressionParser.java:405)
     at net.sf.saxon.expr.ExpressionParser.parseExprSingle(ExpressionParser.java:354)
     at net.sf.saxon.query.QueryParser.parseForExpression(QueryParser.java:1675)
     at net.sf.saxon.expr.ExpressionParser.parseExprSingle(ExpressionParser.java:338)
     at net.sf.saxon.expr.ExpressionParser.parseExpression(ExpressionParser.java:306)
     at net.sf.saxon.query.QueryParser.parseQuery(QueryParser.java:271)
     at net.sf.saxon.query.QueryParser.makeXQueryExpression(QueryParser.java:103)
     at net.sf.saxon.query.StaticQueryContext.compileQuery(StaticQueryContext.java:343)
     at oracle.communications.ordermanagement.rule.XQueryHelper.compileQuery(Unknown Source)
     at oracle.communications.ordermanagement.rule.h.a(Unknown Source)
     at oracle.communications.ordermanagement.rule.v.a(Unknown Source)
     at oracle.communications.ordermanagement.rule.m.a(Unknown Source)
     at oracle.communications.ordermanagement.rule.XQueryHelper.transform(Unknown Source)
     at oracle.communications.ordermanagement.rule.XQueryHelper.transform(Unknown Source)
     at oracle.communications.ordermanagement.rule.XQueryHelper.transform(Unknown Source)
     at oracle.communications.ordermanagement.automation.plugin.d.transform(Unknown Source)
     at oracle.communications.ordermanagement.automation.plugin.AbstractScriptPluginImplementation.transform(Unknown Source)
     at oracle.communications.ordermanagement.automation.plugin.AbstractScriptPluginImplementation.runCommonFunctionality(Unknown Source)
     at oracle.communications.ordermanagement.automation.plugin.ScriptRunnerImpl.runScript(Unknown Source)
     at oracle.communications.ordermanagement.automation.plugin.AbstractScriptAutomator.run(Unknown Source)
     at com.mslv.oms.automation.plugin.AbstractAutomator._runAutomator(Unknown Source)
     at com.mslv.oms.automation.AutomationDispatcher.a(Unknown Source)
     at com.mslv.oms.automation.plugin.AutomationEventHandlerImpl.processMessage(Unknown Source)
     at com.mslv.oms.automation.AutomationDispatcher.onLocalMessage(Unknown Source)
     at oracle.communications.ordermanagement.cluster.message.e.a(Unknown Source)
     at oracle.communications.ordermanagement.cluster.message.impl.c.a(Unknown Source)
     at oracle.communications.ordermanagement.cluster.message.impl.c.a(Unknown Source)
     at oracle.communications.ordermanagement.cluster.impl.a.a(Unknown Source)
     at oracle.communications.ordermanagement.cluster.message.ClusterMessageHandlerBean.onMessage(Unknown Source)
     at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:466)
     at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:371)
     at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:327)
     at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4585)
     at weblogic.jms.client.JMSSession.execute(JMSSession.java:4271)
     at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3747)
     at weblogic.jms.client.JMSSession.access$000(JMSSession.java:114)
     at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5096)
     at weblogic.work.ExecuteRequestAdapter.execute(ExecuteRequestAdapter.java:21)
     at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:145)
     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:117)
>
####<Nov 11, 2012 2:31:58 PM IST> <Error> <oms> <INPUHJLP03690> <AdminServer> <ExecuteThread: '14' for queue: 'oms.automation'> <oms-automation> <BEA1-1B1DEC65870F3057A4BD> <> <1352624518258> <BEA-000000> <rule.XQueryHelper: XQuery static error in #...pdateOrder($automator, "false"#:
Variable $automator has not been declared. . File[null (actual location resolved to [])] Line[186] Column[52]
net.sf.saxon.trans.XPathException: XQuery static error in #...pdateOrder($automator, "false"#:
Variable $automator has not been declared
     at net.sf.saxon.query.QueryParser.grumble(QueryParser.java:345)
     at net.sf.saxon.expr.ExpressionParser.parseBasicStep(ExpressionParser.java:1270)
     at net.sf.saxon.expr.ExpressionParser.parseStepExpression(ExpressionParser.java:1213)
     at net.sf.saxon.expr.ExpressionParser.parseRelativePath(ExpressionParser.java:1151)
     at net.sf.saxon.expr.ExpressionParser.parsePathExpression(ExpressionParser.java:1137)
     at net.sf.saxon.expr.ExpressionParser.parseUnaryExpression(ExpressionParser.java:1026)
     at net.sf.saxon.expr.ExpressionParser.parseCastExpression(ExpressionParser.java:691)
     at net.sf.saxon.expr.ExpressionParser.parseCastableExpression(ExpressionParser.java:646)
     at net.sf.saxon.expr.ExpressionParser.parseTreatExpression(ExpressionParser.java:627)
     at net.sf.saxon.expr.ExpressionParser.parseInstanceOfExpression(ExpressionParser.java:609)
     at net.sf.saxon.expr.ExpressionParser.parseIntersectExpression(ExpressionParser.java:1059)
     at net.sf.saxon.expr.ExpressionParser.parseUnionExpression(ExpressionParser.java:1041)
     at net.sf.saxon.expr.ExpressionParser.parseMultiplicativeExpression(ExpressionParser.java:978)
Please help me out

Hi All,
I have got solution. In that error is of file location but actually its referring to the function which is declared in XQuery.
Secondly, this will refer to all XQuery which is imported there at the time of task.
For ex. SIEntryPoint.xquery, in that it will go and check for all the functions which is imported in that XQuery (refer to all XQuery)

Similar Messages

  • Broken Pipe Error when using database link

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

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

  • Bouncing Oracle Database Creating Broken Pipe Error On Oracle 9iAS 9.0.3

    We published and deployed PL/SQL web services using JDeveloper 9.0.3 wizard on Oracle 9iAS 9.0.3. We bounced the database nightly, in turn, closes the application server connection between 9iAS and the database. This causes the broken pipe error. Bouncing the 9iAS is not an option for us.
    Is this an Oracle 9iAS bug? Is there a workaround to this problem without bouncing the application server?
    Please help.
    Tom

    I have discovered a strange thing. I created a new OC4J instance which I called it: Intelap
    When I deploy to the recently created instance Intelap, jdeveloper success. But when I set OC4J_home in the optional instance field, I got the previous error.
    Sergio

  • 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

  • Broken Pipe error  when connecting to database

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

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

  • Java.io.IOException: Broken pipe error in R12 oacore log

    All,
    Very frequently my R12 login page is going to blank screen at the same time oacore application log has below,
    20:02:27.606 html: Servlet error
    java.io.IOException: Broken pipe
    at sun.nio.ch.FileDispatcher.write0(Native Method)
    at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:41)
    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:334)
    at java.nio.channels.Channels.write(Channels.java:71)
    at java.nio.channels.Channels.access$000(Channels.java:58)
    at java.nio.channels.Channels$1.write(Channels.java:145)
    at com.evermind.server.http.AJPOutputStream.endRequest(AJPOutputStream.java:117)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:317)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:735)
    Application - 12.1.3
    DB - 11.2.0.3
    OS - AIX 6.1
    Has anyone faced this before ? Any note-id/suggestions pls ?

    Hi;
    Very frequently my R12 login page is going to blank screen at the same time oacore application log has below,
    20:02:27.606 html: Servlet error
    java.io.IOException: Broken pipe
    at sun.nio.ch.FileDispatcher.write0(Native Method)Please review:
         How to resolve Broken Pipe errors in E-Business Suite R12 ? [ID 1480156.1]
    Regard
    Helios

  • What exactly is a broken pipe error is

    Hi
    we get often the exception
    "java.io.IOException: Broken pipe" "java.net.SocketException: Broken pipe" and a few like these in our logfile. Not sure why it throws. Can anyone help me out in getting some idea about it.

    The "*java.net.IOException: Broken pipe*" error comes due to following reasons:
    1- If the client disconnects before it has completely received the response.
    2- If the user hits the Stop button, or clicks another link while the previously clicked operation is in process.
    Don't worry. This error is not dangerous.
    The "*java.net.SocketException: Broken pipe*" error occurs due to following reasons.
    1- If you invoke a connection when the other end has already terminated it.
    2- If you have a poorly implemented application protocol.
    3- If the database server closes the connection after a predefined interval if nothing has happened.
    This is in fact an error due to your poor implementation.
    Edited by: 866328 on Jun 16, 2011 5:19 PM

  • VLC Broken Pipe Error

    I want to install VLC on my MacBook Pro. I took it off because it was acting funny, always closing unexpectedly. Either way, I download the DMG and everything goes well, but when I run the DMG I get a "Broken Pipe Error" What can I do to get around this and actually install VLC?
    Really appreciate everyone's help so far. These forums are great.
    MacBookPro   Mac OS X (10.4.6)   Can't re-install VLC Media Player

    If you really wants to solve this issue, donate 25 duke stars, somebody will help you for sure.
    Message was edited by:
    skp71

  • Broken Pipe Error-unable to write to socket for second attempt

    Hello,
    I am opening socket connection wuth C-server program.
    I am able to write and read from socket for first time but when tried to write second time in the same sequence gives broken pipe error.
    As seen in the code initialize() methods works perfectly fine,
    Pipe broken error is encountered for processRequest() method for writeBytes(begnmsg+"\n") method.
    Please suggest solution asap.
    Following is the code
    import java.io.*;
    import java.net.*;
    public class PowerModelClient {
         Socket kkSocket = null;
    BufferedReader in = null;
         PrintWriter out = null;
         DataOutputStream os = null;
              char m_eomChar = '\n';
    public PowerModelClient(){
    try{
    //Opens socket connection with C-server program,
    openConnection();
    System.out.println("connected to server");
    //Sends data base information to C-server program and receives acknowledgement from it.
    String recv = initialize();
    System.out.println("Initialize successful"+recv);
         try{
    // Sleep for a short period of time
         Thread.sleep ( 10000 );
    catch (InterruptedException ie) {}
         System.out.println("Initialize successfu 22l");
    //Sends data base information to C-server program and receives acknowledgement from it.
    processRequest();
    //Closes socket connection
         closeConnection();
         System.out.println("Comesout to do QUIT ");
    catch(Exception e){
         System.out.println("Error in main::"+e.toString());
         public static void main(String[] args) throws IOException {
                             new PowerModelClient();
    Opens socket connection with C-server program,
    public void openConnection() throws IOException{
    try {
                        kkSocket = new Socket("server",port);               os = new DataOutputStream(kkSocket.getOutputStream());
         //out = new PrintWriter(kkSocket.getOutputStream(),true);
    in = new BufferedReader(((java.io.Reader)(new InputStreamReader(kkSocket.getInputStream()))));
         } catch (UnknownHostException e) {
              System.err.println("Don't know about host: server.");
                        System.exit(1);
                   } catch (IOException e) {
                        System.out.println("Couldn't get I/O for the connection to: server."+e.getMessage());
                        System.exit(1);
         Sends data base information to C-server program and receives acknowledgement from it.
         This makes the C program to connect with Database.
         The data send to socket should be tagged between @BEGMSG@\nand @ENDMSG@\n
         Similary data obtained from socket will be tagged between @BEGMSG@\n and @ENDMSG@\n
    public String initialize() throws IOException{
                   int ibyteread = 0;
              String fromServer = "";
              String beginmsg=padString("@BEGMSG@");
              String endmsg = padString("@ENDMSG@");
              String recv = "";
              if (kkSocket != null ) {
    try {
                        // Set the socket timeout for ten seconds
                   //     kkSocket.setSoTimeout(10000);
                                       //String data = padString("INIT\tabcd\tisderssddsdg\tdrtrs1\twetewte");                              os.writeBytes(beginmsg+m_eomChar);
                   in.read();
              os.flush();
              os.writeBytes(data+m_eomChar);
              in.read();
         os.flush();
         os.writeBytes(endmsg+m_eomChar);
         os.flush();
         recv = readResponse(in);
    } catch (UnknownHostException e) {
    System.err.println("Trying to connect to unknown host: " + e);
                                                 // Exception thrown when network timeout occurs
                             catch (InterruptedIOException iioe)
                             System.err.println ("Remote host timed out during read operation");
                             catch (IOException e) {
                             System.err.println("IOException: " + e);
                             catch (Exception e) {
                   System.err.println("Exception: " + e);
              return recv;
    Sends data after database connection is established to socket for entitlement processing
    and will receive acknowledgement from server.
    public void processRequest() throws IOException{
                   int ibyteread = 0;
                   String beginmsg=padString("@BEGMSG@");
                   String endmsg = padString("@ENDMSG@");
                   String fromServer = "";
              if (kkSocket != null ) {
                   System.out.println("processRequest");
    try {
                             kkSocket.setSendBufferSize(1024);
                             kkSocket.setSoTimeout (10000);
                                       kkSocket.setTcpNoDelay(true);
         os.writeBytes(beginmsg+m_eomChar);
         int i = in.read();
         System.out.println("Data read is :"+i);
         os.writeBytes(padString("PAEL\t1056209\t269732\t02/01/2003")+m_eomChar);
    in.read();
    System.out.println("Data read is :"+i);
    out.flush();
    System.out.println("Data read is :"+ibyteread);
    os.writeBytes(endmsg+m_eomChar);
    ibyteread = in.read();
    readResponse(in);
    System.out.println("-----end Processing:--------");
    } catch (UnknownHostException e) {
    System.err.println("Trying to connect to unknown host: " + e);
    // Exception thrown when network timeout occurs
    catch (InterruptedIOException iioe)
    System.err.println ("Remote host timed out during read operation");
    catch (Exception e) {
    System.err.println("Exception: " + e);
    The socket requires data to be of length 1024 character, so the renaining length is padded with empty string"\0"
    public String padString(String value){
              StringBuffer strBuff = new StringBuffer(value);
                   while(strBuff.toString().length() != 1023){
                   strBuff.append("\0");
              //System.out.println("the length is "+ strBuff.toString().length());
              return strBuff.toString();
    Close socket
    public void closeConnection() throws IOException{
         in.close();
         os.close();
         kkSocket.close();
    public String readResponse(BufferedReader in) {
    boolean flag = false;
              java.lang.StringBuffer stringbuffer = new      StringBuffer(1024);
    try {
    // for(char ac[] = new char[1]; in.read(ac, 0, 1) != -1;) {
    char ac[] = new char[1024];
    if (in.read(ac, 0, 1) != -1) {
    stringbuffer.append(ac[0]);
    for(; in.read(ac, 0, 1) != -1 && ac[0] != m_eomChar; stringbuffer.append(ac[0]));
    if(ac[0] == m_eomChar) {
    System.out.println("received '" + stringbuffer.toString() + "'");
    } else {
    System.out.println("Message received by client was not properly terminated and was ignored."+stringbuffer.toString());
    } else {
    System.out.println("WARN: no response?");
    } catch(java.io.IOException ioexception) {
    System.out.println("Error in client " + ioexception + "Killing client.");
              return stringbuffer.toString();

    if I were you I would put the lines
    kkSocket.setSendBufferSize(1024);
    kkSocket.setSoTimeout (10000);
    kkSocket.setTcpNoDelay(true);
    before connecting to the server, not after the initial message was sent.

  • Broken Pipes Error

    Hello,
              We are using Weblogic 5.1.0 SP 9 and we are getting broken pipe ioexception errors in production. Each time this occurs, which is pretty much every day, we have to restart the server. This is causing bad problems in production.
              Does anyone have any advice on troubleshooting this problem, resolving this problem, or any ideas regarding this. I heard that using WL5.10SP9 fixes this problem but we are currently using this.
              Would turning on JDBC tracing help, or any other kind of tracing help on this? Thanks,
              Rajan Roland
              

    Siew Chun wrote:
    Hi,
    I always encounter IO Exception broken pipe error when the application runs more than an hour.
    I had a firewall inbetween the DB and Weblogic application servers that do connection shut down if the line has been idled for more than an hour. I had also verified that all my program codes had done proper closing of connection after the database is updated but the problem still persist.
    Any advise anyone? By the way, I am using Weblogic 5.1 SP12. Is there a limitation in this "old" version? Could that be a limitation in terms of proxy? (by path or by extension which is better?)
    Any help anyone?Hi. set up the pool to test connections on reserve. This will also make the pool periodically test idle
    connections. This keeps them busy.
    Joe

  • 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

  • Named Pipes Error Recovery

    I have a program which uses named pipes to communicate with a (third party) named pipe server. I call CreateFile to open the pipe, then Readfile and Writefile to read and write data. If I get an error, e.g. due to a network fault, I call CancelIo, then
    CloseHandle to close the pipe, then Createfile to re-open it. I have tested this by unplugging/replugging the network cable. However, on site in a 'real' environment, I have had a couple of occasions where I have received a 'ERROR_NETNAME_DELETED' from the
    pipe I/O, and when I close the handle and call CreateFile to try and recover, I get the error 'ERROR_SEM_TIMEOUT' from the CreateFile call. Can anyone think why this might be? I guess a difference between my testing and what is happening 'for real' might be
    that my testing involved disconnecting the network cable, whereas the 'live' incident may have been just a temporary glitch on the network.

    Yes, unpluggin a network cable is entirely different from communication glitches, lost packets and firewall issues.
    One of the big reasons is that unplugged network cables are detected by windows, and the port is shut down. In network management in control panel you'll see the red cross. resources associated with that port will be freed, and communications will be aborted.
    However, if the network port stays up, Windows will not know that anything went wrong. It still sees an active port, so it will just keep waiting for data to arrive. Communications that were in process may still be waiting when you retry them, so you have
    to be careful with the error handling, and verify that a) you handle all problems, and b) you cancel all necessary things.
    If you want to test such scenarios, you could play with the firewall on the target computer to simulate lost packets and timeouts.

  • Broken Pipe Error

    Downloaded and tried to install Streamclip but I get an error. "The following disk images failed to mount" "MPEGStreamclip1.9.1 Broken pipe" is this a problem with the download or is something wrong with my system?
    Have a G5, OS X 10.4.11, 1.8 GHz PowerPC
    1 GB DDR SDRAM

    Well, it's meant to be the first thing you mention, but can be the OS misbehaving.
    Do these two things & reboot if you haven't...
    Using Disk Utility in Mac OS X 10.4.3 or later to verify or repair disks...
    http://docs.info.apple.com/article.html?artnum=302672
    About Disk Utility's Repair Disk Permissions feature...
    http://docs.info.apple.com/article.html?artnum=25751
    Do other downloads work?

  • Semaphores & pipes error !!

    Hello, i'm trying to boot an application server (under Unix), but there's always
    the same error. "My" stderr file said to me:
    "Impossible to create a semaphore"...and the ULOG file said to me:
    "Process id =125631 Assume started (pipe) " but the current service of my server
    process is "DEAD" !!
    Can anyone give me informations, please ?
    Thanks

    didier wrote:
    >
    Hello, i'm trying to boot an application server (under Unix), but there's always
    the same error. "My" stderr file said to me:
    "Impossible to create a semaphore"...and the ULOG file said to me:
    "Process id =125631 Assume started (pipe) " but the current service of my server
    process is "DEAD" !!
    Can anyone give me informations, please ?For some reason it is ... impossible to create a semaphore.
    I can imagine two possible reasons:
    a) your semaphore key conflicts with key used by some other application
    - you can try changing IPCKEY in ubbconfig and check what's going on
    (don't bother doing it if ipcs command does not show any semaphore)
    b) your machine IPC settings are too low - the system does not allow to
    create as many semaphores as Tuxedo and other apps require. The method
    of increasing IPC resources is system dependent, sometimes it requires
    kernel recompilation.
    http://www.mk.w.pl /
    Marcin.Kasperski | Sztuczki i kruczki w C++:
    @softax.com.pl | http://www.mk.w.pl/porady/porady_cplusplus
    @bigfoot.com \

  • "Broken Pipe" error while attempting execution of DMG file

    Any help here? Tried to load two different programs, both gave same error message.

    A .dmg file isn't "executable" or a program, it's a disk image that could contain anything from an executable to pictures or audio to an entire application. It sounds like it's a bad .dmg file.
    What version of Mac OS X are you running? The latest 10.4.9 update added some checks for bad .dmg files, and you may be hitting those checks. This has been discussed in some Apple Knowledge Base articles and on sites such as http://www.macfixit.com and http://www.macintouch.com.
    Doug

Maybe you are looking for

  • Use of mouse scroll wheel in Forms 6i runtime

    Is there any way to make the mouse scroll wheel work in Forms 6i runtime? Does it work in some areas and not in others? Ultimately, the user would like to use the scroll wheel to navigate through rows in a block instead of dragging the scrollbar. We

  • Sold to party based on Ship to party or Bill to party

    Hi Everybody, Can we able to find the sold to party based on the ship to party or the bill to party? Thanks, Srinivasan.K

  • RAW better than JPG??? Nah!

    Here a picture I took with my Fuji Finepix. A Kingfisher sitting about 6, 7 m away from me on a tree. I took the Picture as JPG+RAW. Here what the JPG looks like and here the best I could make out of the RAW image RAW doesnt seem to be necessarily be

  • How to make something happen when an object touches another

    In my game I'm making (actionscript 3.0), I need the game to gotoAndStop once a circle goes "out of bounds". Is there a syntax or something about on impact or something? Please help I'm a begginer.

  • How Session based web Application should work even after session expiry??

    I am looking for an experts opinion that how could I develop an application that should work after the expiry of web session too in the same way as it works in web session. How the session should be activated. As I understood, what if I store all the