FailedSend Playback Command Timeout!

hi all
iam getting the below error after clicking on the distributions button in the invoice workbench form when i am executing from command line.
Failed     Send Playback Command Timeout! command:forms.button("//forms:button[(@name='LINE_SUM_CONTROL_DISTRIBUTIONS_0')]").click(), timeout: 10000
can anybody tell me the fix for this issue it is little bit urgent

1. add Thread.sleep(10000); before the click
2. you can also try adding
forms.button("//forms:button[(@name='LINE_SUM_CONTROL_DISTRIBUTIONS_0')]").waitFor(5000);
before
forms.button("//forms:button[(@name='LINE_SUM_CONTROL_DISTRIBUTIONS_0')]").click();
3. verify the attributes and change "or" between attributes to "and"
in any case if its not working, plz add 2-3 lines of code before and after the problematic line,and attributes of the button. it would help understand issue better.

Similar Messages

  • How to set command timeout for table object?

    I have a report that is generating an error during rendering in a CrystalReportViewer control (v10.5).  The error is "Failed to open a rowset." which appears to be caused by a timeout.  I'm currenlty setting the connection info and location of the sproc programmatically.  How can I set the command timeout as well?  Can I set this via the Attributes collection of the ConnectionInfo object?  (This appears to be a command timeout, not a connection timeout, which I'm already including in the Attributes collection of the ConnectionInfo object and setting at 15 seconds.  I've tried making this as much as 60 seconds but it doesn't change the behavior.)

    The error message includes text that states the timeout was exceeded (in bold below)...
    CrystalDecisions.CrystalReports.Engine.InternalException: Failed to open a rowset.
    Details: ADO Error Code: 0x
    Source: Microsoft OLE DB Provider for SQL Server
    Description: Timeout expired
    SQL State: HYT00Error in File J:\DOCUME1\ADMINI1\LOCALS~1\Temp\SpecificationSummaryReport {42EDFEA3-DD0D-4F5E-BC0B-F9CC1126A872}.rpt:
    Failed to open a rowset. ---> System.Runtime.InteropServices.COMException (0x800002D3): Failed to open a rowset.
    Details: ADO Error Code: 0x
    Source: Microsoft OLE DB Provider for SQL Server
    Description: Timeout expired
    SQL State: HYT00Error in File J:\DOCUME1\ADMINI1\LOCALS~1\Temp\SpecificationSummaryReport {42EDFEA3-DD0D-4F5E-BC0B-F9CC1126A872}.rpt:
    Failed to open a rowset.
    1)  Is there a Service Pack for CR 10.5???  That is the runtime that is in use - not XI.
    2)  The report viewer app is in version 10.5 (as mentioned in the first post) but the report was created in the designer for version 11.  Before we assume that is a problem - I have other reports created this way that work fine.
    3)  The data source is SQL 2005.
    4)  The connection type is OLE DB - Microsoft OLE DB provider for SQL Server.
    I think the issue is due to corruption in the report file.  I've seen this many times with reports (over the last 10 years).  I've had reports that refuse to work but if I recreate them from scratch the new report works fine.  In fact, I've recreated the data portion of this report (using the same sprocs) and that one works.

  • Set Command Timeout For SQL Server

    Hello,
    How do you set the command timeout for the 'open' statement? I am running a Database via SQL Server and I tried the dialog box timeout statement (the check box on the advanced tab) and simply get an error. The manual shows a 'step.commandtimeout' but how is it implemented?
    Thanks,
    Kevin

    Kevin -
    I looked at the internal implementation of the CVI SQL Toolkit. The toolkit function that the step type uses is DBNewSQLStatement. Internally to the toolkit the function opens a recordset instead of a command object. The command timeout attribute is only available on a command object and not on a recordset object, so as implemented inside the toolkit the error is appropriate. I think the toolkit could have used a command object to create the recordset object and this would allow the toolkit to let you set the timeout attribute. Unfortuneately this is not the way it was done.
    For the future I may investigate to see if there is a way to bypass this limitation by using different toolkit functions, but I am not sure if there a
    re any side effects.
    Scott Richardson (NI)
    Scott Richardson
    National Instruments

  • ATA command timeouts after disk has gone sleeping

    Hi all
    I've configured myself a NAS, which is infrequently accessed, so I set the standby timer of the disks to 241 (30 minutes) using hdparm.
    for i in /dev/sd?; do
        hdparm -S 241 $i > /dev/null
    done
    After 30 minutes the disks go to sleep, no problem there, but once they are accessed again, the first command sent to the disk time out:
    ata7.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
    ata7.00: cmd b0/d8:00:00:4f:c2/00:00:00:00:00/00 tag 0
             res 40/00:00:00:f1:00/00:00:00:00:00/00 Emask 0x4 (timeout)
    ata7.00: status: { DRDY }
    ata7: hard resetting link
    ata7: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
    ata7.00: max_sectors limited to 256 for NCQ
    ata7.00: max_sectors limited to 256 for NCQ
    ata7.00: configured for UDMA/133
    sd 6:0:0:0: timing out command, waited 7s
    ata7: EH complete
    SCSI device sdg: 1953525168 512-byte hdwr sectors (1000205 MB)
    sdg: Write Protect is off
    sdg: Mode Sense: 00 3a 00 00
    SCSI device sdg: drive cache: write through
    After that the drives work fine again. The command timeout is 7 seconds, which seems too low because the disks need some time to spin up.
    Two questions:
    Can the ATA command timeout be increased?
    If the command fails, is it retried?
    Thanks,
    Glenn

    The G5 Discussion is here while this is devoted to Mac Pro, hence the confusion. The MP doesn't use cables, just trays that slide in.
    Is it possible you have backups you can boot from? (hint, hint). Or Disk Warrior 4? would also be 'nice.'
    Hard restarts DO trash files and directories. And never make changes w/o a bootable backup. Maybe a couple FW drives. (One person yesterday backed up his problem G5 drive only that turned his 'good backup' into an unbootable drive also, and didn't have a 2nd backup - which can happen and why you don't want to rely on just one).

  • Admin Command Timeout

    My streaming server 3 hanged last night and can be restarted.
    I found that the admin logs have thousands of line like the
    following:
    2008-12-22 03:20:15 236 (e)2671287 Admin Command Timeout:
    (Command (getServerStats) timed out.) -
    2008-12-22 03:20:15 236 (e)2671287 Admin Command Timeout:
    (Command (getVHostStats) timed out.) -
    How can I solve this problem? Restart the computer helps, but
    I wonder there is a way to solve it.

    Well, really, none of these problems should happen! But,
    sadly, they do and not just for me.
    A Google search will show that these Admin timeouts are a
    very common problem but no-one seems to have a solution. More
    worryingly, I have never seen any suggestion from Adobe about what
    might cause them.
    Since my original post I have made two changes to our app:
    (1) when the 'owner' of the room leaves I unload the instance
    (after a 30 seconds delay)
    (2) I amended the application.xml for this app to timeout
    idle connections after 2 minutes (the default is no timeout)
    This has made things slightly better in that the app now runs
    for 2/3 days without failing (rather than failing twice a day).
    But, it still fails and the only thing that brings it back is a
    reboot of the server which is totally unacceptable in a live
    environment where we usually have 500+ clients watching 100 live
    streams at any one time (many on a pay-per-minute basis). The only
    other significant thing I notice now is that once the machine has
    been running for a couple of days the logging stops completely for
    some (but not all) instances i.e. nothing is displayed in the admin
    console and nothing is written to the log files. It's as if the FMS
    Admin has just given up.
    Re. your suggestion about checking IPs etc. There are no
    "hidden clients"! When the Admin fails it is possible to be on a
    machine with a single connection (i.e. my client). When I reload my
    client there is a trace that I have disconnected, then reconnected
    again *but* the connection count goes up by one. If I reload twenty
    times the count will increase to 20. Even if I close my browser the
    connections will apparently stay, sometimes for days!
    As I mentioned, this happens on multiple servers with lots of
    different clients and very, very low load. When it happens is, so
    far, unpredictable other than it will happen and bring down our
    live system.

  • DBM_EXECUTE  command timeout exceeded

    Hello All,
    When i am excuting any db t-code from my system ,
    i am gettting DBM_EXECUTE  command timeout exceeded.
    I have tried it with different user but facing the same problem.
    kindly let me know the sloution for this.
    Thanks in advance,
    Atul

    Hello Atul,
    if you don't find a solution in the SAP notes then you should open a customer message.
    SAP support will then logon to your system and analyze the problem.
    Best regards,
    Melanie

  • HIS 2013 - Command Timeout - Dynamic DB2 Sendport

    Hi ,
        In one of our application (BizTalk 2013 R2), We are integrating with DB2 (Host Integration server 2013) using dynamic sendport. The default command timeout for DB2 is 30 seconds. This timeout can be increased in DB2 static sendports.
    But as we are using Dynamic sendport, we are not seeing such option in the context properties to set the command timeout.
    Any suggestions on how to set command timeout for dynamic DB2 sendport?
    Thanks,
    Karthik M
    karthik

     This timeout can be increased in DB2 static sendports. But as we are using Dynamic sendport, we are not seeing such option in the context properties to set the command timeout.
    As you said, we really can't set timeout for Dynamic send port, you can consider
    contacting Microsoft support directly(http://support.microsoft.com)

  • Qlogic scsi command timeout

    Hi,
    I am doing some testing for Windows 2008 R2 SP1 boot from SAN with Qlogic HBAs.
    We noticed that a logical path failure will hang IO on the server for about 30 seconds...
    From traces it looks like 20 seconds is some king of timeout waiting to be expired (I suspect some kind of scsi command timeout)
    Another 7 seconds is spent with MPIO to disable that logical path...
    I tried searching the internet for such a timeout on windows and could not find any.
    Any of you know about this? Is there a way to verify this parameter value?
    Thanks
    Offer Baruch

    Hi,
    I am doing some testing for Windows 2008 R2 SP1 boot from SAN with Qlogic HBAs.
    We noticed that a logical path failure will hang IO on the server for about 30 seconds...
    From traces it looks like 20 seconds is some king of timeout waiting to be expired (I suspect some kind of scsi command timeout)
    Another 7 seconds is spent with MPIO to disable that logical path...
    I tried searching the internet for such a timeout on windows and could not find any.
    Any of you know about this? Is there a way to verify this parameter value?
    Thanks
    Offer Baruch
    You may increase default 30 seconds timeout to whatever you want (don't go too high however, 180 sounds like a maximum working one). 
    Changing the disk timeout on Microsoft Windows Server
    Learn how to change the disk timeout value on Windows Server 2000, 2003, and 2008 operating systems.
    On your Windows Server hosts, change the disk I/O timeout value to
    xxx in the Windows registry, as follows:
    In Windows, click Start > Run.
    In the dialog text box, type <samp class="ph codeph">regedit</samp> and click Enter.
    In the registry browsing tool, locate the HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Disk\TimeOutValue key.
    Confirm that the value for the key is xxx (decimal value). If necessary, change the value to
    xxx.
    You can read more info here:
    http://blogs.msdn.com/b/san/archive/2011/09/01/the-windows-disk-timeout-value-understanding-why-this-should-be-set-to-a-small-value.aspx
    Hope this helped. Good luck!
    StarWind VSAN [Virtual SAN] clusters
    Hyper-V without SAS, Fibre Channel, SMB 3.0 or iSCSI, uses
    Ethernet to mirror internally mounted SATA disks between hosts, starts with just a pair of boxes and scales-out to infinity.

  • How to set Crystal Report  command timeout in runtime ?

    Hi, All !
    I have a report that is generating timeout error during execution command (Crystal Report command with SQL query). How can I set timeout  for the  command from application code ? I am using CR 12 and C#  (.NET framework 2.0)
    I have investigated CommandTableClass (CrystalDecisions.ReportAppServer.DataDefModel.CommandTableClass) but I didn't find timeout property or simething like that.
    Please help.
    Thank you in advance.
    Edited by: Bonowow on Feb 24, 2010 11:38 AM
    Edited by: Bonowow on Feb 24, 2010 11:42 AM

    I do not believe there is such an API. How long does it take before you get the timeout?
    Ludek

  • Query/SQL command timeout

    Greetings,
    I am writing an interface to a product using OCI API's. I have a question about designing this interface.
    If we are able to successfully establish connection with Oracle databae and
    the query takes long time to execute/OCIStmtExecute(), is there any way to timeout the query and return ?
    Can we set a timeout parameter using OCI API's or Oracle instant client configuration files ?
    Earlier posts in the forums reveals that there may be no such parameter. I believe this is a fairly common problem and there must be some solution for this or do I need to install any oracle patch ?
    Best Regards
    Murthy

    You should have minimum 1 sec when you use oracle
    native
    Oracle Bequeath NT Protocol.This is a loopback.But if I set it to 3, 10 or whatever than sqlplus is just hanging and uses 100% CPU.
    I have started sqlplus with strace and there is a loop while invoking the pool function.
    bind(7, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("127.0.0.1")}, 16) = 0
    getsockname(7, {sa_family=AF_INET, sin_port=htons(32918), sin_addr=inet_addr("127.0.0.1")}, [46909632806928]) = 0
    getpeername(7, 0x7fffffb9bd5c, [46909632806928]) = -1 ENOTCONN (Transport endpoint is not connected)
    getsockopt(7, SOL_SOCKET, SO_SNDBUF, [-6148700272152420352], [4]) = 0
    getsockopt(7, SOL_SOCKET, SO_RCVBUF, [-6148700272152420352], [4]) = 0
    fcntl(7, F_SETFD, FD_CLOEXEC) = 0
    fcntl(7, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
    pipe([8, 9]) = 0
    pipe([10, 11]) = 0
    clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x2aaaaccacf30) = 15442
    --- SIGCHLD (Child exited) @ 0 (0) ---
    rt_sigprocmask(SIG_BLOCK, [PIPE], NULL, 8) = 0
    rt_sigaction(SIGPIPE, {0x2aaaabb3c838, ~[ILL ABRT BUS FPE SEGV USR2 XCPU XFSZ SYS RTMIN RT_1], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x2aaaac851bd0}, {SIG_DFL}, 8) = 0
    rt_sigprocmask(SIG_UNBLOCK, [PIPE], NULL, 8) = 0
    wait4(15442, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 15442
    close(8) = 0
    close(11) = 0
    poll([{fd=7, events=POLLIN|POLLRDNORM}, {fd=7, events=0}, {fd=10, events=POLLOUT}], 3, 0) = 0
    poll([{fd=7, events=POLLIN|POLLRDNORM}, {fd=7, events=0}, {fd=10, events=POLLOUT}], 3, 0) = 0
    poll([{fd=7, events=POLLIN|POLLRDNORM}, {fd=7, events=0}, {fd=10, events=POLLOUT}], 3, 0) = 0
    poll([{fd=7, events=POLLIN|POLLRDNORM}, {fd=7, events=0}, {fd=10, events=POLLOUT}], 3, 0) = 0
    poll([{fd=7, events=POLLIN|POLLRDNORM}, {fd=7, events=0}, {fd=10, events=POLLOUT}], 3, 0) = 0
    poll([{fd=7, events=POLLIN|POLLRDNORM}, {fd=7, events=0}, {fd=10, events=POLLOUT}], 3, 0) = 0
    poll([{fd=7, events=POLLIN|POLLRDNORM}, {fd=7, events=0}, {fd=10, events=POLLOUT}], 3, 0) = 0
    poll([{fd=7, events=POLLIN|POLLRDNORM}, {fd=7, events=0}, {fd=10, events=POLLOUT}], 3, 0) = 0
    poll([{fd=7, events=POLLIN|POLLRDNORM}, {fd=7, events=0}, {fd=10, events=POLLOUT}], 3, 0) = 0
    poll([{fd=7, events=POLLIN|POLLRDNORM}, {fd=7, events=0}, {fd=10, events=POLLOUT}], 3, 0) = 0
    poll([{fd=7, events=POLLIN|POLLRDNORM}, {fd=7, events=0}, {fd=10, events=POLLOUT}], 3, 0) = 0
    poll([{fd=7, events=POLLIN|POLLRDNORM}, {fd=7, events=0}, {fd=10, events=POLLOUT}], 3, 0) = 0
    BTW, what is this Bequeath NT Protocol?

  • How to set Command Timeout in Crystal report while calling from C# code

    I am using Crystal report XI R2.  I am calling SQL server 2005 stored procedure as source in the report. I want the report should timeout from the website if the stored procedure doesn't return resultset after 5 minute. Could you please assist how should I chnage the below code to achieve that.
    Code :
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Web;
    using System.Web.UI;
    using System.Web.UI.WebControls;
    using CrystalDecisions.CrystalReports.Design;
    using CrystalDecisions.Shared;
    using CrystalDecisions.Web;
    using CrystalDecisions.CrystalReports.Engine;
    namespace CrystalTest
        public partial class _Default : System.Web.UI.Page
            protected ReportDocument rd;
            protected CrystalReportViewer Crv;
            protected void Page_Load(object sender, EventArgs e)
                rd = new ReportDocument();
                rd.Load(Request.MapPath("FXRate.rpt"));
                SetDBLogonForReport(GetCrvConnectionInfo(), rd);
                ParameterFields crtParamFields;
                ParameterDiscreteValue crtParamDiscreteValue1;
                ParameterField crtParamField1;
                ParameterDiscreteValue crtParamDiscreteValue2;
                ParameterField crtParamField2;
                ParameterDiscreteValue crtParamDiscreteValue3;
                ParameterField crtParamField3;
                ParameterDiscreteValue crtParamDiscreteValue4;
                ParameterField crtParamField4;
                ParameterDiscreteValue crtParamDiscreteValue5;
                ParameterField crtParamField5;
                ParameterDiscreteValue crtParamDiscreteValue6;
                ParameterField crtParamField6;
                crtParamFields = new ParameterFields();
                crtParamDiscreteValue1 = new ParameterDiscreteValue();
                crtParamField1 = new ParameterField();
                crtParamDiscreteValue1.Value = "USD";
                crtParamField1.ParameterFieldName = "@BaseCurrCode";
                crtParamField1.CurrentValues.Add(crtParamDiscreteValue1);
                crtParamFields.Add(crtParamField1);
                crtParamDiscreteValue2 = new ParameterDiscreteValue();
                crtParamField2 = new ParameterField();
                crtParamDiscreteValue2.Value = "EUR";
                crtParamField2.ParameterFieldName = "@CounterCurrCode";
                crtParamField2.CurrentValues.Add(crtParamDiscreteValue2);
                crtParamFields.Add(crtParamField2);
                crtParamDiscreteValue3 = new ParameterDiscreteValue();
                crtParamField3 = new ParameterField();
                crtParamDiscreteValue3.Value = "2008-05-28 00:00:00";
                crtParamField3.ParameterFieldName = "@FromDate";
                crtParamField3.CurrentValues.Add(crtParamDiscreteValue3);
                crtParamFields.Add(crtParamField3);
                crtParamDiscreteValue4 = new ParameterDiscreteValue();
                crtParamField4 = new ParameterField();
                crtParamDiscreteValue4.Value = "2008-05-28 00:00:00";
                crtParamField4.ParameterFieldName = "@ToDate";
                crtParamField4.CurrentValues.Add(crtParamDiscreteValue4);
                crtParamFields.Add(crtParamField4);
                crtParamDiscreteValue5 = new ParameterDiscreteValue();
                crtParamField5 = new ParameterField();
                crtParamDiscreteValue5.Value = "ashok12";
                crtParamField5.ParameterFieldName = "@CurrentUser";
                crtParamField5.CurrentValues.Add(crtParamDiscreteValue5);
                crtParamFields.Add(crtParamField5);
                crtParamDiscreteValue6 = new ParameterDiscreteValue();
                crtParamField6 = new ParameterField();
                crtParamDiscreteValue6.Value = DateTime.Now.ToString("dd MMM yyyy hh:mm");
                crtParamField6.ParameterFieldName = "@ClientTime";
                crtParamField6.CurrentValues.Add(crtParamDiscreteValue6);
                crtParamFields.Add(crtParamField6);
                Crv.ParameterFieldInfo = crtParamFields;
                Crv.DisplayGroupTree = false;
                Crv.BestFitPage = true;
                Crv.ReportSource = rd;
            private void SetDBLogonForReport(ConnectionInfo connectionInfo, ReportDocument reportDocument)
                Tables tables = reportDocument.Database.Tables;
                foreach (CrystalDecisions.CrystalReports.Engine.Table table in tables)
                    TableLogOnInfo tableLogonInfo = table.LogOnInfo;
                    tableLogonInfo.ConnectionInfo = connectionInfo;
                    table.ApplyLogOnInfo(tableLogonInfo);
            public static CrystalDecisions.Shared.ConnectionInfo GetCrvConnectionInfo()
                CrystalDecisions.Shared.ConnectionInfo con = new CrystalDecisions.Shared.ConnectionInfo();
                con.ServerName = System.Configuration.ConfigurationSettings.AppSettings["conServer"].ToString();
                con.DatabaseName = System.Configuration.ConfigurationSettings.AppSettings["conDatabase"].ToString();
                con.UserID = System.Configuration.ConfigurationSettings.AppSettings["sesUser"].ToString();
                con.Password = System.Configuration.ConfigurationSettings.AppSettings["sesPwd"].ToString();
                return con;
            private void Page_Unload(object sender, System.EventArgs e)
                if (rd != null)
                    rd.Close();
                    rd.Dispose();
                if (Crv != null)
                    Crv.HasCrystalLogo = false;
                    Crv.Dispose();

    Yes it is possible to use datasets. resources listed below. One hting to be aware of; Using datasets larger than about 5,000 records (depending on the report) is not advisable. Performance will potentially be an issue with datasets that are too large.
    Crystal Reports Guide To ADO.NET
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/401c4455-a31d-2b10-ae96-fa57af5aec20
    Reporting Off ADO.NET Datasets
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/2091d0c3-da1d-2b10-22be-a3426b183f75
    VS2005_Walkthroughs
    http://www.businessobjects.com/global/pdf/dev_zone/VS2005_Walkthroughs.pdf
    VB samples:
    https://smpdl.sap-ag.de/~sapidp/012002523100006252822008E/net_win_smpl.exe
    In the above samples see VBNET_WIN_ADODOTNET
    C# samples
    https://smpdl.sap-ag.de/~sapidp/012002523100006252722008E/csharp_win_smpl.exe
    BTW., notes databse is here:
    https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_ossnotes&query=&adv=true
    Articles can be searched here;
    https://www.sdn.sap.com/irj/sdn/businessobjects-articles
    Ludek
    Edited by: Ludek Uher on Feb 17, 2009 1:22 PM

  • Command timeout

    I am getting a timeout on the following .Net code:
    static void Main(string[] args)
    string sConn = "Data Source=myserver;Initial Catalog=MyDB;Integrated Security=True";
    using(var conn = new SqlConnection(sConn) )
    conn.Open();
    var cmd = new SqlCommand("dbo.spTest",conn);
    cmd.CommandType = CommandType.StoredProcedure;
    cmd.CommandTimeout = 1000;
    SqlCommandBuilder.DeriveParameters(cmd);
    var par = cmd.Parameters[1];
    Query timeout occurs an any stored proc added or altered after the database was restored to a test server. All queries fail, eg cmd.ExecuteNonQuery(). I just used DeriveParameters as an example.  When testing procs untouched since before the restore, all
    queries work fine.  What could cause this?

    @Joseph: Nothing to do with hints or stats. The test failed even on an empty proc.
    I created a NEW database from scratch. I set the db options as follows:
    SET
    QUOTED_IDENTIFIER ON
    SET
    ARITHABORT ON
    SET
    NUMERIC_ROUNDABORT OFF
    SET
    CONCAT_NULL_YIELDS_NULL
    ON
    SET
    ANSI_NULLS ON
    SET
    ANSI_PADDING ON
    SET
    ANSI_WARNINGS ON
    also ANSI null default ON
    I created a NEW test proc. After changing the connect string to refer to the new db, the test worked fine.  I went back to the restored db on the test server, changed the db options,
    and in a NEW query window, dropped and recreated the test  proc that had failed.  This time it worked fine.  I’ve never had this problem with a restored db before, and I still don’t understand what caused the problem, but all appears to be well.

  • JDev 10.1.3 how to invoke oc4j_remote_deploy.jar from command line?

    Hi, does anyone know how to invoke the JDev 10.1.3 oc4j_remote_deploy.jar from the command line? We have it working for 10.1.2, for automated deployment scripts.
    If I try the same thing for 10.1.3, I get an error.
    See below my command line and the output.
    I think the error is in the Oc4jDcmServlet URL, the format seems to have changed from 10.1.2 to 10.1.3.
    I tried to reverse-engineer by using an HTTP tracer, but that did not help.
    Any help would be much appreciated.
    Regards, Maarten Brugman
    ======================== command line: ==================
    "C:\j2sdk1.4.2_09\bin\java.exe" -Djava.protocol.handler.pkgs=HTTPClient -jar C:\jdev-work\ebrp-new\ear\target\installer\oc4j_remote_deploy.jar http://lnvx0027:29805/Oc4jDcmServletAPI/ oc4jadmin ***** listApplications /oracle/oaedv03/oracle/oas/10.1.3/ontwj2e1013 UNDEFINED UNDEFINED OC4J_OEBRP
    ============ output: ====================================
    Initializing log
    Servlet interface for OC4J DCM commands
    Command timeout defined at 600 seconds
    Executing DCM command...
    Executing command listApplications /oracle/oaedv03/oracle/oas/10.1.3/ontwj2e1013
    UNDEFINED UNDEFINED OC4J_OEBRP
    Command = LISTAPPLICATIONS
    Opening connection to Oc4jDcmServlet
    Setting userName to oc4jadmin
    Sending command to DCM servlet
    **** Could not check HTTP response code
    ** Thread[main,5,main] ** Fri May 11 17:18:13 CEST 2007 ** ** EXCEPTION: java.
    net.SocketException: Unexpected end of file from server
    java.net.SocketException: Unexpected end of file from server
    at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:822)
    at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:711)
    at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:820)
    at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:711)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon
    nection.java:635)
    at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:272
    at oracle.j2ee.tools.remote_deploy.Oc4jDcmClient.isHttpResponseOk(Unknow
    n Source)
    at oracle.j2ee.tools.remote_deploy.Oc4jDcmClient.sendCommand(Unknown Sou
    rce)
    at oracle.j2ee.tools.remote_deploy.Oc4jDcmCommand.execute(Unknown Source
    at oracle.j2ee.tools.remote_deploy.Oc4jDcmCommand.listApplications(Unkno
    wn Source)
    at oracle.j2ee.tools.remote_deploy.Oc4jDcmMain.main(Oc4jDcmMain.java:71)
    #### HTTP response is NOT ok
    Closing connection to Oc4jDcmServlet
    #### DCM command did not complete successfully (-1)
    #### HTTP return code was -1
    ============ end output =================================

    In my opinion, you will succeed in handling linefeeds in output texts by using an <tt><af:outputFormatted></tt> tag in conjuction with a JSF converter that replaces the linefeeds with a <tt>&lt;br></tt> tag in the text. You will have to implement a custom converter class (this is quite simple, see below) and to set it to the <tt>converter</tt> attribute of the <tt><af:outputFormatted></tt>. The converter class should look like:
    public class MyLinefeedConverter implements javax.faces.convert.Converter
      public MyLinefeedConverter() {
      public Object getAsObject(FacesContext context, UIComponent component, String value) {
        return value;
      public String getAsString(FacesContext context, UIComponent component, Object value) {
        if (value==null) return "";
        if (value instanceof String) return ((String)value).replace("\n", "<br>");
        return value.toString();
    }In this way the linefeeds in your text values will be replaced by <tt>&lt;br></tt>, which will be rendered by the corresponding <af:outputFormatted> tag as line breaks.

  • Error while deploying : DCM command did not complete successfully (-8)

    Hi Friends:
    I am getting error while deploying the application on Oracle Portal AS. Following are the version details:
    Portal 10.1.4 ; Portal AS 10.1.2.0.2 ; JDK 1.5.x ; Jdeveloper 10.1.3.3.0
    I am able to deploy same on my Standalone OC4J Server.
    Portal Server connection is Successful. Application i am trying to deploy is simple JSF application.
    The deployment log is as follow:
    ---- Deployment started. ---- Aug 21, 2008 10:10:26 AM
    Target platform is Oracle Application Server 10g 10.1.2 (Windows) (PortalASConnection1).
    Wrote WAR file to C:\Jdeveloper\jdev\mywork\MyApplication\ViewController\deploy\myApp1.war
    Wrote EAR file to C:\Jdeveloper\jdev\mywork\MyApplication\ViewController\deploy\myApp1.ear
    Invoking DCM servlet client...
    C:\Jdeveloper\jdk\jre\bin\javaw.exe -Djava.protocol.handler.pkgs=HTTPClient -jar C:\Jdeveloper\jdev\lib\oc4j_remote_deploy.jar http://01HW180457:18102/Oc4jDcmServletAPI/ ias_admin **** redeploy D:\OraHome_3 C:\Jdeveloper\jdev\mywork\MyApplication\ViewController\deploy\myApp1.ear myApp1
    Initializing log
    Servlet interface for OC4J DCM commands
    Command timeout defined at 600 seconds
    Executing DCM command...
    Executing command redeploy D:\OraHome_3 C:\Jdeveloper\jdev\mywork\MyApplication\ViewController\deploy\myApp1.ear myApp1 UNDEFINED
    Command = REDEPLOY
    Reading application's ear file
    Ear file was successfully read
    Opening connection to Oc4jDcmServlet
    Setting userName to ias_admin
    Sending command to DCM servlet
    HTTP response code = 200, HTTP response msg = OK
    Command was successfully sent to Oc4jDcmServlet
    Receiving session id from servlet to check command status
    Session id = ac11c08f46b696f8630ce3484fda975697914ab9c18a
    Please, wait for command to finish...
    Checking command status...
    Setting userName to ias_admin
    Setting Cookie to JSESSIONID=ac11c08f46b696f8630ce3484fda975697914ab9c18a
    Checking command status
    HTTP response code = 200, HTTP response msg = OK
    Command has finished
    Receiving command exit value
    Receiving command output
    **** No output was received from command
    Closing connection to Oc4jDcmServlet
    #### DCM command did not complete successfully (-8)
    #### HTTP return code was -8
    Exit status of DCM servlet client: -8
    Elapsed time for deployment: 14 seconds
    #### Deployment incomplete. #### Aug 21, 2008 10:10:39 AM
    I will appriciate to hear from you.
    Have A Nice Time!
    Regards,
    Kevin

    Refer Note:373056.1 on MetaLink.
    Thanks
    Shail

  • Lenovo System Update Broken, IA.exe command path error

    Hello, I've been fighitng with Lenovo system update through out the years for various issues, but I believe I've found a new error that all my searching doesn't seem to cover. When I do a fresh image of Windows 8.1 and install system update, it works for the first and sometimes second run and reboot. But after these first uses, it completely fails, along with System Health and some of the other Lenovo software. I've managed through some trial and error and looking through the logs to narrow this down to the IA.exe program and the command being sent to gather information. Here is the command found in the tvsu logs: /execute ia.exe /arguments -filename$C:\Program Files (x86)\Lenovo\System Update\egather\sysrecomin$ -probes REGIONAL_SETTINGS GATHERER_INFORMATION SYSTEM_SUMMARY -local /directory $C:\Program Files (x86)\Lenovo\System Update\egather\$ /type COMMAND /timeout 300000 Immediately after this is called, the system calls TVSUCommandLAuncher, and then reports RC eGAther: -1 and that it failed to execute TVIA program and quits. My error in System Update is that it couldn't gather client information. So I took the command and tried to run it myself, having to remove the /execute switch as I wasn't calling this some somewhere else. ia.exe /arguments -filename$C:\Program Files (x86)\Lenovo\System Update\egather\sysrecomin$ -probes REGIONAL_SETTINGS GATHERER_INFORMATION SYSTEM_SUMMARY -local /directory $C:\Program Files (x86)\Lenovo\System Update\egather\$ /type COMMAND /timeout 300000 This when run, will throw "Error: The given path's format is not supported" message. I tinkered with the command line for a while before I figured out what was going on. It seems the "$" being used for the Filename and Directory settings are no longer functioning, and causing the program to not parse properly. I replaced all the $ with " and suddenly I can run the command manually, and it generates the output file properly. Now though I'm still stuck, as there's no way for me to edit the command being called by system update, so it will always improperly format its call and then fail. Does anyone have any idea what in the world is going on here, I can't figure out what would be causing this and why it works the first one or two launches, then never works again. This also causes any lenovo software that uses IA to freeze up, like the system health software from lenovo.

    No, I don't do a silent install due to the license/eula agreements not functioning properly unless you've got an on-site repository.  So its just after imaging via SCCM I'd install system update, run it once to get things installed, and then when I would attempt to run it again, or lenovo system health, they'd be permanently broken.
    On this topic though I believe I sort things out.  I was having issues with the systems later that turned out to be two corrupt files dealing with Windows Store app, and using SFC and DISM to try and repair them fails.  After a lot of searching around I found that someone with Windows 10 preview had the exact same two files corrupted, so my thinking is there's some windows update out there causing issues, and the IA.exe program is affected by these corrupted files.  
    I had to get my win8.1 Install.wim file from the server, and then direct my broken system to use that as the source to do a dism cleanup and restorehealth.  Once it completed it repored it was able to fix the two files and I've not had any more problems and was able to capture the images (previously capture failed because sysprep reported the OS wasn't in a good state). 
    I've still not gone and tried to install the realtek audio driver that I know caused the break, but thats just due to time limits with the project, if I have some time I'll try and install and see if things still function afterwards.  
    So to break down the events:
    Clean Win8.1 Retail image, used SCCM to deploy onto a machine, run windows updates on the machine and install Lenovo System Update.  Things looked okay until I would try to run System update a second time after rebooting, then it was broken due to IA not being able to gather data.  Later after SFC and DISM scans was able to see that two files were being reported corrupt and unfixable, one I know is related to Store app, other I think is a library file for the Apps.  
    Fixed the files by getting the Install.wim from my iso file, telling the system to use that for the source as the online sources weren't working.  Dism was then able to fix the two files and I could successfully sysprep/capture the system with SCCM tools.  

Maybe you are looking for