SubVi with feedback nodes used more than once inside a While Loop
All,
I have a subvi that does a set of operations and uses 3 feedback nodes. I am using this subvi inside a While Loop a total of 4 times. I've noticed that all instances used share the same result at each corresponding feedback node but I would like to have an individual result from each of them. Is there an easy way to go around this problem? I have come up with ways to avoid this: a) create a different vi for each time the subvi was used. b) use global variables instead of feedback nodes. Is there any easier way to go around this issue?
ExamplePlease note that both subvi's are the same) If on my first subvi I calculate a maximum value and get 1.29 (then goes to feedback node) on my second subvi i get 1.01 my feedback node at the second subvi still registers the maximum value to be 1.29. (and I want it to be 1.01!)
Hope this is not too confusing, I've been scratching my head with this for a while, can't find the "easy" button. Thanks in advance.
-Pop
Im using 9.0.
Solved!
Go to Solution.
Attaching the code would be helpful. Anyway, I am not sure how multiple feedback nodes are supposed to operate so I will defer that to others to answer. As far as being able to use distinct values or instances if you are using a subVI you could mark it as reentrant. That way each call to it will behave as it it were a copy of the VI and it will have its own memory space. This should include the feedback node. You may be ending up with a single subVI and in reality a single feedback node. If you need to pass data between calls than simply wire the data through. You could also use an Action Engine to store and retrieve values. An AE is a MUCH better solution than a global variable.
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
Similar Messages
-
LSMW error: Field name '' used more than once in file"
Hi,
I am doing a sample vendor master load with LSMW but while reading data I am getting an error
"Field name '' used more than once in file
'C:\Users\sdurgia\Desktop\LSMW\MM\vendor_master_te
s'."
Not getting proper reason.Can you please guide?
Urgent please help.
BR
SumeetHi,
FYI.
LIFNR
BUKRS
EKORG
KTOKK
NAME1
NAME2
SORT1
SORT2
STREET
HOUSE_NUM1
STR_SUPPL1
STR_SUPPL2
CITY2
CITY1
REGION
POST_CODE1
LAND1
TAXJURCODE
PFACH
PSTL2
REMARK
TEL_NUMBER
TEL_EXTENS
MOB_NUMBER
FAX_NUMBER
FAX_EXTENS
SMTP_ADDR
DEFLT_COMM
KUNNR
VBUND
KONZS
BEGRU
STCD1
STCD2
STCD3
STCD4
SCACD
SFRGR
DLGRP
BANKS
BANKL
BANKN
KOINH
BKONT
LNRZA
XZEMP
AKONT
ZUAWA
FDGRV
BEGRU1
QSSKZ
QSZNR
QSZDT
ALKTN
ZTERM
TOGRU
REPRF
KULTG
ZWELS
ZAHLS
LNRZB
HBKID
TOGRR
EIKTO
WAERS
ZTERM1
INCO1
INCO2
EIKTO1
WEBRE
XERSY
XERSR
VSBED
NAMEK
J_1IPANO
QLAND
LFBW-QSREC
XVERR
FYTYP
STCDT
BKREF
4000048674
2550
M004
DHL EXPRESS (USA) INC
PAY
4000069273
PO BOX 4723
HOUSTON
TX
US
77210-4723
CONTAC: IRMA MURILLO
800-225-5345
281-874-0678
[email protected]
94-3380425
US
11000536
999999
ACCOUNT HOLDER
221300
1
AP VEND
Z011
X
T
B
USD
Z011 -
How to check customer reference no. not being use more than once
I have the following situation and appreciate if some one could show me a simple solution.
On the Sales order window, when user enter a value for Customer Ref. No, check if the entered value has already been used on any existing Sales Order, and give message eg. this Ref. No already been used in SO. 257
What is the easiest way of implementing the validation?
Using Formatted Search?
Triggers or Stored Procedure?
Or one must go about doing this simple task using SDK, DIAPI?
sample code illustrating solution would be much appreciated.
I tried to create a query and used it with Formatted search on the Field, but failed on an error.
the code using temporary hard coded value instead of $[$x.0.0] looks like this
if (SELECT COUNT(*)
FROM dbo.ORDR
WHERE (NumAtCard = 'AAA' and CardCode ='1234')
) =0
Begin
select 'AAA' --redisplay value
end
else
begin
SELECT TOP 1 'already used in SO '+ Convert(Char(3),DocEntry)
FROM dbo.ORDR
WHERE (NumAtCard = 'AAA')
end
where 'AAA' is the reference no. to check for customer '1234', this code works when I run it in SQL query analyser, but failed when I run it as query in Business one. the idea was to redisplay the entered No. 'AAA' if it is not found in any existing SO for cust ='1234'
can anyone point out what the error is or show alternative code for the query.
thanksHi Andy,
I believe the best way to do this is probably to use the SDK as (to my knowledge) this is the only way you can get a message to be displayed and to stop the actual processing of the document.
If you want to go the formatted search route I would suggest you change your query a bit. I have played with your query and the following is an example as I got it working in SBO. I think SBO gets confused if there is more than one select statement that returns a result and I have started using variables to save the results of the select statements in.
[code]Declare @Val varchar(100)
declare @Count integer
set @Val = $[$14.0.0]
if (SELECT COUNT(*) FROM dbo.ORDR WHERE (NumAtCard = @Val and CardCode = $[$4.0.0])) > 0
begin
SELECT TOP 1 @Val = 'already used in SO '+ Convert(Char(3),DocEntry) FROM dbo.ORDR WHERE (NumAtCard = @Val)
end
select @Val[/code]
I hope it helps a bit,
Adele -
Problem with image control using more than 1 web cam
Hi,
I am using logitech quickcam pro 4000.Actually I want to get image from
3 web cam at a time wich will act as a CCTV.I want to get picture from
more than 1 web cam at a time.But,When I start the .vi,than I get image
from 1 web cam.I have attached the vi and the demonstration file.
If anyone has any idea please send me a reply.
(The code was constructed using information
from the Logitech Software Development Kit, downloaded from the Logitech web
site January 4th 2004. This
package includes the royalty free distribution with the camera driver.
To install the package, download and unzip
LabVIEW Logitech UWA.zip and run Setup.exe in the 'redist' folder. This installs drivers (if not already
installed). Then run LabVIEW and open
Logitech Image Acquisition Master.vi.
Click the LabVIEW run button.
Notes for Understanding the Code
[1] The camera is controlled by an Active-X
reference from a front panel Acitve-X container that displays the pre-view
image. To create this, create a blank
Active-X container on the front panel and select the Active-X Hydra Video
Portal class.
[2] Three methods are called, following the
Visual Basic guide from Logitech. The
first establishes a connection to the Active-X server. The status bar is activated in the preview
window (EnableUIElements), and we connect a camera (ConnectCamera2).
[3] Here we set the value of property
'EnablePreview' to turn on the preview panel.
[4] We can get the camera description for
camera zero here (the first camera connected).
[5] Here we select the video format (64x480
– can change it later). The next call
establishes the preview size by setting property values. The preview size should be the same as the
video format for fastest image acquisition.
[6] We are restricted to saving the picture
to a BMP file and then reading it in again.
This is a limitation of the SDK.
After reading the image file we can change it to a JPG if we wish to.
[7] Here we re-read the image file and
provide it to ImageDisplay.vi.
Other methods and property values are
reasonably self evident. In LabVIEW, if
you right click the Active-X reference terminal on any method, you can create a
new method by simply selecting the appropriate one from a list. The parameters for the method appear
automatically and should be reasonably self-evident from the names. If you want more details, download the SDK
from Logitech.
Other methods allow you to make movies in
real-time or time-lapse sequences.
Note that you can also monitor Active-X
events to detect inputs or parameter changes made elsewhere. For example it is possible to detect when
the button on the camera is pressed.)
Thanks
Kabir
Kabir mamun
PhD Student,DCU
[email protected]
www.iward2010.blogspot.com
Attachments:
Logitech Image Acquisition Master.vi 98 KBHi Peter,
Thanks for your e-mail.And sorry for late.
I have changed my activex server in my labview programme.Current
server name is XVideoOCX.I have attached 1 example.Still I am facing
the same problem that I am not getting disply from more than 1 web
cam.So would you be able to advice me,what should I do regarding this
matter.
Actually,This is a part of my M.Sc project.I am under pressure.Peter,Please do me this fevour.
Thanks
Kabir
1 eample from help file:
Video Disply
1. Choose the input mode (Video, Single Image Files, Screen, etc.)
XSetInputMode(0) // This
chooses video as input
2. Choose the video device
XSetVideoInput(0) //
Choose the first available video input device
3. Initialize XVideoOCX
XInit() // Initialize
XVideoOCX
4. Start internal video capture
XStart()
now XVideoOCX should display the live video
5. Stop internal video capture
XStop()
6. Close XVideoOCX
XClose()
Kabir mamun
PhD Student,DCU
[email protected]
www.iward2010.blogspot.com
Attachments:
ax2.vi 23 KB -
Problem with Message bundle using more than one project
Hi:
I'm not sure about if i'm doing something wrong or maybe could be a bug in JDeveloper 9.0.2....
I have three projects: A Project_A with BC4J packages (controlling BC4J entitties, views and AM's. In order words, only controlling the business rules side); a Project_B with a JClient programs using the AM's defined in Project_A and; a Project_C with a JSP_UIX using the AM's defined in Project_A.
Everything works fine....until i note Message bundle is not working in Project_B and Project_C (not show my customizing message errors), only works fine in Project_A (using the AM tester because i don't control the client side here).
How can i solve the problem?
Regards.
MarcoI have the same project structure.
My purpose is to have a different message bundle for JClient app and Struts/ADF app.
When I register following customized message bundle in the common model project:
public class CustomBC4JExceptionBundle extends ListResourceBundle {
private static final Object[][] sMessageStrings = new String[][] {
{ CSMessageBundle.EXC_VAL_ATTR_MANDATORY, "This field is required" },
protected Object[][] getContents() {
return sMessageStrings;
I get the message in both JClient and Struts app.
But when I register that bundle in the 2 "client" projects and remove this custom bundle from my model project.
I get the original message in my Struts app and not the message above.
Question howto set up a different customized bundle for JClient project and Web project based on same model project in same application?
Thanks
Fred -
Strange problem with SSL Sockets using more than 10 Clients
Hi
I�m using Jsse ( JDK 1.4.2_06 ). I have coded a Client/Server Applikation acting over SSLSockets or over unsecured Sockets. If I use unsecured Sockets everthing works fine, but if I use SSLSockets for the Connection and about 20 Clients, the Clients often can�t connect to the Server and the following Exception was thrown:
java.net.ConnectException: Connection refused: connect
Could it be that there is some strange problem with SSLServerSockets relating to this phenomenon?
If I use only a few Clients the Exception occurs never or only sometimes.
Has anyboby an idea what is happaning there?
Regards ChrisliHi
From the description of your scenario, you have coded your own server side of the application. I would advise that you consider moving your application to run under Tomcat framework and test if you still get the same exception. -
Buy app once, use more than once?
If I buy an app (currently for my iPod Touch) but then move to an iPhone - will I still be able to use all of the apps I have downloaded/paid for on the new device? The new iphone would sync with the same iTunes Library...
Thanks.She can use every account she wants. Just sign out under Settings > iTunes & App Stores and sign back in with the desired account. But keep in mind that you should avoid buying content with different Apple IDs. All purchases are linked to the account that was used to buy them. Especially apps cause a lot of problems, because of app updates.
Your wife could though easily benefit from your purchased songs or other kind of media. Maybe have a look at iTunes home sharing... -
We have SQL Replication that goes occurs over a WAN and, often, it fails to replicate successfully. But, on the next replication attempt, is usually will succeed.
Is there a way to only have the alert, including the notification for it, occur if one or two consecutive attempts fail?Hi,
Take a look at the following sites:
http://blogs.catapultsystems.com/cfuller/archive/2010/11/10/enabling-sql-replication-monitoring-%E2%80%93-what-to-expect-in-the-replication-views-in-opsmgr.aspx
http://blogs.msdn.com/b/repltalk/archive/2010/05/09/all-about-automatically-monitoring-replication-agent-failures.aspx
Hope it helps:
Greetings
Roel Knippen
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. -
How to call the same query more than once with different selection criteria
Hi,
Please do anybody know how to solve this issue? I need to call one query with the fixed structure more than once with different selection criteria. For example. I have following data
Sales organization XX
Income 2008 Income 2009
Customer A 10 20
Customer B 30 0
Sales organization YY
Income 2008 Income 2009
Customer A 20 5
Customer B 50 10
Now, I need this. At the selection screen of query, user fill variable charakteristic "Sales organization" with interval XX - YY, than I need to generate two separate results per sales organization, one for Sales Organization XX and the second for SO YYwhich will be displayed each on separate page, where result for SO YY will be dispayed under result for SO YY. Are there some options how to do it for example in Report Designer or WAD or with programming? In Report Designer is possible to use one query more than once, but I dont know how to force each query in RD to display result only for one Sales Organization, which will be defined in selection screen.
Thank you very much
J.Hello,
thanks to all for cooperation. Finally we solved this issue with the following way..
User fill appropriate SO on the selection screen, which is defined as range. This will resulte, that selected SO are listed in report below each othe (standard behavior). Required solution we achieved with the Report Designer, we set page break under each Result row of RD. This caused, that report is divided into required part per SO, which are stated each on separate page.
J. -
CRS Install hostname being used by more than once for the same node.
Hi, we're installing The Oracle Clusterware and on the Cluster Configuration screen of the universal Installer (the one were you specify the clustername and clusternodes) we get the following error message in a dialog box when the next button is clicked:
"You must enter unique values for the public node name, the private node name and the virtual hostname for all nodes in the cluster. The name, node1, that you entered is being used by more than once for the same node."
Has anyone experienced this error message before and know what the cause is?
Could it be a problem with the /etc/hosts file?
Thanks in advance,
MMake sure you allocate separate IP addresses on your network for the VIP addresses on each RAC node (this is not the same as the machine IP already configured on the OS).
Also, the installer may complain if your private and public IPs are configured under the same subnet.
Finally, as mentioned before, check that name resolution for all the IPs to be used. On all RAC nodes, your /etc/hosts file should be configured with:
- public name and IP addresses of ALL nodes
- private name and IP addresses of ALL nodes
- VIP name and IP addresses of ALL nodes
Hope that helps
B. -
I have my catalog "Back Up Each Time Lightroom Exits" checked, and always have. That means the catalog should have been backed-up and saved everyday, if not more than once on some dates. So with a a major problem now and needing to use the Catalog backup from last Friday, I go to my Lightroom Backups folder - and the most recent one showing not only isn't yesterday, it's OCTOBER 28 !?? Where the hell are the daily backups between October 28 and November 14?
Oh wow - JET LAG strikes agin - my apologies; I have located the missing weeks of back-ups. After getting home from a 30-day trip to Europe, I had changed the location of my LR catalog back-ups to an external drive, and forgot that I did that. I have found them, and all is good. Never operate Heavy Machinery without enough rest. Cheers
-
How to use same page fragment more than once in a page,
Hi Gurus,
How to use same page fragment more than once in a page. I have a complex page fragment which has lots of Bindings (Binding Property set with backingBean variables).
I want to use the same page fragment multiple times on the same page with different tabs.
I want different ApplicationModule Instance for the page fragment in different tabs.
So I have created a Bounded Taskflow with pagefragments which has this complex pagefragment.
I've dragged the taskflow to page and created regions.
I'm able to execute the page successfully when I have only one region but fails if I have region more than once in the page.
Can anyone help me how to resolve this issue.
Web User Interface Developer's Guide for Oracle Application Development Framework: section 19-2 states we can have same pagefragment more than once in a page.
Thanks,
Satyajava.lang.IllegalStateException: Duplicate component id: 'pt1:r1:0:t2:si5', first used in tag: 'com.sun.faces.taglib.jsf_core.SelectItemsTag'
+id: j_id_id1
type: javax.faces.component.UIViewRoot@1d23189
+id: d1
type: RichDocument[UIXFacesBeanImpl, id=d1]
+id: j_id_id5
type: HtmlScript[UIXFacesBeanImpl, id=j_id_id5]
+id: j_id0
type: javax.faces.component.html.HtmlOutputText@bc252
+id: m1
type: RichMessages[UINodeFacesBean, id=m1]
+id: f1
type: RichForm[UIXFacesBeanImpl, id=f1]
+id: pt1
type: RichPageTemplate[oracle.adf.view.rich.component.fragment.UIXInclude$ContextualFacesBeanWrapper@2a0cc, id=pt1]
+id: ps1
type: RichPanelSplitter[UIXFacesBeanImpl, id=ps1]
+id: pt3
at javax.faces.webapp.UIComponentClassicTagBase.doStartTag(UIComponentClassicTagBase.java:1199)
at jsp_servlet.__projectrevenuern_jsff._jspx___tag265(__projectrevenuern_jsff.java:12356)
at jsp_servlet.__projectrevenuern_jsff._jspx___tag264(__projectrevenuern_jsff.java:12317)
at jsp_servlet.__projectrevenuern_jsff._jspx___tag263(__projectrevenuern_jsff.java:12262)
at jsp_servlet.__projectrevenuern_jsff._jspx___tag262(__projectrevenuern_jsff.java:12200)
at jsp_servlet.__projectrevenuern_jsff._jspx___tag261(__projectrevenuern_jsff.java:12147)
at jsp_servlet.__projectrevenuern_jsff._jspx___tag260(__projectrevenuern_jsff.java:12099)
at jsp_servlet.__projectrevenuern_jsff._jspx___tag259(__projectrevenuern_jsff.java:12047)
at jsp_servlet.__projectrevenuern_jsff._jspx___tag258(__projectrevenuern_jsff.java:11992)
at jsp_servlet.__projectrevenuern_jsff._jspx___tag257(__projectrevenuern_jsff.java:11948)
at jsp_servlet.__projectrevenuern_jsff._jspx___tag255(__projectrevenuern_jsff.java:11860)
at jsp_servlet.__projectrevenuern_jsff._jspx___tag254(__projectrevenuern_jsff.java:11808)
at jsp_servlet.__projectrevenuern_jsff._jspx___tag9(__projectrevenuern_jsff.java:510)
at jsp_servlet.__projectrevenuern_jsff._jspx___tag8(__projectrevenuern_jsff.java:461)
at jsp_servlet.__projectrevenuern_jsff._jspx___tag1(__projectrevenuern_jsff.java:149)
at jsp_servlet.__projectrevenuern_jsff._jspService(__projectrevenuern_jsff.java:67)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:499)
at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:429)
at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:163)
at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:184)
at oracle.adfinternal.view.faces.taglib.region.IncludeTag.__include(IncludeTag.java:443)
at oracle.adfinternal.view.faces.taglib.region.RegionTag$1.call(RegionTag.java:153)
at oracle.adfinternal.view.faces.taglib.region.RegionTag$1.call(RegionTag.java:128)
at oracle.adf.view.rich.component.fragment.UIXRegion.processRegion(UIXRegion.java:492)
at oracle.adfinternal.view.faces.taglib.region.RegionTag.doStartTag(RegionTag.java:127)
at jsp_servlet.__projectrevenuepg_jspx._jspx___tag50(__projectrevenuepg_jspx.java:2392)
at jsp_servlet.__projectrevenuepg_jspx._jspx___tag49(__projectrevenuepg_jspx.java:2353)
at jsp_servlet.__projectrevenuepg_jspx._jspx___tag46(__projectrevenuepg_jspx.java:2209)
at jsp_servlet.__projectrevenuepg_jspx._jspx___tag45(__projectrevenuepg_jspx.java:2162)
at jsp_servlet.__projectrevenuepg_jspx._jspx___tag9(__projectrevenuepg_jspx.java:526)
at jsp_servlet.__projectrevenuepg_jspx._jspx___tag8(__projectrevenuepg_jspx.java:475)
at jsp_servlet.__projectrevenuepg_jspx._jspx___tag7(__projectrevenuepg_jspx.java:424)
at jsp_servlet.__projectrevenuepg_jspx._jspx___tag6(__projectrevenuepg_jspx.java:373)
at jsp_servlet.__projectrevenuepg_jspx._jspx___tag2(__projectrevenuepg_jspx.java:202)
at jsp_servlet.__projectrevenuepg_jspx._jspx___tag1(__projectrevenuepg_jspx.java:144)
at jsp_servlet.__projectrevenuepg_jspx._jspService(__projectrevenuepg_jspx.java:71)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:408)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:318)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:499)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:248)
at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:410)
at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$OverrideDispatch.dispatch(FacesContextFactoryImpl.java:267)
at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:473)
at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:141)
at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:710)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:273)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:205)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
SUBSYSTEM = HTTP USERID = <WLS Kernel> SEVERITY = Error THREAD = [ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)' MSGID = BEA-101020 MACHINE = CAMIND1 TXID = CONTEXTID = TIMESTAMP = 1262712477691
WatchAlarmType: AutomaticReset
WatchAlarmResetPeriod: 30000
>
<JMXWatchNotificationListener><handleNotification> failure creating incident from WLDF notification
oracle.dfw.incident.IncidentCreationException: DFW-40116: failure creating incident
Cause: DFW-40112: There was an error executing adrci commands; the following errors have been found "DIA-48415: Syntax error found in string [create home base=C:\\Documents and Settings\\tammineedis\\Application] at column [69]
DIA-48447: The input path [C:\\Documents and Settings\\tammineedis\\Application Data\\JDeveloper\\system11.1.1.2.36.55.36\\DefaultDomain\\servers\\DefaultServer\\adr] does not contain any ADR homes
DIA-48447: The input path [diag\ofm\defaultdomain\defaultserver] does not contain any ADR homes
DIA-48494: ADR home is not set, the corresponding operation cannot be done
Action: Ensure that command line tool "adrci" can be executed from the command line.
at oracle.dfw.impl.incident.DiagnosticsDataExtractorImpl.createADRIncident(DiagnosticsDataExtractorImpl.java:708)
at oracle.dfw.impl.incident.DiagnosticsDataExtractorImpl.createIncident(DiagnosticsDataExtractorImpl.java:246)
at oracle.dfw.spi.weblogic.JMXWatchNotificationListener.handleNotification(JMXWatchNotificationListener.java:195)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor$ListenerWrapper.handleNotification(DefaultMBeanServerInterceptor.java:1732)
at javax.management.NotificationBroadcasterSupport.handleNotification(NotificationBroadcasterSupport.java:257)
at javax.management.NotificationBroadcasterSupport$SendNotifJob.run(NotificationBroadcasterSupport.java:322)
at javax.management.NotificationBroadcasterSupport$1.execute(NotificationBroadcasterSupport.java:307)
at javax.management.NotificationBroadcasterSupport.sendNotification(NotificationBroadcasterSupport.java:229)
at weblogic.management.jmx.modelmbean.WLSModelMBean.sendNotification(WLSModelMBean.java:824)
at weblogic.diagnostics.watch.JMXNotificationProducer.postJMXNotification(JMXNotificationProducer.java:79)
at weblogic.diagnostics.watch.JMXNotificationProducer.sendNotification(JMXNotificationProducer.java:104)
at com.bea.diagnostics.notifications.JMXNotificationService.send(JMXNotificationService.java:122)
at weblogic.diagnostics.watch.JMXNotificationListener.processWatchNotification(JMXNotificationListener.java:103)
at weblogic.diagnostics.watch.Watch.performNotifications(Watch.java:621)
at weblogic.diagnostics.watch.Watch.evaluateLogRuleWatch(Watch.java:546)
at weblogic.diagnostics.watch.WatchManager.evaluateLogEventRulesAsync(WatchManager.java:765)
at weblogic.diagnostics.watch.WatchManager.run(WatchManager.java:525)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused by: oracle.dfw.common.DiagnosticsException: DFW-40112: failed to execute the adrci commands "create home base=C:\\Documents and Settings\\tammineedis\\Application Data\\JDeveloper\\system11.1.1.2.36.55.36\\DefaultDomain\\servers\\DefaultServer\\adr product_type=ofm product_id=defaultdomain instance_id=defaultserver
set base C:\\Documents and Settings\\tammineedis\\Application Data\\JDeveloper\\system11.1.1.2.36.55.36\\DefaultDomain\\servers\\DefaultServer\\adr
set homepath diag\ofm\defaultdomain\defaultserver
create incident problem_key="BEA-101020 [HTTP]" error_facility="BEA" error_number=101020 error_message="null" create_time="2010-01-05 12:27:58.155 -05:00" ecid="0000INzXpbB7u1MLqMS4yY1BGrHn00000K"
Cause: There was an error executing adrci commands; the following errors have been found "DIA-48415: Syntax error found in string [create home base=C:\\Documents and Settings\\tammineedis\\Application] at column [69]
DIA-48447: The input path [C:\\Documents and Settings\\tammineedis\\Application Data\\JDeveloper\\system11.1.1.2.36.55.36\\DefaultDomain\\servers\\DefaultServer\\adr] does not contain any ADR homes
DIA-48447: The input path [diag\ofm\defaultdomain\defaultserver] does not contain any ADR homes
DIA-48494: ADR home is not set, the corresponding operation cannot be done
Action: Ensure that command line tool "adrci" can be executed from the command line.
at oracle.dfw.impl.incident.ADRHelper.invoke(ADRHelper.java:1052)
at oracle.dfw.impl.incident.ADRHelper.createIncident(ADRHelper.java:786)
at oracle.dfw.impl.incident.DiagnosticsDataExtractorImpl.createADRIncident(DiagnosticsDataExtractorImpl.java:688)
... 19 moreI get the above Error.
I have checked the bindings and it has 2 instances of the taskflow.
I have changed the backingbean scope to backingBean -
Hello,
I am trying to create a project using the statechart module, and one of the techniques I am trying to use is a "master-slave" statechart structure, illustrated by the code I have attached to this post (you probably need the statechart module installed to look at my example code). The problem I have recently discovered is that the slave statecharts cannot be launched more than once without raising an Error 1100 at Obtain Queue. I have gathered from a few other posts that the cause of this error is the fact that the First Call primitive is used by the Statechart module to initialize the statechart when it is first run. This works fine for the first launch of the slave statechart, but the second launch and subsequent launches of the statechart fail on Error 1100, since the First Call primitive won't let the statechart initialize (the First Call primitive tells the statechart it has already been initialized (this isn't the first call), and the External Trigger function then tries to send an external trigger to a queue that doesn't exist).
What I can't gather from those posts is the correction I need to make to get this design to work. I tried to send the slave statecharts a boolean flag for the "Init?" terminal, to force a reinitializing of the slave statechart. I couldn't get that to work. I tried to not load the slave sub VI as a slave sub VI, and launch it using some VI Server code, so that maybe the slave sub VI would be loaded and unloaded, therefore causing the statechart to properly initialize, but I couldn't get that to work either. What correction should I make? How do I get this to work?
I really want to use this design pattern, first of all since I wrote a lot of code already with this structure, and second of all, it makes a lot of sense to me. How do I make it work? If someone could post a version of my code that functions the same, but without the error, I would appreciate that. If you don't have time for that, but would be able to outline the steps I need to take to get it to work, that would be helpful, as well.
Thanks to anyone for any assistance they can provide. If you need any other information, please let me know.
Attachments:
Statechart Sample.zip 431 KBThanks, Deborah. I tried this approach out, and it turns out you can't just wire a TRUE to the "Init?" terminal. You have to wire a TRUE for the first run of the slave statechart, and then it has to become a FALSE. If you wire a TRUE, it will constantly try to reset the statechart, which doesn't work.
The master statechart has to keep track of whether it has called the slave statechart, and communicate that to the slave statechart. On the very first call of the slave statechart, the "First Call?" function inside of the "Run Statechart" function will give a TRUE, which initializes the statechart properly, and then gives a FALSE from that point after. After that, the "First Call?" function doesn't work anymore (it will always return FALSE), and an initial TRUE, with subsequent FALSE values, has to be provided manually.
I attached a version that does this, which appears to work. Let me know if it doesn't work for someone, or if you have a better idea to implement the correction.
Thanks to everyone for the replies!
Attachments:
Master-Slave Statechart Sample.zip 439 KB -
Load rule to update alternate hierarchy with shared members more than once
I have a aso cube with an alternate hierarchy that is not stored because the shared members appear more than once. Below is how my alternate hierarchy looks.
Dept
Class
VolumeLevel
StoreNum
where StoreNum is the shared member.
I build the cube using eis every weekend. The VolumeGroup changes everyday, so I was thinking of using a sql load rule to update the outline everyday. Assuming that the data and the aggregation does not get cleared. Is it possible to do it using sql load rule?
Thanks,You can check here if you are satisfying the conditions for creating shared members under the Hierarchy (refer to Alternate Hierarchies). Plz note that rules for shared members are different in ASO world.
http://docs.oracle.com/cd/E17236_01/epm.1112/esb_dbag/frameset.htm?acrtapdb.html
Otherwise there is no reason why you should not be able to create a shared member.
I am able to create a hierarchy using a sample file like this ->
EN_MAIN, EN_500000
EN_500000, EN_49999
EN_ALT, C_500000
C_500000, EN_49999
ENTITY (Multiple Hierarchies Enabled)
|-EN_MAIN (Stored)
|--EN_500000
|---EN_49999
|-EN_ALT (Stored)
|--C_500000
|---EN_49999 (Shared)
The rule file has only "Allow Property Changes" on.
Thanks,
Sunil -
Can I use more than one iTunes account with my apple TV?
Can I use more than one iTunes account with my apple TV?
That depends what you mean. If you mean can you purchase from more than one iTunes account on the Apple TV, then the answer is no. If you mean can you stream from more than one iTunes library, which use different accounts, then the answer is yes, so long as they both use the same ID and password for homesharing.
Maybe you are looking for
-
Iphone 3g problem - please help
My iPhone 3g was fine until this morning, when it stopped working. The sleep/wake button doesn't do anything, and when not connected to a power source the apple logo continually flashes on and off - on for about 4 secs, off for about 8 secs. Works w
-
Recovering lost photos and videos
I recently deleted a lot of photos and videos on my iPhone 5. I am trying to get them back. I am pretty sure I have backed my phone up on iCloud before I deleted them. Please help me get them back
-
Installing 8.1.5.0.0 on Solaris 2.7
I am attempting to install Oracle EE 8.1.5.0.0 on Solaris 2.7 and I am encountering problems when the OUI gets to the point of launching the Database Assistant to create the database. I continue to get "ClassNotFound" exceptions thrown on class name
-
Hi all, i exported the database having around 900 mb size using parameters exp file=full.dmp log=full.log full=y direct=y but the exported file size is 137mb. why this file size is small. even it compressed it has to be at least 70%. does this file h
-
How can I turn off "reply" button when the messages come? I prefer the "open" button.
How can I turn off "reply" button when the messages come? I prefer the "open" button. Because my friends usually send lots of messages at the same time so I cannot read all of them when I press "reply", then I have to go to Messages -> my friends' me