BPEL / BAM problem scope variable

Hi,
I try to notice BAM from a BPEL Process.
Actually my DataObject in BAM make lookups on the another one. So i have to notice 2 times BAM :
- 1 for the DataObject which is the target of the lookup of the 2nd DataObject (that i call genericDO)
- 1 for the DataObject which make lookups (specificDO)
The reason for these 2 notifications is that lookup fields are readonly. I can't set values using my specificDO. So i have to insert 1 genericDO and then a sspecificDO.
So to have to do 2 notifications.
Now the real problem :
On the activity, i place 1 Sensor which use 2 BAMSensorAction.
Sensor (use 1 simple variable which contains 3 strings) :
*<sensor sensorName="BAM_KO_Sensor" classname="oracle.tip.pc.services.reports.dca.agents.BpelActivitySensorAgent" kind="activity" target="Invoke_signalerErreur">*
*<activityConfig evalTime="all">*
*<variable outputDataType="notification" outputNamespace="http://xmlns.oracle.com/NotificationBAM" target="$notification"/>*
*</activityConfig>*
*</sensor>*
My 2 BAMSensorAction :
*<action name="BAM_KO_SensorAction" publishName="OracleBam" publishType="BAM" enabled="true">*
*<property name="bamDataObjectKey"></property>*
*<property name="batchStatus">false</property>*
*<property name="batchLowerLimit">100</property>*
*<property name="batchTimeout">500</property>*
*<property name="bamTransform">bam/BAM_SensorAction.xsl</property>*
*<property name="bamServer">http://s-bam-dev:80/OracleBAM/DataObject/DataObjectOperations.asmx</property>*
*<property name="batchDefault">true</property>*
*<property name="bamOperation">Insert</property>*
*<property name="bamDataObject">/DE/Activation/IntegrationProcess</property>*
*<property name="batchUpperLimit">500</property>*
*<sensorName>BAM_KO_Sensor</sensorName>*
*</action>*
*<action name="BAM_KO_Process_SensorAction" publishName="OracleBam" publishType="BAM" enabled="true">*
*<property name="bamDataObjectKey"></property>*
*<property name="batchStatus">false</property>*
*<property name="batchLowerLimit">100</property>*
*<property name="batchTimeout">500</property>*
*<property name="bamTransform">bam/BAM_Process_SensorAction.xsl</property>*
*<property name="bamServer">http://s-bam-dev:80/OracleBAM/DataObject/DataObjectOperations.asmx</property>*
*<property name="batchDefault">true</property>*
*<property name="bamOperation">Insert</property>*
*<property name="bamDataObject">/DE/ProcessTransverse/Process</property>*
*<property name="batchUpperLimit">500</property>*
*<sensorName>BAM_KO_Sensor</sensorName>*
*</action>*
I deploy the process without compilation problem.
And at runtime, the instance works well, i can see the 1st Insert in BAM, but the 2nd one is never done. In the log i can see that the 1st one is flushed, but i have this error for the 2nd one :
*<2009-05-12 14:17:20,775> <ERROR> <default.collaxa.cube.sensor> <DataRouter::send> error*
ORABPEL-20301
Echec du Data Publisher.
Echec du Reporting Data Publisher BAM_KO_Process_SensorAction.
Pour plus dinformations, consultez le fichier journal.
at com.collaxa.cube.engine.sensor.sa.DataRouter.send(DataRouter.java:101)
at com.collaxa.cube.engine.sensor.sa.DataRouter.send(DataRouter.java:133)
at com.collaxa.cube.engine.sensor.dca.DataCaptureAgency.send(DataCaptureAgency.java:181)
at com.collaxa.cube.engine.sensor.dca.DataCaptureAgency.sendActivityData(DataCaptureAgency.java:153)
at com.collaxa.cube.engine.sensor.dca.DataCaptureAgency.onActivityComplete(DataCaptureAgency.java:227)
at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform(BPELActivityWMP.java:205)
at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:3698)
at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1655)
at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:75)
at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:217)
at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:314)
at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:5765)
at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1722)
at com.collaxa.cube.engine.ejb.impl.CubeEngineBean.handleWorkItem(CubeEngineBean.java:307)
at sun.reflect.GeneratedMethodAccessor209.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
at com.evermind.server.ThreadState.runAs(ThreadState.java:693)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
at CubeEngineBean_LocalProxy_4bin6i8.handleWorkItem(Unknown Source)
at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handle(PerformMessageHandler.java:45)
at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:140)
at com.collaxa.cube.engine.dispatch.BaseDispatchTask.run(BaseDispatchTask.java:58)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
Caused by: ORABPEL-20301
Echec du Data Publisher.
Echec du Reporting Data Publisher BAM_KO_Process_SensorAction.
Pour plus dinformations, consultez le fichier journal.
at com.collaxa.cube.engine.sensor.sa.BpelPublisher.publish(BpelPublisher.java:137)
at com.collaxa.cube.engine.sensor.registry.BpelSensorActionInfo.publish(BpelSensorActionInfo.java:178)
at com.collaxa.cube.engine.sensor.sa.DataRouter.send(DataRouter.java:93)
*... 37 more*
Caused by: ORABPEL-02117
Variable déjà déclarée.
Une variable portant la clé "bamserver.hostname" a déjà été déclarée dans le scope en cours.
Enlevez du code linstruction de déclaration de variable.
at com.collaxa.cube.engine.core.Scope.__checkVariantDecl(Scope.java:1411)
at com.collaxa.cube.engine.core.Scope.declareAndSet(Scope.java:800)
at com.collaxa.cube.engine.sensor.dca.data.BpelCapturedData.getHeaderProperties(BpelCapturedData.java:199)
at com.collaxa.cube.engine.sensor.sa.FilteredDataPublisher.publish(FilteredDataPublisher.java:105)
at com.collaxa.cube.engine.sensor.sa.BpelPublisher.publish(BpelPublisher.java:129)
*... 39 more*
All what i can say is that i never declare any variable with bamserver.hostname key. The only spot in all my process where this value can be seen is the bpel.xml :
*<preferences>*
*<property name="bamserver.hostname" encryption="plaintext">s-bam-dev</property>*
*<property name="bamserver.protocol" encryption="plaintext">http</property>*
*</preferences>*
Seems like a variable is declared by the 1st SensorAction, and the 2nd one try to declare it again...
Any ideas on the problem ?

