Random event generator

I'm in the middle of making a simple game with java and am just wanting to ask what class/method would be best for some kind of random event generator. What i'm looking for is for a pool of ten or so events to occur at random over a given time frame that won't overlap with each other (so only one event happens at a time). The time between events should also be random (3 secs, event, 5 secs, event, 1 sec, event, etc.).
Any suggestions?

Make the events all implement java.lang.Runnable.
Put them in an array or java.util.List<Runnable>.
Have a loop, probably in its own thread. Before the loop starts, instantiate a java.util.Random. One each run through the loop:
1) use Random.nextInt to get an index into the array or List.
2) get the Runnable object.
3) invoke run() on it.
4) use the Random to get a random number of milliseconds in whatever range you want
5) Thread.sleep for that number of milliseconds.

Similar Messages

  • IPad update to 8.1 generates random events

    Hi ,
    I just updated my ipad mini ( wifi +cell ) with ios 8.1 .
    After this noticed that the ipad is generating some random events and opening various apps / browser and simply becomes uncontrollable and unusable.
    Dont know what is causing this .
    Is this a known issue or is anyone else facing this  ?
    I am having trouble just using the ipad now and somehow would have felt great if i can revert it to older 7.1

    Greetings normanfromwaterlooville,
    Welcome to the Apple Support Communities!
    I understand that while updating your iPad to the most recent version of iOS, the update failed and you received error 14. This error typically has to do with USB connection as described in the attached article. 
    Get help with iOS update and restore errors - Apple Support
    Because your iPad is stuck trying to start up, I would recommend placing it in recovery mode manually and performing the update as described by the steps in the following article. If you continue to have issues, please let me know. 
    If your iPhone, iPad, or iPod touch doesn't respond or doesn't turn on - Apple Support
    When starting up, you might see the Apple logo or a red or blue screen for a long time, or your device might restart again. Try these steps:
    Make sure that you have iTunes 12 or later on your computer.
    Put your device in recovery mode.
    When you get the option to restore or update, select Update. This will reinstall iOS without erasing your data.
    Cheers,
    Joe

  • E-mail event generator errors

    We've done many different channels and not had many problems however, we've been
    experiencing problems when creating Email event generators that publish on a message
    broker channel and there's not a decent example in the documentation.
    The errors are listed in the attached file along with the contents of our channel
    definition file. The encoding error happens no matter how the e-mail is encoded.
    Has anybody seen this error? How was it resolved? An example would be helpful
    too!
    [email_channel_errors.txt]

    Hi Sean,
    The channel definition specifies through the ' messageType="xml" ' attribute that
    the message body is well-formed xml. Based on this I created an Email Event Generator
    that publishes to that channel (I used your channel definition). I sent four types
    of messages. Type 1 was a message with no body at all. Type 2 was a message with
    a random text body. Type 3 was a message with a malformed xml body. Type 4 was
    a message with a proper xml body. The results indicate that the error message
    you are seeing is due to a message being published that has no body at all (Type
    1 in my test).
    Type 1 - message with no message body content: BINGO!
    <Mar 24, 2004 10:49:24 PM PST> <Error> <WLI-Core> <BEA-489203> <Error while publishing
    message: com.bea.wli.mbconnector.MBConnMDBBase$MBConnectorException: Can't create
    process variable: com.bea.wli.mbconnector.MBConnMDBBase$MBConnectorException:
    Can't read XML (no root element)>
    Type2: Random text body:
    "<Mar 24, 2004 10:50:54 PM PST> <Error> <WLI-Core> <BEA-489203> <Error while publishing
    message: com.bea.wli.mbconnector.MBConnMDBBase$MBConnectorException: Can't create
    process variable: com.bea.xml.XmlException: error: Unexpected element: CDATA>
    Type 3: Malformed xml body:
    <Mar 24, 2004 10:58:26 PM PST> <Error> <WLI-Core> <BEA-489203> <Error while publ
    ishing message: com.bea.wli.mbconnector.MBConnMDBBase$MBConnectorException: Can'
    t create process variable: weblogic.xml.stream.XMLStreamException: '>' expected
    [?! -- [CDATA[ ] - with nested exception: [weblogic.xml.stream.XMLStreamException:
    '>' expected [?! -- [CDATA[ ] - with nested exception: [Error at line:1 col:10
    '>' expected [/?! -- [CDATA[ ]]]>
    Type 4: well-formed XML message body
    ...No error message!...
    If there actually was a message body please post it and I'll give it a go.
    Hope this helps!
    Steve Waterhouse
    BEA WorldWide Technical Training
    "Sean McGillen" <[email protected]> wrote:
    >
    >
    >
    We've done many different channels and not had many problems however,
    we've been
    experiencing problems when creating Email event generators that publish
    on a message
    broker channel and there's not a decent example in the documentation.
    The errors are listed in the attached file along with the contents of
    our channel
    definition file. The encoding error happens no matter how the e-mail
    is encoded.
    Has anybody seen this error? How was it resolved? An example would
    be helpful
    too!

  • Random Number Generator issues

    Ok so I have an issue. I'm supposed to create a GUI app that has a frame that contains both a button and a textfield. When the button is pressed then a random number between 1 and 10 should appear in the textfield. I've got an illegal start of expression on line 49 which is the last private void...
    So what have I done wrong?
    * randomnumber.java
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.util.Random;
    public class randomnumber extends JFrame
         Random randomObject = new Random();
      // declare controls used
      static JButton startButton = new JButton();
      static JTextField startTextField = new JTextField();
      public static void main(String args[])
        new randomnumber().show();
      public randomnumber()
        // frame constructor
        setTitle("Random Number Generator");
        getContentPane().setLayout(new GridBagLayout());
        // add controls
        GridBagConstraints gridConstraints = new GridBagConstraints();
        startButton.setText("Generate a Number");
        gridConstraints.gridx = 0;
        gridConstraints.gridy = 0;
        getContentPane().add(startButton, gridConstraints);
        startButton.addActionListener(new ActionListener()
          public void actionPerformed(ActionEvent e)
            startButtonActionPerformed(e);
        startTextField.setText("");
        startTextField.setColumns(15);
        gridConstraints.gridx = 2;
        gridConstraints.gridy = 0;
        getContentPane().add(startTextField, new GridBagConstraints());
      private void startButtonActionPerformed(ActionEvent e)
        myInt = randomObject.nextInt(11);
        startTextField.setText(String.valueOf(myInt));
    }Edited by: Hessmix on Oct 17, 2007 6:15 PM

    public randomnumber()
        // frame constructor
        setTitle("Random Number Generator");
        getContentPane().setLayout(new GridBagLayout());
        // add controls
        GridBagConstraints gridConstraints = new GridBagConstraints();
        startButton.setText("Generate a Number");
        gridConstraints.gridx = 0;
        gridConstraints.gridy = 0;
        getContentPane().add(startButton, gridConstraints);
        startButton.addActionListener(new ActionListener()
          public void actionPerformed(ActionEvent e)
            startButtonActionPerformed(e);
        startTextField.setText("");
        startTextField.setColumns(15);
        gridConstraints.gridx = 2;
        gridConstraints.gridy = 0;
        getContentPane().add(startTextField, new GridBagConstraints());
      }//<< Add a brace here
      private void startButtonActionPerformed(ActionEvent e)
        myInt = randomObject.nextInt(11);
        startTextField.setText(String.valueOf(myInt));
    }Did you add that brace?

  • Is there a way to create a random text generator in AE 4 ?

    Hi all,
    I'm a new user of an old version of After Effects 4.1 on Windows 7.
    I just gained the help on this forum to create a digital clock countdown with the Numbers Effect and the Timecode 30 setting in AE 4 and I noticed that there is a random numbers generator in that effect too.
    But now I'm in the Text Effect and I'm able to put my text/title on the solid layer in a composition and apply some MM scripts to the text... mainly I've just been able to use the 'Blink' script and manipulate that script a little to make it flash faster or slower.
    Since AE 4 cannot use .jsx scripts or Expressions, I guess I'm limited to MM scripts (which I've been searching for) and the built-in plug-ins and effects... but I can't find a random text generator... like where the text scrambles as if it is trying to break a code.  This effect that I'm trying for would be similar to a scrambled text effect generated in Swish or other FLASH text effect generators.
    So if anyone knows how to create a scrambled or random text effect in the old After Effects 4.1, please let me know.
    Thanks allot,
    digi

    Thanks guys,
    Yes, I'm using AE 4.1, per my explanation in my other posts about the timecode effect and codecs.
    Since there is a built-in random number generator in AE 4.1 that is part of the Numbers Effect, I thought there may still be an after market Effect, plug-in or mm script for a random text generator.
    I've been searching the web, but its a big place.
    Thanks,
    digi

  • JMX API to Create Event Generator

    Is there any JMX API available to create JMS event generator?
    Thanks

    Hi,
    As mentioned in the last post go to the event screen by
    Environment --> Modifications --> Events.
    There you click on new entries and try writing your logic for event 21 i.e. after selecting 21 give some name of your event and write down the logic how you want to do this.
    If event number 21 does not work then try 1. One of these two should work.
    Hope this helps!!!
    Regards,
    Lalit

  • RDBMS Event Generator Issue - JDBC Result Set Already Closed

    All -
    I am having a problem with an RDBMS event generator that has been exposed by our Load Testing. It seems that after the database is under load I get the following exception trace:
    <Aug 7, 2007 4:33:06 PM EDT> <Info> <EJB> <BEA-010213> <Message-Driven EJB: PollerMDB_SessionRqt_1186515408009's transaction was rolledback. The transact ion details are: Xid=BEA1-7F8C65474500D80A5B94(218826722),Status=Rolled back. [Reason=weblogic.transaction.internal.AppSetRollbackOnlyException],numRepli esOwedMe=0,numRepliesOwedOthers=0,seconds since begin=0,seconds left=60,XAServerResourceInfo[JMS_Affinity_cgJMSStore_auto_1]=(ServerResourceInfo[JMS_Affi    nity_cgJMSStore_auto_1]=(state=rolledback,assigned=wli_int_1),xar=JMS_Affinity_cgJMSStore_auto_1,re-Registered = false),XAServerResourceInfo[ACS.Telcordi    a.XA.Pool]=(ServerResourceInfo[ACS.Telcordia.XA.Pool]=(state=rolledback,assigned=wli_int_1),xar=ACS.Telcordia.XA.Pool,re-Registered = false),XAServerReso urceInfo[JMS_Affinity_cgJMSStore_auto_2]=(ServerResourceInfo[JMS_Affinity_cgJMSStore_auto_2]=(state=rolledback,assigned=wli_int_2),xar=null,re-Registered = false),SCInfo[wli_int_domain+wli_int_2]=(state=rolledback),SCInfo[wli_int_domain+wli_int_1]=(state=rolledback),properties=({START_AND_END_THREAD_EQUAL    =false}),local properties=({weblogic.jdbc.jta.ACS.Telcordia.XA.Pool=weblogic.jdbc.wrapper.TxInfo@d0b2687}),OwnerTransactionManager=ServerTM[ServerCoordin    atorDescriptor=(CoordinatorURL=wli_int_1+128.241.233.85:8101+wli_int_domain+t3+, XAResources={weblogic.jdbc.wrapper.JTSXAResourceImpl, Affinity_cgPool, J    MS_Affinity_cgJMSStore_auto_1, ACSDispatcherCP_XA, ACS.Dispatcher.RDBMS.Pool, ACS.Telcordia.XA.Pool},NonXAResources={})],CoordinatorURL=wli_int_1+128.241 .233.85:8101+wli_int_domain+t3+).>
    <Aug 7, 2007 4:33:06 PM EDT> <Warning> <EJB> <BEA-010065> <MessageDrivenBean threw an Exception in onMessage(). The exception was:
    javax.ejb.EJBException: Error occurred while processing message received by this MDB. This MDB instance will be discarded after cleanup; nested exceptio n is: java.lang.Exception: Error occurred while preparing messages for Publication or while Publishing messages.
    javax.ejb.EJBException: Error occurred while processing message received by this MDB. This MDB instance will be discarded after cleanup; nested exception is: java.lang.Exception: Error occurred while preparing messages for Publication or while Publishing messages
    java.lang.Exception: Error occurred while preparing messages for Publication or while Publishing messages
    at com.bea.wli.mbconnector.rdbms.intrusive.RDBMSIntrusiveQryMDB.fetchUsingResultSet(RDBMSIntrusiveQryMDB.java:561)
    at com.bea.wli.mbconnector.rdbms.intrusive.RDBMSIntrusiveQryMDB.onMessage(RDBMSIntrusiveQryMDB.java:310)
    at weblogic.ejb20.internal.MDListener.execute(MDListener.java:400)
    at weblogic.ejb20.internal.MDListener.transactionalOnMessage(MDListener.java:333)
    at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:298)
    at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:2698)
    at weblogic.jms.client.JMSSession.execute(JMSSession.java:2523)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
    Caused by: java.sql.SQLException: Result set already closed
    at weblogic.jdbc.wrapper.ResultSet.checkResultSet(ResultSet.java:105)
    at weblogic.jdbc.wrapper.ResultSet.preInvocationHandler(ResultSet.java:67)
    at weblogic.jdbc.wrapper.ResultSet_oracle_jdbc_driver_OracleResultSetImpl.next()Z(Unknown Source)
    at com.bea.wli.mbconnector.rdbms.intrusive.RDBMSIntrusiveQryMDB.handleResultSet(RDBMSIntrusiveQryMDB.java:611)
    at com.bea.wli.mbconnector.rdbms.intrusive.RDBMSIntrusiveQryMDB.fetchUsingResultSet(RDBMSIntrusiveQryMDB.java:514)
    ... 8 more
    javax.ejb.EJBException: Error occurred while processing message received by this MDB. This MDB instance will be discarded after cleanup; nested exception is: java.lang.Exception: Error occurred while preparing messages for Publication or while Publishing messages
    at com.bea.wli.mbconnector.rdbms.intrusive.RDBMSIntrusiveQryMDB.onMessage(RDBMSIntrusiveQryMDB.java:346)
    at weblogic.ejb20.internal.MDListener.execute(MDListener.java:400)
    at weblogic.ejb20.internal.MDListener.transactionalOnMessage(MDListener.java:333)
    at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:298)
    at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:2698)
    at weblogic.jms.client.JMSSession.execute(JMSSession.java:2523)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
    >
    I have tried several things and had my team do research but we have not been able to find an answer to the problem.
    If anyone can offer any insight as to why we might be getting this error it would be greatly appreciated. Thanks!

    i also have same error during load testing, mainly this error
    "Unexpected exception while enlisting XAConnection java.sql.SQLException"
    i tried rerunning after increasing connection pool sizes, transaction timeout, but no luck, marginal improvement in performance though
    also tried changing the default tracking levl to none, but no luck.
    i am with 8.1SP5, how about you ?
    do share if you are able to bypass these errors
    cheers

  • [EJB:010112] - error with WLI8.1 Event Generator for foreign JMS/MQ provider

    I'm getting following error in weblogic server log when starting a JMS Event generator
    to a foreign JMS(MQ5.3) Queue.
    <May 4, 2004 4:44:35 PM PDT> <Warning> <EJB> <BEA-010096> <The Message-Driven
    EJ
    B: mqQueueEventGen is unable to connect to the JMS destination: WAL1021852D_Test
    JMSQueue. Connection failed after 2 attempts. The MDB will attempt to reconnect
    every 10 seconds. This log message will repeat every 600 seconds until the condi
    tion clears.>
    <May 4, 2004 4:44:35 PM PDT> <Warning> <EJB> <BEA-010061> <The Message-Driven
    EJ
    B: mqQueueEventGen is unable to connect to the JMS destination: WAL1021852D_Test
    JMSQueue. The Error was:
    [EJB:010112]The Message Driven Bean 'mqQueueEventGen' is transacted, but the pro
    vider defined in the EJB is not transacted. Provider should be transacted if onM
    essage method in MDB is transacted.>
    My WLI8.1.2 is patched with CR131686_812.zip to support event generator for foreign
    JMS destinations. The foreign JMS/MQ provider is configured properly. QueueSend/Receive
    were tested fine with JMS java code using local JNDI names of foreign JMS objects.
    So we know that foreign Queue is active and accessiable from webLogic.
    Anyone run into this? Solution?
    Thanks,
    Scott

    Hi Scott,
    I need a transaction from the MDB since I am not using an EJb to pursue the action.
    Hence I need to retain the <trans-attribute>Required</trans-attribute> at the
    MDB.
    Have any answers?
    Pradip
    "Scott Yen" <[email protected]> wrote:
    >
    It's resolved.
    The MDB automatically created by JMS Event Generator defaults to be deployed
    with
    “transacted”. That requires the foreign JMS provider to be “XA”.
    The deployment descriptor is created as <domain-directory>/WLIJmsEG_<event_gen_name>.jar
    e.g. C:\bea812\user_projects\domains\jmsInterop\WLIJmsEG_mqQueueEventGen.jar
    Since MQ in the localhost and remote SLUDV18 are not XA-enabled, we had
    to manually
    change the <container-transaction> section in ejb-jar.xml:
    From :
    <trans-attribute>Required</trans-attribute>
    To:
    <trans-attribute>NotSupported</trans-attribute>
    "Scott Yen" <[email protected]> wrote:
    I'm getting following error in weblogic server log when starting a JMS
    Event generator
    to a foreign JMS(MQ5.3) Queue.
    <May 4, 2004 4:44:35 PM PDT> <Warning> <EJB> <BEA-010096> <The Message-Driven
    EJ
    B: mqQueueEventGen is unable to connect to the JMS destination: WAL1021852D_Test
    JMSQueue. Connection failed after 2 attempts. The MDB will attempt to
    reconnect
    every 10 seconds. This log message will repeat every 600 seconds until
    the condi
    tion clears.>
    <May 4, 2004 4:44:35 PM PDT> <Warning> <EJB> <BEA-010061> <The Message-Driven
    EJ
    B: mqQueueEventGen is unable to connect to the JMS destination: WAL1021852D_Test
    JMSQueue. The Error was:
    [EJB:010112]The Message Driven Bean 'mqQueueEventGen' is transacted,
    but the pro
    vider defined in the EJB is not transacted. Provider should be transacted
    if onM
    essage method in MDB is transacted.>
    My WLI8.1.2 is patched with CR131686_812.zip to support event generator
    for foreign
    JMS destinations. The foreign JMS/MQ provider is configured properly.
    QueueSend/Receive
    were tested fine with JMS java code using local JNDI names of foreign
    JMS objects.
    So we know that foreign Queue is active and accessiable from webLogic.
    Anyone run into this? Solution?
    Thanks,
    Scott

  • 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

  • Email Event Generator - Error

    Hi,
    I am facing a problem in reading the email and its attachments. Basically I get excel attachments from a third party and some message in the body of the mail. I need to read the email body in the jpd ( process ) and archive the attachments of the mail in a location . To achieve this I use the email event generator to archive the attachments and to call a process to read the body of the mail.
    Steps I followed -
    1. Created a mail account with my name on the mail server.
    2. Created a new email event genertor with all the required parameters in WLI console. configurations being
    Server Protocol POP3
    Channel Name /EmailEventProcess/SampleStringChannel
    Hostname ABC.ENERGY.LOCAL
    Port Number 25
    Username TestSS
    Password ********
    Attachments Archive
    Polling Interval 1 min
    Read Limit 10
    Post Read Action Archive
    Archive Directory C:\Cache
    Error Directory C:\Cache
    Description
    Publish As weblogic
    3. created a channel in the project in weblogic workshop -
    <channel name ="SampleStringChannel" messageType="string" qualifiedMetadataType="eg:EmailEventGenerator"/>
    4. In a process project - took the option
    subscribe to a message broker channel and start via an event (through email)..
    code :
    * @jpd:mb-static-subscription message-metadata="{x1}" channel-name="/EmailEventProcess/SampleStringChannel" message-body="{x0}"
    public void subscription(java.lang.String x0, com.bea.wli.eventGenerator.EmailEventGeneratorDocument x1)
    //#START: CODE GENERATED - PROTECTED SECTION - you can safely add code above this comment in this method. #//
    // input transform
    // parameter assignment
    this.testString = x0;
    this.testEmailEG = x1;
    //#END : CODE GENERATED - PROTECTED SECTION - you can safely add code below this comment in this method. #//
    I tried printing out the testString , but i get some strange error.. below is the error -
    <Jan 22, 2010 12:19:50 PM CET> <Error> <WLI-Core> <BEA-489203> <Error while publishing message: com.bea.wli.mbconnector.email.EmailConnMDB$EmailConnectorException: connect to store failed>
    I checked the mail box , when i send test mails , I can see the mails in the inbox..
    Can anyone help me to overcome this error /
    thanks

    access issues..

  • 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.

  • HTTP event generator

    I have the following problem: I want to start a process with an event generated by the HTTP event generator. So far so good.
    The problem I have is that I want this process to return a result. I have not been able to drag a Client response on my JPD file because Workshop complains that this is incompatible with static subscriptions and I can't find out how to design a process that start with a dynamic subscription ?
    Does anyone can help ?

    Jeff,
    1. Using event generators you are using the message broker. The message broker is basically an anonymous publish-subscribe mechanism, the receiver does not no anything about the sender (Except it is in the message payload or metadata). So you cannot directly respond to it.
    2. Dynamic subscriptions are also related to the MB and will neither help, Dynamic subscriptions are subscriptions from an already running workflow, meaning the MB sends messages to distinct instances at runtime.
    3. Depending on your business case, you could think about starting a workflow via the webservice interface or via HTTP directly.
    -Kai

  • Event Generator Configuration

    Hi there
    I'm developing an process application for which i have configured two
    timed and a jms event generator. The question I have is, is it possible
    to export event generator configurations from my dev box and simply
    import them into wliconsole on my prod box? Or do i have to manually
    configure the prod box with the same configuration?
    Regards
    Steri

    Hi Jaime,
    I have two even servers. But the monitoring thing and  the events that you are talking about is completely different.
    There are events in the event section of the CMC .
    I checked the things on the old XIR2 environment. The events in the Event section and the ones that are being monitored by the Event Server are different.
    So being a fool i dont know how to get those files to be monitored.
    Let me explain what i understood.
    1. There are some files in some location which are being monitored.
    2. When an ETL runs the file is supposedly refreshed.
    3. This refresh leads to may be some event which is monitored by the event server and then based on this some reports run.
    So how to enable the Event server to monitor those locations.
    Regards
    Sid

  • Suspending JMS event generator

    Hi,
    How do I suspend a jms event dynamically?
    I know that this can be done with WLI Admin Console but is there another way to do this without user intervention?
    Help appreciated.

    Hello,
    event generators are in most cases EJBs (the HTTP event generator may be the only exeption).
    Suspending is actually equal to undeploying.
    I do not know, if you can use the event generator MBeans, but you can always use the weblogic.Admin command to undeploy/redeploy a JMS event generator.
    -Kai

  • JMS event generator extract custom jms property

    [cross posted from integration.interest - this seems the correct place to post]
    Hi, I was looking for a way to enable a workflow/process to extact a custom jms property that is send with a jms message to the jms event generator.
    So the client inserts name/value pair inside the jms message, the event generator picks up the message and starts a workflow. How can I extract that custom name/value pair once inside the workflow/process ?
    TIA

    Hey can u tell me the solution for this problem.....I am also facing similar problems......Help is appericiated....

Maybe you are looking for