Timer Event Generator.

Hi there
I'm running WL Platform 8.1 SP4. I am using the timer event generator to fire requests to a channel/process. The timer is simply used to start a given process, there is no notion of message sent to it.
Issues
1) When defining a channel,
e.g
<channel name ="XToY" messageType="xml"
qualifiedMetadataType="eg:TimerEventGenerator" />
It seems I must define messageType="xml", if i define it as 'none' then it does not appear in the channel list when defining the timer event generator, therefore i cannot bind to it. So if I leave the messageType as xml, it appears. For the configuration of the timer, the message element is optional. Problem is when the timer now fires it throws the following error:
<08-May-2006 10:25:25 o'clock BST> <Error> <WLI-Core> <BEA-489030> <Error publishing Timer Event message for XToYTimerEG : com.bea.wli.mbconnector.MBConnMDBBase$MBConnectorException: Can't create proc
ess variable: com.bea.wli.mbconnector.MBConnMDBBase$MBConnectorException: Can't read XML (no root element)>
Any ideas?
2) Can someone direct me to any wlst scripts that allow the creation of a timer event generator in a cluster? ?I cannot find anything on dev2dev ?
TIA
Arvinder

Ok, you can basically leave the messageType as XML
and for the Timer EG configuration, for the optional message you can add <dummy/> this will fire the request and start a workflow or whatever is bound to the channel.

