Schedule File Polling in 11g

Hi,
I'm looking to set up a BPEL that polls files only between 11pm and 2am. Could someone please provide some insight?
I've looked into Quartz, at the following artice:
http://www.oracle.com/technetwork/middleware/soasuite/learnmore/soascheduler-186798.pdf
However, this article only dealt with BPEL exposed as web service. Is there a similar or simpler way of fulfilling my requirements?
Regards,
Debojit

Hi Debojit,
You can pay some thought to using File Based Triggers. (with TriggerFileStrategy as EveryTime ).
http://docs.oracle.com/cd/E21764_01/integration.1111/e10231/adptr_file.htm#CIAJCBGI
Basically, you'll need to have another process that will keep the trigger file at around 11.00PM. At this trigger, your File Adapter (polling every 1 hour or 30 mins) will read the file.
Not saying this would be the best solution, but think about it if it helps.
http://neeraj-soa-tips.blogspot.com/2012/04/polling-files-on-demand-file-based.html
Regards,
Neeraj Sehgal

Similar Messages

  • Location of query log files in OBIEE 11g (version 11.1.1.5)

    Hi,
    I wish to know the Location of query log files in OBIEE 11g (version 11.1.1.5)??

    Hi,
    Log Files in OBIEE 11g
    Login to the URL http://server.domain:7001/em and navigate to:
    Farm_bifoundation_domain-> Business Intelligence-> coreapplications-> Dagnostics-> Log Messages
    You will find the available files:
    Presentation Services Log
    Server Log
    Scheduler Log
    JavaHost Log
    Cluster Controller Log
    Action Services Log
    Security Services Log
    Administrator Services Log
    However, you can also review them directly on the hard disk.
    The log files for OBIEE components are under <OBIEE_HOME>/instances/instance1/diagnostics/logs.
    Specific log files and their location is defined in the following table:
    Log Location
    Installation log                     <OBIEE_HOME>/logs
    nqquery log <OBIEE_HOME>/instances/instance1/diagnostics/logs/OracleBIServerComponent/coreapplication_obis1
    nqserver log <OBIEE_HOME>/instances/instance1/diagnostics/logs/OracleBIServerComponent/coreapplication_obis1
    servername_NQSAdminTool log      <OBIEE_HOME>/instances/instance1/diagnostics/logs/OracleBIServerComponent/coreapplication_obis1
    servername_NQSUDMLExec log                          <OBIEE_HOME>/instances/instance1/diagnostics/logs/OracleBIServerComponent/coreapplication_obis1
    servername_obieerpdmigrateutil log (Migration log)           <OBIEE_HOME>/instances/instance1/diagnostics/logs/OracleBIServerComponent/coreapplication_obis1
    sawlog0 log (presentation)                          <OBIEE_HOME>/instances/instance1/diagnostics/logs/OracleBIPresentationServicesComponent/coreapplication_obips1
    jh log (Java Host)                               <OBIEE_HOME>/instances/instance1/diagnostics/logs/OracleBIJavaHostComponent\coreapplication_obijh
    webcatupgrade log (Web Catalog Upgrade)                <OBIEE_HOME>/instances/instance1/diagnostics/logs/OracleBIPresentationServicesComponent/coreapplication_obips1
    nqscheduler log (Agents)                          <OBIEE_HOME>/instances/instance1/diagnostics/logsOracleBISchedulerComponent/coreapplication_obisch1
    nqcluster log                                    <OBIEE_HOME>/instances/instance1/diagnostics/logs/OracleBIClusterControllerComponent\coreapplication_obiccs1
    ODBC log                                    <OBIEE_HOME>/instances/instance1/diagnostics/logs/OracleBIODBCComponent/coreapplication_obips1
    opmn log                                    <OBIEE_HOME>/instances/instance1/diagnostics/logs/OPMN/opmn
    debug log                                    <OBIEE_HOME>/instances/instance1/diagnostics/logs/OPMN/opmn
    logquery log                               <OBIEE_HOME>/instances/instance1/diagnostics/logs/OPMN/opmn
    service log                                    <OBIEE_HOME>/instances/instance1/diagnostics/logs/OPMN/opmn
    opmn out                              <OBIEE_HOME>/instances/instance1/diagnostics/logs/OPMN/opmn
    Upgrade Assistant log                         <OBIEE_HOME>Oracle_BI1/upgrade/logs
    Regards
    MuRam

  • Error when exporting to flat file in ODI 11g

    This works ok in ODI 10g. I'm using IKM SQL to File Append on Windows Server 2008 R2
    Getting the following error when exporting to a flat file in ODI 11g: ODI-40406: Bytes are too big for array
    I've seen a couple of threads like this on the forum, but I've never seen an answer to the problem.

    Problem is with the difference in behaviour for the IKM SQL to File Append KM between 10g and 11g.
    Our 10g target file datastore had a mixture of fixed string and numeric columns. Mapping from the source to target was simple one to one column mapping. It generated the desired fixed format flat file; numerics were right adjusted with embedded decimal point and leading spaces. Each numeric column in the generated flat file occupied the exact space allocated to it in the layout. This gave the desired results, even though documentation for the 10g IKM states that all columns in the target must be string.
    When we converted to 11g and tried to run this interface, it generated an error on the "numeric" columns because it was wrapping them in quotation marks. The result column was being treated as string, and it was larger than the defined target once it acquired those quotation marks.
    In order to get 11g to work, I had to change all the numeric columns in the target data store to fixedstring 30. I then had to change the mapping for these numeric columns to convert them to right adjusted character strings (i.e. RIGHT(SPACE(30) + RTRIM(MyNumericColumn),30).
    Now it works.

  • How to set image source path in formsweb.cfg file in forms 11g

    Hi,
    I had written HTML code in the formsweb.cfg file in forms 11g. In the below code i am unable to retrive image file(i.e., .gif, .jpeg) from the server or local machine.
    In the below HTML code i set image source in the image tag as below:
    <img src="E:\Oracle\Middleware\Oracle_FRHome1\tools\web\html\agilis-life-new11_04.GIF"
    Is this correct path to fetch the images from the server or local machine .
    Please help me out how to set path for image in html or is there any alternate process to retrive images.
    Here is the code :
    [INDIVIDUALUAT]
    workingDirectory=D:\Aims10dev\Work
    form=LMstartup.fmx
    userid=rmenu/rmenu@RLIFEQA64
    codebase=/forms/java
    imageBase=codebase
    width=1005
    height=750
    WebUtilArchive=/forms/java/frmwebutil.jar,/forms/webutil/jacob.jar
    WebUtilLogging=off
    WebUtilLoggingDetail=normal
    WebUtilErrorMode=Alert
    WebUtilDispatchMonitorInterval=5
    WebUtilTrustInternal=true
    WebUtilMaxTransferSize=16384
    baseHTMLjinitiator=webutiljini.htm
    baseHTMLjpi=webutiljpi.htm
    archive_jini=frmall_jinit.jar,life-icons-round.jar,Agilis_Icon.jar,life_Icon.jar,personalize.jar,hyperlink.jar,amazingbutton.jar
    archive=frmall.jar
    separateFrame=False
    lookandfeel=Generic
    EndUserMonitoringURL=True
    usesdi=yes
    #HTMLbeforeForm= <table width="1005" border="0" cellspacing="0" cellpadding="0"><tr><td width="200"><img src="/forms/html/agilis-life-logo.gif" width="200" height="80" /></td><td width="10"><img src="/forms/html/agilis-life-new11_02.gif" width="36" height="80" /></td><td width="805" valign="top" background="/forms/html/agilis-life-new11_03.gif"></td></tr></td></tr></table>
    HTMLbeforeForm=<body topmargin="0" leftmargin="0" > <table width="1005" height="100" border="0" cellspacing="0" cellpadding="0"><tr><td width="200" valign="bottom" ><img src="E:\Oracle\Middleware\Oracle_FRHome1\tools\web\html\agilis-life-logo.gif" width="200" height="80" /></td><td width="10" valign="bottom" ><img src="E:\Oracle\Middleware\Oracle_FRHome1\tools\web\html\agilis-life-new11_02.gif" width="36" height="80" /></td><td width="550" valign="bottom" ><img src="E:\Oracle\Middleware\Oracle_FRHome1\tools\web\html\agilis-life-new11_03.gif" width="550" height="80" /></td><td valign="bottom"><table width="219" height="90" border="0" cellspacing="0" cellpadding="0"><tr><td height="36" valign="bottom" align="center"><img src="E:\Oracle\Middleware\Oracle_FRHome1\tools\web\html\agile-logo.jpg" height="36"></td></tr><tr><td height="10" valign="bottom"> <div align="right"><span style="font-family:Arial, Helvetica, sans-serif; font-size:12px; font-weight:bold; text-decoration:none; color:#00000; " >Home | Change Password | Logout</span></div></td></tr><tr><td colspan="3" valign="bottom"><img src="E:\Oracle\Middleware\Oracle_FRHome1\tools\web\html\agilis-life-new11_04.GIF" width="100%" height="39" /></td></tr></table></td></tr></td></tr></table></body>

    AFAIK, this is not the correct way to set the image location.
    We call the working directory as context, so inside the context root along with WEB-INF, maintain a folder with name img and put all the images in that directory.
    You can use either .\<image_folder> or the optimum way would be (if you are using JSPs) to use getContext() method and traverse accordingly.
    FYI,,, using getContext() will give you context root directory, from there it is as simple as accessing any other folder.
    Hope this answers your question.
    Cheers,
    Jeets.

  • File occasionally stuck in staging on File Poller Proxy Service

    Hi All,
    I'm having some problems with a File Poller Proxy Service. The Proxy reads xml files in a polling shared directory and puts the message in a queue. The files are small (<1kbytes).
    The problem is that occasionally the file gets stuck in the staging directory and never gets to the jms queue. If I cut the file and paste it again in the polling directory, it gets processed fine.
    Any ideas?
    Thanks.

    I have one cluster on the web logic server with 4 managed servers in it.
    The proxy runs on ms1, and the staging directory is on a different physical server shared folder.

  • Write data to a file in OBPM 11g

    How to write data to a file in OBPM 11g?
    I want to capture all the data from the begin of an instance through the end. Please let me know how to do it.
    Thanks in advance..

    Hi Dharwat,
    Thanx for your answer. That class you mentioned needs an instream and an outstream. I have only an outstream.
    My program produces a normal ascii report data, but i must write into a file in UTF-16 format (that's what the customer want
    I know also class CL_ABAP_CONV_OUT_CE, but i don't know how to use it for an UTF-16 output.
    I hope someone can expain me very clearly how it works for an UTF-16 together with the open dataset statement.
    Thanx anyway.
    Gr., Frank
    Edited by: F. Bernsen on Nov 17, 2008 12:46 PM

  • Is there any java File Poller class example??

    Dear Sir:
    My project requires to write a java class to perform something like File Poller function,
    ie. this File Poller Class will monitor some remote or local location/directory, then when some files were dropped in this location,
    File Poller Class will pick them up then do next such as put them somewhere else or parse etc.
    I google for a while, did not find a good example. can some guru here help post a good File Poller class example ??
    Thanks
    Sunny

    yawmark wrote:
    you could do a lot worse than use [Apache Camel|http://activemq.apache.org/camel/]...
    I thought Apache Camel was Perl. Oh, wait...
    ;o)
    ~Heh heh
    Just to pre-empt the [next gag|http://activemq.apache.org/camel/what-is-a-camel-toe.html]

  • How can i pass the name of the file polled by the file adapter to next step

    Hi XI guru's ,
    How can i pass the name of the file polled by the file adapter to next step in a BPM..?
    regards,

    Use Adapter-Specific Message Attributes and map that value in udf to the BPM message.
    Also see this
    /people/michal.krawczyk2/blog/2005/06/11/xi-how-to-retrieve-messageid-from-a-bpm
    Regards,
    Prateek

  • Does anybody know how Oracle load large N-Triple file into Oracle 11g R1?

    Does anybody know how Oracle load large N-Triple(NT) file into Oracle 11g R1 by using sql*loader according to their benchmark results?
    Their benchmark results indicate they have over come the large data set problem.
    http://www.oracle.com/technology/tech/semantic_technologies/htdocs/performance.html
    It means they have loaded LUBM 8000(1.068 Billion+ Triples) into Oracle successfully, but there is no detailed steps provided. For instance, 32-bit or 64-bit platform they used, only one NT file being used corresponding to one dataset or several NT files?
    Is there any exception occured during the loading process if the NT file beyond 60GB? When using jena to generate NT file against LUBM(8000), the size of the NT file would definitely beyond 60GB.
    We are dividing such large NT file into several small ones? Is it a good approach? I'm hesitating to do so!

    A Linux 32-bit platform was used for bulk-load of LUBM-8000 1.106 billion (before duplicate elimination) RDF triples into Oracle.
    Multiple gzipped N-Triple files were used to hold the LUBM-8000 data. zcat was used on all these files together to send the complete data into a named pipe. SQL*Loader used this named pipe as the input data file to load the data into a staging table in Oracle. Once the staging table was loaded, the sem_apis.bulk_load_from_staging_table API was used to load the data into Oracle Semantic Store.
    (Additional details in http://www.oracle.com/technology/tech/semantic_technologies/htdocs/performance.html )
    Thanks.

  • Modifying the configuration files in OBIEE 11g

    Hi
    We are facing an error when we tried to to add "<DashboardMaxBeforeMenu>" tag in the instanceconfig.xml manually and restart the presentation services of OBIEE 11g .
    I had come across few suggestions that, configuration files in OBIEE 11g cannot be modified manually. I am doubtful on these suggestions . So please, let me know for sure wether we can modify the configuration files in OBIEE 11g manually or not.
    It will be very helpful if the process to modify the configuration files in OBIEE 11g is shared with us.
    Thanks.

    Hi,
    I could not tell you whether the; <DashboardMaxBeforeMenu>10</DashboardMaxBeforeMenu> still works in 11g.
    What I do know is that you could manually edit the configuration files. The only thing is when you modify this file via the Enterprise Manager, your customizations get lost. You have to manually add them again.
    Cheers,
    Daan Bakboord
    http://obibb.wordpress.com

  • File poller (please help)

    Hello!
    I have to create a file poller programm, which should search different files (filename is unknown) in a directory of the application server (like AL11). Is there a FM, which has these functionality? Or something else (Method/BAPI)?
    Thanks a lot!
    André Klos
    Message was edited by: André Klos

    Hi,
    Check this link,
    <u>http://www.sapdevelopment.co.uk/file/file_getdirfiles.htm
    http://www.sapdevelopment.co.uk/file/file_disall.htm</u>
    Hope it helps u.
    Kindly reward points if u find it useful.
    Thanks&Regards,
    Ruthra

  • Took backup of data files and controlfile but not archive file db is 11g xe

    took backup of data files and controlfile but not redo file db is 11g xe r2..was trying complete shut backup,..missed redo..
    anyway to restore the db back..
    I had failed to backup redo log file..
    db was shut...properly
    any info highly appreciated.
    cheers
    Edited by: zycoz100 on Feb 27, 2013 4:42 AM

    A controlfile create is a fairly trivial task, for either a cold backup or hot backup scenario. Well, its an easy task after you've done the process a few times.
    If you have a healthy oracle instance running any place else, preferably at 11gR2, or even a 10g instance can work as an example, get a system connection and do an `alter database backup controlfile to trace;` and the instance will create a new trace file with all SQL commands needed to rebuild the controlfile in the instance trace directory.
    Have a look at the trace file, a `show parameter diag` reveals the diagnostic_dest parameter, look for the "trace" directory under that folder, for the latest *trc file. In 10g its `show parameter dump` and the trace file goes straight to the user_dump_dest directory, no digging required.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • File polling in cluster environment

    We have a cluster environment with two servers(say, osb_server1 and osb_server2) and a proxy service is configured with file polling using HAfileAdapter.
    When executing this service immediately after activation, for first time, the server “osb_server2” throws error as,
    Caused By: BINDING.JCA-11042
    File deletion failed.
    File deletion failed.
    File : /**Path**/filename.txt as it does not exist. could not be deleted.
    But for consecutive attempts, the osb proxy service is processed by “osb1_server1” and we are not getting the above mentioned error.
    In short, We face the issue as below only when executing first time after “Activate” session but the consecutive attempts doesn’t throw error.
    Why such error occurs when executing in cluster environment?
    Thanks in advance.

    try to use the file protocol provided by osb.And select the polling server as on eof the managed server.

  • BEA-423442-Exception while starting the client classifications file poller

    While Weblogic 10.3.2 server is started, below error is displayed in console. Please provide if any solution for this.
    <netuix> <BEA-423442> <Exception while starting the client classifications file poller: [java.lang.AbstractMethodError]
    java.lang.AbstractMethodError
    at com.bea.netuix.xml.util.DomToolkit.parse(DomToolkit.java:166)
    at com.bea.netuix.xml.util.JDomToolkit.build(JDomToolkit.java:45)
    at com.bea.netuix.client.repository.ClassifierRepository.getDocumentFromInputStream(ClassifierRepository.java:339)
    at com.bea.netuix.client.repository.ClassifierRepository.createRepositoryFromInputStream(ClassifierRepository.java:326)
    at com.bea.netuix.client.ClientClassifierImpl.<init>(ClientClassifierImpl.java:103)
    Truncated. see log file for complete stacktrace

    Hi Angel,
    Please see the following doc for instructions on starting an OMS.
    http://docs.oracle.com/cd/E24628_01/doc.121/e24473/emctl.htm#BABFEEAJ
    Regards,
    - Loc

  • Schedule file adapter

    Hi All,
       <b>Is it possible to Schedule file adapter without using BPM.
       Ex for same scenario:
       file 1
        field 1 = 'a'
       file 2
        field 1 = 'b'</b>
    I want to post 'file 2' only after 'file 1' successfully posted in SAP.
    If 'file 1' not posted successfully then 'file 2' will not post and wait in XI for 'file 1'.
    <b>Note:</b>Thease two file's using same Message Type in SAP, i.e. both are belong's to same scenario's.

    As Udo said it is not possible without using (as of now).
    If you have not seen these docs, check them out.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d458a870-0601-0010-caab-b99c79741964
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/4f61fddf-0601-0010-7ab5-fb749538f6ab
    regards
    Shravan

Maybe you are looking for

  • How can I email using UTL_SMTP with a csv file as an attachment?

    Dear All, It would be great if someone could help me. I am trying to use UTL_SMTP to email with a csv file as attachment. I do get an email with a message but no attachment arrives with it. In fact the code used for attaching the csv file gets append

  • In addition to deleting files, what can I do to speed up my MacBook?

    Hello! My MacBook Pro (mid-2010 w/ 16gb of memory and 250gb hard drive) has been running really slow. I know I need to delete a ton of files as my internal disk is near full. My questions are: My system report says the majority of disk space is being

  • Micro SD HCI card

    I have a nokia n 79 in there the memory card is 4 GB suddenly I get a massage that "disk error try again or data will lost" after that I try to format my card but it show insert the disk or I check the property in there it show 0 byte free or use , I

  • Algorithm for Unix crypt function in PL*SQL

    Does anyone have similar sample in PL*SQL that does what crypt function is doing in Unix (C)? man cryptReformatting page. Wait... done User Commands crypt(1) NAME crypt - encode or decode a file SYNOPSIS crypt [ password ] DESCRIPTION crypt encrypts

  • Using Multi Dimensional Database

    Hi All, I have a query. Below is the example scenario. Please correct me if am wrong. There is a requirement of a report which contains Two fields from Essbase, and One field from HFM(Hyperion Financial Management). Our HFM runs on Oracle. I can impo