How to force DMAgent to query server immediately

We'd like to have possibility to invoke DMAgent's processing of OL commands programatically - is there any way how to do this? Our users use OL on PDAs and connect to mobile server using mobile phone. That means there's connection to server only during the synchronization and so the commands are frequently waiting for device processing for few days, even though I set the dmc frequency parameter to 30 seconds. Is there any command line argument which would force DMAgent to process server commands on demand?

I have been using autosync. Withe selected publication items (10.3) It works ok. But i have some issues in publication level sync parameters and platform sync parameters. In the publication i have mentioned when 50 update records to sync and on platform i have mentioned when ac power is detected. Only when ac power detected triggers(On win32) doing as an experiments.
Your problem should solve with auto sync. (But i have not seen any option to start modem connection within oracle lite. If it is available we can getrid of many issues. Because to use api i do not know java. im using .net)
Another issue is that when autosync introduces the frequency of device read write error increased(WM5 PDA)im using a kingston 2gb micro sd. I raised this question earlier. But found little information. Then tried with FLUSH_AFTER_WRITE=true in polite but still the issue is there. I think for autosync we might need a reliable sd card. Otherthan that it works fine and client data is uploaded when ac 50 updated records in WM5 and when ac power detected in WIN32.

Similar Messages

  • How to force an automatic query when first accessing a form?

    I have several forms on different tabs. When the first is queried, I save the key field. When the other forms start, they get the key with wwsto_api_session.load_session and store it in the form A_key.
    I want to have already performed a query when the user goes to the tab with the form on it. Can this be done? Is there a way to call doQuery from PL/SQL code?
    Gary

    Hello flöle,
    >>How can we prevent that and force the application to crash immediately when the unmanaged component fails?
    In my experience, this mechanism for wrapping the unmanaged expcetion should be by desiged since the .NET does not know these exception type. For handling unmanaged exception, the .NET provides a specific class:
    SEHException Class which is used to to handle unmanaged code exception in our managed code:
    https://msdn.microsoft.com/en-us/library/system.runtime.interopservices.sehexception.aspx
    You could use this class to catch the unmanaged exception.
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to force a backup to run immediately in Time Machine ?

    Hello,
    I've the following problem: When I connect my external USB HD to my Mac Book Pro, and if there is more than 1 hour than the previous Time Machine backup was run, I would expect the backup to start immediately (that's the reason why I connected the HD in fact).
    But instead of that, the next backup is scheduled about one hour in the future... This means I have to let the drive connected to the laptop until the backup eventually starts. This is quite an odd way of working !
    Is there a way to force the backup to start as soon as the HD is connected ?
    Thanks for your help !
    Thierry.

    It's not an issue of backing up "now" but rather the fact that after I did that, TM no longer seemed to want to schedule backups, which I do depend on.
    It just so happens that I had something else going on, completely unrelated but because the only thing (I thought) that was different was that I had manually forced TM to back up. As I kept going through the forum looking for others with similar problems, I learned what I was doing wrong, and that it has nothing to do with the manual backup:
    If you are using a laptop, it MUST be plugged in for TM to schedule automatic backups.

  • How to force Work Item Query Policy to refresh its cached query results?

    I have enabled the Work Item Query Policy on my TFS project.  It works as expected, except when using Visual Studio 2013 with the following sequence of steps:
    User selects Check in Pending Changes from the Source Control Explorer
    User enters in the ID of the work item to be associated to the changeset
    User clicks the Check In button
    Work Item Query Policy displays message ' Work item ##### was not found in the results of stored query...'
    User realizes his mistake, and modifies (and saves) the work item so that it is returned in in the query result set
    User clicks the Check In button again expecting the TFS policy to accept the association
    Work Item Query Policy still displays message ' Work item ##### was not found in the results of stored query...'
    Removing the Work Item and re-associating it does not make a difference.  The only workaround that I have found is to close Visual Studio and reopen it.  Does any one have a better solution than this?

    Our setup is different from the one you are using:
    - User is using VS 2013 Update 4.
    - We are running TFS 2010 SP1
    The test case that you described is different from the one that is causing my problem (that scenario works fine for me as well).  I am trying to associate the check in to the same work item both times; whereas, you are associating it to a different
    work item the second time.  I can consistently reproduce the error using the following steps:
    1) Create a query that returns All Bugs in Active state, and set it as the query for the Work Item Query Policy
    2) Create and save a new Bug
    3) Run the query to confirm that the new bug does not appear in the result set
    4) Checkout a file, modify it, save it
    5) Check in the file and associate it to the bug from step 2)
    - the Work Item Query Policy will issue an error message saying that the work item cannot be found in the associated query
    6) Change the state of the bug to Active, and save
    7) Refresh the query to confirm that the bug now appears in the result set
    8) Check in the file again
    - error message from step 5) will not go away

  • How to force Address Book syncing Google contacts immediately?

    Hi everyone,
    Last time I configured the Address Book as syncing the contacts with my Google account, but there was nothing changed in the Address Book. A couple of days later when I run Address Book again, the contacts in my Google accont was already transferred into the application. I mean I don't know when the synchronization would happen and I don't know how to force it happen immediately.
    I did some changes in my Google account and wish the modification being synced to the Mac asap. I'm desperate to see it happens since the modification was three days ago and the content in Address Book just won't change. I also delete all contacts in my Address Book and re-configure the synchronization but no luck either.
    Wating for the answer. Thanks in advance.

    I believe you can force the sync from isync. put an isync icon in the menu bar and when you want to sync AB choose "sync now" from the isync menu.

  • How to configure a forms 6i server

    Hi
    I am trying to configure an oracle 6i server for a college project and need some help. I have the documentation but its very confusing and not beginner orientated!
    I am using windows XP. The forms server 6i,Apache and Jinitiator are installed in the following folders all on the same machine:
    C:\Program Files\Apache Software Foundation\Apache2.2
    C:\orant\FORMS60\server
    C:\orant\jinit
    How do i configure the Forms Server? I am connecting to a database over a network and the forms i am using are in the folder:
    C:\orant\FORMS60\server
    What environment variables should i change and to what?
    What modifications should i make to the configuration files generated by th oracle installer i.e formsweb.cfg,base.htm and basejini.htm
    As you can see i really need your help. Any advice would be greatly appreciated.
    Thanks,
    Jackie
    Message was edited by:
    [email protected]

    Ive looked over the base.htm file and formsweb.cfg file and they appear to be fine but i may be missing something,.maybe you can see something i cant in these files:
    On opening the base.htm file nothing happens even when i directly
    specify the mainmenu form
    the base file contains:
    <HTML>
    <!-- FILE: base.htm (Oracle Developer Forms) -->
    <!-- This is the default base HTML file for running a form on the -->
    <!-- web using APPLET-style tags to include the Forms applet. -->
    <!-- This file will be REPLACED if you reinstall "Forms Web CGI and -->
    <!-- cartridge", so you are advised to make your own version if you -->
    <!-- want to make any modifications. You should then set the -->
    <!-- baseHTML parameter in the Forms web CGI configuration file -->
    <!-- (formsweb.cfg) to point to your new file instead of this one. -->
    <!-- IMPORTANT NOTE: default values for all the variables which -->
    <!-- appear below (delimited by the percent character) are defined -->
    <!-- in the formsweb.cfg file. It is preferable to make changes in -->
    <!-- that file where possible, and leave this one untouched. -->
    <HEAD><TITLE>%pageTitle%</TITLE></HEAD>
    <BODY %HTMLbodyAttrs%>
    %HTMLbeforeForm%
    <OBJECT classid="CAFECAFE-0013-0001-0006-ABCDEFABCDEF"
    WIDTH=600
    HEIGHT=480
    codebase="http://acme.com/jinit1316.exe#Version=1.3.1.6">
    <PARAM NAME="CODE" VALUE="oracle.forms.engine.Main" >
    <PARAM NAME="CODEBASE" VALUE="/forms60code/" >
    <PARAM NAME="ARCHIVE" VALUE="/forms60code/f60all.jar" >
    <PARAM NAME="type"
    VALUE="application/x-jinit-applet;version=1.3.1.6">
    <PARAM NAME="serverPort" VALUE="9000">
    <PARAM NAME="serverArgs" VALUE="module=order.fmx">
    <PARAM NAME="serverApp" VALUE="default">
    </OBJECT>
    %HTMLafterForm%
    </BODY>
    </HTML>
    The formsweb.cfg file contains:
    ;; Forms Web CGI Configuration File
    ; This file defines parameter values used by the Forms Web CGI
    ; PARAMETER VALUES USED BY DEFAULT
    ; SYSTEM PARAMETERS
    ; These have fixed names and give information required by the Forms
    ; Web CGI in order to function. They cannot be specified in the URL
    query
    ; string. But they can be overriden in a named configuration (see
    below).
    baseHTML=c:\orant\FORMS60\server\base.htm
    baseHTMLJInitiator=c:\orant\FORMS60\server\basejini.htm
    HTMLdelimiter=%
    MetricsServerPort=9020
    ;MetricsServerErrorURL
    ; The next parameter specifies how to execute the Forms applet under
    ; Microsoft Internet Explorer 5.0. Put IE50=native if you want the
    ; Forms applet to run in the browser's native JVM.
    IE50=JInitator
    ;IE50=native
    ; USER PARAMETERS
    ; These match variables (e.g. %form%) in the baseHTML file. Their
    values
    ; may be overridden by specifying them in the URL query string
    ; (e.g.
    "http://myhost.mydomain.com/ifcgi60.exe?form=myform&width=700")
    ; or by overriding them in a specific, named configuration (see below)
    ; 1) Runform arguments:
    form=C:\orant\FORMS60\server\MAINMENU.fmx
    userid=student19/s19@orcl
    ;otherparams
    ; 2) HTML page title, attributes for the BODY tag, and HTML to add
    before and
    ; after the form:
    pageTitle=Oracle Forms Server
    ;HTMLbodyAttrs
    ;HTMLbeforeForm
    ;HTMLafterForm
    ; 3) Values for the Forms applet parameters:
    width=6500
    height=5000
    separateFrame=false
    splashScreen=yes
    ; select default background by not specifying a value
    ;background
    lookAndFeel=Oracle
    colorScheme=teal
    serverApp=default
    serverPort=9000
    serverHost=localhost
    connectMode=HTTP
    archive=f60web.jar
    archive_jini=f60all_jinit.jar
    archive_ie=f60all.cab
    ; 4) Parameters for JInitiator
    ; Page displayed to Netscape users to allow them to download
    JInitiator.
    ; If you create your own version, set this parameter to point to it.
    jinit_download_page=/jinitiator/us/jinit_download.htm
    ; Parameters related to the version of JInitiator.
    jinit_classid=clsid:CAFECAFE-0013-0001-0006-ABCDEFABCDEF
    jinit_exename=jinit.exe#Version=1,3,1,6
    jinit_mimetype=application/x-jinit-applet;version=1.3.1.6
    ; SPECIFIC CONFIGURATIONS
    ; You may define your own specific, named configurations (sets of
    parameters)
    ; by adding special sections as illustrated in the following examples.
    ; Note that you need only specify the parameters you want to change.
    The
    ; default values (defined above) will be used for all other parameters.
    ; Use of a specific configuration can be requested by including the
    text
    ; "config=<your_config_name>" in the query string of the URL used to
    run
    ; a form. For example, to use the sepwin configuration, your could
    issue
    ; a URL like "http://myhost.mydomain.com/ifcgi60.exe?config=sepwin".
    ; Example 1: configuration to run forms in a separate browser window
    with
    ; "generic" look and feel (include "config=sepwin" in the
    URL)
    ;[sepwin]
    ;separateFrame=True
    ;lookandfeel=Generic
    ; Example 2: configuration affecting users of MicroSoft Internet
    Explorer 5.0.
    ; Forms applet will run under the browser's native JVM rather
    than
    ; using Oracle JInitiator.
    ;[ie50native]
    ;IE50=JInitiator
    ; Example 3: configuration forcing use of the base.htm base HTML file in
    all
    ; cases (means applet-style tags will always be generated and
    ; JInitiator will never be used).
    ;[applet]
    ;baseHTMLJInitiator=%FORMS60%\server\basejini.htm

  • How to force refresh of data through browser or PDF?

    We have the dashboard set to refresh every minute.  We are pulling the data using XML from DB.  When we are in browser and clear the browser cache and then reload the .swf... the data is updated.  We haven't been able to figure out how to force the cache-clear and data refresh with either swf or pdf.
    Your help is greatly appreciated.

    Hi Jeff,
    Is the XML coming from a web page or a web server?
    If yes then you can give this a go. To stop the caching mark your web page with extra tags to say it has expired.
    HTML page example:
    <HEAD>
        < META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE" />
        < META HTTP-EQUIV="EXPIRES" CONTENT="0" />
    </HEAD>
    JSP example:
    <%
      // Stop Internet Explorer from caching the results of this page.
      // We do this so that every time Xcelsius calls this page it see the latest results.
      response.setHeader("Cache-Control","no-cache"); //HTTP 1.1
      response.setHeader("Pragma","no-cache"); //HTTP 1.0
      response.setDateHeader ("Expires", 0); //prevents caching at the proxy server 
    %>
    Regards,
    Matt

  • How to write a sql query to retrieve data entered in the past 2 weeks

    Hi,
    I have file names and last accessed date(java.sql.Date format) stored in my database table, I would like to know how I can write a query to get the name of files accessed in the past 2 weeks,I use open sql server at the back end.
    Thanks in advance.

    This has essentially nothing to do with JDBC. JDBC is just an API to execute the SQL language using Java and thus interact with the databases.
    Your problem is related to the SQL language, you don't know how to write the SQL language. I suggest you to go through a SQL tutorial (there is one at w3schools.com) and to read the SQL documentation which come along with the database in question. A decent database manfacturer has a website and probably also a discussion forum / mailinglist as well.
    I'll give you a hint: you can just use equality operators in SQL like everywhere. For example: "WHERE date < somedate".

  • How to call the same query more than once with different selection criteria

    Hi,
    Please do anybody know how to solve this issue? I need to call one query with the fixed structure more than once with different selection criteria. For example. I have following data
    Sales organization XX
                         Income 2008  Income 2009
    Customer A       10                 20
    Customer B        30                  0
    Sales organization YY
                         Income 2008  Income 2009
    Customer A        20                5
    Customer B        50                10
    Now, I need this. At the selection screen of query, user fill variable  charakteristic "Sales organization" with interval  XX - YY, than I need to generate two separate results per sales organization, one for Sales Organization XX and the second for SO YYwhich will be displayed each on separate page, where result for SO YY will be dispayed under result for SO YY. Are there some options how to do it for example in Report Designer or WAD or with programming? In Report Designer is possible to use one query more than once, but I dont know how to force each query in RD to display result only for one Sales Organization, which will be defined in selection screen.
    Thank you very much
    J.

    Hello,
    thanks to all for cooperation. Finally we solved this issue with the following way..
    User fill appropriate SO on the selection screen, which is defined as range. This will resulte, that selected SO are listed in report below each othe (standard behavior). Required solution we achieved with the Report Designer, we set page break under each Result row of RD. This caused, that report is divided into required part per SO, which are stated each on separate page.
    J.

  • How to copy file to another server from database using FTP in oracle

    How to copy file to another server from database using FTP in oracle.
    Please do the needfaul.

    Billy  Verreynne  wrote:
    BluShadow wrote:
    Not to mention that some FTP servers can return more than one return message per operation whereas others may return one message for the same operation.I had the problem using the LIST command to determine if a file exists on the server. Cannot be determined via the FTP server's return code. Which means parsing and checking the text response from the server to the command. And this vary from server to server.
    But the basics were quite easy to code. The entire package is 500 lines, includes comments and blank lines for formatting, and supports the basic FTP client command set. Not really a complex piece of software to write - but I found that many developers seem to think that writing network socket software is complex. Not really the case...Mine's a big larger, but incorporates functionality similar to what Chris provided in his, such as being able to use SQL to query a remote file using pipelined functions, or functionality to write the results of a query directly to a remove file.
    :)

  • How can I execute a query from a BSP application?

    How can I execute a query from a BSP application?
    I´m trying to execute a Query from intranet. I´ve been looking for examples, but the templates I´ve found doesn´t help me.
    does anybody has an example?
    Thanks.

    Hi
    Have you designed the BSP application ?
    design it first with one page
    page will have layout and Event handlers
    Design the layout with the fields
    in the event handler there are events
    in the event On Initiailization or ON inputprocessing write the select query similar to what we write in routine ABAp and fetch the data into ITAB and that has to be passed to the Layout
    see the doc
    BSP
    To learn how to create Web applications with Business Server Pages, you can work through the simple tutorials that build on each other. You should be able to run through all of the steps described here in your own system.
    If you want to develop Web applications with BSPs, your system must meet the following requirements: Prerequisites for Creating Web Applications.
    The following tutorials are available:
    · First Tutorial: First Steps with Business Server Pages…
    · Second tutorial: A Small BSP Application and A Small BSP Application with HTMLB
    · Third tutorial: Our First Online Bookshop
    · Fourth tutorial: Further Developing the Bookshop
    · A small Tutorial is also available for your first steps with the Model View Controller design pattern.
    · For a more complex MVC tutorial based on the third tutorial, see: Our Little Online Bookshop Using MVC and HTMLB
    When creating BSP applications, note the browser dependencies described in Note 598860.
    steps:
    1) start the transaction RZ10.
    2) now u u have to select Profile name, so select the INSTANCE Profile from the list of options given with the Profile parameter list.U may find multiple instance profile in the list, so select the profile in which ur server name is given.
    3) u will also find three options in the same window.
    Administrator data, Basic Maintenance, and Extended Maintenance. So select the last one from that.
    4) Now click on change button.
    5) here u will find parameter icm/host_name_full, so now set it as FQDN.
    6) Now copy ur settings with new version number.
    7) Activate that version.
    8) And now please restart ur WAS.
    So this will set ur FQDN, and also don't forget to login using Admin User.
    Now u also check for following service are active in your ICF setting or not,( just start transaction code SICF)
    /default_host/sap/bc/bsp/sap
    /default_host/sap/bc/bsp/sap/system
    /default_host/sap/bc/bsp/sap/public/bc
    /def ault_host/sap/public/bc
    /default_host/sap/public/bc/ur
    /default_host/sap/public/bsp/sap/public
    /default_host/sap/public/bsp/sap/public/bc
    /defaul t_host/sap/public/bsp/sap/system
    /default_host/sap/public/bsp/sap/htmlb
    if not then activate all.
    check this link
    Read this weblog...
    /people/brian.mckellar/blog/2003/09/25/bsp-in-depth-fully-qualified-domain-names
    http://www.thespot4sap.com/articles/SAP_WAS_Creating_BSP_Apps.asp
    it consists of screen shots also
    Check it.
    http://help.sap.com/saphelp_nw04/helpdata/en/c8/101c3a1cf1c54be10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/e9/bb153aab4a0c0ee10000000a114084/frameset.htm
    Regards
    Anji

  • How to view a BI query with anonymous user in the portal

    <b>Hi Gurus,</b>
    Does anybody knows how to view a BI query in the portal with anonymous user?
    Cause when i try to view a query the portal always ask for authentification. And i don't want to sign with a user cause my portal is for everybody and if the user logged in it shows the roles that previously were assigned.
    I have the Netweaver 2004 with SP9
    <b>Thank you Very Much</b>

    do you have sso configured between portal and BW server, if yes the authentication pop up should not come.
    if you dont want to do sso between portal and bw server and still want to logon to BW query with anonymous user,
    in you bw server go to transaction sicf and navigate to DEFAULT_HOST->SAP->BW->BEX and double click on bex node in the resulting window, log on details section provide a default userid/password
    Raja

  • I need to know how to force a https redirect in Adobe Muse if this can't be done please tell me so I don't waste any more time... please

    I need to know how to force a https redirect in Adobe Muse if this can't be done please tell me so I don't waste any more time... please

    Protocol usage and redirects are a server-side thing. This has nothing to do with designing the web page and thus nothing with Muse, either.
    Mylenium

  • How do make link between query and UDF

    How do you link a query to your UDF after you created the query and the UDF?
    Also do you have to set the UDF as type "general", and "link"?
    Please take me thru step?

    oh good - a discussion about whether to use "link" or "image" when having an image connected to a product!!!
    Billy and Suda - We had fun with this one some time ago in a project collecting additional data and images for the customer's products on the market.  As we were ramping up the project, we tried both ways of connecting an image to a product and there was a few drawbacks we found with using the UDF type of "General" and "Image":
    1.  The image was placed directly on the UDF portion on the Item Master - they were working in large TIFF (?) formats and the picture just looked horrible.  The approving manager could not tell if the image should be approved for press or not.  When he double-clicked on the image in the UDF portion it brought up another SAP window that wasn't quite crystal clear.
    2.  The image took up so much room on the UDF portion of the Item Master that the data entry personnel had to constantly scroll down to enter the other data points (color, size, branded promo, mixture, etc - there were about 12 fields).  Talk about being ticked!
    3.  While using the "General" and "Link" it addressed those concerns BUT there was one extra enormous advantage with this General/Link method.  When the image was brought up, it opened up the image automatically in a standard picture editor/manager program.  If they liked what they saw, they continued foward with the approval of the image for press runs.  If they did not like the image, they were able to manipulate the image at the moment and then follow through with approval (time saver for sure!).
    I am sure it all boils down to what the customer requirements are, but some other clients I demoed this to wanted to switch immediately after seeing that!  But definitely something to think about if you are planning on connecting an image to a product...
    Oh and she really is correct, Billy - I have never heard of anyone linking a query to a "link" or "image" type...I don' t know how you would even do that as the "link" or "image" selection leads you directly into the attachment and/or storage path and location...
    take care - Zal

  • Re:How to close and reopen a document immediately?

    Original Message available here:<br /><a href="/webx?14@@.3c055358">Dave Sykes, "How to close and reopen a document immediately?" #, 15 Nov 2007 4:46 am</a><br /><br />> Dave Sykes - 04:46am Nov 15, 2007 Pacific<br /> I would like to close a document and then immediately afterwards open it up again.<br />The documentation says "To process a command to close the document immediately, use IDocumentCommands::Close'', but it also points to SDKLayoutHelper::CloseDocument which uses IDocFileHandler::Close.<br />If I use IDocumentCommands::Close the close succeeds, but InDesign unexpectedly quits when it regains control.<br />If I use IDocFileHandler::Close then when I reopen the document I get the assert ``Calling SelectionExtentionRegistry::Initialize more than once!'' This is the same error I get by not closing the document at all.<br />I have also tried ProcessCommand(Utils<IDocumentCommands>()->CreateCloseCommand(docUIDRef)), but this also crashes InDesign when it regains control.<br />In all cases I am calling ProcessCommand(CmdUtils::CreateCommand(kCloseLayoutWinCmdBoss), as otherwise I get an error that the document is still referenced on close.<br />Is it possible to close all the layout windows and also close the document, so that it can be reopened immediately? <br /><br />I had the same issue and tried to solve it by closing all windows in the document's IWindowList and then calling IDocFileHandler::Close() with IDocFileHandler::kProcess to process the command immediately instead of scheduling it.<br />Unfortunately this still resulted in a crash.<br /><br />Eventually I got around it by adding the following line before re-opening the document:<br />CmdUtils::ProcessScheduledCmds (ICommand::kLowestPriority);<br /><br />This forced InDesign to completely close the document before re-opening it again.<br /><br />Hope this helps someone else too. :)<br /><br />- Jackeen

    I am having the same problem with InDesign CS4 version,
    I have tried the following:
    IDocFileHandler::Close() //with kSchedule command
    CmdUtils::ProcessScheduledCmds();     //Results into crash
    IWindowList::CloseAll()
    IDocFileHandler::Close() //with kSchedule command
    CmdUtils::ProcessScheduledCmds();     //Results into crash
    IDocumentList::CloseAll()
    IDocFileHandler::Close() //with kSchedule command
    CmdUtils::ProcessScheduledCmds();     //Results into crash
    IPresentationList::CloseAllPresentations()
    IDocFileHandler::Close() //with kSchedule command
    CmdUtils::ProcessScheduledCmds();     //Results into crash
    is Three anything else that could work.
    Thanks and Regards
    Saurabh Singhal

Maybe you are looking for