Throttling  of WLI events

Hey Guys,
I have a workflow which takes events in form of XML messages sent after a components
polling a database. In span of few minutes I get thousands of records and and
those many XML events to WLI server. Whats the best of way of throtling the inout
.by manipulating the event listener beans alone or should I throttle messgaes
beofre sending to event Q also!..Any good suggestions!
Thnks.

In the future, Swing related questions should be posted in the Swing fourm.
It spams me with key released if I hold down return/enter. In Windows you only get repeated keyPressed events (which I think is correct), but in some other OS I believe keyPressed/keyReleased pairs are generated (which I believe is your problem).
You have an answer but (for what its worth) here is another approach that prevents the ActionEvent from being fired more than once while the Enter key is being help down:
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class TimedActionListener implements ActionListener
     private int interval;
     private Timer timer;
     public TimedActionListener(int interval)
          this.interval = interval;
          timer = new Timer(interval, new ActionListener()
               public void actionPerformed(ActionEvent e)
                    timer.stop();
     public void actionPerformed(ActionEvent e)
          if (timer.isRunning())
               timer.restart();
          else
               timer.start();
               System.out.println("Action Fired");
     public static void main(String[] args)
          JTextField textField = new JTextField(10);
          textField.addActionListener( new TimedActionListener(550) );
          JFrame frame = new JFrame();
          frame.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
          frame.add(textField);
          frame.pack();
          frame.setLocationRelativeTo( null );
          frame.setVisible(true);
}