Similar Messages

  • Weblogic Timer Event Generator - How it works?

    Hello everyone!
    I have wrote simple wli-application, that subscribes to the message broker channel.
    I have deployed it to the cluster (managed servers 1 (ms1) and 2(ms2)). (I use Weblogic Server 10.3, cluster contains 1 admin server and 2 managed servers.)
    Than I have created the timer event generator (EG) via wliconsole and rule for this EG - to send message to the MB-channel every 30 seconds.
    Then I redeploy EG application via console (WLS Admin Console) from managed server 1 to cluster (m.servers 1 and 2) and start it.
    Everything started ok - I got messages to both instatnces of my application in the following way:
    15:30:00 - to instance on ms1
    15:30:30 - to instance on ms2
    15:31:00 - to instance on ms1
    15:31:30 - to instance on ms2
    ...and so on
    when I shut down ms2 - I started to receive messages to instance of my application on ms1 every 30 secodns. Here Everything is OK.
    Then I start ms 2 and got the picture like:
    15:30:00 - to instance on ms1
    15:30:30 - to instance on ms2
    15:31:00 - to instance on ms1
    15:31:30 - to instance on ms2
    ...and so on
    Then I shutdown ms1... And that's all - no messages to instance on ms2 :(
    I started ms1 and no messages on both instances - on ms1 and ms2..
    Can you explain me how Timer Event Generator works? What resources it uses? And how can I setup it to get load-balancing while both instances running and failover - when one of the instances shutdowned?
    Thanks in advance,
    Vladimir.

    Hi Vladimir, it seems like we must have different environments. I don't know if you used the latest version of wli or not...
    So, not exactly for you, but for someone who happens to read this post, and has the same problems we did...
    -- I've configured the cluster address using the IP i've assigned to the servers.
    --- it means that it is like: 192.168.70.120:8013,192.168.70.120:8113 - ip's & PORT, yes?
    Yes, that's the format we are using (http://download.oracle.com/docs/cd/E13222_01/wls/docs92/cluster/setup.html#wp751583)
    -- Configured the FrontEndHost and FrontEndPort with that same values as the AdminServer.
    --- and you have the http-proxy deployed on your admin server? 'cause front-end host and port - must be the host and port of http-proxy that performs load-balancing for requests to your processes on your managed servers.
    Actually we don't need the HTTP load balance, we only start the process via EG events, so we only benifit from load balancing on the JMS queues, but i had to configure this to be able to start the process. We had errors if we didn't configure this. We used the AdminServer address and port.
    -- Relocated the Persistent Stores and JMS Servers since some were incorrectly pointing to the AdminServer.
    ---I didn't understand about what p.stores you are talking about.. I meant that you must create new JDBC p.store with table in cgDataSource and targeted to migratable target. And than you must create a new jms-server, which hosted to this p.store.
    ...But I didn't retarget any existing p.stores......
    Once the domain was created (didn't do anything but to follow the wizard) we had the persistent stores (and underlying JMS servers) targeted to the AdminServer (obviously incorrect). So we retargeted them to the Managed Server.
    -- Created the JSP_<PROCESS> table in the database.
    --- and what is this? :)
    We had to create a table to persist the wli process state, because it is a statefull process (http://download.oracle.com/docs/cd/E13214_01/wli/docs102/dbtuning/wliTuning.html)
    The matter of fact is everything works fine, despite the exceptions i mentioned in the AdminServer, once it gets started... But it seems to have no negative impact on the application, and migration is done successfully
    I will continue to work on figuring out what the origin of those exceptions is, and if i manage to find a solution i, most surely, will post it here... One thing i find to be strange is that the exceptions start even before i have anything deployed to the Migratable Target... Once i create it and restart the server i get those messages, and we tried the Concensus configuration with NodeManager, as well as the Database configuration.
    I guess that what's really important for us now is that we do have fail over and load balancing working... :D
    I don't know if it would be abusive to ask you for that document of yours, maybe it has some clue on what's wrong in our config, but again, i understand if you can't share that =)
    By the way, i'm portuguese, but since google made the translator available, i guess i can manage russian documentation as well ;)
    I can't tell you how gratefull i am for your help, and for sharing your previous experience with the rest of us. If it wasn't for your altruism i guess i would be stuck with this for much longer... you sure saved my day... BIG BIG thank you..
    Once again, thank you and i wish you all the best !!! I just wished i could be helpfull to you sometime =)

  • Query WLI Timer Event Generator's status

    Hi guys,
    I am using WLI 10.3. Does anyone know how to query the status of Timer Event Generator programatically?
    I am able to create and start the timer programatically through JMX and WebLogicDeploymentManager but not getting the status
    of timer. It doesn't even look like this is possible through TimerEventGenRuntimeMBean or am I missing something?
    Thanks
    Sam

    Ok, you can basically leave the messageType as XML
    and for the Timer EG configuration, for the optional message you can add <dummy/> this will fire the request and start a workflow or whatever is bound to the channel.

  • Using WLST: Unable to create WLI Timer Event Generator

    Hello,
    I'm trying to create a WLST script, whcih will create Timer Event Generator on WLI 9.2 MP2.
    Though to some extent script runs perfect, but it gives error when calling MBean egCfgMBean = getTarget("TimerEventGeneratorss/TimerEventGenerators")
    Here is my script:-
    import weblogic.Deployer
    import com.bea.wli.mbconnector.timer as timereggen
    import com.bea.wli.mbconnector.file as fileeggen
    import com.bea.wli.management.configuration as wlicfg #Must have wli.jar in classpath
    import java.lang.Boolean as bool
    import jarray
    import sys
    print 'Starting the Timer Event Generation Configuration script .... '
    if connected != 'true':
    print 'Connecting to weblogic server .... '
    connect(userName,passWord,URL)
    else:
    print 'Connected'
    try:
    print "Creating Timer EG ", timerEgName
    timereggen.TimerConnGenerator.main(["-inName", timerEgName,"-outfile", domaindir + "/" + "WLITimerEG_" + timerEgName + ".jar"])
    #timereggen.TimerConnGenerator.main(["-inName", timerEgName,"-outfile", domaindir,"-destJNDIName",jndiName])
    #timereggen.TimerConnGenerator.main(["-inName", timerEgName,"-outfile", domaindir])
    #wlst.config()
    custom()
    #egCfgMBean = wlst.getTarget("TimerEventGenerators/TimerEventGenerators")
    egCfgMBean = getTarget("TimerEventGeneratorss/TimerEventGenerators")
    egMBean = egCfgMBean.newTimerEventGenConfigurationMBean(timerEgName)
    #egMBean = cmo.getTimerEventGenConfigurationMBeans()
    cData = jarray.zeros(1, wlicfg.TimerEventGenChannelConfiguration)
    print 'pass one'
    cData[0] = wlicfg.TimerEventGenChannelConfiguration()
    cData[0].setChannel(channel)
    cData[0].setEffective(effectiveTime)
    #cData[0].setExpiry(expiryTime)
    cData[0].setFrequency(frequency)
    cData[0].setMessageContent(message)
    cData[0].setCalendarName(calendar)
    cData[0].setPublishAsUser(publishAsUser)
    egMBean.setChannels(cData);
    appName = "WLITimerEG_" + timerEgName
    deploy( appName, domaindir + "/" + appName + ".jar", adminServerName, "nostage" )
    cd("Applications/" + appName)
    set("LoadOrder", 1500)
    cd("../..")
    print "script returns SUCCESS"
    except:
    print "ERROR: configuration"
    #dumpStack()
    # Finished
    print 'Disconnecting from server...'
    disconnect('y')
    print 'Finished.'
    exit()
    I really need some help to fix this issue.
    Thanks
    dig

    Hi,
    RDBMS Event Generator Channel Rule Definition
    When you are creating channel rule definitions in the WebLogic Integration Administration Console, it is recommended that you do not use the Back button if you want to resubmit the details on a page.
    You should always use the navigation links provided and create a new channel rule definition.
    http://download.oracle.com/docs/cd/E13214_01/wli/docs85/deploy/cluster.html
    http://download.oracle.com/docs/cd/E13214_01/wli/docs81/relnotes/relnotesLimit.html
    http://otndnld.oracle.co.jp/document/products/owli/docs10gr3/pdf/deploy.pdf
    This problem has been seen in the past when defining the channel rule for an RDBMS Event Generator if schema name was specified with the incorrect case (i.e. lowercase when it should have been uppercase or vice versa). To that end, it is suggested to change the case of the schema when creating the channel rule
    Regards,
    Kal

  • Edit Timer Event Generator MBean-Weblogic 9.2

    As of new 9.0 api ,MBeanHome interface is deprecated & I have to use standard javax.management classes to connect to mbean servers.
    I am been able to manage the mbean under weblogic server.
    By using MBeanHome.getMBeansByType(TimerEventGeneratorsMBean.TYPE) in old API I can easily manipulate the properties.
    But how can I get the Event Generator MBeans & manage their properties in new 9.0 api?
    I am really worried & could not get any proper documentation of manipulating WLI Mbeans in new API.
    Thanks in advance.

    As of new 9.0 api ,MBeanHome interface is deprecated & I have to use standard javax.management classes to connect to mbean servers.
    I am been able to manage the mbean under weblogic server.
    By using MBeanHome.getMBeansByType(TimerEventGeneratorsMBean.TYPE) in old API I can easily manipulate the properties.
    But how can I get the Event Generator MBeans & manage their properties in new 9.0 api?
    I am really worried & could not get any proper documentation of manipulating WLI Mbeans in new API.
    Thanks in advance.

  • Weblogic Integration - Timer Event

    (Sorry about my english, but it isn't my native language)
    Hi, I'm working with weblogic integration 8.1 sp6 and I didn't found enough documentation about Timer Event. When I'm creating a new Timer Event Generator, Weblogic Integration Administrative Console required 2 parameters (Generator Name and JMS Connection Factory JNDI Name), and JMS Connection Factory JNDI Name show three options (weblogic.jws.jms.QueueConnectionFactory, wli.internal.egrdms.XAQueueConnectionFactory and com.bea.wli.b2b.server.TopicConnectionFactory). My question is: What is the best "JMS Connection Factory JNDI Name" option?.
    Thanks in advance.

    (Sorry about my english, but it isn't my native language)
    Hi, I'm working with weblogic integration 8.1 sp6 and I didn't found enough documentation about Timer Event. When I'm creating a new Timer Event Generator, Weblogic Integration Administrative Console required 2 parameters (Generator Name and JMS Connection Factory JNDI Name), and JMS Connection Factory JNDI Name show three options (weblogic.jws.jms.QueueConnectionFactory, wli.internal.egrdms.XAQueueConnectionFactory and com.bea.wli.b2b.server.TopicConnectionFactory). My question is: What is the best "JMS Connection Factory JNDI Name" option?.
    Thanks in advance.

  • Delete event generator using wlst

    Hi guys,
    Does someone know if it is possible to find timer event generator by its name and delete it in Weblogic(version 9.2.3) using wlst?
    Thanks

    You could see this informantion here:
    http://docs.oracle.com/cd/E14981_01/wli/docs1031/deploy/cluster.html#wp1519038

  • How to use single Timer to generate PWM PULSE, Pulse ON time measuremen​t, Event time measuremen​t1,Event time measuremen​t2

    Hi,
    I am planning to use a single Timer to generate PWM PULSE, Pulse ON time  measurement, Event time measurement1,Event time measurement2 some one please suggest me how can I achive this.
    Thanks in advance..
    Michael

    Hi Michael,
    It would be really good to understand your application a little more so that any specific needs that you have may be met. In the meantime, I would also suggest searching on ni.com for "pwm" or other keywords that relate to your application. You will see a faceted navigation on the left side that allows you to narrow your search for example code, tutorials, etc.
    Please post back with more information and the community will be able to help out with suggestions.
    ni.com search for "pwm"
    Mark E.
    Precision DC Product Support Engineer
    National Instruments
    Digital Multimeters (DMMs) and LCR Meters
    Programmable Power Supplies and Source Measure Units

  • Config event generator to log when file didn't arrive at certain time?

    hi everyone
    is it possible to configure a file event generator to write a log if certain files did not arrive at pre-defined time? or any event generator to log if certain events did not happen at specified time? thanks in advance.
    Message was edited by chendongtom at Sep 13, 2004 10:23 AM

    Hi,
    I don't think, it is possible.
    What you can do is:
    Don't use file EG, but a timer EG, which kicks off a workflow, using a file control to look for/read in/.. the file and do some reporting afterwards.
    You do not have to kick-off the workflow at the exact time, but also can do it 2 hours (for example) before and use a timer inside the workflow for watching a time period for the arrival of the file.
    Keep in mind that WLI timers are not 100% exact because they are JMS based, so it is guranteed not to be started before, but can start a little bit later than start-time.
    If you are using already a scheduling system like Control-
    M, you can also leverage this to start the workflow.
    -Kai

  • Time evaluation generate check out entry

    Dear Gurus,
    How can we generate Check out entries thru Time evaluation?
    The sales employees come to office in the morning, they punch in and leave for sales activity. They don't get overtime, but pay / absence quota deducted if they don't check in in the system.
    While running Time evaluation, I am getting error in TE03 (delimiting error). I hv tried creating second entry using TF00. Its not working. Has anybody any solution for this?
    Regards,
    Vijay

    Hi Gurus,
    I am rephrasing my requirements.  have 2 queries,
    1. Sales Employees make only Clock In entries. System should generate the clock out entry or should not throw any error message. System should consider total working time from daily work schedule.
       - TE30 function is generated the entry in TEVEN table based on planned end time, but we need to create the entry in IT2012 otherwise, while processing next days entry, it generates error.
       - Will TF00 create an entry in Time Events IT2051 ? IF yes, how can I tweak TF00 rule to generate Time out entry.
    2. General Staff working hours need to be calculated from Shift Start even if they come early. Max working time is 12 hours with 4hrs from start of end of Shift period
       - If shift start is 7AM, I have defining Start tolerance as 6AM to 7:05AM, but still the system is considering the Clock In time for hours worked. 
    I have to write this condition. How to write ?
       If Clock-in Time < Start Time
          Then   TIP->From = Start Time
    I believe it has to be put in TL10 after rounding the Check in & check outs.. so as to update table TIP,
    Please suggest,
    Regards,
    Vijay

  • How to determine the event generating component in RESTORE-VIEW phase

    Hi,
    I have performance issues with my application.
    I am using PPR for components within the CoreTable. The table-model for this ADF-CoreTable is coded in java instead of binding it to PageDef table.
    The PageDef for the JSF page is heavily loaded with other objects & therefore there a delay in response. I have also found out that maximum time is lost after the RESTORE_VIEW process to before APPLY_REQUEST_ VALUE phase.
    Not sure if I am doing it right, but this is what I plan to do.
    On determining the event from CoreTable components, I want to bypass the ADF phase by passing null to all ADF Phases
    initContext(null)
    prepareModel(null)
    & before Invoke application
    prepareRender(null)
    Is there a way to determine the event generating component in the PhaseListener class?
    This is a ADF 10g project developed on JDeveloper 10.1.3
    Thank you,
    Prakash

    Just for other readers,
    I attempted to create a button to toggle a session scope Flag for test & proceed. However I was still unable to skip the ADF phase.
    In a self defined PhaseListener I also tried to remove ADFPhaseListeners before RESTORE_VIEW & reinstate it back in before RENDER_RESPONSE. Except the ADF InitContext() & processValidation() which run immidately after RESTORE_VIEW all other calls to ADF Phases were skipped.
    The reasults were not helpful to proceed as I need to entirely skip/bypass the ADF lifecycle to achieve the quick responce.
    Thank you

  • Upload Time Events to SAP System

    Our client is not using any standard SAP approved time swap in-out machine, they have a locally manufactured machine installed at the factories. Client need to implement Positive time management. On daily basis a text file will be generated from Time machine that need to upload into SAP system. This file contains all the In-Out timings of employees at work, this may also contain the error data like double In or double out, only In, only out etc.
    We tried to confess them to check the data before uploading to SAP, client is not ready for that, since data is heavy.
    Our understanding:
    Using Report RPTCC106 we can upload the time events data from non-sap to SAP through logical systems using IDoc then post the time data using report SAPCDT45. We can check all incorrect  time data from Time management Pool, then all corrected data will be posted to table TEVEN and IT 2011.
    But we are unable to process these steps.
    Can you please recommend us the best practices for implement the positive Time management in these scenarios.
    Thanks in Advance
    Imran Yoosuf
    [email protected]

    Hello Imran,
    I'm facing a similar situation here.  Have you resolved this issue?  If so, please could you post it here?
    Thanks and regards,
    Vivek Thomas

  • How to validate overtime (IT2005) with time event (IT2011)

    dear gurus,
    how can i validate overtime, so only overtime that occurs within time event (IT2011) which can be paid ?
    example:
    work schedule: 08.00 - 17.00
    IT2011: 08.00 (P10 - clock in),  19.00 (P20 - clock out)
    IT2005: 17.00 - 20.00
    when run PT60, i want the system to calculate overtime from 17.00 - 19.00 (not 17.00 - 20.00).
    how can i configure the system?
    thank & regards,

    Hi
    There are multiple issues here ...
    i.Why are you maintaining both IT2005 and IT2011 at the same time.OT calculation can be done through IT2011 solely...
    ii.Anyway if you still want to write a rule yu can try as per the spec given below:
    1. Generate a custom Time Type say 9999
    2. Make a rule like OUTTPERTYP if P20 then SCOND=T IF otherwise SCOND=F IF.
    3. If SCOND=T IF then write a rule saying that HRS=PEND
    4.HRS-SWTE
    5.ADDDB9999
    6.ELSE SCOND=F IF VARSTP2005 (Entry exists if Y then check 9999..if 9999 is not ZERO then Kill the time types of P2005)
    7.Otherwise Pass On...do nothing..

  • WLI MQ Event Generator Tuning

    Greetings:
    I have a MQ Event generator that subscribes to a qlocal and publishes messages onto a channel read by a business process.
    I need to process around 10 messages a second syncronously through this process (fifo), judging by the process instance monitoring I am able to process most transactions in <.1 seconds. However, it doesn't seem like the event generator is polling/publishing fast enough to fully utilize the efficiency of the process. I routinely have thousands of messages backing up on the queue awaiting processing. I have tried different configurable params on the event generator (500 messages every 10 seconds, 1 msg every 100 msecs etc) to no avail... i still only seem to be pulling one message in just under a second.
    I'm wondering where I can tune this piece of the application. All my threads seem pretty free etc...
    Any help would be greatly appreciated. Thanks!

    Suspending / resuming event generators is nothing else then undeploying /redeploying the component, which is building up the event generator (either a MDB or a servlet). That can be done via the JMX Api.
    If you are using Timer events , you have to do that inside a workflow. A cron job calling a script could do that less resource intensive (or use whatever scheduling system which is available like Control-M ...)
    Be also aware that WLI timers are JMS based, so an event is only guaranteed to be raised not before the scheduled time, but maybe not exactly at the scheduled time.
    -Kai

  • New article: Exploring the WebLogic Integration 8.1 RDBMS Event Generator

    Dev2Dev has just published an article that you may be interested in:
    Exploring the WebLogic Integration 8.1 RDBMS Event Generator
    http://dev2dev.bea.com/pub/a/2007/02/rdbms-event-generator.html
    If you'd like to write for Dev2Dev on a WebLogic Integration (or any other) topic, please contact me!
    Regards,
    Jon
    Jon Mountjoy - Editor, Dev2Dev - http://dev2dev.bea.com/pub/au/13

    If you are using a cluster you need to make sure the connection pool and data source are deployed on the admin server. I have had this problem many times before.

Maybe you are looking for

  • Ios 7 calendar does not show events 2 years in the future

    Why does ios 7 calendar does not show events 2 years in the future? I've entered the events more than twice and it all shows up in the OSX calendar but not on my iphone.

  • Regarding creation of an invoice/open-item via FB01 or F-22

    Hello All, I was trying to post an invoice/open item in a customer's account. I used the transaction code fb01 or we can also use f-22 for the same. I was confused regarding what posting keys to use to have a debit and a credit entry while creating a

  • No ios5 on itunes 10.5?

    i juz update itunes to 10.5, but when i plug in my itouch4g then click check for update, there's no ios5 :( i try click several times but still the answer is "4.3.3 is the current version". why is dat? and how can i get ios5 for my itouch4? :( plz he

  • BOM with mile stone billing (order related)

    Hi Gurus, Can any body tell me soln for the following scenario. Order type                OR Material                    BOM Material(header) Item cat                    Taq &TAE Billing type                  01(mile stone) Requirenent               

  • Errors when installing CS 5.5 for Mac

    Hi, I just purchased and tried to install Adobe CS 5.5 Design and Web Premium software. The installer listed the following errors: Exit Code: 6 -------------------------------------- Summary -------------------------------------- - 0 fatal error(s),