Cleanup on Producer/C​onsumer template puts consumer above producer?

See the attached pic.  I have the stock "pro/con" template, and the i do the auto block diagram cleanup and then it spatially positions the consumer loop on top of the producer loop.  Is my block diagram cleaner upper behaving correctly?  Is there a way to force them to stay in the stock orientation with the pro loop above the con loop?  
Thanks. 
Attachments:
bdc_ofPCtemplate.png ‏66 KB

It's avoiding the wire crossing over the error wire with the queue reference.  Personally, I prefer having the Producer on top; data flows down.
So to answer your question, there is nothing wrong with your Diagram Cleanup.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines

Similar Messages

  • Producer consumer "clean up diagram" puts consumer on top of producer

    I do File > New... > VI > From Template > Frameworks > Design Patterns > Producer/Consumer Design Pattern (Events)
    Then without doing anything to the block diagram or front panel, I click on the "clean up diagram" which does the auto block diagram cleanup.  Bam! Consumer loop is put on top of Producer. 
    I tried a bunch of combinations of the Block Diagram options settings (wire spacing, move controls left, etc.) , but the "clean up diagram" always wants to put consumer loop on top of the producer loop.  How can I get labview to maintain the original loop positions?

    There is a reason a lot of use do not like to use the Block Diagram Cleanup.  It generally works for simple VIs.  But I would not use it on my top level architecture.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • WSRP - Pass Custom Data between Consumer and Producer

    Hello All,
    I am having a couple of queries with respect to Custom Data Transfer. Consider I have a Map of values which I need to transfer between both Consumer and Producer.
    For eg: the map that Consumer sends would contain "firstName", "lastName", etc... On the other hand Producer needs to do some business function based on the data and add more values to the map like "rewardPoint" etc....
    On Consumer Side:
    I have choice to use Backing File or IGetMarkupInterceptor to implement the preInvoke to pass the data using SimpleStateHolder.
    Question: I am not able to send a simple Serializable POJO Object... I can only send primitive / default java objects like Strings, Maps of String etc. Is my understanding correct?
    On Producer side:
    I am able to receive the Custom Data from request. No problems. Now how to send more data from Producer to consumer. I need to add the "rewardPoints" into the map and send back.
    My understanding is that if the Producer puts any values into StateHolder objects, Consumer will receive it in IGetMarkupResponseContext object in the Interceptor's postInvoke method.
    Question: How do I get a handle to the IGetMarkupResponseContext object @ Producer end???
    Question: Do I need to write some interceptors on Producer end? If so which file I need to use?
    Any help / pointers would be greatly appreciated.
    Thanks,
    Paz

    Hi All,
    I tried to set the data in the producer using the following command
    SimpleStateHolder stateSimpleOuterReq = (SimpleStateHolder)request.getAttribute(MarkupRequestState.KEY);;
              if (stateSimpleOuterReq == null) {
                   SimpleStateHolder state = new SimpleStateHolder();
                   state.addParameter("name", "data1");
                   request.setAttribute(MarkupResponseState.KEY, state);
    I am not able to retrieve the same in consumer.
    The above is a WSRP struts request.
    I also tried setting the data by unwrapping the request in producer and still value is null in consumer :-(
              HttpServletRequest requestq = (HttpServletRequest)((HttpServletRequestWrapper) request).getRequest();
              SimpleStateHolder stateSimpleReq1 = (SimpleStateHolder)requestq.getAttribute(MarkupRequestState.KEY);
                   if (stateSimpleReq1 == null) {
                        SimpleStateHolder state = new SimpleStateHolder();
    state.addParameter("name", "data1");
                        requestq.setAttribute(MarkupRequestState.KEY, state);
    Please help me in resolving the issue. Correct me if i am doing anything wrong.
    Thanks
    T. Deena
    Edited by: user11261911 on 12/06/2009 19:49

  • Jms Adapter Consume and produce

    Hai guys,
    i don't know anything in soa. i have got a usecase which is to
    1) Read a .csv file
    2) Send it to a bpel (in bpel do nothing to payload). Again i have to send the payload to jms adapter( which i dnt knw how )
    3) From the same jms adapter passing the payload to mediator
    4) Pass the input to another jms( jms2 ). from jms2 pass the payload to another bpel
    5) from bpel to db adapter
    am using
    Oracle jDevloper 11.1.13
    Weblogic server is a 10.3.6
    my problem is how to create the same jms in two ways like consuming and producing
    Thanks in advance
    Edited by: Beckyard on Sep 26, 2012 9:49 PM

    Hi,
    Why do you need 2 JMS queues? Can't you consider following pattern?
    Read .csv --> BPEL --> JMS Q
    JMS Q --> Mediator --> BPEL (only if some payload processing required) --> Db Adapter
    Assuming the above pattern, you'll have to develop 2 processes (in your pattern 3 processes).
    - One that will enqueue the data in JMS in which the JMS Adapter will be placed in the External references and will be invoked with Produce operation.
    - Another process in which Mediator will consume the message using Consume operation from JMS and pass it to BPEL for inserting into database. In this case, JMS Adapter will be placed in Exposed Service swim-lane.
    Let us know how you proceed.
    Regards,
    Neeraj Sehgal

  • Remote producer exception while adding in consumer.

    I have producer portlet and trying to add the "Remote Producer Handle" in Consumer Portal Admin console.while adding this,I am gettign the following error.
    com.bea.wsrp.consumer.management.producer.ProducerManagerException: edu/emory/mathcs/backport/java/util/concurrent/ConcurrentHashMap
              at com.bea.wsrp.consumer.management.ProducerManagerImpl.registerProducer(ProducerManagerImpl.java:427)
              at com.bea.jsptools.portal.helpers.wsrp.ProducerManagerControlImpl.registerProducer(ProducerManagerControlImpl.java:260)
              at com.bea.jsptools.portal.helpers.wsrp.ProducerManagerControlBean.registerProducer(ProducerManagerControlBean.java:534)
              at com.bea.jsptools.portal.helpers.wsrp.AddProducerHelper$RegisterProducer.run(AddProducerHelper.java:640)
              at portalTools.definitions.portletProducers.wizard.AddProducerWizardController.runAction(AddProducerWizardController.java:628)
              at portalTools.definitions.portletProducers.wizard.AddProducerWizardController.doIfValid(AddProducerWizardController.java:604)
              at portalTools.definitions.portletProducers.wizard.AddProducerWizardController.registerProducerAction(AddProducerWizardController.java:449)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:585)
    Can any one help me on this?

    Here is the full exception.
    com.bea.wsrp.consumer.management.producer.ProducerManagerException: edu/emory/mathcs/backport/java/util/concurrent/ConcurrentHashMap
              at com.bea.wsrp.consumer.management.ProducerManagerImpl.registerProducer(ProducerManagerImpl.java:427)
              at com.bea.jsptools.portal.helpers.wsrp.ProducerManagerControlImpl.registerProducer(ProducerManagerControlImpl.java:260)
              at com.bea.jsptools.portal.helpers.wsrp.ProducerManagerControlBean.registerProducer(ProducerManagerControlBean.java:534)
              at com.bea.jsptools.portal.helpers.wsrp.AddProducerHelper$RegisterProducer.run(AddProducerHelper.java:640)
              at portalTools.definitions.portletProducers.wizard.AddProducerWizardController.runAction(AddProducerWizardController.java:628)
              at portalTools.definitions.portletProducers.wizard.AddProducerWizardController.doIfValid(AddProducerWizardController.java:604)
              at portalTools.definitions.portletProducers.wizard.AddProducerWizardController.registerProducerAction(AddProducerWizardController.java:449)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:585)
              at org.apache.beehive.netui.pageflow.FlowController.invokeActionMethod(FlowController.java:879)
              at org.apache.beehive.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:809)
              at org.apache.beehive.netui.pageflow.FlowController.internalExecute(FlowController.java:478)
              at org.apache.beehive.netui.pageflow.PageFlowController.internalExecute(PageFlowController.java:306)
              at global.internal.AbstractBaseController.internalExecute(AbstractBaseController.java:360)
              at org.apache.beehive.netui.pageflow.FlowController.execute(FlowController.java:336)
              at org.apache.beehive.netui.pageflow.internal.FlowControllerAction.execute(FlowControllerAction.java:52)
              at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
              at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.access$201(PageFlowRequestProcessor.java:97)
              at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor$ActionRunner.execute(PageFlowRequestProcessor.java:2044)
              at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors.wrapAction(ActionInterceptors.java:91)
              at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processActionPerform(PageFlowRequestProcessor.java:2116)
              at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
              at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInternal(PageFlowRequestProcessor.java:556)
              at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:853)
              at org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:631)
              at org.apache.beehive.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:158)
              at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
              at org.apache.beehive.netui.pageflow.PageFlowUtils.strutsLookup(PageFlowUtils.java:1199)
              at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.executeAction(ScopedContentCommonSupport.java:686)
              at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.processActionInternal(ScopedContentCommonSupport.java:142)
              at com.bea.portlet.adapter.scopedcontent.PageFlowStubImpl.processAction(PageFlowStubImpl.java:106)
              at com.bea.portlet.adapter.NetuiActionHandler.raiseScopedAction(NetuiActionHandler.java:111)
              at com.bea.netuix.servlets.controls.content.NetuiContent.raiseScopedAction(NetuiContent.java:181)
              at com.bea.netuix.servlets.controls.content.NetuiContent.raiseScopedAction(NetuiContent.java:167)
              at com.bea.netuix.servlets.controls.content.NetuiContent.handlePostbackData(NetuiContent.java:225)
              at com.bea.netuix.nf.ControlLifecycle$2.visit(ControlLifecycle.java:180)
              at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:324)
              at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
              at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
              at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
              at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
              at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
              at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
              at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
              at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
              at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
              at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
              at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
              at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
              at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
              at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:130)
              at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:395)
              at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)
              at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:352)
              at com.bea.netuix.nf.Lifecycle.runInbound(Lifecycle.java:184)
              at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:159)
              at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:388)
              at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:258)
              at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:199)
              at com.bea.netuix.servlets.manager.SingleFileServlet.service(SingleFileServlet.java:257)
              at com.bea.netuix.servlets.manager.PortalServlet.service(PortalServlet.java:689)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
              at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
              at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
              at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
              at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
              at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
              at com.bea.jsptools.servlet.PagedResultServiceFilter.doFilter(PagedResultServiceFilter.java:82)
              at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
              at com.bea.portal.tools.servlet.http.HttpContextFilter.doFilter(HttpContextFilter.java:60)
              at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
              at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:336)
              at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
              at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3393)
              at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
              at weblogic.security.service.SecurityManager.runAs(Unknown Source)
              at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2140)
              at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2046)
              at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
              at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
              at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
    Caused by: com.bea.wsrp.consumer.management.producer.ProducerManagerException: edu/emory/mathcs/backport/java/util/concurrent/ConcurrentHashMap
              at com.bea.wsrp.consumer.management.ProducerManagerImpl.getProducerServiceDescription(ProducerManagerImpl.java:339)
              at com.bea.wsrp.consumer.management.ProducerManagerImpl.getProducerServiceDescription(ProducerManagerImpl.java:309)
              at com.bea.wsrp.consumer.management.ProducerManagerImpl.registerProducer(ProducerManagerImpl.java:403)
              ... 82 more
    Caused by: com.bea.wsrp.faults.OperationFailedException: edu/emory/mathcs/backport/java/util/concurrent/ConcurrentHashMap
              at com.bea.wsrp.faults.FaultInstanceFactory.<clinit>(FaultInstanceFactory.java:51)
              at com.bea.wsrp.proxy.ProxyBase.raiseFault(ProxyBase.java:768)
              at com.bea.wsrp.proxy.ProxyBase.invoke(ProxyBase.java:478)
              at $Proxy117.destroyPortlets(Unknown Source)
              at com.bea.wsrp.consumer.management.portlet.ProxyPortletRemoveListener$ProxyPortletRemover.run(ProxyPortletRemoveListener.java:372)
              at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
              at weblogic.security.service.SecurityManager.runAs(Unknown Source)
              at com.bea.wsrp.consumer.management.portlet.ProxyPortletRemoveListener.handleNotification(ProxyPortletRemoveListener.java:199)
              at javax.management.NotificationBroadcasterSupport.handleNotification(NotificationBroadcasterSupport.java:221)
              at javax.management.NotificationBroadcasterSupport.sendNotification(NotificationBroadcasterSupport.java:184)
              at javax.management.timer.Timer.sendNotification(Timer.java:1295)
              at javax.management.timer.Timer.notifyAlarmClock(Timer.java:1264)
              at javax.management.timer.TimerAlarmClock.run(Timer.java:1347)
              at java.util.TimerThread.mainLoop(Timer.java:512)
              at java.util.TimerThread.run(Timer.java:462)

  • Data passing from consumer to producer

    Hello forum,
    I am using Producer-Consumer design pattern for data acquisition. While my producer loop acquires data, consumer loop does,analyze, display and save the data. One thing I would like to do is to pass a data from the consumer loop to producer loop. This is for a taring function, where my consumer loop would analyze the acquired data for n-point average and pass the value to produced loop where, this value is subtracted from the acquired data. How would I pass a data from Consumer to Producer?
    Many thanks to all,
    Zacharia

    MoReese wrote:
    johnsold wrote:
    Some of my dual loop systems pass data one way and commands or status messages the other way.  When I need to do this I use a pair of queues, one for each direction.
    Lynn
    Hmmm.  I thought of this but I couldn't get it to work.  It sounded like a good idea.  It just locked up the program.  The fp panel became unresponsive.  I had to use the Abort Execution button to stop it.  Could you provide a sample of this?  Just curious.  Thanks.
    Using the two queue method would require the producer to check the status of the queue and move on when it is empty. This ultimately turns it into a form of a polling system.
    If the producer is using an event structure you can pass data back via a user event.
    Also, the OP mentioned that they handle the UI and analyze the data in the consumer loop. I would recommend for the greatest felxibility and reuse that the UI actually be in its own loop separate from the analysis. The UI loop would use an event structure and the UI updates can be passed to it using user events.
    Mark Yedinak
    "Does anyone know where the love of God goes when the waves turn the minutes to hours?"
    Wreck of the Edmund Fitzgerald - Gordon Lightfoot

  • How to build a stable, reliable application with consumer and producer

    Hi all,
    As a frontend solution, Flex is really powerful and fascinate. On the other hand, it inevitiably needs to exchange data. And I am trying to find a good way to build a stable and reliable application.
    Here's the workaround. On server side, blazeDS or LCDS is involved and on frontend component Consumer and Producer are used to interact. A group of users cooperates on the whole processing. Everybody will send an update once he finished current job.
    Of course each frontend need to subscribe first. But if one frontend is disconnect temporarily and other frontends send message to backend during that time, how can the disconnect one get message it missed? How can I fix the inconsistent status?
    Thanks and regards,

    Hello meshgraphics,
    Your reply is useful, but feasible I have to say. Creating DB tables, updating entries and synchronizing contents involve a lot of work. As we can use blazeDS and LCDS, that'll be good option. From online help, it doesn't explain what will happen if consumer disconnects temporarily which is very important to me. If some messages are missed, the whole process can't move on smoothly.
    Simply speaking, I hope below issues can be solved with blazeDS or LCDS:
    1) how to ensure messages are delivered to subscribed consumers if they are temporarily disconnected?
    2) how to recover work if consumers are thoroughly disconnect?
    Thanks and regards,
    Felix

  • Mdnsresponder will not quit.  Consumes above 100% CPU and kills my battery.  Also causes my fan to run constantly and my computer to get extremely hot.  Force quitting doesn't work.  It just comes back.

    The mdnsresponder will not quit.  Consumes above 100% CPU and kills my battery.  Also causes my fan to run constantly and my computer to get extremely hot.  Force quitting doesn't work.  It just comes back.   I posted about this earlier and never got an answer.  Somebody, please help. 
    Thanks.

    mDNSResponder is a background process that runs all the time. If you kill it, it's relaunched automatically.
    Please launch the Console application and select "system.log" from the file list. Enter "mDNSResponder" (without the quotes) in the search field. Post a sample of the log messages in the Console window -- only one example of each repeated message, please.

  • By default new document/templates start with above, How I change to be Strict 1.0 XHTML ?

    by default new document/templates start with above, How I change to be Strict 1.0 XHTML ?
    Tell me for Dw MX2004 & CS4 ?
    If I start with Transitional 1.0 XHTML and want to change to Strict 1.0 XHTML the only way is modify code or make a new doc ?

    Using CS4, there are a few ways to do it:
    1.  when creating a new document - you can select the doc type preference.
    2.  In your preferences, you can set up which document type will be opened when you select a new document.
    3.  If you start with one doctype and want to convert it to another use:

  • Using WSRP in a clustered consumer and producer environment.

    We're currently in the design phase of a remote portlet project where our clustered portal will consume portlets from a different clustered portal. I've read the "Inside WSRP" found on dev2dev:
    http://dev2dev.bea.com/pub/a/2005/03/inside_wsrp.html?page=4
    Will the portal producer cluster need to be front-ended by something which load-balances the SOAP traffic across the managed servers in the portal producer cluster? We've been doing some testing with the iisproxy and it doesn't seem to work properly. Does this mean that we will need to front-end the portal producer cluster with another mechanism to LB?
    Thanks!

    Can you also check if the http cookies returned via initCookieResponse
    are included in all the subsequent requests to the producer.
    Subbu
    flat wrote:
    Below you can find request and response messages.
    Please note that the same portlet works fine when deployed in a single server domain without Clustering.
    Request (Wed Mar 01 08:35:23 CET 2006)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns0="urn:oasis:names:tc:wsrp:v1:types">
    <env:Body>
    <ns0:initCookie>
    <ns0:registrationContext xsi:nil="1"/>
    </ns0:initCookie>
    </env:Body>
    </env:Envelope>
    Response (Wed Mar 01 08:35:23 CET 2006)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <soapenv:Body>
    <urn:initCookieResponse xmlns:urn="urn:oasis:names:tc:wsrp:v1:types"/>
    </soapenv:Body>
    </soapenv:Envelope>
    Request (Wed Mar 01 08:35:23 CET 2006)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns0="urn:oasis:names:tc:wsrp:v1:types">
    <env:Body>
    <ns0:getMarkup>
    <ns0:registrationContext xsi:nil="1"/>
    <ns0:portletContext>
    <ns0:portletHandle>portlet_struts_11_bea_base</ns0:portletHandle>
    </ns0:portletContext>
    <ns0:runtimeContext>
    <ns0:userAuthentication>wsrp:none</ns0:userAuthentication>
    <ns0:portletInstanceKey>74_14374_74_14186_14218</ns0:portletInstanceKey>
    <ns0:namespacePrefix>__ns74_14374_74_14186_14218_</ns0:namespacePrefix>
    <ns0:templates>
    <ns0:defaultTemplate xsi:nil="1"/>
    <ns0:blockingActionTemplate>wsrp_rewrite?wsrp-urlType=blockingAction&wsrp-navigationalState={wsrp-navigationalState}&wsrp-interactionState={wsrp-interactionState}&wsrp-mode={wsrp-mode}&wsrp-windowState={wsrp-windowState}&wsrp-fragmentID={wsrp-fragmentID}/wsrp_rewrite</ns0:blockingActionTemplate>
    <ns0:renderTemplate>wsrp_rewrite?wsrp-urlType=render&wsrp-navigationalState={wsrp-navigationalState}&wsrp-mode={wsrp-mode}&wsrp-windowState={wsrp-windowState}&wsrp-fragmentID={wsrp-fragmentID}/wsrp_rewrite</ns0:renderTemplate>
    <ns0:resourceTemplate>wsrp_rewrite?wsrp-urlType=resource&wsrp-url={wsrp-url}&wsrp-requiresRewrite={wsrp-requiresRewrite}/wsrp_rewrite</ns0:resourceTemplate>
    <ns0:secureDefaultTemplate xsi:nil="1"/>
    <ns0:secureBlockingActionTemplate><![CDATA[wsrp_rewrite?wsrp-urlType=blockingAction&wsrp-secureURL=true&wsrp-navigationalState={wsrp-navigationalState}&wsrp-interactionState={wsrp-interactionState}&wsrp-mode={wsrp-mode}&wsrp-windowState={wsrp-windowState}&wsrp-fragmentID={wsrp-fragmentID}/wsrp_rewrite]]></ns0:secureBlockingActionTemplate>
    <ns0:secureRenderTemplate>wsrp_rewrite?wsrp-urlType=render&wsrp-secureURL=true&wsrp-navigationalState={wsrp-navigationalState}&wsrp-mode={wsrp-mode}&wsrp-windowState={wsrp-windowState}&wsrp-fragmentID={wsrp-fragmentID}/wsrp_rewrite</ns0:secureRenderTemplate>
    <ns0:secureResourceTemplate>wsrp_rewrite?wsrp-urlType=resource&wsrp-secureURL=true&wsrp-url={wsrp-url}&wsrp-requiresRewrite={wsrp-requiresRewrite}/wsrp_rewrite</ns0:secureResourceTemplate>
    </ns0:templates>
    </ns0:runtimeContext>
    <ns0:userContext>
    <ns0:userContextKey>wsrp:minimal</ns0:userContextKey>
    </ns0:userContext>
    <ns0:markupParams>
    <ns0:secureClientCommunication>false</ns0:secureClientCommunication>
    <ns0:locales>en-us</ns0:locales>
    <ns0:mimeTypes>text/html</ns0:mimeTypes>
    <ns0:mimeTypes>text/xml</ns0:mimeTypes>
    <ns0:mimeTypes>text/vnd.oracle.mobilexml</ns0:mimeTypes>
    <ns0:mode>wsrp:view</ns0:mode>
    <ns0:windowState>wsrp:normal</ns0:windowState>
    <ns0:clientData>
    <ns0:userAgent>Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0) RPT-HTTPClient/0.3-3</ns0:userAgent>
    <ns0:extensions>
    <oracle:GenericExtension xmlns:oracle="http://xmlns.oracle.com/portal/wsrp/v1">
    <ns0:NamedString name="X-Oracle-Device.MaxDocSize">
    <ns0:value>0</ns0:value>
    </ns0:NamedString>
    <ns0:NamedString name="X-Oracle-Device.Class">
    <ns0:value>pcbrowser</ns0:value>
    </ns0:NamedString>
    <ns0:NamedString name="X-Oracle-Device.Secure">
    <ns0:value>false</ns0:value>
    </ns0:NamedString>
    <ns0:NamedString name="X-Oracle-Device.Orientation">
    <ns0:value>landscape</ns0:value>
    </ns0:NamedString>
    </oracle:GenericExtension>
    </ns0:extensions>
    </ns0:clientData>
    <ns0:markupCharacterSets>utf-8</ns0:markupCharacterSets>
    <ns0:validNewModes>wsrp:view</ns0:validNewModes>
    <ns0:validNewWindowStates>wsrp:normal</ns0:validNewWindowStates>
    <ns0:validNewWindowStates>wsrp:maximized</ns0:validNewWindowStates>
    <ns0:validNewWindowStates>wsrp:minimized</ns0:validNewWindowStates>
    </ns0:markupParams>
    </ns0:getMarkup>
    </env:Body>
    </env:Envelope>
    Response (Wed Mar 01 08:35:23 CET 2006)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <soapenv:Body>
    <urn:getMarkupResponse xmlns:urn="urn:oasis:names:tc:wsrp:v1:types">
    <urn:markupContext>
    <urn:mimeType>text/html; charset=UTF-8</urn:mimeType>
    <urn:markupString><![CDATA[<html>
    <head>
    <title>Ricerca soggetti (esempio)</title>
    <base href="http://10.102.98.20:10080/struts11Bea/moduloBase/ricerca.jsp">
    </head>
    <body>
    </body>
    </html>]]></urn:markupString>
    <urn:locale>en</urn:locale>
    <urn:requiresUrlRewriting>false</urn:requiresUrlRewriting>
    </urn:markupContext>
    <urn:sessionContext>
    <urn:sessionID>GFT7LcLT1vmPHDvWTWM28TpWhkG1DW8tsl31Npxvph2mZjg29KNg!-4321636!-1133063828</urn:sessionID>
    <urn:expires>3600</urn:expires>
    </urn:sessionContext>
    </urn:getMarkupResponse>
    </soapenv:Body>
    </soapenv:Envelope>
    Request (Wed Mar 01 08:35:36 CET 2006)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns0="urn:oasis:names:tc:wsrp:v1:types">
    <env:Body>
    <ns0:performBlockingInteraction>
    <ns0:registrationContext xsi:nil="1"/>
    <ns0:portletContext>
    <ns0:portletHandle>portlet_struts_11_bea_base</ns0:portletHandle>
    </ns0:portletContext>
    <ns0:runtimeContext>
    <ns0:userAuthentication>wsrp:none</ns0:userAuthentication>
    <ns0:portletInstanceKey>74_14374_74_14186_14218</ns0:portletInstanceKey>
    <ns0:namespacePrefix>__ns74_14374_74_14186_14218_</ns0:namespacePrefix>
    <ns0:sessionID>GFT7LcLT1vmPHDvWTWM28TpWhkG1DW8tsl31Npxvph2mZjg29KNg!-4321636!-1133063828</ns0:sessionID>
    </ns0:runtimeContext>
    <ns0:userContext>
    <ns0:userContextKey>wsrp:minimal</ns0:userContextKey>
    </ns0:userContext>
    <ns0:markupParams>
    <ns0:secureClientCommunication>false</ns0:secureClientCommunication>
    <ns0:locales>en-us</ns0:locales>
    <ns0:mimeTypes>text/html</ns0:mimeTypes>
    <ns0:mimeTypes>text/xml</ns0:mimeTypes>
    <ns0:mimeTypes>text/vnd.oracle.mobilexml</ns0:mimeTypes>
    <ns0:mode>wsrp:view</ns0:mode>
    <ns0:windowState>wsrp:normal</ns0:windowState>
    <ns0:clientData>
    <ns0:userAgent>Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0) RPT-HTTPClient/0.3-3</ns0:userAgent>
    <ns0:extensions>
    <oracle:GenericExtension xmlns:oracle="http://xmlns.oracle.com/portal/wsrp/v1">
    <ns0:NamedString name="X-Oracle-Device.MaxDocSize">
    <ns0:value>0</ns0:value>
    </ns0:NamedString>
    <ns0:NamedString name="X-Oracle-Device.Class">
    <ns0:value>pcbrowser</ns0:value>
    </ns0:NamedString>
    <ns0:NamedString name="X-Oracle-Device.Secure">
    <ns0:value>false</ns0:value>
    </ns0:NamedString>
    <ns0:NamedString name="X-Oracle-Device.Orientation">
    <ns0:value>landscape</ns0:value>
    </ns0:NamedString>
    </oracle:GenericExtension>
    </ns0:extensions>
    </ns0:clientData>
    <ns0:navigationalState/>
    <ns0:markupCharacterSets>utf-8</ns0:markupCharacterSets>
    <ns0:validNewModes>wsrp:view</ns0:validNewModes>
    <ns0:validNewWindowStates>wsrp:normal</ns0:validNewWindowStates>
    <ns0:validNewWindowStates>wsrp:maximized</ns0:validNewWindowStates>
    <ns0:validNewWindowStates>wsrp:minimized</ns0:validNewWindowStates>
    </ns0:markupParams>
    <ns0:interactionParams>
    <ns0:portletStateChange>readOnly</ns0:portletStateChange>
    <ns0:interactionState>action=%2FmoduloBase%2Fabout%26module=%2FmoduloBase</ns0:interactionState>
    </ns0:interactionParams>
    </ns0:performBlockingInteraction>
    </env:Body>
    </env:Envelope>
    Response (Wed Mar 01 08:35:36 CET 2006)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <soapenv:Body>
    <soapenv:Fault xmlns:urn="urn:oasis:names:tc:wsrp:v1:types">
    <faultcode>urn:InvalidSession</faultcode>
    <faultstring>The given session ID [GFT7LcLT1vmPHDvWTWM28TpWhkG1DW8tsl31Npxvph2mZjg29KNg!-4321636!-1133063828] is invalid or the session corresponding to this ID has expired.</faultstring>
    <detail>
    <urn:InvalidSession/>
    <urn1:FaultDetail xmlns:urn1="urn:bea:wsrp:ext:v1:types">
    <urn1:created>2006-03-01T08:35:36.558+01:00</urn1:created>
    <urn1:trace>com.bea.wsrp.faults.InvalidSessionException: The given session ID [GFT7LcLT1vmPHDvWTWM28TpWhkG1DW8tsl31Npxvph2mZjg29KNg!-4321636!-1133063828] is invalid or the session corresponding to this ID has expired.
         at com.bea.wsrp.producer.handlers.markup.SessionIdFilter.validateSession(SessionIdFilter.java:106)
         at com.bea.wsrp.producer.handlers.markup.SessionIdFilter.doFilter(SessionIdFilter.java:72)
         at com.bea.wsrp.producer.handlers.AbstractServiceHandler.preprocess(AbstractServiceHandler.java:139)
         at com.bea.wsrp.producer.handlers.AbstractServiceHandler.service(AbstractServiceHandler.java:73)
         at com.bea.wsrp.producer.handlers.markup.MarkupServiceHandler.service(MarkupServiceHandler.java:262)
         at com.bea.wsrp.producer.WsrpServer.processServiceRequest(WsrpServer.java:299)
         at com.bea.wsrp.producer.WsrpServer.service(WsrpServer.java:198)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6718)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)</urn1:trace>
    </urn1:FaultDetail>
    </detail>
    </soapenv:Fault>
    </soapenv:Body>
    </soapenv:Envelope>

  • Producer/consumer inside producer/consumer

    Hello all,  I am using a producer/consumer event structure within a producer/consumer....not sure if this is the best approach.  The main vi is setup to perform several different tests based on the user input.  It does an initialize, setup, and read a pressure controller.  The main vi continues to read the pressure controller until the user presses a button to perform a particular test. When the test is complete, it goes back to the main vi and monitors the pressure controller.  The user can perform another test or stop the program operation.  My question is......In the individual tests I use an enqueue element which sends it back to the monitor pressure controller in the main vi.  Is this the best approach?  THANKS in advance!
    Alma

    So the subVI is a popup window?  And nobody will be able to manipulate the main VI while the popup is there?  If so, I don't see much wrong with this.  But if you need to change things in the main VI while this subVI is running, it won't really work well since your main's consumer loop will not be iterating until the subVI is complete.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Time synchroniz​ation in producer/c​onsumer loop

    I wanted to save data from producer loop once in 4 secs. But this is not possible due to the wait function in the producer loop. It saves data once in 5 secsonce in 4-5 loops. When I cancel the wait function, the loop uses CPU extremely high. How can I avoid this timing problem?
    Egemen
    Solved!
    Go to Solution.
    Attachments:
    Producer-consumer to txt.png ‏106 KB

    Yeah, actually I ran your code and got the issue...
    You're using two timing functions (Wait ms and Elapsed Time) in the same loop runing on a non-real time system (that is Windows)... And as its not deterministic, this behaviour is expected...!!
    However if you want to generate and log (the latest sample) at different rates.. you need to do it in different loops...
    You may say that, you're alreayd doing this in different loops.. but in your implementation.. the execution of lower loop is still controlled by the Producer Loop.
    I've made certain changes...
    -> Replaced Queue with Notofier.
    -> Now Elapsed Time is part of lower loop (Consumer Loop).
    I am not allergic to Kudos, in fact I love Kudos.
     Make your LabVIEW experience more CONVENIENT.
    Attachments:
    Check this (New Logic).vi ‏36 KB

  • When formatting a date field in a where clause the template put dot instead of comma

    Hello to Headstart Workers !
    In a query find block the template construct a where clause, in some cases, and i dont know when the template is formatting a date field putting a dot instead of a comma.
    Ex.: to_date('19-01-2001'.'DD-MM-YYYY')
    Anybody knows why or where the template do this.
    Congratulations
    Nelson

    - We created it using the HS utilities.
    - "nls_numeric_character = ,.".
    - it onky happen when the field date is not the first field in the where clause.
    - i can see the problem just after pressing find button, already in the ls_block in last_query.
    - the find_query works normally but cannot edit any line in ls_block.
    Hope that i had helping
    Regards
    Nelson
    null

  • DW Template :: Put all pages to the sever AFTER a template has changed?

    I'm probably wishful thinking, but I would love to see an extension that would put ALL pages updated by a template to the server with a click of one button.  If you have a web site with 50 pages that are based on a template, sometimes you have to pick and choose manually which files get put to the server.  I would think this should be something built-in to dreamweaver.  Anybody know of anything like what I'm describing out there?

    the answer is the cute little circular button at the top of the files window.  Check the live doc on it:
    http://livedocs.adobe.com/dreamweaver/8/using/wwhelp/wwhimpl/common/html/wwhelp.htm?contex t=LiveDocs_Parts&file=05_sit45.htm

  • How do you mix data types with Producer/C​onsumer?

    Hi,
    I am trying to build a VI using Producer/Consumer architecture and trying to learn how to do it.  I am measuring two types of data that must be used "simultaneously" to create output commands.  The attached vi is a simplified version that I am using to try to understand how the data flows before I build my much larger more complex VI. 
    I will be collecting three values in an array from a DAQ sequence, and then one single value (also from another DAQ function) in another loop, so, the two loops are labelled THREE VALUES and ONE VALUE.   The DAQ's run at different rates, so, that is the reason for the producer/consumer architecture.   I want to take each of the three values, and pair it with the most recent one value, (hence the LOSSY ENQUEUE set to max size 1) and create a serial command to be output.  (Actually, I would create 3 serial commands, one per value from the THREE loop.)
    In the attached VI, I create an array of 3 values, but, I see only one of them during execution.  I am trying to see all 4 values, but, I see only one of the THREE, and one of ONE.    I think I should see 1, 23, 44, and 99, but, I see only 44 and 99.  Where  did 1 and 23 go?  I want to be able to use (see) 1 and 23 in my consumer loop.
    Thanks
    Attachments:
    forum oct 6 2013.vi ‏17 KB

    apok wrote:
    try this...
    Spoiler (Highlight to read)
    (OP NI did you a slight disservice stating Producer Consumer vice Master Slave pattern- you need a master slave pattern)
    Close to right Apok,  A problem.  Two solutions possible:
    1)The slowest notifier needs to be waited first and have the ignore previous boolean T (Not sure which is slowest)  This "Slow Loop" then throttles the slave loop and the "Fast Loop's" notifier looses data between slow loop samples.
    2) Wait the Fast loop's notifier first. and leave both notifiers ignore previous =F  And, set the slow loop timeout to 0.  This duplicates the slow loop value for each fast loop acquisition.
    Jeff

Maybe you are looking for

  • Communication problem between air application from swf at browser

    Hi, I am trying to communicate adobe air native application from brwser using swf, I check for native application installed or not. If installed then launch and if not then install and launch. I am facing problem when browser crashes and communicatio

  • MDM Workflow Problem

    Hi, I am facing following problems with workflow , request to revert back if any body came across the same. 1. While creating a workflow process in MS Visio, process step details subscreen is not visible. 2. Once the process steps are created & saved

  • I accidentally makerd an intruder and kicked them off with network lock, how do i find them again?

    I accidentally makerd an intruder and kicked them off with network lock, how do i find them and add them again? I can not see them in the network map or anywhere.

  • ZLIB compression

    <p>Hello yal,</p><p>Who can tell me about Essbase zlib compression mode?</p><p>When using this compression algorithm, is there any setting onthe database excluded by this mode?</p><p>For example, does it need specific settings on transaction(isolatio

  • Collage of pics - special application?

    I did a search for collages of jpegs and found threads from 2006 - so I'm wondering if things have been upgraded or invented since then?  For example, the Applications folder on my Dock - is there an App that will allow me to cut and paste different