Similar Messages

  • Had to restart information store service. Caused by throttling?? Event ID 1010 from ManagedAvailability, any where else to look for error logs?

    For some reason we had to restart the information store service. So far I came up with these logs from the
    ManagedAvailability event logs. If there some where else to check for additional information?  It looks like the throttling allowed a failover?!
    DatabaseFailover-00cb58bd-0115-4478-b4aa-fe60dce2757a-DatabasePercentRPCRequestsDatabaseFailover: Throttling allowed the operation to execute
    Starting recovery action (Action=DatabaseFailover, Resource=00cb58bd-0115-4478-b4aa-fe60dce2757a, Requester=DatabasePercentRPCRequestsDatabaseFailover, ThrottlingMode=None)
    Recovery action failed. (Action=DatabaseFailover, Resource=00cb58bd-0115-4478-b4aa-fe60dce2757a, Requester=DatabasePercentRPCRequestsDatabaseFailover, Error=Microsoft.Exchange.Cluster.Replay.AmDbMoveOperationNotSupportedStandaloneException: An Active Manager
    operation failed. Error: The database action failed. Error: This operation is not supported on standalone mailbox servers.
       at Microsoft.Exchange.Cluster.ActiveManagerServer.AmDbOperation.Wait(TimeSpan timeout)
       at Microsoft.Exchange.Cluster.ActiveManagerServer.ActiveManagerCore.MoveDatabase(Guid mdbGuid, MountFlags mountFlags, UnmountFlags dismountFlags, DatabaseMountDialOverride mountDialOverride, AmServerName fromServer, AmServerName targetServer,
    Boolean tryOtherHealthyServers, AmBcsSkipFlags skipValidationChecks, AmDbActionCode actionCode, String moveComment, AmDatabaseMoveResult& databaseMoveResult)
       at Microsoft.Exchange.Cluster.ActiveManagerServer.AmRpcServer.<>c__DisplayClassc.<MoveDatabaseEx>b__b()
       at Microsoft.Exchange.Data.Storage.Cluster.HaRpcExceptionWrapperBase`2.RunRpcServerOperation(String databaseName, RpcServerOperation rpcOperation)
       --- End of stack trace on server (XMNWDEX001.Xamin.com) ---
       at Microsoft.Exchange.Data.Storage.Cluster.HaRpcExceptionWrapperBase`2.ClientRethrowIfFailed(String databaseName, String serverName, RpcErrorExceptionInfo errorInfo)
       at Microsoft.Exchange.Data.Storage.ActiveManager.AmRpcClientHelper.RunDatabaseRpcWithReferral(AmRpcOperationHint rpcOperationHint, IADDatabase database, String targetServer, InternalRpcOperation rpcOperation)
       at Microsoft.Exchange.Data.Storage.ActiveManager.AmRpcClientHelper.MoveDatabaseEx(IADDatabase database, Int32 flags, Int32 dismountFlags, Int32 mountDialOverride, String fromServer, String targetServer, Boolean tryOtherHealthyServers, Int32
    skipValidationChecks, AmDbActionCode actionCode, String moveComment, String& lastServerContacted, AmDatabaseMoveResult& moveResult)
       at Microsoft.Exchange.HA.ManagedAvailability.ManagedAvailabilityHelper.PerformDatabaseFailover(String componentName, String comment, Database database)
       at Microsoft.Exchange.Monitoring.ActiveMonitoring.Responders.DatabaseFailoverResponder.InitiateDatabaseFailover(String databaseGuidString)
       at Microsoft.Exchange.Monitoring.ActiveMonitoring.Common.ThrottledRecoveryAction.Execute(Boolean throwOnException, TimeSpan timeout, Action`1 action)
       at Microsoft.Office.Datacenter.ActiveMonitoring.ResponderWorkItem.InvokeResponder(CancellationToken cancellationToken)
       at Microsoft.Office.Datacenter.ActiveMonitoring.ResponderWorkItem.CheckCorrelationAndInvokeResponder(MonitorResult lastMonitorResult, CancellationToken cancellationToken)
       at Microsoft.Office.Datacenter.ActiveMonitoring.ResponderWorkItem.<>c__DisplayClassb.<>c__DisplayClassf.<DoManagedAvailabilityWork>b__9(ResponderResult lastResponderResult)

    Hi,
    Based on this event log, I find the error “Error=Microsoft.Exchange.Cluster.Replay.AmDbMoveOperationNotSupportedStandaloneException” and error “Error: This operation is not supported on standalone mailbox servers.”
    This error seems that there is unsupported configuration in your Exchange deployment.
    I will be very glad to help if you explain your Exchange server deployment for more details.
    Thanks.

  • RDBMS event generator & JNDI datasources

    Hi everyone,
    My WLI 8.1 SP5 is going nuts ! I'm under a cluster architecture, WL 8.1 SP6 with Red Hat Linux, JRockit 1.4.2_10. Deploying an application i need to create some RDBMS event generator, but when i do this, i get an NameNotFoundException looking for my jndi datasource ( see below ). The datasource is created and i can work with it, since it's a must for my application. How is it possible that a datasource exists for a web application and does not for an integration event ? Does anyone have any experience about this ? Any help will be very appreciated !!
    <18-may-2007 23H47' CEST> <Error> <WLW> <000000> <Error occurred while retrieving the Database Type
    javax.naming.NameNotFoundException: Unable to resolve 'DSDataSource' Resolved ; remaining name 'DSDataSource'
    at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:924)
    at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:230)
    at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:154)
    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:188)
    at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:258)
    at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:363)
    at javax.naming.InitialContext.lookup(InitialContext.java:347)
    at com.bea.wli.event.util.EventUtils.getDataSourceConnection(EventUtils.java:640)
    at com.bea.wli.oam.rdbmseg.RDBMSChannelValidator.setChannelValues(RDBMSChannelValidator.java:471)
    at com.bea.wli.oam.rdbmseg.RDBMSChannelValidator.validate(RDBMSChannelValidator.java:218)
    at com.bea.wli.oam.rdbmseg.RDBMSMainServlet.submitChannel(RDBMSMainServlet.java:327)
    at com.bea.wli.oam.eg.framework.XEGMainServlet.processRequest(XEGMainServlet.java:88)
    at com.bea.wli.oam.eg.framework.XEGMainServlet.doPost(XEGMainServlet.java:151)
    at com.bea.wli.oam.core.BaseServlet.userService(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(Unknown Source)
    at com.bea.wli.oam.core.BaseServlet.run()Ljava.lang.Object;(Unknown Source)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
    at com.bea.wli.security.authentication.AuthenticationService.runAs(AuthenticationService.java:109)
    at com.bea.wli.oam.core.BaseServlet.secureService(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(Unknown Source)
    at com.bea.wli.oam.core.BaseServlet.service(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1077)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:348)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:7047)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

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

  • Non-XML start event

    Is their a mechanism whereby a template can be started by somthing other
    than an XML message arriving on a queue.
    In our scenario their will be many large XML messages posted in all destined
    for the same template. What we'd like is to be able to start based on say
    some value in the message header.
    Thanks in advance,
    Dermot

    You might be right -- I was hoping that WLI did a "quick parse" to only retrieve
    the DOCTYPE/root name for this purpose.
    Another idea is that you could publish messages to a topic/queue -- and then have
    a bridge pass the messages along to the WLI Event Queue. However, the bridge
    could implement a selector which could filter out messages that you don't want
    -- by inspecting JMS property values. I know this is a little bit of indirection
    -- but may be worth your while.
    "Dermot" <[email protected]> wrote:
    >
    Jared,
    Thanks for the reply, I might be incorrect in saying this but
    that does not prevent the XML message from being parsed.
    It is the parsing of many large XML documents by integration
    that we are trying to prevent as we'll need to parse them
    again inside the business operation EJB.
    Thanks in advance,
    Dermot
    "Jared" <[email protected]> wrote:
    You can continue to publish messages to the queue -- but in the template
    start
    node, you can filter which messages can start the template by usingan
    event key
    (you can select the event key in the DOCTYPE/root name field). Your
    event key
    can determine which DOCTYPE or root name that you want -- and then you
    can also
    supply a Key Expression which could return the value of a JMS Header/Property
    value -- using EventAttribute("some jms prop"). Then back in your start
    node,
    define your Key Value Expression to the value of the JMS property that
    will be
    valid to instantiate your template.
    "Dermot Byrne" <[email protected]> wrote:
    Is their a mechanism whereby a template can be started by somthing
    other
    than an XML message arriving on a queue.
    In our scenario their will be many large XML messages posted in alldestined
    for the same template. What we'd like is to be able to start based
    on
    say
    some value in the message header.
    Thanks in advance,
    Dermot

  • Configuration Template Builder WL8.1 does not work

    Hello,
         After spending nearly 2 days now trying to get a Configuration Template
    built, I've concluded this simply does not work. Has anyone used the
    Config Template builder to package a semi-complex application on top of WLI?
         I'm trying to have 2 of my applications, the JMS and JDBC resources,
    and a WLI event generator packaged up for easy deployment to someone
    else's server configuration. The problem with this is that there are
    required resources for WLI, namely a database. The Pointbase database
    included for WLI does not get included in the template automatically.
    There are also some flat-out bugs:
    If you choose to include a resource adapter "application", such as
    jms-xa-adp.rar, the template builder does not bundle this in the
    template and deploy it correctly. The template builder restricts you to
    putting applications in the relative path starting at ./
    For jms-xa-adp.rar, its original location is in $WL_HOME/server/lib, and
    the template builder defaults to put it in ./lib of your template.
    However, when you create a domain with the template, jms-xa-adp.rar does
    not get placed in your ./lib directory. This causes you to then go and
    manually edit your config.xml to point back at $WL_HOME/server/lib or to
    manually copy jms-xa-adp.rar into your ./lib directory (which the
    template mechanism should do for you).
    Relative paths in the config.xml file require you to execute the config
    builder from the directory of the domain you are making a template for.
    The template builder should instead be smart enough to realize that
    relative paths in the config.xml file are relative to the directory that
    the config.xml is in, not the one you are running the template builder
    from. You'll get an error when trying to create the template cause it
    won't find the resources if you're not in that directory.
    If anyone has successfully used this to package a WLI application in a
    template, please share your experiences and how to do so. In the
    meantime, I'm claiming there is no way to nicely package up a server
    configuration for a WLI app in Weblogic, and this is a big shortcoming.
    Weblogic needs a simple transferrable way of creating server
    configurations (it tries to do this with the template, but that is
    failing). With JBoss, for example, you simply copy your server directory
    into another installation. This doesn't work with Weblogic unfortunately
    because it puts hard-coded paths in the config.xml file.
    Thanks

    Russ,
         Thank you for the detailed responses. The only one I'm currently
    struggling with still is the #5, with the scripts between the two. One
    of the major benefits of using a J2EE App Server is supposed to be the
    portability between servers. I find it disconcerting that BEA Weblogic
    restricts me to the platform I created the domain on by creating
    platform-specific startup/shutdown scripts for only the platform created
    on. It's understandable that a script converter would be difficult, but
    at least both the .sh/.cmd files should be created from the first time
    you make a domain. If the user only wants one or the other, they can
    delete the appropriate one. It's also understandable that the
    users/deployers shouldn't have to manually convert a startup/shutdown
    script to take the domain to a different box.
         JBoss clearly has BEA beat on ease of deployment here. Their model is
    the concept I'm thinking of: you have some generic startup/shutdown
    scripts that can load a platform-independent server configuration. You
    truly can copy directories as-is between JBoss installations.
         I was hoping to package up a server domain for use on any of the
    supported platforms, but since I don't have the time to manually convert
    the startup/shutdown scripts, I'm going to have to tell people it's only
    for Solaris now.
         Hopefully BEA can fix this in a future SP. There's no need for this
    platform-dependency. Also, if the Windows version can generate both
    scripts at creation time, then the Solaris should be able to do this as
    well (or at least give you the option).
    Thanks again for the replies
    russ wrote:
    Hi Steven,
    I have several comments and questions about your last two posts. I will try to
    address them in order.
    1) "The Pointbase database included for WLI does not get included in the template
    automatically."
         By default the template builder only includes the *.cmd and *.sh files in the
    template from your domain directory. If you begin building with an existing
    domain template all files that were in the template will get included. This was
    done because there is no way for the builder to automatically determine all the
    files that are required by your template/domain and we steered away from recursively
    including all files from the directory so that unused files were not needlessly
    included. We can extrapolate some files based on the application paths in the
    config.xml, but the rest is left up to the template builder to be aware of what
    is needed for their domain to run. So, if you need the Pointbase *.dbn and *.wal
    files included in your template just select these files on the ?Add Files? panel
    of the template builder and add them to the ?Domain Directory?.
    2) ?If you choose to include a resource adapter "application", such as jms-xa-adp.rar,
    the template builder does not bundle this in the template and deploy it correctly.?
         The template builder considers application files to be in two categories: Imported
    or Internal. When you are at the ?Add Applications? panel of the builder you
    will see a checklist of all the applications that are in the domain you selected.
    On the right hand side there are two text fields. The top one displays the application
    path as it is currently set in the config.xml of that domain. The bottom field
    will be different depending on what category the application falls into. As you
    click on each application in the list, you may notice that the bottom field may
    change from an editable field titled ?Imported Application Path? to a non-editable
    field titled ?Internal Application Path?. The difference between the two categories
    is that an ?Imported? application?s files will be included in the template jar.
    An ?Internal? application?s files will not be included in the template jar because
    they are considered internal to the weblogic installation. The jms-xa-adp.rar
    should fall into the internal category and should not get included in your template.
         From what you are describing it sounds like the builder attempted to import that
    application when it should not have. In an attempt to recreate the problem you
    are seeing I deployed that Connector Module through the WLS console and ended
    up with an application path of ?C:\bea\weblogic81\server\lib? where ?C:\bea\weblogic81?
    is my WL_HOME (a.k.a. USER_INSTALL_DIR). If I then attempt to build a template
    from this domain, the builder recognizes this as an internal path and does not
    include it inside my template. If the current application path you had looks
    different from the one above, that may explain why the builder was attempting
    to import it. What was the value of the ?Current Application Path? for that application
    deployment?
    3) ?Relative paths in the config.xml file require you to execute the config builder
    from the directory of the domain you are making a template for.?
         The builder is ?smart? enough to determine relative paths. You should not have
    to invoke it from the domain directory you are working with. There is a known
    bug in the WebLogic Platform 8.1.1.0 release of the template builder that will
    cause it to not find files with relative paths in your domain directory if the
    application path in the config.xml is just a ?.?. If this is the case, you should
    see a FileNotFoundException when you attempt to create the template. This will
    be fixed in SP2 and you can work around this problem by changing those paths to
    ?./? instead. If this was not the case, what was the path the wizard choked
    on?
    4) ?Looking through the config file, it seems that it's all of the WLI components
    that have absolute paths in the config file. In addition, BEA_WLS_DBMS_ADK has
    an absolute path, not sure if that is WLI or WLS. ?
         BEA_WLS_DBMS_ADK is an integration application. If you created the original
    domain using the configuration wizard most of the applications in an integration
    enabled domain will reference paths inside of you installation directory or ?internal?
    paths. For instance, I used the wizard to create a ?Basic WebLogic Integration
    Domain?. The path for that application in this domain is: ?C:\bea\weblogic81/integration/adapters/dbms/lib/BEA_WLS_DBMS_ADK.ear?
    where ?C:\bea\weblogic81? is my WL_HOME or USER_INSTALL_DIR. When I load this
    domain into the builder it shows this application as ?internal? and the ?Internal
    Application Path? is "$USER_INSTALL_DIR$/integration/adapters/dbms/lib/BEA_WLS_DBMS_ADK.ear".
    This will be set as the path value of this application in the config.xml that
    will be included in the template you build. When you later use the Configuration
    Wizard on this template it will substitute the $USER_INSTALL_DIR$ to the value
    of the installation directory of the machine you are creating it on.
         If you were to Change these to relative paths, as Mark previously suggested,
    it will only work if you copy the domain directory to the same location relative
    to your installation directory on the target machine. Also, if you copy the domain
    in this manner you will more than likely run into problems with your start/stop
    scripts and be forced to hand modify all the paths contained within. The configuration
    wizard tries to alleviate these problems and make the configuration entirely portable.
    This gives the user who creates the domain from your template the ability to
    put it anywhere they want regardless of the paths in the config.xml.
    5) ?However, there is another major problem with the Template Builder: it only
    includes the startup/shutdown script for the platform you create the template
    on. ???I built the template on Solaris with the UNIX scripts. However, I tried
    to create a new config on Windows with this template, and the scripts were not
    converted to .bat files!?
         As I stated previously, the builder will only include *.cmd and *.sh scripts
    into your template by default. If you created the domain on a unix platform using
    the configuration wizard it will not extract the *.cmd files since these aren?t
    considered to be useful on unix. If you were then to attempt building a template
    from this domain and take it onto a windows platform, it will obviously be missing
    any windows scripts. Conversely, the wizard will extract *.sh scripts on windows
    because they can still be useful if a user has an MKS or Cygwin type environment
    installed. The config wizard and template builder do not have the ability to convert
    scripts. The builder will only include existing scripts that are in your domain
    directory and automatically determine any necessary string substitutions that
    will be needed. Please note that since WebLogic is only supported on the NT/2K/XP
    versions of windows you will find that the wizards use ?.cmd? files and not ?.bat?
    files since these are more commonly associated with Win 95/98/ME.
         I will be happy to answer any more questions you may have and would also like
    to take a look at your domain configuration to try and get a better understanding
    of the problems you are encountering.
    thanx,
    russ

  • JMS header properties are null

    Hi all,
    At sending messages to the internal WLI event queue from a client application
    I get the following problem:
    I set a application specific jms header property via the setStringProperty method.
    An event node in the receiving workflow extracts the property with EventAttribute.
    The event node gets the message but the header property is always null. I tried
    various sorts of property names, none of them works. Only the real jms header
    names which are set by the send method give non null values, but I cannot set
    these in the client application.
    Any ideas?

    Hi All,
    I have got it working here is how i did it.
    - transport header add a user defined name and value, it get added to outbound transport header.
    - at receiving end. retrieve it using for/each loop for inbound header user properties.
    Regards,
    Amit

  • MBeans missing from WLST "directory"

    I want to be able to automate the creation of WLI Event generators, Trading partner
    profiles, worklist configuration, AI configuration amoung other things using WLST.
    When I look at the available MBeans using WLShell, I can see them in the GUI.
    For example, the TimerEventGenerators MBean is easily accessible using WLShell.
    However, I cannot "cd" into the TimerEventGenerator MBean using WLST.
    Any help would be very much appreciated.
    Thanks,
    Conor

    that can be a problem with your windows.. your OS..
    rebuilding your OS should be able to fix it.
    oOo
    *Read EULA before installing any software.

  • Can't Turn off debugging in SharePoint 2013 ULS!

    I have started a thread in another user forum here: http://sharepoint.stackexchange.com/questions/101773/how-to-determine-if-sharepoint-is-in-debug-mode 
    Essentially I have followed the steps outlined here http://msdn.microsoft.com/en-us/library/ee231550.aspx to turn off debug output in the ULS.  I have checked each web.config
    in each webapp of the farm, on each server in the farm, to ensure that callstack=false, customErrors mode=On and that compilation debug=false.  I have performed IISReset and server restarts.
    I see many messages in ULS that either have DEBUG within the message or "Write Debug Scope Start event..." and "Write Debug Scope End event..."
    Do I need to perform some special 'redeployment' from within VS12?  I would think an IISReset would do the trick after changing the web.config  ?
     

    http://technet.microsoft.com/en-us/library/ee748656%28v=office.15%29.aspx#section2
    In Central Administration, on the home page, click Monitoring.
    On the Monitoring page, in the Reporting section, click
    Configure diagnostic logging.
    On the Diagnostic Logging page, in the Event Throttling section, configure event throttling as follows:
    To configure event throttling for all categories:
    Select the All Categories check box.
    Select the event log level from the Least critical event to report to the event log list.
    Select the trace log level from the Least critical event to report to the trace log list.
    To configure event throttling for one or more categories:
    Select the check boxes of the categories that you want.
    Select the event log level from the Least critical event to report to the event log list.
    Select the trace log level from the Least critical event to report to the trace log list.
    To configure event throttling for one or more subcategories (you can expand one or more categories and select any subcategory):
    Click the plus (+) next to the category to expand the category.
    Select the check box of the subcategory.
    Select the event log level from the Least critical event to report to the event log list.
    Select the trace log level from the Least critical event to report to the trace log list.
    To return event throttling for all categories to default settings:
    Select the All Categories check box.
    Select Reset to default from the Least critical event to report to the event log list.
    Select Reset to default from the Least critical event to report to the trace log list.
    In the Event Log Flood Protection section, select the
    Enable Event Log Flood Protection check box.
    In the Trace Log section, in the Path box, type the path of the folder to which you want logs to be written.
    In the Number of days to store log files box, type the number of days (1-366) that you want logs to be kept. After this time, logs will automatically be deleted.
    To restrict the disk space that logs can use, select the Restrict Trace Log disk space usage check box, and then type the number gigabytes (GB) you want to restrict log files to. When logs reach this value, older logs will automatically
    be deleted.
    After you have made the changes that you want on the Diagnostic Logging page, click
    OK.
    YOu will have to restart the sharepoint tracing service on all servers
    http://www.mssharepointtips.com/tip.asp?id=1130
    http://blogs.msdn.com/b/mossbiz/archive/2011/07/29/the-quot-right-quot-diagnostic-log-uls-settings.aspx
    http://technet.microsoft.com/en-us/library/ee748619%28v=office.14%29.aspx

  • Non-XML start

    Is their a mechanism whereby a template can be started by somthing other
    than an XML message arriving on a queue.
    In our scenario their will be many large XML messages posted in all destined
    for the same template. What we'd like is to be able to start based on say
    some value in the message header.
    Thanks in advance,
    Dermot

    You might be right -- I was hoping that WLI did a "quick parse" to only retrieve
    the DOCTYPE/root name for this purpose.
    Another idea is that you could publish messages to a topic/queue -- and then have
    a bridge pass the messages along to the WLI Event Queue. However, the bridge
    could implement a selector which could filter out messages that you don't want
    -- by inspecting JMS property values. I know this is a little bit of indirection
    -- but may be worth your while.
    "Dermot" <[email protected]> wrote:
    >
    Jared,
    Thanks for the reply, I might be incorrect in saying this but
    that does not prevent the XML message from being parsed.
    It is the parsing of many large XML documents by integration
    that we are trying to prevent as we'll need to parse them
    again inside the business operation EJB.
    Thanks in advance,
    Dermot
    "Jared" <[email protected]> wrote:
    You can continue to publish messages to the queue -- but in the template
    start
    node, you can filter which messages can start the template by usingan
    event key
    (you can select the event key in the DOCTYPE/root name field). Your
    event key
    can determine which DOCTYPE or root name that you want -- and then you
    can also
    supply a Key Expression which could return the value of a JMS Header/Property
    value -- using EventAttribute("some jms prop"). Then back in your start
    node,
    define your Key Value Expression to the value of the JMS property that
    will be
    valid to instantiate your template.
    "Dermot Byrne" <[email protected]> wrote:
    Is their a mechanism whereby a template can be started by somthing
    other
    than an XML message arriving on a queue.
    In our scenario their will be many large XML messages posted in alldestined
    for the same template. What we'd like is to be able to start based
    on
    say
    some value in the message header.
    Thanks in advance,
    Dermot

  • Cannot Deploy JPD with Timer Event Subscription in WLI 9.2 MP1 cluster

    Has anyone had any luck deploying a JPD with a timer event subscription to a 9.2 MP1 WLI cluster? I am able to deploy Synchronous Client Request JPDs without any trouble but the ones that rely on internal WLI queues for invocation will not deploy in production. I am able to deploy the problematic JPDs to a non-clustered development environment without any issues but when I try to deploy the same artifact to a 9.2 MP1 cluster I see the following error:
    Throwable: java.security.PrivilegedActionException: java.security.PrivilegedActionException: java.security.PrivilegedActionException: javax.management.InstanceNotFoundException: tosipDomain_phase2:Name=cgJMSServer,Type=JMSServer
    Stack Trace:
    java.security.PrivilegedActionException: java.security.PrivilegedActionException: java.security.PrivilegedActionException: javax.management.InstanceNotFoundException: tosipDomain_phase2:Name=cgJMSServer,Type=JMSServer
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:373)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
         at com.bea.wli.knex.runtime.core.bean.EJBGenerator.deployWorkshopQueues(EJBGenerator.java:178)
         at com.bea.wli.knex.runtime.core.dispatcher.DispResources.deployQueues(DispResources.java:727)
         at com.bea.wli.knex.runtime.core.dispatcher.DispCache.ensureDispUnit(DispCache.java:667)
         at com.bea.wli.knex.runtime.core.dispatcher.DispCache.ensureDispUnitForURI(DispCache.java:1025)
         at com.bea.wli.knex.runtime.core.dispatcher.DispCache.ensureDispUnitForURI(DispCache.java:946)
         at com.bea.wli.management.adminhelper.AdminHelperBean.getDispFile(AdminHelperBean.java:348)
         at com.bea.wli.management.adminhelper.AdminHelperBean.getProcessMetadata(AdminHelperBean.java:94)
         at com.bea.wli.management.adminhelper.AdminHelperSSB_wivmoo_EOImpl.getProcessMetadata(AdminHelperSSB_wivmoo_EOImpl.java:70)
         at com.bea.wli.management.adminhelper.AdminHelperSSB_wivmoo_EOImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:548)
         at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:224)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:438)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:434)
         at weblogic.rmi.internal.BasicServerRef.access$300(BasicServerRef.java:57)
         at weblogic.rmi.internal.BasicServerRef$BasicExecuteRequest.run(BasicServerRef.java:965)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    I am suprised about this error, b/c we are running out of a vanilla WLI domain created with the Configuration Wizard and the error message has to do with an internal JMS server that we have left with the default configuration. Has anyone else had success with this?
    On a side note, I have to complain about the lack of 9.2 WLI documentation about deploying applications to production. The links on e-docs.bea.com actually redirect you to 8.5 documentation?!? I can't believe that this is the documentation we are left to use for 9.2 because there are so many changes between WLS 8 and 9.

    Hey buddies,
    I have a very similar error on WLI 9.2 MP2 on development mode with a cluster of managed servers on the same machine. I'm afraid that the automatic resource creation feature of dev mode is creating the error.
    The ...processes.UnlockService is jpd called by a JMS Broker thru a channel, and I considering it as the first suspect point.
    Any help is welcome.
    LOG CONTENT:
    <May 15, 2008 8:04:57 PM GMT-03:00> <Notice> <Stdout> <000000> <2008-05-15 20:04:57,575 [PERFO] localServer 10.10.10.10 xMDA  [iid=15899 prd=TC DATA act=INSTALL otp=I onb=00011552111 cid=12345189 mrt=]  END Designar_TCDATA OK>
    <May 15, 2008 8:04:57 PM GMT-03:00> <Error> <WLI> <000000> <Exception processing com.oi.integra.provisioning.lockManager.processes.UnlockService
    java.security.PrivilegedActionException: java.security.PrivilegedActionException: java.security.PrivilegedActionException: javax.management.InstanceNotFoundException: granite_wli_dev:Name=cgJMSServer,Type=JMSServer
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:373)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
         at com.bea.wli.knex.runtime.core.bean.EJBGenerator.deployWorkshopQueues(EJBGenerator.java:178)
         at com.bea.wli.knex.runtime.core.dispatcher.DispResources.deployQueues(DispResources.java:727)
         at com.bea.wli.knex.runtime.core.dispatcher.DispCache.ensureDispUnit(DispCache.java:671)
         Truncated. see log file for complete stacktrace
    java.security.PrivilegedActionException: java.security.PrivilegedActionException: javax.management.InstanceNotFoundException: granite_wli_dev:Name=cgJMSServer,Type=JMSServer
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:373)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
         at com.bea.wli.knex.runtime.core.bean.EJBGenerator.ensureQueue(EJBGenerator.java:442)
         at com.bea.wli.knex.runtime.core.bean.EJBGenerator.ensureWorkshopQueues(EJBGenerator.java:412)
         at com.bea.wli.knex.runtime.core.bean.EJBGenerator$3.run(EJBGenerator.java:194)
         Truncated. see log file for complete stacktrace
    java.security.PrivilegedActionException: javax.management.InstanceNotFoundException: granite_wli_dev:Name=cgJMSServer,Type=JMSServer
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:373)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
         at com.bea.wli.knex.runtime.core.bean.EJBGenerator.doesQueueExist(EJBGenerator.java:359)
         at com.bea.wli.knex.runtime.core.bean.EJBGenerator$6.run(EJBGenerator.java:449)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         Truncated. see log file for complete stacktrace
    javax.management.InstanceNotFoundException: granite_wli_dev:Name=cgJMSServer,Type=JMSServer
         at weblogic.management.mbeanservers.compatibility.internal.MBeanHomeImpl.getProxy(MBeanHomeImpl.java:68)
         at weblogic.management.mbeanservers.compatibility.internal.MBeanHomeImpl.getMBean(MBeanHomeImpl.java:88)
         at weblogic.management.mbeanservers.compatibility.internal.MBeanHomeImpl.getAdminMBean(MBeanHomeImpl.java:265)
         at com.bea.wli.knex.runtime.core.bean.WLSUtil.getWorkshopJMSServer(WLSUtil.java:713)
         at com.bea.wli.knex.runtime.core.bean.EJBGenerator$5.run(EJBGenerator.java:372)
         Truncated. see log file for complete stacktrace
    >
    java.security.PrivilegedActionException: java.security.PrivilegedActionException: java.security.PrivilegedActionException: javax.management.InstanceNotFoundException: granite_wli_dev:Name=cgJMSServer,Type=JMSServer
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:373)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)

  • Messages disappear on BPM event  Q in WLI 7

    Hi ,
    I am using WLI 7.0 . I have onbserved that under load, sometime some events get
    lost on event queue and they never reach their intended WF even though I use
    JMS addressed messaging and messages are adresses to specific WF instances (through
    instance id). Has anybody encountered this problem and has any idea about it?
    Thanks.

    Henry,
    Please post this question on the weblogic.developer.interest.integration
    newsgroup.
    Regards,
    Raj Alagumalai
    Backline Workshop Support
    "Henry Mugasha" <[email protected]> wrote in message
    news:[email protected]..
    Hi,
    I am using a Task Control Factory to create Task Control Instances in aloop
    and then
    create tasks and assign them to a predefined group. I have an event choice
    for two events
    waiting for the onTaskCompleted and onTaskAborted event call backs.
    I have two such operations (of task creation) in the same loop. For
    simplicity I have used two separate task factory controls for each of the
    tasks (because I even had worse problems using a single control factoryfor
    both tasks in the same loop).
    When I instantiate the process, through work list I am able to claim,start
    and complete the first task. When I try the same procedure (claim, startand
    complete) on the second task, the the event choice for the corresponding
    task receives 2 event call backs. First it receives the onTaskCompleted as
    expected, but then it also received another call back of the same typewhich
    displays the error on the server log as:
    <Sep 24, 2003 9:43:56 AM EDT> <Warning> <WLW> <000000> <on process
    completion, 1 undelivered messages to
    'sampleRequestTaskFactoryCtrl_onTaskCompleted'>
    <Sep 24, 2003 9:43:56 AM EDT> <Warning> <WLW> <000000> <ejbLoad:
    Conversation 1064411008439:null not found>
    <Sep 24, 2003 9:43:56 AM EDT> <Warning> <WLW> <000000> <A message wasunable
    to be delivered from a WLW Message Queue. Attempting to deliver the
    onAsyncFailure event>
    <Sep 24, 2003 9:43:56 AM EDT> <Warning> <WLW> <000000> <ejbLoad:
    Conversation 1064411008439:null not found>
    Does anybody know why two events are fired for the same work list action?
    Thanks in advance.
    Henry M

  • Getting events into WLI from  External JMS Queue

    Hi,
    I can't figure out how to get an event into WLI from an external JMS queue.
    I can send an XML message to an external queue but can't figure out how to get
    a message from an external queue into WLI. I have created the MDB using the generator
    program provided and have deployed. How does this MDB now send these messages
    into WLI?
    I have also posted this same question in weblogic.interest.jms newsgroup.
    -- Bill

    Hi Bill.
    Actually this is really simple. Here are the steps:
    Connect your MDB to the external JMS queue by modifying the weblogic-ejb-jar.xml
    The MDB onMessage(Message m) method will receive a message from the external JMS
    queue. It will then use JNDI to bind to the EventQueue of WLI and submit the event
    as XML into that queue.
    Obvously the onMessage() operation must be transacted using container managed
    transactions so the scope will spawn both de-queuing from the external JMS queue
    and enqueing into the WLI Evnet Queue.
    "Bill Ozeroff" <[email protected]> wrote:
    >
    Hi,
    I can't figure out how to get an event into WLI from an external JMS
    queue.
    I can send an XML message to an external queue but can't figure out how
    to get
    a message from an external queue into WLI. I have created the MDB using
    the generator
    program provided and have deployed. How does this MDB now send these
    messages
    into WLI?
    I have also posted this same question in weblogic.interest.jms newsgroup.
    -- Bill

  • WLI MQ Event Generator Tuning

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

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

  • Event Subscription in WLI

    Process A and B are running in parallel in WLI. However Process B should finish after process A is done.
    Therefore our idea is to make process B subscribe to an event. Thus, when Process A is done, it publishes an event and B finishes its job.
    This solution would perfectly work. However I have the issue that, in case Process A publishes the event to the Message Broker before Process B is subscribed, then this event is lost.
    Is there a way to make this subscription to get the events that were already published before?

    Process A and B are running in parallel in WLI. However Process B should finish after process A is done.
    Therefore our idea is to make process B subscribe to an event. Thus, when Process A is done, it publishes an event and B finishes its job.
    This solution would perfectly work. However I have the issue that, in case Process A publishes the event to the Message Broker before Process B is subscribed, then this event is lost.
    Is there a way to make this subscription to get the events that were already published before?

  • WLI 8.1 RDBMS Event Generator Problem

    Hi,
    I am using WLI 8.1 SP4. I have created a Trigger type RDBMSEventGenerator which publishes events in xml format.
    It is supposed to poll every 8 seconds.
    This event generator works fine if it is created after the server is started.
    However, if the server is restarted, the same event generator stops polling completely. No events are published irrespective of the number of inserts made in the specified table.
    Could anyone shed some light on why this is happening. I have tried to suspend and resume the event generator several times as well, to no effect.

    I would ask in the WebLogic Server - JMS forum.

Maybe you are looking for

  • R12 Future Dated Payments

    Hi All, Kindly let me know if there is a solution for the below case. Ex- there is a future dated payment issued in oracle with maturity date as on 01 June 2011, now during the time of issuing the accounting would be Supplier Liability Dr to Future D

  • Replies not appearing!

    I have posted two (2) replies in the " How is BBLink Version 1.2.3.48?" thread and neither has appeared. What is the problem? Thanks! . . . .  Pete

  • Links around slide show are obtrusive

    Sorry- I need help again. How do you move the links around the slide show like: Back to Album, Play Slide Show, Download, Previous and Next? Can you change the wording, position, font or color? They are pretty obtrusive. The My Albums Index page is m

  • My doc is using a lot of memory.  how do i fix this problem

    i was playing aroung with my doc.  Adding and removing applications.  Now my doc is using all my memory. I dont know what I did?

  • Data Grid and Form on HFM 11.1.1.3

    I am running HFM 11.1.1.3 and I am trying to load Data Grid and Form in WorkSpace but I am receiving this error below: Error Number:70 Error Description:Permission denied Error Source:Microsoft VBScript runtime error Page On which Error Occurred:/hfm