Hi,
Thx for the response.
Actually there's no variable declaration visible in the bpel.xml. It was the first thing that i have look for, regarding to the exeption.
That's why i suppose that there's some sort of runtime variable declaration by the BAM sensor. No certitude on this...
And yes, when you place the two BAMSensorAction on two Sensors which are on activities in separate scopes... it works.
Finally i avoid the problem doing something like that :
<ScopeForBAMNotification>
<ScopeForNotification1>Empty activity 1 with 1 sensor activity which use 1 sensorBAMAction</ScopeForNotification1>
<ScopeForNotification2>Empty activity 1 with 1 sensor activity which use 1 sensorBAMAction</ScopeForNotification2>
</ScopeForBAMNotification>
Not pretty, but works...

Similar Messages

  • Best approach to monitoring 'status' and Time in BPEL/BAM?

    Hi,
    I have a composite to handle 'Orders' which goes through various stages in the process. The process will change the status of the order as it goes through various activities, and the statuses include 'Submitted', 'Started Processing' and 'Processed'.
    My question is, how would I monitor the average time that orders spend before they begin being processed i.e. the time difference between 'Submitted' status and 'Started Processing' status? Would it be using sensors (variable or activity) or feeding data through BAM adapter?
    My Data Object in BAM is currently set to hold each different order and then I have columns to record the Time at which it reaches these statuses. Following these, I then have columns to hold the differences in Time between stages to see how long the order spends in these stages E.g difference between 'Submitted' and 'Started Processing' etc etc
    Order ID | Submit Time | Started Processing Time | Processed Time | Time between 'Submitted' & 'Started Processing'
    001 | 09:00 | 11:00 | 12:00 | 2 Hours
    002 | 09:45 | 11:15 | 12:00 | 1 Hour 30 mins
    I would appreciate it if someone could guide me on whether this design approach is correct and how I can build on this please. E.g, is the data object correct for this and will it be easy to work out average times across multiple orders (not sure how I can currently include this in the data object)
    Thanks in advance

    Hi
    Yes, your data approach is correct.
    You can use BAM adapter to feed information from the composite level e.g. mediator to BAM
    and either Monitor Express ( 1-click as one response below pointed out and our recommended approach) or Sensors depending on your preference.
    You can send timestamps for various status from composite to BAM.
    Let BAM do the calculations for you.
    The order booking sample on BAM OTN under samples and tutorials will be a good sample to refer to.
    Also there are samples on Monitor Express, BPEL-BAM ( highlights BAM adapter at composite level)
    http://www.oracle.com/technology/products/integration/bam/collateral/Samples11g.html
    Regards
    Payal

  • Session scope variables and weird behaviour of AdfContext()

    Hello,
    what is the best method and correct API to create a session scope variable?
    I am currently using ADFContext().getCurrent().getSessionScope().get()/put(), but it looks like it has some problems: for some unkown reasons I loose the variable, that is get() returns null when called from a method of a (overridden)ViewRowImpl. Why does this happen?
    Thanks you in advance

    There are a couple of ways you can set values on a sessions scope but I would have to question if you really need a scope as high as session to accomplish what you want to do. At any rate, you should be able to store the value using the method you described but you could also try setting it using EL by using the setExpressionValue and resolveExpression methods in JSFUtils.java (you can find this in the latest fusion demo application). JSFUtils also has a getFromSession and storeOnSession that you could try.
    With all that said I don't think it is good practice to access scope variables from your model layer. You should write your method in the ViewRowImpl class to accept the value as a method parameter and then pass the value in through the binding layer or when invoking the method from your bean class.

  • Initialization of global/scope variables ONLY through ASSIGN?

    Is it only possible to initialize global resp. scope variables through an explicit ASSIGN?
    Or can I place e.g. a value="...." attribute inside the BPEL source code at the variable declaration
    to initialize it directly?
    Or even better: can I init the variable through JDeveloper GUI?
    Peter

    I looked this up on Oracle Support and there was one thread that it said that it could be resolved with a 11.1.1.6. to 11.1.1.6.2 patch update.
    We have one test environment on 11.1.1.6.6 to which we have uploaded the RPD to receive the same error, although it now additionally indicated a "Blacklisted Connection Pool". Here are the error details:\
    [2013-01-22T00:30:32.000-08:00] [OracleBIServerComponent] [ERROR:1] [] [] [ecid: 004osJjn__ADCgH_qt0FyY0006Py000000] [tid: e9c8a950] [nQSError: 17014] Could not connect to Oracle database. [[
    [nQSError: 17001] Oracle Error code: 12545, message: ORA-12545: Connect failed because target host or object does not exist
    at OCI call OCIServerAttach.
    [nQSError: 43059] Init block ‘XYZ’: Dynamic refresh of repository scope variables has failed.
    [2013-01-22T00:30:32.000-08:00] [OracleBIServerComponent] [ERROR:1] [] [] [ecid: 004osJjn__ADCgH_qt0FyY0006Py000000] [tid: e9c8a950] [43143] Blacklisted connection pool: 'ABC'
    This is the way I have defined the DSN for the OCI 10g/ 11g within the RPD connection pool:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=10.53.36.93)(PORT=1541))(ADDRESS=(PROTOCOL=TCP)(HOST=10.53.36.94)(PORT=1541))(ADDRESS=(PROTOCOL=TCP)(HOST=10.53.36.95)(PORT=1541))(ADDRESS=(PROTOCOL=TCP)(HOST=10.53.36.96)(PORT=1541))(LOAD_BALANCE=yes)(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=a.b.c)))
    My next test would be to individually test each host and see which one causes it to error out.
    Any insights of what I could look to additionally do?
    PS: The DBA is yet to get back with the exact version of the Oracle 11g DB but it is greater than 11.1.0.7 since that was the version they were running 6 months back and might have upgraded.

  • Application scope variables ... an easier way or not ?

    Instead of sharing application scope variables through the
              servletContext()/application I am using a normal singleton class (or maybe
              static class) to share all my application varaiable. It works fine and it
              takes a lot less code to write.
              It seamed logical to do this a static classes or singletons are shared
              within a single servletContext/application (which there seems to be only one
              per WL instance anyway). (singleton is quite nice pattern coz. all
              jsp:useBeans with the application scope are by definition singletons)
              Has anoyne tried something similar or maybe know of the problem with this
              approach. I assume that server will never reinitialise application level
              variables ...... hope the assumption is correct. ....
              

    When you specify application scope, the JSP stores/retrieves the value
              into/from the servlet context. You may already know this, but it sounded
              like what you thought you were somehow avoiding.
              Cameron Purdy
              http://www.tangosol.com
              "Bohinc D" <[email protected]> wrote in message
              news:[email protected]..
              > Instead of sharing application scope variables through the
              > servletContext()/application I am using a normal singleton class (or maybe
              > static class) to share all my application varaiable. It works fine and it
              > takes a lot less code to write.
              >
              > It seamed logical to do this a static classes or singletons are shared
              > within a single servletContext/application (which there seems to be only
              one
              > per WL instance anyway). (singleton is quite nice pattern coz. all
              > jsp:useBeans with the application scope are by definition singletons)
              >
              > Has anoyne tried something similar or maybe know of the problem with this
              > approach. I assume that server will never reinitialise application level
              > variables ...... hope the assumption is correct. ....
              >
              >
              >
              

  • Problem with variables in formulas when using CrystalReportViewer

    Post Author: Aksu
    CA Forum: Formula
    Hi! I have a problem with variables in Crystal Reports formulas, when using CrystalDecisions.Windows.Forms.CrystalReportViewer class from VS2005-project. ReportViewer always gives error:*************Crystal Report Windows Forms ViewerThis field name is not known.Details: errorKindError in File C:\{dir&#93;}\{file}.rpt:Error in formula <mCustomerAttributes>.'Dim result As String'This field name is not known.Details: errorKind ************* Report without variables works fine with Viewer and in Crystal Reports Designer report with variables works also fine. I have tried with both "formula-syntaxes" - basic and crystal. But Viewer always gives error when trying to define new variable.I think the problem might be with CR -versions, because VS-project has formerly been designed to VS2003 and CR9 or 10. Now I'm using VS2005 and CR11. Though I have changed all references to new CrystalDecisions-asseblies (Ver.11.0.3300.0), when I debug the project and checkout the Viewers ReportSources FormatEngine Shows version CR9_2.... I have no idea where it gets this version...***************DEBUG-view when Viewer is created *******************CrystalReportViewer    |_        ReportSourceClassFactoryName ... , Version=11.0.3300.0 , ...    |_            ReportSource            |_                FormatEngine    {CrystalDecisions.CrystalReports.Engine.FormatEngine}                        |_                        ClientVersionHeader    {CrystalDecisions.Shared.ReportServiceVersionHeader}                            |_                            |    version = 920     (int)                            |_                                Static members                                            |_                                        VER_CR9    = 920    (int)**************************************** Could anyone have any answers or tips for this problem? I'd really appreciate it... ---Aksu

    Has anyone been able to answer this question?
    I am having the same problem:
    I am designing a report in Crystal Reports XI Developer that contains parameters, which are passed to a stored procedure and are also used within formulas ( in Crystal Syntax ie. {?FORMAT_ID} ) in the report itself.
    I can run the report successfully in CRXI Developer.  The formulas use the correct values from the parameters entered during execution and everything looks good.
    I then deploy the report to Business Objects Enterprise XI.  I do all of the things necessary to manage the report including setting up the proper database connection information and default parameter values.
    When I run the report using the Crystal Report Viewer, I get the following error message:
    Error in File Forecasting.rpt:
    Error in formula <Report Format>.
    'if (not isNull({?FORMAT_ID} ) ) then
    This field name is not known.
    Details: errorKind
    This happens when I press the "Preview" button in the Manage Object dialog from Crystal or when I run the report using InfoView.
    I have changed the formulas and it doesn't seem to matter what the specific content of the formula is; other than the existence of a parameter reference in the formula.  If I comment out the parameter and replace it with a hard-coded value, it gets through the formula fine.
    Does Business Objects Enterprise XI support crystal reports with parameter references in the formulas?
    Thanks,
    Tim H.
    Edited by: Tim Haley on Nov 25, 2008 11:11 PM
    Edited by: Tim Haley on Nov 25, 2008 11:12 PM

  • Problem returning variables from dynamic SQL/PLSQL

    Hi, I have a problem I am trying to solve using a very short piece of dynamic SQL or PLSQL but I am having problems getting the variable values out of the dynamic block.
    I have 16 counters whose names are made up of three variable parts - 'scheme', 'contributory category' and 'employment category'
    The 'scheme' can be either 'no1', 'no2', 'off', 'cg' or 'amc'
    The 'contributory category' can be either 'cont' or 'noncont'
    The 'employment category' can be either 'ft' or 'pt'
    (There are only 16 because only 16 combinations are possible)
    For example the total counter name could be 'v_cg_noncont_ft_count'
    I have created a variable by concatenating the various elements called v_incr_count_name which holds the name of the counter I want to increment.
    I am running this whole thing within an anonymous PLSQL block so I cannot use global variables meaning that my variables are not visible within a dynamic PLSQL block.
    I believe this means that either I need to bind the variables within a PLSQL block or use a SELECT FROM INTO SQL block.
    I have tried a few solutions with no luck such as the following PLSQL:
    v_incr_count := 'v_'||v_scheme||'_'||v_cont_cat||'_'||v_emp_cat||'_count';
    sql_stmt := 'BEGIN :a := :a + 1; END;';
    EXECUTE IMMEDIATE sql_stmt USING v_incr_count_name;
    Unfortunately I am getting the 'IN bind variable bound to an OUT position' error which I believe is because it is trying to return a value into v_incr_count_name which has been defined by default as an IN variable. The problem is that I need to store the returned value into the variable whose name is stored in v_incr_count_name.
    Another solution I tried is:
    v_incr_count_name := 'v_'||v_scheme||'_'||v_cont_cat||'_'||v_emp_cat||'_count';
    sql_stmt := 'SELECT '||v_incr_count_name||' + 1 FROM DUAL';
    EXECUTE IMMEDIATE sql_stmt INTO v_return;
    This solution gives me an 'Invalid colum error'
    Any help would be greatly appreciated
    Cheers, Dan

    Repost:
    Problem with variables in dynamic SQL/PLSQL

  • Problem with variable

    Hi. I'm making a form for work for people to book places on
    training courses. Having an annoying problem with variables that
    i'm hoping has a simple solution. Any help with this will be much
    appreciated.
    All the info is held in an external text file which looks
    like this (but much longer):
    &totalcourses=2&
    &course0=Please choose a course&
    &course1=my course one&
    &totaldates1=3&
    &c1date0=Select a date...&
    &c1date1=15 September 2006&
    &c1time1=Time: 10:00 to 16:00&
    &c1date2=23 January 2006&
    &c1time2=Time: 11:00 to 16:00&
    &c1date3=28 February 2007&
    &c1time3=Time: 12:00 to 16:00&
    &course2=my course 2&
    &totaldates2=3&
    &c2date0=Select a date...&
    &c2date1=15 September 2006&
    &c2time1=Time: 11:00 to 16:00&
    &c2date2=08 January 2007&
    &c2time2=Time: 9:00 to 16:00 &
    &c2date3=15 February 2007
    &c2time3=Time: 12:00 to 16:00&
    The course titles are loaded into an array and then into a
    combobox. When a course is chosen a second combobox loads the
    relevant dates array for that course. When a date is chosen the
    time is shown in a dynamic text box.
    Problem is - if more than one course is on the same date it
    will show the time for the latest course with that date. For
    example - course 1 is on 15 sept at time 10:00 to 16:00, course 2
    is also on 15 sept at time 11:00 to 16:00. When 15 Sept is chosen
    for course one it displays the time for course 2 on this date -
    presumably because it comes later in the text file.
    I've attached the actionscript for this - Can anyone help me
    sort this out??

    Hi. I'm making a form for work for people to book places on
    training courses. Having an annoying problem with variables that
    i'm hoping has a simple solution. Any help with this will be much
    appreciated.
    All the info is held in an external text file which looks
    like this (but much longer):
    &totalcourses=2&
    &course0=Please choose a course&
    &course1=my course one&
    &totaldates1=3&
    &c1date0=Select a date...&
    &c1date1=15 September 2006&
    &c1time1=Time: 10:00 to 16:00&
    &c1date2=23 January 2006&
    &c1time2=Time: 11:00 to 16:00&
    &c1date3=28 February 2007&
    &c1time3=Time: 12:00 to 16:00&
    &course2=my course 2&
    &totaldates2=3&
    &c2date0=Select a date...&
    &c2date1=15 September 2006&
    &c2time1=Time: 11:00 to 16:00&
    &c2date2=08 January 2007&
    &c2time2=Time: 9:00 to 16:00 &
    &c2date3=15 February 2007
    &c2time3=Time: 12:00 to 16:00&
    The course titles are loaded into an array and then into a
    combobox. When a course is chosen a second combobox loads the
    relevant dates array for that course. When a date is chosen the
    time is shown in a dynamic text box.
    Problem is - if more than one course is on the same date it
    will show the time for the latest course with that date. For
    example - course 1 is on 15 sept at time 10:00 to 16:00, course 2
    is also on 15 sept at time 11:00 to 16:00. When 15 Sept is chosen
    for course one it displays the time for course 2 on this date -
    presumably because it comes later in the text file.
    I've attached the actionscript for this - Can anyone help me
    sort this out??

  • Problem with Variable Client Support

    Hello,
    I work with Labview 8.5 and Crio 9014.
    I have a problem with  Variable Client Support. When I try to compile my project I have the following error:
    "The Network Variable Engine and Variable Client Support must be installed on the RT target for this application to function properly..."
    I have read that we have to install the Variable Client Support in Measurement and Automation by right-clicking on the software and then choosing add/remove software but I can't install the appropriate shared variable components because I can't see neither Network Variable Engine and Variable Client Support. So what can I do?
    Can somebody help me?
    Thanks

    I have exactly the same problem. I wanted go through the "Getting Started with the LabVIEW RT module" and when I use wizard for generating new project I get same notification in my VI... 
    The Network Variable Engine and Variable Client Support must be installed on the RT target
    for this application to function properly. If the Network Variable Engine is not supported on
    the target (e.g. FP-2000 with <32MB of RAM), open the project and move the variable library
    to My Computer in the project. Doing this will deploy the variables to localhost but
    will still require that Variable Client Support be installed on the RT target.
    Could someone help please ? 
    Attachments:
    ni.png ‏95 KB

  • Problem with variable in the woorkbook selection screen.

    Hi All,
    I have Problem with Variable in the selection screen. I have four variable in the report in this sequence
    <b>Plant (optional), calendar month (mandatory),  material (optional), Customer (mandatory). </b>
    In Development system, I changed the query to fix the problem for a formula. saved and executed the query. In the selection screen appeared four variables and executed. after executing the query and I saved the work book also. I logged out of the Bex Analyzer. In the RSRT I generated the report by clicking the Generated Report push button. and again logged into the Bex analyzer and ran the work book, now in the selection screen, appeared three Variables only, I am missing the variable <b>Customer</b>.
    The old report which is already  in the Production system is working fine. What could be the mistake I did in the development system.
    It is very urgent, I need to deliver this object as soon as possible.
    Can I anybody help on the same.
    Thanks in advance
    Narendra

    Yunus,
    I did what you said. I removed the variable from characteristic restrictions, saved the query and executed the query, appeared three variables Plant, Calender month and material. executed and saved the work book. disconeted from Bex analyzer, in RSRT Generated Report and logged into Bex analyzer ran the work book for selection Plant, calender month and material and went into change query definition and added the variable for customer which was removed earlier and and ran the query for selections Plant, Calender monmth, Material and customer. saved the work book. disconnected from Bex analyzer and closed all excel sheets and work books. In RSRT Generated Report and again connected to Bex analyzer and ran the work book, now appeared only three variables again missed variable customer.
    Yunus does any missed n the procedure what i did.
    It is helped what Chris was answered.
    Many Many Thaks for your time and replies.
    Thaks in advance
    Narendra

  • Problem with Variable screen in WAD

    Hi ,
    I have a problem with variable screen in WAD , in the varable seen it is displaying only Key , it is not giving any description , but in BEX is is displaying both Key and Description , can any only have an idea why is this happening . this is occuring only for one variable , rest are working fine .
    Thanks,
    Abraham

    Hi Abraham,
    thsi could be a problem from the specisic setting of the infocube. Please check the BEx Settings from the infocube. You can find them by the following steps:
    - search for the infocube
    - doubleclick on the infocube
    - choose an specific infoobjekt
    - right mousebutton and click "specific dataprovider settings"
    - check if the right entries are set
    Hope this will help.
    André

  • Method Scope variables controls Multi-Threading !

    Hye there Experts !
    First, let me thank you all for such a brain-stuff sharing around; feel nice to be a part here.
    While browsing through the below article, found something confusing...kindly clarify.
    http://www.javaworld.com/javaworld/jw-07-2004/jw-0712-threadsafe.html?page=1
    Extract from the above discussion I understand :
    when a variable is moved to method scope instead of instance scope, synchronization is achieved.
    How is this true for servlets ???
    Method scope variables are available only during method call I think...here, since this is a servlet, there will be only one instance and if many (lets say 10) requests hits this servlet object, all these threads will read same counter as all of them enter into this only one method of this object,
    so...this should be still not thread safe I guess.
    I didn't want to execute and see results of this code, but I am trying to understand the key at first.
    Please guide me before brain blows... :-)
    Would also appreciate any references that really says true things about
    'synchronization for enterprize (handle huge requests) web apps - technques for servlets and any other stuff'
    Thanks again guys, have a wonderful time.

    feel nice to be a part here.Welcome to the mad-house ;-)
    Method scope variables are available only during method callWARNING: I'm no guru, so this may be misleading or just plain wrong.. but as I understand it:
    Yep a "local" variable exists only the context of the execution of it's containing method... so a local variable is implicitly bound to the thread that created it (by invoking the method in which the local is declared)... a local variable can't be accessed directly by another thread simply because the other thread has no access-path to the variable (you can't expose a local through getters & setters)... hence locals are thread safe.
    The important bit is that it's the thread which "owns" the local variable... not the declaring method... if the method is executed concurrently by two threads, each thread will have its own private copy of all the local variables.
    One other question though: are locals in static methods still thread safe? I'm not sure.
    package forums;
    class NonfinalLocalVariableInThreadTest
      public static void main(String[] args) {
        try {
          new Thread(new Runnable() {
            public void run() {
              System.out.println(args[0]);
          }).start();
        } catch (Exception e) {
          e.printStackTrace();
    compiler error
    C:\Java\home\src\forums>"C:\Program Files\Java\jdk1.6.0_07\bin\javac.exe" -Xlint -d c:\java\home\classes -cp c:\java\home\src;.;c:\java\home\classes c:\java\home\src\forums\NonfinalLocalVariableInThreadTest.java
    C:\Java\home\src\forums\NonfinalLocalVariableInThreadTest.java:9: local variable args is accessed from within inner class; needs to be declared final
              System.out.println(args[0]);
                                 ^
    1 error
    Output completed (0 sec consumed)

  • How long is the life time of process scope variable ?

    Hi All,
    How long is the life time of process scope variable befoer it expires ?
    Is it the same with the life time of session scope ?
    How can we set the value in OAS when deployment ?
    Thank you,
    xtanto

    Hi,
    http://www.oracle.com/technology/products/jdev/htdocs/partners/addins/exchange/jsf/doc/devguide/communicatingBetweenPages.html
    " Finally, processScope never empties itself; the only way to clear processScope is to manually force it to clear:
    AdfFacesContext afContext = AdfFacesContext.getCurrentInstance();
    afContext.getProcessScope().clear();
    Otherwise the variable lives for the duration of the window process. The referenced document above also shows how to set a variable to process scope
    Frank

  • Suggestion: JavaScript scope variables and event listeners

    Invoking Java from JavaScript in ADF Mobile is surprisingly efficient although it is still relatively expensive compared to plain HTML5/JavaScript/CSS stuff in the native UIWebView. But whenever you want to do something "dynamic" you have to revert to invoking Java, even for simple use cases. As far as I can see it as soon as you use listeners on components, managed beans or data controls you're in the Java world.
    Why not add similar concepts that are pure JavaScript implementations for performance. As an example I want to have a SelectOneButton component and depending on its state I want to enable/disable an InputText component. As far as I can see it I would need Java to make this happen. First, I would need a Java managed bean to keep the enabled/disabled state. Then I would set the value property of the SelectOneButton with an EL expression to this managed bean property, or for other scenarios use a Java based ActionListener to change the state. Then the InputText component could use an EL expression in its Disabled property.
    For this simple use case this would still perform fast, but real applications grow more complex.
    Why not have the option of creating JavaScript based managed "beans"? The could live on javaScriptPageFlowScope or javaScriptViewScope. Then the AMX components could reference this from EL and it would be even better if we can create pure javascript ActionListeners (or other listeners). This would make it similar to the choice with ADF Faces application between doing a server roundtrip with partial-page-rendering and using pure clientListeners and clientAttributes for optimal performance.
    For situations where we do need to power of Java, it would be great if we can access these javascript scope variables from Java.

    This is a good suggestion, Wilfred. We haven't gotten to this level of optimization in the framework yet. At some point it's likely we'll have an option for the developer to specify the layer to handle the method.
    Thanks

  • Dataype of cfdocument scope variables

    Hello,
    It seems that since I installed the 8.0.1 updater the
    datatype of the cfdocument scope variables (eg totalpagecount and
    currentpagenumber) has been changed. Before the update the datatype
    was numeric, but now it seems unknown. This means I can't use
    mathematical expressions to these variables. Is this a new bug in
    CF 8.0.1 or....??
    Frank

    I have done some tests and it seems that the variables are
    replaced by {currentpagenumber} and {totalpagecount} and I think
    these variables are filled in by the pdf reader. I think we need
    some pdf programming guide to find out how to manipulate these
    variables.
    I have no clue why Adobe decided to change this behaviour in
    CF 8.0.1.

Maybe you are looking for