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

Similar Messages

  • Email event generator - error publishing emails received from browser

    Hi,
    Configured an email event generator that listens on a mailbox. The message type is set to string and no filters. All emails sent from outlook is published successfully to message broker channel and the subscribed by a process. Whereas for emails sent from any browser email like yahoo, gmail gives "Null pointer exception - cannot publish message". Anybody have encountered this error?
    Also is it possible to configure the email event generator to archive the emails to another folder in the mailbox rather than to a physical directory?
    -Manjula.

    access issues..

  • Problems with body email using Email Event Generator

    Hi I need to start a workflow when an email is received by a email account. In
    order to do that, I built a Email Event Generator that uses the next channel:
    <?xml version="1.0"?>
    <channels xmlns="http://www.bea.com/wli/broker/channelfile"
              channelPrefix="/cgr"
              xmlns:eg="http://www.bea.com/wli/eventGenerator"
              xmlns:dp="http://www.bea.com/wli/control/dynamicProperties"
              xmlns:oagpo="http://www.openapplications.org/003_process_po_007">
         <channel name ="Rendicion" messageType="none">
              <channel name ="RendicionEmail" messageType="xml"
              qualifiedMessageType="oagpo:PROCESS_PO_007"
              qualifiedMetadataType="eg:EmailEventGenerator"/>
         </channel>
    </channels>
    I'm using "Suscribe to a Message Broker" oprtion to start my work flow. That option
    uses two input variables: com.bea.xml.XmlObject and com.bea.wli.eventGenerator.EmailEventGeneratorDocument.
    * @jpd:mb-static-subscription message-metadata="{x1}" message-body="{x0}"
    channel-name="/cgr/Rendicion/RendicionEmail"
    public void subscription(com.bea.xml.XmlObject 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.body = x0;
    this.emailXML = x1;
    //#END : CODE GENERATED - PROTECTED SECTION - you can safely add code
    below this comment in this method. #//
    That configuration only functions when the email has plain text body containing
    a xml structure. Other waise that error is showed by the server:
    <Oct 24, 2003 4:16:26 PM GMT-05:00> <Error> <WLI-Core> <BEA-530203> <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)>
    <Oct 24, 2003 4:17:26 PM GMT-05:00> <Error> <WLW> <000000> <Error publishing email:
    com.bea.wli.mbconnector.MBConnMDBBase$MBC
    onnectorException: Can't create process variable: com.bea.xml.XmlException: error:
    Unexpected element: TAG_END>
    <Oct 24, 2003 4:17:26 PM GMT-05:00> <Error> <WLI-Core> <BEA-530203> <Error while
    publishing message: com.bea.wli.mbconnector.
    MBConnMDBBase$MBConnectorException: Can't create process variable: com.bea.xml.XmlException:
    error: Unexpected element: TAG_E
    ND>
    Is it a Bug?, or Is the configuration wrong?
    Thank you very much
    David

    I've got the same issue going on here... I also posted the problem to this newsgroup
    earlier today.... please check your log files or server output window to see if
    you're also getting the encoding error...
    "David Uribe" <[email protected]> wrote:
    >
    Hi I need to start a workflow when an email is received by a email account.
    In
    order to do that, I built a Email Event Generator that uses the next
    channel:
    <?xml version="1.0"?>
    <channels xmlns="http://www.bea.com/wli/broker/channelfile"
              channelPrefix="/cgr"
              xmlns:eg="http://www.bea.com/wli/eventGenerator"
              xmlns:dp="http://www.bea.com/wli/control/dynamicProperties"
              xmlns:oagpo="http://www.openapplications.org/003_process_po_007">
         <channel name ="Rendicion" messageType="none">
              <channel name ="RendicionEmail" messageType="xml"
              qualifiedMessageType="oagpo:PROCESS_PO_007"
              qualifiedMetadataType="eg:EmailEventGenerator"/>
         </channel>
    </channels>
    I'm using "Suscribe to a Message Broker" oprtion to start my work flow.
    That option
    uses two input variables: com.bea.xml.XmlObject and com.bea.wli.eventGenerator.EmailEventGeneratorDocument.
    * @jpd:mb-static-subscription message-metadata="{x1}" message-body="{x0}"
    channel-name="/cgr/Rendicion/RendicionEmail"
    public void subscription(com.bea.xml.XmlObject 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.body = x0;
    this.emailXML = x1;
    //#END : CODE GENERATED - PROTECTED SECTION - you can safely
    add code
    below this comment in this method. #//
    That configuration only functions when the email has plain text body
    containing
    a xml structure. Other waise that error is showed by the server:
    <Oct 24, 2003 4:16:26 PM GMT-05:00> <Error> <WLI-Core> <BEA-530203> <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)>
    <Oct 24, 2003 4:17:26 PM GMT-05:00> <Error> <WLW> <000000> <Error publishing
    email:
    com.bea.wli.mbconnector.MBConnMDBBase$MBC
    onnectorException: Can't create process variable: com.bea.xml.XmlException:
    error:
    Unexpected element: TAG_END>
    <Oct 24, 2003 4:17:26 PM GMT-05:00> <Error> <WLI-Core> <BEA-530203> <Error
    while
    publishing message: com.bea.wli.mbconnector.
    MBConnMDBBase$MBConnectorException: Can't create process variable: com.bea.xml.XmlException:
    error: Unexpected element: TAG_E
    ND>
    Is it a Bug?, or Is the configuration wrong?
    Thank you very much
    David

  • Email Event Generator

    Hi
    I am using WebLogic 8.1 sp3 and WebLogic Workshop.
    I am trying to use an Email Event Generator. I selected the IMAP server protocol. I provided invalid connection information in hope of generating errors just so I know the Email Event Generator is kicking off. However, I do not see any error information in the WebLogic console window or in any log files.
    Can someone please direct me to where I should be looking for these errors or how I can be sure that the Email Event Generator is polling correctly?
    Thanks,
    David

    message type must be set to "string"
    thus correct channel definition is:
    <channel name="bulkPaymentsEmailChannel" messageType="string" qualifiedMetadataType="eg:EmailEventGenerator"/>
    null

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

  • Email event generator support secure password exchange with Exchange? [repost w/ corrected subject]

    [repost with corrected subject - not an Email adapter with events, but the
    Email event generator]
    IHAC who's trying to use the Email event generator against an Exchange server
    (as POP3). However, he can't get get the EG to connect successfully, as the
    Exchange server is configured to refuse cleartext passwords.
    Has anyone run into this, and how did they solve it? Or, is this not
    supported with the 8.1sp3 email EG?
    TIA for any help.
    Regards,
    Steve Elkind
    BEA PS

    In this case, the SMTP domain is the same as the AD domain.  If the wrong domain were configured then the connection would never work, as opposed to sometimes work.
    RunspaceId            : abb30c12-c578-4770-987f-41fe6206a463
    ForestName            : adatum.local
    UserName              : adatum\availtest
    UseServiceAccount     : False
    AccessMethod          : OrgWideFB
    ProxyUrl              :
    TargetAutodiscoverEpr :
    ParentPathId          : CN=Availability Configuration
    AdminDisplayName      :
    ExchangeVersion       : 0.1 (8.0.535.0)
    Name                  : adatum.local
    DistinguishedName     : CN=adatum.local,CN=Availability Configuration,CN=Wayport,CN=Microsoft
                            Exchange,CN=Services,CN=Configuration,DC=contoso,DC=local
    Identity              : adatum.local
    Guid                  : 3e0ebc2c-0ebc-4be8-83d2-077746180d66
    ObjectCategory        : contoso.local/Configuration/Schema/ms-Exch-Availability-Address-Space
    ObjectClass           : {top, msExchAvailabilityAddressSpace}
    WhenChanged           : 4/15/2014 12:33:53 PM
    WhenCreated           : 4/15/2014 12:33:35 PM
    WhenChangedUTC        : 4/15/2014 5:33:53 PM
    WhenCreatedUTC        : 4/15/2014 5:33:35 PM
    OrganizationId        :
    OriginatingServer     : dc01.contoso.local
    IsValid               : True
    ObjectState           : Unchanged

  • Email Event Generator to read out-box on Exchange server

    I know Email Event Generator could read in-box, can it also read out-box on Exchange server? if yes, how could i configure to read outbox?

    The iPhone and iPad are unable to read RMS (restricted email) because iOS is not RMS enabled.  GigaTrust has an application (http://www.gigatrust.com/ios-devices.shtml) for the iPhone and iPad that will allow RMS protected emails to be viewed and created.  The GigaTrust App is available for a free download from the iTunes App Store but there are server side components that must be provided by GigaTrust and require a connection license.

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

  • Bonjour keeps generating error event 100. It's there 128 times in a week! What does it mean?

    Bonjour keeps generating error event 100 in windows 8.1 event viewer. It's there 128 times in a week! What does it mean?

    Hey Michael,
    That error could be cause by a conflict with the firewall on your computer. Take a look at the articles below to go over some troubleshooting as well as verifying that Bonjour was properly installed on your computer. 
    iTunes for Windows: Bonjour alert due to firewall, security, or proxy software
    http://support.apple.com/en-us/HT203392
    How to tell if Bonjour for Windows successfully installed
    http://support.apple.com/en-us/HT201776
    Take care,
    -Norm G.  

  • Event 10830 errors generated by the AD managent pack.

    Hi,
    I have recently installed SCOM 2012 R2 in preparation to migrate over from 2007R2.
    I have only one agent installed ( a Domain cotroller) and have found the 'One or more Domain controllers may not be replicating' rule is causing Event 10830 error every 15 minutes:
    An alert couldn't be inserted to the database. This could have happened because  of one of the following reasons:
    - Alert is stale. The alert is generated by an MP recently deleted.
    - Database connectivity problems or database running out of space.
    - Alert received is not valid.
    The following details should help to further diagnose:
    Details: RuleId:a811dcbc-4c5b-d9de-592b-f01e17fc0e9a. HealthServiceId:60951ca0-edc4-5a4d-be13-734dba2e4c53. The INSERT statement conflicted with the FOREIGN KEY constraint "FK_Alert_BaseManagedEntity". The conflict occurred in database "OperationsManager",
    table "dbo.BaseManagedEntity", column 'BaseManagedEntityId'.
    The statement has been terminated.RuleId:a811dcbc-4c5b-d9de-592b-f01e17fc0e9a. HealthServiceId:60951ca0-edc4-5a4d-be13-734dba2e4c53. The INSERT statement conflicted with the FOREIGN KEY constraint "FK_Alert_BaseManagedEntity". The conflict occurred
    in database "OperationsManager", table "dbo.BaseManagedEntity", column 'BaseManagedEntityId'.
    The statement has been terminated.RuleId:a811dcbc-4c5b-d9de-592b-f01e17fc0e9a. HealthServiceId:60951ca0-edc4-5a4d-be13-734dba2e4c53. The INSERT statement conflicted with the FOREIGN KEY constraint "FK_Alert_BaseManagedEntity". The conflict occurred
    in database "OperationsManager", table "dbo.BaseManagedEntity", column 'BaseManagedEntityId'.
    The statement has been terminated.RuleId:a811dcbc-4c5b-d9de-592b-f01e17fc0e9a. HealthServiceId:60951ca0-edc4-5a4d-be13-734dba2e4c53. The INSERT statement conflicted with the FOREIGN KEY constraint "FK_Alert_BaseManagedEntity". The conflict occurred
    in database "OperationsManager", table "dbo.BaseManagedEntity", column 'BaseManagedEntityId'.
    The statement has been terminated.RuleId:a811dcbc-4c5b-d9de-592b-f01e17fc0e9a. HealthServiceId:60951ca0-edc4-5a4d-be13-734dba2e4c53. The INSERT statement conflicted with the FOREIGN KEY constraint "FK_Alert_BaseManagedEntity". The conflict occurred
    in database "OperationsManager", table "dbo.BaseManagedEntity", column 'BaseManagedEntityId'.
    The statement has been terminated.RuleId:a811dcbc-4c5b-d9de-592b-f01e17fc0e9a. HealthServiceId:60951ca0-edc4-5a4d-be13-734dba2e4c53. The INSERT statement conflicted with the FOREIGN KEY constraint "FK_Alert_BaseManagedEntity". The conflict occurred
    in database "OperationsManager", table "dbo.BaseManagedEntity", column 'BaseManagedEntityId'.
    The statement has been terminated.RuleId:a811dcbc-4c5b-d9de-592b-f01e17fc0e9a. HealthServiceId:60951ca0-edc4-5a4d-be13-734dba2e4c53. The INSERT statement conflicted with the FOREIGN KEY constraint "FK_Alert_BaseManagedEntity". The conflict occurred
    in database "OperationsManager", table "dbo.BaseManagedEntity", column 'BaseManagedEntityId'.
    The statement has been terminated.RuleId:a811dcbc-4c5b-d9de-592b-f01e17fc0e9a. HealthServiceId:60951ca0-edc4-5a4d-be13-734dba2e4c53. The INSERT statement conflicted with the FOREIGN KEY constraint "FK_Alert_BaseManagedEntity". The conflict occurred
    in database "OperationsManager", table "dbo.BaseManagedEntity", column 'BaseManagedEntityId'.
    The statement has been terminated.RuleId:a811dcbc-4c5b-d9de-592b-f01e17fc0e9a. HealthServiceId:60951ca0-edc4-5a4d-be13-734dba2e4c53. The INSERT statement conflicted with the FOREIGN KEY constraint "FK_Alert_BaseManagedEntity". The conflict occurred
    in database "OperationsManager", table "dbo.BaseManagedEntity", column 'BaseManagedEntityId'.
    The statement has been terminated.RuleId:a811dcbc-4c5b-d9de-592b-f01e17fc0e9a. HealthServiceId:60951ca0-edc4-5a4d-be13-734dba2e4c53. The INSERT statement conflicted with the FOREIGN KEY constraint "FK_Alert_BaseManagedEntity". The conflict occurred
    in database "OperationsManager", table "dbo.BaseManagedEntity", column 'BaseManagedEntityId'.
    The statement has been terminated.RuleId:a811dcbc-4c5b-d9de-592b-f01e17fc0e9a. HealthServiceId:60951ca0-edc4-5a4d-be13-734dba2e4c53. The INSERT statement conflicted with the FOREIGN KEY constraint "FK_Alert_BaseManagedEntity". The conflict occurred
    in database "OperationsManager", table "dbo.BaseManagedEntity", column 'BaseManagedEntityId'.
    The statement has been terminated..
    How can this be fixed?

    For error 10830, you can refer below link
    http://donald-scom.blogspot.com/2011/11/my-experience-handling-event-id-10830.html
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question, please click "Mark As Answer"Mai Ali | My blog:
    Technical | Twitter:
    Mai Ali

  • 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

  • Variable text is blank in emails when using Scheduled Task to email event log notifications

    I am trying to use powershell to email notification when a user account gets locked.  I am running the script from a server 2008 domain controller.
    I have tried multiple scripts and I have the same issue every time.  The script works fine when I run it directly from the powershell command line window.
    However whenever I try running the exact same scripts from an event-triggered scheduled task, the script runs, however any content that generated from a variable is not added to the email.  It is just left blank and ignored.
    I have tried adding lots of permissions including domain administrator group membership to the account  runs the task from and it doesn't include all the expected text unless I run it from the built-in domain administrator account.
    The task runs and the email is sent, but the email is missing all the content generated by variables.
    How can this be fixed?
    Here is an example script.
    $AccountLockOutEvent = Get-EventLog -LogName "Security" -InstanceID 4740 -Newest 1
    $LockedAccount = $($AccountLockOutEvent.ReplacementStrings[0])
    $AccountLockOutEventTime = $AccountLockOutEvent.TimeGenerated
    $AccountLockOutEventMessage = $AccountLockOutEvent.Message
    $messageParameters = @{ 
    Subject = "Account Locked Out: $LockedAccount" 
    Body = "Account $LockedAccount was locked out on $AccountLockOutEventTime.`n`nEvent Details:`n`n$AccountLockOutEventMessage"
    From = "[email protected]
    To = "[email protected]
    SmtpServer = "exch2010.domain.local" 
    Send-MailMessage @messageParameters
    =================================================
    Here is an example of task settings.
    <?xml version="1.0" encoding="UTF-16"?>
    <Task version="1.2" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task">
      <RegistrationInfo>
        <Date>2015-03-25T21:40:28.8095226</Date>
        <Author>DOMAIN\administrator</Author>
      </RegistrationInfo>
      <Triggers>
        <EventTrigger>
          <Enabled>true</Enabled>
          <Subscription>&lt;QueryList&gt;&lt;Query Id="0" Path="Security"&gt;&lt;Select Path="Security"&gt;*[System[Provider[@Name='Microsoft-Windows-Security-Auditing'] and EventID=4740]]&lt;/Select&gt;&lt;/Query&gt;&lt;/QueryList&gt;</Subscription>
        </EventTrigger>
      </Triggers>
      <Principals>
        <Principal id="Author">
          <UserId>DOMAIN\WilliamsD</UserId>
          <LogonType>Password</LogonType>
          <RunLevel>LeastPrivilege</RunLevel>
        </Principal>
      </Principals>
      <Settings>
        <MultipleInstancesPolicy>IgnoreNew</MultipleInstancesPolicy>
        <DisallowStartIfOnBatteries>true</DisallowStartIfOnBatteries>
        <StopIfGoingOnBatteries>true</StopIfGoingOnBatteries>
        <AllowHardTerminate>true</AllowHardTerminate>
        <StartWhenAvailable>false</StartWhenAvailable>
        <RunOnlyIfNetworkAvailable>false</RunOnlyIfNetworkAvailable>
        <IdleSettings>
          <StopOnIdleEnd>true</StopOnIdleEnd>
          <RestartOnIdle>false</RestartOnIdle>
        </IdleSettings>
        <AllowStartOnDemand>true</AllowStartOnDemand>
        <Enabled>true</Enabled>
        <Hidden>false</Hidden>
        <RunOnlyIfIdle>false</RunOnlyIfIdle>
        <WakeToRun>false</WakeToRun>
        <ExecutionTimeLimit>P3D</ExecutionTimeLimit>
        <Priority>7</Priority>
      </Settings>
      <Actions Context="Author">
        <Exec>
          <Command>powershell.exe</Command>
          <Arguments>-nologo -File "C:\powershell\l2.ps1"</Arguments>
        </Exec>
      </Actions>
    </Task>

    By variable text I mean everything that it generates by using a variable such as the user's name ($LockedAccount)
    and everything else such as $AccountLockOutEventTime and everything else that is generated from
    a variable.
    Nothing like that appears in the email only hard coded text.
    I am not running it remotely.  I am logged directly onto the domain controller and I tried giving
    the account that is used to run the task more and more permissions including domain administrator group membership with the same result.
    When I run the exact same script on the same domain controller locally via the powershell CLI all of the info appears.
    This is the info when the email is generated by running the script directly from the powershell CLI:
    ================================================
    ================================================
    Account BondJ was locked out on 03/26/2015 20:42:18.
    Event Details:
    A user account was locked out.
    Subject:
                    Security ID:                         S-1-5-18
                    Account Name:                 DC1$
                    Account Domain:                            
    DOMAIN
                    Logon ID:                            
    0x3e7
    Account That Was Locked Out:
                    Security ID:                         S-1-5-21-3440879815-2193117124-1719501250-1154
                    Account Name:                 BondJ
    Additional Information:
                    Caller Computer Name:                DC1
    ===================================================
    ====================================================
    Below is the contents of the email when the same script runs via scheduled task trigger using any account I try other than the built-in domain Administrator account.
    =======================================================
    ======================================================
    Account  was locked out on .
    Event Details:
    ===================================================
    Just mostly blank email body with the info above.  All the important information text is missing from the email.

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

  • NImax.exe has generated errors. You must restart the program, a log file is being created.

    NImax.exe has generated errors. You must restart the program, a log file is
    being created.
    This error occurs just after bootup, no programs started except windows..
    Running Windows 2000 latest version on a brand new computer.
    (pent 4 3.0 ghz 500MB ram).
    Can anyone help me with this problem? Happened after install Labview 7.0
    express. Installed twice and same problem occured with both installs.
    Labview 7.0 is the only thing installed right now. Also selected "Visual
    Basic Support" install from driver cd's.
    One other thing I just noticed. System info reports 2 processors and I
    think I only have one.
    TIA

    Happy update.
    After ignoring this problem for awhile and installing some NI DAQ boards,
    this problem is not happening anymore.
    Would urge NI to investigate further though. Messed me up for a couple of
    days, and still don't know why it happened.
    Much thanks to those who helped.
    JJ
    "JJF" wrote in message
    news:qB6Hb.48702$VB2.90660@attbi_s51...
    > One other point, I found out this is a message generated by drwtsn32. Can
    > get rid of the error by unchecking "show visual feedback on errors" box,
    but
    > don't like that fix. Still need help.
    >
    > Thanks,
    >
    > JJ
    >
    > "JJF" wrote in message
    > news:%JRGb.138921$8y1.419649@attbi_s52...
    > > Hi Nirmal and all,
    > >
    > > Happy Holidays to you too, and thanks for the reply.
    > >
    > > Making progress. Did all the uninstalling and registry editing as you
    > > suggested. Also, updated Win2K at Microsoft.com as suggested.
    > > Re-installed with default settings of LV express 7.0. Now I only get
    > the
    > > error when I exit NImax.
    > >
    > > Also, my p2p home network is not that hot. Have it set up as a
    workgroup.
    > > Sometimes when I boot up I have file access between the two computers
    and
    > > sometimes windows explorer can't find the workgroup network path
    (between
    > > the two computers). Both computers can always access the internet
    though.
    > > Using a 4 port Linksys cable/dsl router on a cable modem. Using XP
    home
    > > edition on base computer (the one set up for the isp) and Win2K on the
    > other
    > > computer.
    > >
    > > Also, any idea where this log file is going? Thought it was part of the
    > > event viewer but the errors in the event viewer don't seem to correspond
    > to
    > > the NImax.exe logging event now. There is a file in
    > > "winnt\sytem32\config\software.log" that seems to change at about the
    same
    > > time but I can't access the file because it is in use by the system.
    > >
    > > Using NImax ver 3.02.3005. Do you know if I can download "NI
    measurement
    > > and automation explorer" and/or the driver cd's from NI.com? Maybe I
    have
    > a
    > > flaky disk or something. I have a feeling it may also have to do with
    the
    > > "on again/off again" network neighborhood connection problem.
    > >
    > >
    > > Thanks again,
    > >
    > > JJ
    > >
    > >
    > >
    > > "Nirmal Sharma" wrote in message
    > > news:506500000005000000AE470100-1068850981000@exch​ange.ni.com...
    > > > Hi,
    > > > Happy cristmas & new year for you & ur brand new pc...
    > > >
    > > > How are you uninstalling & then installing LV in your pc ?
    > > >
    > > > I suggest to remove complete LV (Remove All option) from your
    > > > computer. Once uninstallation is completed, go to windows registry -
    > > > by windows start -> run -> regedit -> Enter
    > > >
    > > > Goto HKEY_LOCAL_MACHINE-> SOFTWARE -> National Instruments - Delete
    > > > this folder (National Instruments folder)
    > > >
    > > > Remove any other foloder/file related to NI's software. Be very
    > > > cautious while deleting files from windows registry bcoz wrong file
    > > > deletion may hang your whole system.
    > > >
    > > > Restart your computer..hope it should bootup without any errors.
    > > >
    > > > Now as answered by Alexander, update windows.
    > > >
    > > > After updating, bootup your system. If it boots up without any error
    > > > message, install LV with the typical (default installation).
    > > >
    > > > Hope this helps. Your feedbacks are welcome.
    > > >
    > > > Best Regards,
    > > > Nirmal Sharma
    > > > India
    > >
    > >
    >
    >

  • Dynamic Event Registration Error

    Hi,
    I'm getting to grips with Dynamic events in LabVIEW. However, I've encountered an issue i'm not sure on. When I try to register a cluster of control refs to the Register for Events function I get an error.. See Dynamic Event Registration.vi for small vi highlighting the issue.
    Thoughts?
    Strokes 
    Attachments:
    Dyanmic Event Registration Error.vi ‏9 KB

    Steve Chandler wrote:
    You can wire a reference or an array of references to register for events. Of course you probably already know that you have to wire the output of register for events to the dynamic registration terminal of the event structure.
    Steve Chandler wrote:
    You can wire a reference or an array of references to register for events. Of course you probably already know that you have to wire the output of register for events to the dynamic registration terminal of the event structure.
    That helped me somewhat, however, I'm still experiencing problems. My events seem to be registering correctly but don't seem to generate when I trigger them. I've configured the event structure to execute should one of the controls in my cluster change value. However, the only event case that get's executed is the timeout case.
    I've attached a vi highlighting my problem named Dynamic Event Problem.vi. My real vi is much larger and contains many sub vis so hopefully what I've attached suffices..
    Attachments:
    Process Data Control Refs Edit.ctl ‏14 KB
    Dynamic Event Problem.vi ‏22 KB

Maybe you are looking for

  • I'm getting a general error message then out of memory trying to add a new sequence

    Anyone know how to fix??  i am getting a general error message and then out of memory when adding a new squence??  Help!

  • Two sites turned to one after 10.8

    Under 10.6, I successfully authored two separate iweb sites, example: Domain_ABC.sites2   and  Domain_XYZ.sites2. After upgrading to 10.8, only one file opens, example: launching file ABC opens site ABC, launching file XYZ now opens site ABC. Any ide

  • IChat video conferance with people using PCs

    If I am using iChat and camcorder with my iBook G4 to video conferance family in Florida who are using a Dell PC with Logitech fusion web cam, what should we use to see each other. AIM, ichat, Yahoo? What program is the most compatible to video confe

  • Webcam inc fv-0050 drivers for vista??

    hello everyone i have the webcam creative labs inc vf-0050. it works fine in xp but in my laptop i have vista and it doesnt work there... i tried to find drivers for it but i couldnt find something. please if anyone knows about drivers for vista for

  • GPShell - installing file .cap error 6985

    Hi !!! I am using GPShell Java Card Gemalto TOP IM GX4 script:      mode_201      gemXpressoPro      enable_trace      establish_context      card_connect      select -AID A000000018434D00      open_sc -security 3 -keyind 0 -keyver 0 -key 47454d58505