DataGrid update cell event generated twice

Hi all,
We are trying to create an editable cell in a datagrid, and in the itemEditEnd method to display an error message if the new value introduced is incorrect. The problem here is that the event is always generated twice.
Do you know what could cause this?
Thanks,

Hi,
Can you add some additional info.As I checked at my end the things are working fine.
You can check with the below sample applicaiton:-
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
               xmlns:s="library://ns.adobe.com/flex/spark"
               xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600">
    <fx:Declarations>
        <!-- Place non-visual elements (e.g., services, value objects) here -->
    </fx:Declarations>
    <fx:Script>
        <![CDATA[
            import mx.collections.ArrayCollection;
            import mx.controls.Alert;
            import mx.events.DataGridEvent;
            [Bindable]
            private var ac : ArrayCollection = new ArrayCollection([
                {lbl :"lable1",data:"data1"},
                {lbl :"lable2",data:"data2"},
                {lbl :"lable3",data:"data3"}
            protected function datagrid1_itemEditEndHandler(event:DataGridEvent):void
                trace("Check");
        ]]>
    </fx:Script>
    <mx:DataGrid dataProvider="{ac}" editable="true" itemEditEnd="datagrid1_itemEditEndHandler(event)">
        <mx:columns>
            <mx:DataGridColumn headerText="Lable" dataField="lbl" editable="true" />
            <mx:DataGridColumn headerText="Data" dataField="data" editable="true" />
        </mx:columns>
    </mx:DataGrid>
</s:Application>
with Regards,
Shardul

Similar Messages

  • Update cell Sprite in DataGrid

    Hi,
    I have a datagrid with a LOT of sprites (1700 circles, squares, and triangles) that I created in an itemRenderer in Actionscript using Peter Ent's excellent tutorial on custom item renderers. http://www.adobe.com/devnet/flex/articles/itemrenderers_pt5_03.html. Therefore, the Sprites inherit from UIComponent.
    I need to dynamically update a few of these sprites based on new data I pull down from the server once per minute.
    A full-page refresh is to be avoided since it takes 3-4 seconds to load and is disruptive to the user experience.
    Getting the row/column # from the datagrid's itemClick event is dead simple, but I don't see my Sprite when I look at the data using the debugger.
    What is the syntax to retrieve a given cell's Sprite from the application? Also, once I have that Sprite, how do I update/replace a Sprite only in that cell?
    Please help.
    Thanks!!!

    You're right, it isn't adding rows.
    I'm not sure what you mean by 'all the sprites are chosen based on the data  object and that old existing sprites get removed or re-purposed'.
    I have 3 grids, but for the sake of simplicity will focus on just 1.
    There are 39 rows and 15 columns. Each has a Sprite. At the moment, each column has its own custom ItemRenderer since there are data tags unique to each. I've noticed that the whole Object is passed in, so I *could* have one ginormous class to create Sprites for all 15 columns of a row at once, but (1) it didn't work to put that ItemRenderer at the datagrid level versus the individual column level and (2) I'm not sure which is more efficient.
    Anyway, back to the most pressing problem: how to update Sprites in the grid from data updates.
    Here is the code for the custom Item Renderer:
    package utilities
         import flash.display.Sprite;
         import mx.controls.ToolTip;
         import mx.controls.listClasses.IListItemRenderer;
         import mx.core.UIComponent;
         import mx.events.FlexEvent;
         public class Drop1Renderer extends UIComponent implements IListItemRenderer
              public function Drop1Renderer()
                   super();
                   height=20;
                   width=16;
              // Internal variable for property
              private var _data:Object;
              // Make it bindable
              [Bindable("dataChange")]
              // Define the getter
              public function get data():Object
                   return _data;
              //define the setter
              public function set data(value:Object):void
                   _data = value;
                   invalidateProperties();
                   dispatchEvent(new FlexEvent(FlexEvent.DATA_CHANGE));
                   if (value.deviceType1 != "Null")
                        var mySprite:Sprite = new Sprite();
                        mySprite.cacheAsBitmap=false;
                        buttonMode=true;
                        var uic:UIComponent = new UIComponent();
                        mySprite.graphics.beginFill(value.deviceColor1);
                        var triangleHeight:Number = 12;
                        switch (value.deviceType1)
                             case "Circle":
                                  mySprite.graphics.lineStyle(1,0x000000, .5);
                                  mySprite.graphics.drawCircle(8, 9, 5);
                                  break;
                             case "CircleBlue":
                                  mySprite.graphics.lineStyle(2,0x0000DD, .9);
                                  mySprite.graphics.drawCircle(8, 9, 5);
                                  break;
                             case "TriangleRed":
                                  mySprite.graphics.lineStyle(2,0xFF0000, .9);
                                  mySprite.graphics.moveTo((triangleHeight/2)+2, 3);
                                  mySprite.graphics.lineTo(triangleHeight+2, triangleHeight+1);
                                  mySprite.graphics.lineTo(2, triangleHeight+1);
                                  mySprite.graphics.lineTo((triangleHeight/2)+2, 3);
                                  break;
                             case "Triangle":
                                  mySprite.graphics.lineStyle(1,0x000000, .5);
                                  mySprite.graphics.moveTo((triangleHeight/2)+2, 3);
                                  mySprite.graphics.lineTo(triangleHeight+2, triangleHeight+1);
                                  mySprite.graphics.lineTo(2, triangleHeight+1);
                                  mySprite.graphics.lineTo((triangleHeight/2)+2, 3);
                                  break;
                             case "TriangleBlue":
                                  mySprite.graphics.lineStyle(2,0x0000DD, .9);
                                  mySprite.graphics.moveTo((triangleHeight/2)+2, 3);
                                  mySprite.graphics.lineTo(triangleHeight+2, triangleHeight+1);
                                  mySprite.graphics.lineTo(2, triangleHeight+1);
                                  mySprite.graphics.lineTo((triangleHeight/2)+2, 3);
                                  break;
                             case "Rect":
                                  mySprite.graphics.lineStyle(1,0x000000, .5);
                                  mySprite.graphics.drawRect(3, 4, 10, 10);
                                  break;
                             case "RectBlue":
                                  mySprite.graphics.lineStyle(2,0x0000DD, .9);
                                  mySprite.graphics.drawRect(3, 4, 10, 10);
                                  break;
                             case "RectOrange":
                                  mySprite.graphics.lineStyle(2,0xFFA500, .9);
                                  mySprite.graphics.drawRect(3, 4, 10, 10);
                                  break;
                             case "Ellipse":
                                  mySprite.graphics.lineStyle(1,0x000000, .7);
                                  mySprite.graphics.drawEllipse(2, 5, 12, 6);
                                  break;
                             default:
                                  mySprite.graphics.drawCircle(8, 9, 5);
                        uic.addChild(mySprite);
                        this.addChild(uic);
                        uic.toolTip = "Howdy there!";
              override protected function createChildren() : void
                   super.createChildren();
              override protected function commitProperties() : void
                   super.commitProperties();
              override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
                   super.updateDisplayList(unscaledWidth, unscaledHeight);

  • Item added & item updated events fired twice.

    Hello everyone, 
    I have item added and item updated events and both sends e-mails twice cos they are fired twice. 
    I tried the below method but the problem still continues. Any suggessions?
    base.EventFiringEnabled=false;
    base.EventFiringEnabled=true;
    note: my list is custom list. (not document lib)

    If you have required checkout enabled the events can be triggered twice. See this post for more information and how to bypass it:
    Managing ItemUpdating and ItemUpdated Events Firing Twice in a SharePoint Item Event Receiver

  • LabVIEW 8.2 Multicolumn Listbox Edit Cell Event Bug

    I've observed an odd behavior with the "Edit Cell?" event with multicolumn listboxes. If the "Edit Position" is set when clicking on the listbox and the "Edit Cell?" event is trapped with discard set to false, when clicking outside of the list box, previous edits are lost.   I have attached a simple example of this bug.
    Attachments:
    Listbox Edit Cell Event Bug.vi ‏19 KB

    Thank you for the update Fran.
    I lost my bet and you earned your stars.
    So it sounds like the issue was the multiple event structures alone.
    I just like to keep track of what the final fixes are.
    Ben
    Message Edited by Ben on 12-06-2006 04:50 PM
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • DSC-Merging the Alarm Events Generated

    I am afraid whether I will be able to merge the alarm events generated in two different database configured in two PC’s (Servers).
    Both the data base monitors same traces and processes, one pc will be an active server and another will be an backup server. We have situation that one server may fail and come back alive.  In this situation how can I combine the alarm events generated in two different PC's?
    Merging the database doesn’t helps instead generates the error when queried for logged Alarms and Events. However merging the data base combines the traces data.
    We are using Labview 8.2.1 and DSC 8.2.
    Any help will be much appriciated.
    Thanks,
    Vijay Jayabalan.

    Thanks for your reply
    We are monitoring about 25000+ I/O points (cFP-180X), we are using Shared Variable in order to read data from cFP and update the data for Shared Variable deployed on Two Central Server Computer (One Duty and other standby named A and B servers respectively) each hosting a separate set of shared variable for the I/O points (only difference being the computer names)
    The Set of shared variable deployed on both servers, have the same configuration information such as alarms, logging etc as well as the same names.
    Given a situation that Server A fails (PC Crash/shutdown/restart), then the other server B will still provide the Alarms and Event information.
    However, when Server A return to normal operation then the Alarm and Event Set Time, Acknowledgement Time and Clear Time will be different than that in Server B.
    With an example let us say that,
    At 4.00 am in the morning Server A works fine and Server B is down, now the Shared Variable Deployed in the Server A will read data from the Field and Update any alarm information, if an alarm occurs (Shared Variable) at 4 am then this information of Set Time of Alarm (Read Alarm VI) is present in Server A and not in Shared Variable deployed Server B.
    Now, on the same day let us say Server B start working normally at 11.00 am, so the (Read Alarm VI) from the Shared Variable deployed in Server B will return the Set Time of the alarm as 11 am and not as 4 am (which is when the alarm actually occurred)
    What we would like to know is there any way we could merge the alarm information between both the computers for two sets of Shared Variables (similar to Redundancy in Lookout)?
    Kindly reply in case you need more details.

  • ICal sends multiple emails for invites and updates to event attendees - HELP!

    Every time I create or send an event in iCal, it sends multiple emails to each attendee (2-3 duplicate emails) with the same event.  So if I have 3 event invitees, they get 3 emails each.  All the emails are sent from the correct account in Apple Mail, and the calendar itself shows only one email address for each attendee, but for some reason the sent folder shows that each person was emailed 2-3 times.  This is causing quite a problem for work, as any invite I send is clogging up inboxes with duplicate and triplicates for each attendee. 
    When I send a meeting acceptance, it only sends one reply, so I have no idea why it's duplicating or triplicating events when new ones are sent out or udpated by me.  I can't delete my calendar without losing important events from clients or what not, so I'm not sure what to do.
    Also notable:
    I am NOT using iCloud calendars as I needed to create a calendar group and iCloud didn't support that.
    My calendar is syncing to an FTP so that people in my main office can view and download my calendar as needed.
    I am on a brand new (not even 2 mos old) MacBook Pro Retina 2013 model, with OS X 10.8.3
    I am on Calendar 6.0
    I can't change/update events on my calendar from one sub-calendar to another once they are created (though I can edit on my iPhone and resync). This is really annoying and I've posted about this before to no avail (thread here: https://discussions.apple.com/message/21646850#21646850 and here: https://discussions.apple.com/thread/3920017?start=0&tstart=0).
    For now (for this thread) I'd like any help possible in getting my calendar to send just ONE email to meeting attendees when I create and/or update an event.
    Thanks!

    I have the same issue.  Did you get a resolution to this?  Whenever I add a new person to the meeting invite iCal always resends the entire invite...it should just send the invite to newly added participants.

  • 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

  • The server is failing to download some updates. Event ID 10032 (ran out of disk space & extended volume, still got error)

    On Friday, 9/17 @ 7 am, after deselecting Windows 2003 in products, I ran Server Cleanup Wizard (as well as sqlcmd -I -i"WsusDBMaintenance.sql" -S "np:\\.\pipe\MSSQL$MICROSOFT##SSEE\sql\query"), and 0 bytes were freed which I thought
    odd.   I then selected Windows Server 2012 R2 and Office 2013 since we're going to be using those. 
    After this, on 9/19 @ 7:30am, the server had the message:      Event 364 Content file download failed. Reason: There is not enough space on the disk.    Source File: /d/msdownload/update/software/secu/2014/04/coreservermui-it-it_ebb7e1e8d487b90ffd719f06122a3db947b3f949.cab
    Destination File: e:\WSUS\WsusContent\49\EBB7E1E8D487B90FFD719F06122A3DB947B3F949.cab.
    At some time during the day on 9/19, our SAN admin increased the volume (all server's volumes are on a SAN) from the SAN end, and I extended it in Disk Mngmt on the WSUS server.   I went home for the weekend
    I came back today (9/22), saw I had gotten the "the server is failing to download some updates. Event ID 10032"   on Saturday 9/20 @ 1:30am.   I checked the volume \WSUScontent is on (the volume we extended) and it has
    17GB free. So I assume space should not still be an issue.
    The same 10032 error had occurred on 9/19, at 1:30 pm, but I assume it was before my colleague and I bumped up the disk space.  But why it occurred again the next day I'm not sure.
    However, since the 10032 error on 9/20 @ 1:30am, it has not reoccured, and no yellow or red event messages.  So possibly all is well now.  Could it have been that WSUS was being sluggish to recognize the increased disk space, even though Windows
    itself recognized it?  

    Thanks Lawrence, I went through the steps you instruct on (which I did not know about, so I greatly appreciate that!), and freed up over 30GB of space.
    Outstanding! :-)
    But your steps don't really address deleting all (solely) 2003 updates.
    Correct. First, because you cannot DELETE updates, unless they are expired or old revisions, and use the Server Cleanup Wizard to do that.
    Second, because the article was about removing *unneeded* updates. It does not consider the scenario where a product category is being retired
    When I go to my "2003" update view, sorting by Any Except Declined, and Status Any, I still see tons of 2003 ones, some solely for it, others that apply to 2003 and other OSs. I want to leave the latter, but delete the ones solely for
    2003. Not just superseded ones, but ALL that are solely for 2003.
    You cannot delete updates. You can DECLINE updates, if that's what you want to do.
    So let's talk a minute about these updates that might be applicable to operating systems other than Windows Server 2003. Let's be practical about the other operating systems listed. If you look closely, I suspect you will discover that those "other
    operating systems" are either Windows XP or Windows 2000, but nothing else. Do updates for Windows XP or Windows 2000 really matter to you? I suspect not.
    The reason I highly suspect this is because the practice of building packages targeted at multiple operating systems was terminated when Windows Vista was released (actually I think it happened with the release of WSUS v3, but this is just a matter of trivia,
    the relevant point is that it's not done anymore, and has not been done for many years).
    Ergo, I know for a fact, that NONE of the updates applicable for Windows Server 2003, will be applicable for any newer operating system. Ergo, it probably doesn't matter at all, so just SelectAll -> Decline if that's what you want to do.
    Lawrence Garvin, M.S., MCSA, MCITP:EA, MCDBA
    SolarWinds Head Geek
    Microsoft MVP - Software Packaging, Deployment & Servicing (2005-2014)
    My MVP Profile: http://mvp.microsoft.com/en-us/mvp/Lawrence%20R%20Garvin-32101
    http://www.solarwinds.com/gotmicrosoft
    The views expressed on this post are mine and do not necessarily reflect the views of SolarWinds.

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

Maybe you are looking for

  • How do I tell if USB-2 is Working?

    In Device Manager I have these: Standard Enhanced PCI to USB Host Controller Standard OpenHCD USB Host Controller Standard OpenHCD USB Host Controller Along with 3 of these: USB Root Hub I don't  have anything that says USB 2.0.   What do you have? G

  • How to get a refund of In-App Purchase in iPad?

    My son was playing around with my iPad and accidentally purchased the Color and Mixer tool in Paper by FiftyThree application on my iPad. I can get a refund for any APP purchased through the App Store from my iTunes Purchase History, but, when I clic

  • Error in XML for PO confirmation

    Hi Gurus I need your help to determine the reason for the error I am getting when I am confirming a PO on Supplier Portal in SNC, getting below error in XML message generated at SNC Recipient party is Invalid (038/SCA/BIF_MI) Can you suggest me suita

  • Copy Std template

    Hello Experts, I have created std structures and trying to copy part of it into an operative project. While doing so I am copying with another company code. After this I am mass chaging all org data for the new part of structure. But the Network head

  • How to write a text file from Acrobat javascript

    Hi, Can anyone help me how to export PDF comments to a text file using javascript. Thanks, Gopal