Executable with Dynamic VIs

LV 8.6.1f1
I'm having a hard time figuring out the ALWAYS INCLUDE field under the SOURCE FILES section of the BUILD properties in my BUILD SPECIFICATION.
My app uses "plug-ins".  You configure a channel (in my editor) as a plug-in channel, you give it a name "X".
The code looks for "X.vi" in a certain folder, runs it once to check out if it exists, figure out its prerequisites, and gets ready to run it for real. 
These plugins do things like compute a power channel from a speed and torque channel, or things involving chemistry.  Basically, they're fake channels, but the user can treat them just like real channels by adding alarms, graphing them live, etc.
These plugins use certain subVIs, and control typedefs (ENUMS, mostly) that are in the main program.
All this works fine in the development system.
If I build the app, my config puts the app alongside the main VI's library file, and the executable works just fine.
However, If I move the app (and the supporting folders with the plugins) to a different place (without the main source code present), I have trouble.
Specifically, when I make a channel ACTIVE (and thus try to dynamically load it), I sometimes get an error 1003, meaning the VI is not executable (broken).
When I flip the ACTIVE switch, I can see the LOADING dialog appear for just a tenth of a second or so. If I keep trying, I can eventually read the name of the VI it's looking for (some subVI, or control, used by the VI I'm loading).
If I modify the build spec to include that control in the project, it doesn't change anything.  I don't really expect it to, since the main VI already knows it needs this particular control (in a lot of places besides the plug-in).
However, if I add this control to the ALWAYS INCLUDE list, then things work just fine.
The question is: WHY?
I can guarantee that this control is in the EXE; it's used in a lot of places (including the editor that checks out the plugins).  I just did a search and found 807 instances of it. 
The help for ALWAYS INCLUDE says "Specifies the dynamic VIs and support files always to include in the application, even if the startup VIs do not contain references to the files".
I just confirmed that if i remove it from the ALWAYS INCLUDE list, it fails; if I add it back in, it succeeds.
Maybe it has to do with paths - in the development folder, I have :
Root\Main.llb\Main.vi                  { the main VI } 
Root\Libraries\Units.llb\Units.ctl   {the control in question }
Root\User\Plugins\Whatever.vi    {a plugin that uses it }
When I build the app, it goes into the root:
Root\Main.exe
and everything else is the same. 
I move the app into a testbed:
Root\Testbed\Main.exe    {the main program } 
Root\Testbed\User\Plugins\Whatever.vi   { a plugin }
and there's where the failure occurs.
So the questions are:
1... Why is this happening?
2... What rules do I need to follow so that it doesn't happen again?
I don't want to just dump stuff into the ALWAYS INCLUDE bucket until I understand what's what.
Ideas? 
Steve Bird
Culverson Software - Elegant software that is a pleasure to use.
Culverson.com
Blog for (mostly LabVIEW) programmers: Tips And Tricks
Solved!
Go to Solution.

The control is in the exe, but if you only have your plugin vi without the control, then the vi is not executable.
--- I don't understand what you're saying.  The control does exist in the EXE, it's used in lots of other places in the EXE.  So I was expecting the plugin to be able to find it. 
Every vi, you want to load dynamically, has to be executable independently from the exe which calls them.
--- That's not exactly true, specifically the "independently" part. 
More testing with lots of these plugins has yielded the following rules for my case:
The plugin itself does NOT have to be in the ALWAYS INCLUDE list.  That's obvious, or it wouldn't truly be a dynamic VI.
If the plugin uses a typedef control, then that control must be in the ALWAYS INCLUDE list.  It doesn't matter if it's used in the main already, even 800+ times.  It simply has to be in the list.
Any subVIs that the plugin calls have to either A) be already used in the main, so that they're in the EXE, or B) in  the ALWAYS INCLUDE list.
My confusion comes from the difference between 2 and 3.  Controls are fundamentally different from VIs in this treatment, and I didn't (don't) understand why. 
I said that your "independently" comment was not true because of #3.  These plugins are capable of finding subVIs in the parent EXE.  They're dependent on the EXE, but they can still work if that dependency is resolvable.  
For some reason, they're not capable of finding typedef controls in the parent. 
Steve Bird
Culverson Software - Elegant software that is a pleasure to use.
Culverson.com
Blog for (mostly LabVIEW) programmers: Tips And Tricks

Similar Messages

  • Remote debugging an executable with dynamically loaded subpanel VIs

    All,
    A colleague of mine is attempting to perform remote debugging of an executable he has inherited. It includes subpanels that show dynamically loaded VIs. When connecting with the remote debugger, the main executable shows fine, but the dynamically loaded VIs are not showing their front panels. They appear ok on the remote PC where the executable is running, but they don't appear on his laptop from where he is running the debugger.
    I don't have access to LabVIEW currently, and he cannot get this to work, so I thought I'd ask the community this generic question:
    "Is it possible to remotely debug a LabVIEW executable with subpanels that show dynamically loaded subVIs?"
    Technically he can see and probe the block diagram of the main executable, but the subpanels are blank where the dynamcally loaded subVI front panel should show, making it impossible to interact with the program.
    Thoric (CLA, CLED, CTD and LabVIEW Champion)

    Thanks Josh. Does this issue have a CAR number I can tag?
    Thoric (CLA, CLED, CTD and LabVIEW Champion)

  • Why cannot execute DB operation at client side with dynamic proxy?

    I want to execute a DB operation at client side with dynamic proxy. that is bypass EJBs to execute DB operation. And there is a data source in weblogic server, and I get an EJB instance using dynamic proxy, get connection using this instance, then invoke executeQuery method. But it is failed, and throw exception when execute "conn.setAutoCommit(false)" as below:
    <Caused by: weblogic.rmi.extensions.RemoteRuntimeException: Unexpected Exception - with nested exception:
    [java.rmi.UnmarshalException: Could not unmarshal method ID; nested exception is:
    java.rmi.UnmarshalException: Method not found: 'newArrayDataResultSet(Loracle.sql.ARRAY;JILjava.util.Map;)']
    at weblogic.jdbc.rmi.internal.ConnectionImpl_weblogic_jdbc_wrapper_PoolConnection_oracle_jdbc_driver_OracleConnection_813_WLStub.setAutoCommit(Unknown Source)
    at weblogic.jdbc.rmi.SerialConnection_weblogic_jdbc_rmi_internal_ConnectionImpl_weblogic_jdbc_wrapper_PoolConnection_oracle_jdbc_driver_OracleConnection_813_WLStub.setAutoCommit(Unknown Source)>
    but it is no exception and run well using EJB, who can tell me why? if it is a weblogic limitation? and my version of WLS is 8.1 sp3

    Hi,
    Do you create the connection object on the server and pass it over to the client, we do not allow passing the connection object over the wire.

  • Use buffering and psp with datasocket-VIs and without any binding and shared variable node

    Hello,
    I'm using LV 8.5.
    I'm trying to develop a multiplatform (windows and mac os x) and multi-computer application. II want to get executables running on each device, communicating through the network. Communication process includes datas (such as images) and events messages (something like "Hello, I got an error" or "youyou, my work is done" or "I'm hereeeee!!!!...."). I do need a communication without any loss of data.
    I worked a lot and wanted to test a psp-based design, without any binding nor shared variable node (mac os...) using data socket VIs and SVE buffering.
    I managed to :
    - deploy shared variable library dynamically (even in an executable)
    - communicate between two PCs with datasocket VIs
    However, I never managed to enjoy buffering (even locally with one VI doing the deployment and writing datas and another one for reading).
    I worked hard (dynamic buffering setting, dynamic buffering watching like in  http://zone.ni.com/reference/en-XX/help/371361D-01/lvconcepts/buffering_data/ and in the example "DS send image" and "DS receive image" in the labview examples, trying to use "?sync=true" in the URL, etc...) but no way to get things work.
    I attached a jpeg of an example of receiver and sender. I use wait commands in both receiver and sender to test buffering
    Receiver do receive datas (the last written) but buffering doesn't work.
    Did somebody did that before ? (better than me...)
    Thanks
    Bo
    Attachments:
    Sender.JPG ‏87 KB
    Receiver.JPG ‏96 KB

    Hello,
    Indeed my problem has been solved. My error : in the While loop of the receiver VI, I always reactualize the PacketsMaxBuffer and OctetsMawBuffer parameters, what resets the buffer and make it appears ineffective.
    I now set  the PacketsMaxBuffer and OctetsMawBuffer values only once at the begining of the VI and the psp buffering works perfectly.
    Sorry for the desagreement...
    Bo

  • Problem building exe with dynamic vi

    Hi all, i'm using LV 8.2 evaluation version to build an executable file for my test platform. This platform calls for individual test vis dynamically.
    I can export the platform vi into exe alright but it always fail to run the test vis dynamically when called by the platform. I know the platform is working alright as it's able to successfully traverse through all my operating states, but when it comes to the state which contains a subVI which calls these test vis dynamically, nothing happens and it just proceed with the next state. The even wierder thing is that the program then enters my default state (which isn't even on the list of states for that particular operating mode!)
    Based on this result i can say that the platform is working fine as it was able to call various subvis and traverse through the defined states (except for the default state case). Thus i guess it must be something which i did wrongly during the build process which caused it not to run my dynamic test vis. I spent the whole day trying various build options but it still doesn't run my dynamic vis.
    Any ideas?
    PS: Does the build process automatically import the MAX settings?

    No, it's not a cracked version just to make myself clear.
    Dennis, i don't think it's a problem with the path as the exe does not have any problem loading other text configuration files. Yes, i've included them under the dynamic vi and support files option.
    Attachments:
    Build option for LV8.2 eval.JPG ‏31 KB

  • Bug in dynamic VIs

    Using LabVIEW 8.5.1, I'm getting the following error in my executable when it calls any of the dynamic VIs in a particular class:
    "This dynamic subVI cannot execute because the needed member VI cannot be found."
    This is followed by an unhelpful description of which VI is the culprit, typically 'X.vi was stopped at unknown "" at a call to X.vi'. When I do manage to track down which VI is causing trouble, I find it right where it should be in the support directory, along with the other VIs in its class.
    The only workaround I've found is to make the offending VI be static rather than dynamic. That worked the first couple times I got the error, but now it seems to be affecting a whole class; when I make one sub-VI static, the error just pops up at the next call to a dynamic member of that class. Unfortunately (of course) some of these VIs actually need to be dynamic; I override them in subclasses and can't just arbitrarily make them static.
    I will try to replicate this in a small project and post an example, but it only started happening when my project became very large (a few dozen classes, several hundred VIs all told), and seems to happen to random VIs, or in this case a random class, so it might be hard to reproduce. Also, it only occurs in the executable--the program runs just fine from within LabVIEW.
    If anyone has seen this error and knows a better workaround, I would be most appreciative!

    I have had the same issue.  I'm sorry that I only encountered it, and the solution, years after Thurtell's original post, and after days of gnashing my teeth trying to fix it.  Maybe this will help others.  First, the solution: delete the dynamic VI that is causing the complaint at the top-level diagram level, and then repace and wire it so that your code looks exactly as it did before.  The problem will go away.  That's it!
    The issue is that there is a bug in labview that affects projects using OO code and XControls - at least, this was my issue. Regardless, My solution may help in other situations.
    A little more background: I have a project that contains OO code with a single dynamic VI in the top-level application.  That single dynamic VI can "become" many other VIs depending upon which type is passed into it.  In the same project, I have a custom XControl.  Whenever I edit the XControl (right-clicking on it and going into edit mode) and then stop editing it (again, by right-clicking and selecting "apply to all instances"), my OO VI starts generating the run-time error described in the original post.  When I erase and replace the OO VI in the top level diagram, the problem goes away.  The exact text of the (unhelpful) error is:
    This dynamic subVI cannot execute because the needed member VI cannot be found. Probe the wire going into the dynamic terminal to see the data type. Then open that LabVIEW class. Open the member VI of the class that has the same name as the dynamic subVI.
    If you follow the error text's instructions, you can spend a long time hunting for a non-existant problem in your code.  If you remove the code it's complaining about, it will move on to other innocent code and complain about that instead.  I have called tech support and they didn't know of this issue, but have accepted that it is a bug, and are "looking into it."  I am using labview 2010 on windows XP SP3.  Tech support reports that the issue was not reproduceable in windows 7, so perhaps NI won't bother fixing this, since it is esoteric, presumably will go away with XP, and there is a workaround.  However, it is annoying to deal with this every time I edit the XControl.
    I don't know if it matters, by the only other connection between OO and the XControl, besides being in the same program or VI, is that the OO VIs contain a reference to the XControl and manipulate it from within OO methods.  However, this is a run-time error, and is not detected at edit time.

  • Dynamic VIs and Remote Panels

    I am completing an application with LabVIEW 6.0.2. The application will be distributed as a stand-alone executable.
    Now I wonder if it is worth upgrading the software to LabVIEW 6.1 in order to allow the users remotely interact with the software by means of the "remote panels" feature. In the past I tested the built-in Web Server functionality of LabVIEW but I found it too "static" with a lack of support for dialog boxes coming from dynamically loaded VIs.
    Does anyone know if the new "remote panels" feature allows a real control of the remote program even when there are dynamic VIs?
    Are there licensing restrictions for the single connection provided with LabVIEW 6.1? Hundreds of users may install and run my application.
    Thank you
    in advance!

    Hi again,
    I attach an example that shows how to use remote panels feature.
    The Grafico.vi loads dinamically Sub-vi.vi for an easy task. This can be controlled by a remote client. I also attach the html file working for my server, you should edit it and change the server name (mine is K1000) to get it work. You will also find a document about the sintax for creating html files for LV Web Server.
    Feel free to ask any further information,
    Alberto
    Attachments:
    remote_panels_example.zip ‏24 KB

  • Excel and Word dynamic VIs broken

    I upgraded from Labview 8.5.1 to 8.6 and tried to upgrade the microsoft office report generation toolkit at the same time but got an error as I am using office 2000 (not compatible with the new toolkit).  Now, I can add the word and excel dynamic VIs to a project and add them to an application build but when I try to build the exe I get an error saying the word and excel VIs are broken.  Looking at the Excel VI shows an error "SubVI 'NI_Excel.lvclass:Excel_Get_Properties.vi': required input 'report in' is not wired".  The Word VI gives three similar errors.  Is there a known problem or workaround for this?

    Hi zeppelin_79,
    Can you provide me with the screenshots of the error?
    From my experience, Common error came up when we upgrade the Microsoft Office versions. Since, different version of Microsoft Office might have different attributes that being access by the Report Generation Toolkit for Microsoft Office.
    In the meantime, try to do what this article recommended:
    Broken Run Arrow When Using Excel Get Data VI in My Application
    http://digital.ni.com/public.nsf/allkb/77D87AC905ECE51386256DE50077D6C0?OpenDocument
    Let me know if the problems are still persist.
    Sincerely,
    Krisna Wisnu
    Message Edited by Krisna Wisnu on 10-07-2008 03:09 AM
    Message Edited by Krisna Wisnu on 10-07-2008 03:10 AM
    Sincerely,
    Krisna Wisnu

  • Running a SQL Stored Procedure from Power Query with Dynamic Parameters

    Hi,
    I want to execute a stored procedure from Power Query with dynamic parameters.
    In normal process, query will look like below in Power Query. Here the value 'Dileep' is passed as a parameter value to SP.
        Source = Sql.Database("ABC-PC", "SAMPLEDB", [Query="EXEC DBO.spGetData 'Dileep'"]
    Now I want to pass the value dynamically taking from excel sheet. I can get the required excel cell value in a variable but unable to pass it to query.
        Name_Parameter = Excel.CurrentWorkbook(){[Name="Table3"]}[Content],
        Name_Value = Name_Parameter{0}[Value],
    I have tried like below but it is not working.
    Source = Sql.Database("ABC-PC", "SAMPLEDB", [Query="EXEC DBO.spGetData Name_Value"]
    Can anyone please help me with this issue.
    Thanks
    Dileep

    Hi,
    I got it. Below is the correct syntax.
    Source = Sql.Database("ABC-PC", "SAMPLEDB", [Query="EXEC DBO.spGetData '" & Name_Value & "'"]
    Thanks
    Dileep

  • How to create dynamic DataTable with dynamic header/column in JSF?

    Hello everyone,
    I am having problem of programmatically create multiple DataTables which have different number of column? In my JSF page, I should implement a navigation table and a data table. The navigation table displays the links of all tables in the database so that the data table will load the data when the user click any link in navigation table. I have gone through [BalusC's post|http://balusc.blogspot.com/2006/06/using-datatables.html#PopulateDynamicDatatable] and I found that the section "populate dynamic datatable" does show me some hints. In his code,
    // Iterate over columns.
            for (int i = 0; i < dynamicList.get(0).size(); i++) {
                // Create <h:column>.
                HtmlColumn column = new HtmlColumn();
                dynamicDataTable.getChildren().add(column);
                // Create <h:outputText value="dynamicHeaders"> for <f:facet name="header"> of column.
    HtmlOutputText header = new HtmlOutputText();
    header.setValue(dynamicHeaders[i]);
    column.setHeader(header);
    // Create <h:outputText value="#{dynamicItem[" + i + "]}"> for the body of column.
    HtmlOutputText output = new HtmlOutputText();
    output.setValueExpression("value",
    createValueExpression("#{dynamicItem[" + i + "]}", String.class));
    column.getChildren().add(output);
    public HtmlPanelGroup getDynamicDataTableGroup() {
    // This will be called once in the first RESTORE VIEW phase.
    if (dynamicDataTableGroup == null) {
    loadDynamicList(); // Preload dynamic list.
    populateDynamicDataTable(); // Populate editable datatable.
    return dynamicDataTableGroup;
    I suppose the Getter method is only called once when the JSF page is loaded for the first time. By calling this Getter, columns are dynamically added to the table. However in my particular case, the dynamic list is not known until the user choose to view a table. That means I can not call loadDynamicList() in the Getter method. Subsequently, I can not execute the for loop in method "populateDynamicDataTable()".
    So, how can I implement a real dynamic datatable with dynamic columns, or in other words, a dynamic table that can load data from different data tables (different number of columns) in the database at run-time?
    Many thanks for any help in advance.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    flyeminent wrote:
    However in my particular case, the dynamic list is not known until the user choose to view a table. Then move the call from the getter to the bean's action method.

  • Encountering error while working with Dynamic Regions.

    Hi All,
    I am a beginner in ADF and on a quest to learn ADF. Sometimes I am struggling in the process. Now, when I am working with Dynamic Regions, encountered problem below
    Step 1 : Created a simple department TaskFlow with Department Form
    Step 2: Created a Simple employee TaskFlow with Employee Details
    Step 3: Created a Main page with oracle 2 column layout
    Step 4 : Dragged and dropped department TaskFlow on to main page second facet as Dyanmic region . Created a bean as RegionBean
    Step 5 : Dragged and dropped department TaskFlow as Command Link on the first facet
    Step 6 : Dragged and dropped employee TaskFlow as Command Link on the first facet
    The page runs and shows department information when it renders. But when I click on employees command link, at first it shows employees table with no data and says "ACCESS DENIED ". Then if I click on either department or employee command link, it errors out with below info
    javax.el.PropertyNotFoundException: Target Unreachable, identifier 'vs' resolved to null
         at com.sun.el.parser.AstValue.getTarget(Unknown Source)
         at com.sun.el.parser.AstValue.isReadOnly(Unknown Source)
         at com.sun.el.ValueExpressionImpl.isReadOnly(Unknown Source)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer._getUncachedReadOnly(EditableValueRenderer.java:476)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer.getReadOnly(EditableValueRenderer.java:390)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer.wasSubmitted(EditableValueRenderer.java:345)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer.decodeInternal(EditableValueRenderer.java:116)
         at oracle.adfinternal.view.faces.renderkit.rich.SimpleInputDateRenderer.decodeInternal(SimpleInputDateRenderer.java:73)
         at oracle.adfinternal.view.faces.renderkit.rich.LabeledInputRenderer.decodeInternal(LabeledInputRenderer.java:56)
         at oracle.adf.view.rich.render.RichRenderer.decode(RichRenderer.java:342)
         at org.apache.myfaces.trinidad.render.CoreRenderer.decode(CoreRenderer.java:292)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.__rendererDecode(UIXComponentBase.java:1334)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decode(UIXComponentBase.java:865)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:965)
         at org.apache.myfaces.trinidad.component.UIXEditableValue.processDecodes(UIXEditableValue.java:287)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:1204)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:1190)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:962)
         at oracle.adfinternal.view.faces.renderkit.rich.table.BaseColumnRenderer$UIXColumnFilterWrapper.processDecodes(BaseColumnRenderer.java:2108)
         at org.apache.myfaces.trinidad.component.UIXCollection.processComponent(UIXCollection.java:1087)
         at org.apache.myfaces.trinidad.component.TableUtils$1.process(TableUtils.java:238)
         at org.apache.myfaces.trinidad.component.ChildLoop.runAlways(ChildLoop.java:55)
         at org.apache.myfaces.trinidad.component.TableUtils.processFacets(TableUtils.java:232)
         at org.apache.myfaces.trinidad.component.TableUtils$2.process(TableUtils.java:261)
         at org.apache.myfaces.trinidad.component.ChildLoop.runAlways(ChildLoop.java:55)
         at org.apache.myfaces.trinidad.component.ChildLoop.runAlways(ChildLoop.java:48)
         at org.apache.myfaces.trinidad.component.TableUtils.processColumnFacets(TableUtils.java:253)
         at org.apache.myfaces.trinidad.component.UIXTable.processFacetsAndChildren(UIXTable.java:379)
         at org.apache.myfaces.trinidad.component.UIXCollection.decodeChildrenImpl(UIXCollection.java:206)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:1190)
         at org.apache.myfaces.trinidad.component.UIXCollection.processDecodes(UIXCollection.java:200)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:1204)
         at oracle.adf.view.rich.component.fragment.UIXRegion.decodeChildrenImpl(UIXRegion.java:635)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:1190)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:962)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:1204)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:1190)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:962)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:1204)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:1190)
         at org.apache.myfaces.trinidad.component.UIXForm.processDecodes(UIXForm.java:75)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:1204)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:1190)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:962)
         at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1048)
         at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:926)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl$ApplyRequestValuesCallback.invokeContextCallback(LifecycleImpl.java:1519)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:372)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:202)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:508)
         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:300)
         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:173)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:125)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
         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:119)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
         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.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Please help me !!!!!!
    Thanks

    Hi Shay Shmeltzer ,
    Thanks for your quick reply. Below is response for your queries
    What scope did you specify for the bean? View Scope
    Also which browser are you using? Firefox
    Thanks for the link. I started to build dynamic region after taking a look at the video
    What else do you think might be the issue
    Thanks
    Edited by: User44444 on Dec 4, 2012 12:44 AM

  • Need help with Dynamic Excel File Name please.

    I am try to output an excel file with dynamic date. 
    Here what I done.
    I am using SQL 2012.
    Create Execute SQL Task Connect Type: Excel
    Create Data Flow Task set to DelayValidation: True
    Create OLE DB Sourc
    Create Data Converstion
    Excel Destination
    Excel Connection, Expression, select ExcelFilePath
    @[User::sXLFilePath] +  @[User::sFileName] + RIGHT("0" + (DT_WSTR, 2) DATEPART("DD", GETDATE()), 2)+ RIGHT("0" + (DT_WSTR, 2) DATEPART("MM", GETDATE()), 2) + RIGHT((DT_WSTR,
    4) DATEPART("YYYY", GETDATE()), 2) +".csv"
    C:\ExcelOutPut\SOX_CAM_SQL_Report_010215.xls
    What I try to accomplish is output the file with each day append to it, date must be DDMMYY.
    I google it and found many samples, tested it, and none of them is work for me. 
    Any suggestions or some examples to share is greatly appreciate. 
    I am new to SSIS.  I found one poster have similar issue and inside the posted below, there was one suggestion to create variable and connection string but how do I bind that variable to Excel Connection manger.
    Please help.
    Thank you so much in advance.
    Ex: SOX_CAM_SQL_Report _020215.csv
           SOX_CAM_SQL_Report _030215.csv
    --Similar issue:
    https://social.msdn.microsoft.com/Forums/en-US/bda433aa-c8f8-47c9-9e56-efd20b8354ac/creating-a-dynamic-excel-file?forum=sqlintegrationservices
    Suggestion in the above posted but where can bind this to Excel Connection Manger. 
    Please help provide step by step.  Thanks.
    "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\\temp\\" + "ExcelTarget" + (DT_WSTR,4)DATEPART("yyyy",GETDATE())  +
    ".xls" + ";Extended Properties=\"EXCEL 8.0;HDR=YES\";"
    And yes, as you were intimating, the delay validation on the dataflow should be set.

    Hi NguyenBL,
    According to your description, you created ssis package to export data from database to excel, when the package runs, you want to create new excel and name the file with time stamp. If that is the case, we can achieve the goal by following steps:
    Create a script task used to create excel files.
    Create a data flow task to export data from database to excel.
    Add OLE DB source to data flow task.
    Add Excel Destination to data flow task.
    Create connection manager for OLE DB and Excel.
    Click Excel Connection Manager, in Properties window, click (…) button next to Expressions, then set ExcelFilePath with expression like below:
    "C:\\ETL Lab\\CreateNewExcel\\ExportData_"+REPLACE((DT_STR, 20, 1252)(DT_DBTIMESTAMP)@[System::StartTime], ":", "")+".xls"
    For detail information, please refer to the document:
    https://sqljourney.wordpress.com/2013/01/12/ssis-create-new-excel-file-dynamically-to-export-data/
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu
    Wendy Fu
    TechNet Community Support

  • How to create a Type Object with Dynamic select query columns in a Function

    Hi Every One,
    I'm trying to figure out how to write a piplined function that executes a dynamic select query and construct a Type Object in order to assigned it to the pipe row.
    I have tried by
    SELECT a.DB_QUERY INTO actual_query FROM mytable a WHERE a.country_code = 'US';
    c :=DBMS_SQL.OPEN_CURSOR;
    DBMS_SQL.PARSE(c,actual_query,DBMS_SQL.NATIVE);
    l_status := DBMS_SQL.EXECUTE(c);
    DBMS_SQL.DESCRIBE_COLUMNS(c, col_cnt, rec_tab);
    FOR j in 1..col_cnt LOOP
    DBMS_SQL.DEFINE_COLUMN(c,j,v_val,2000);
    END LOOP;
    FOR j in 1..col_cnt LOOP
    DBMS_SQL.COLUMN_VALUE(c,j,v_val);
    END LOOP;
    But got stuck, how to iterate the values and assign to a Type Object from the cursor. Can any one guide me how to do the process.
    Thanks,
    mallikj2

    Hi Justin,
    First of thanks for your reply, and coming to my requirement, I need to report the list of items which are there in the dynamic select statement what am getting from the DB. The select statement number of columns may vary in my example for different countries the select item columns count is different. For US its '15', for UK it may be 10 ...like so, and some of the column value might be a combination or calculation part of other table columns (The select query contains more than one table in the from clause).
    In order to execute the dynamic select statement and return the result i choose to write a function which will parse the cursor for dynamic query and then iterate the values and construct a Type Object and append it to the pipe row.
    Am relatively very new for these sort of things, welcome in case of any suggestions to make it simple (Instead of the function what i thought to work with) also a sample narrating the new procedure will be appreciated.
    Thanks in Advance,
    mallikj2.

  • How to save a variant with dynamic selections parameters

    Anybody knows how to save a variant for an ABAP that uses a Logical database with Dynamic Selections?
    Have a look for example to the following:
    SE38 - DEMO_PROGRAM_GET - Execute - Shift F4 - Connection Number.
    How to save 0820 as Connection Number?
    Function Group SVAR seems good but FREE SELECTIONs are not easy to manage...

    Hello,
      I tried to save the variant of DEMO_PROGRAM_GET with dynamic selection field (Connection Number) filled. It gets saved without any problem. Just click 'SAVE' and enter the variant name and description.
    Thanks,
    Venu

  • Export with dynamic file name

    Hi everyone.
    I want to know how export oracle tables with dynamic file name on windows XP platform.
    bye.

    You'd have to generate the export command-line or par file using a script -- Windows or SQL !
    It would be easy to use SQL to generate the script.
    So you could have a BATch file that
    a. Calls the SQL to generate the export command-line or parfile
    b. Executes the export
    even possibly run in a loop.
    Hemant K Chitale

Maybe you are looking for

  • Full Duplex Lost with Wave Files on SB Live! Value (W

    <SPAN>Following a clean install upgrade from WinME to WinXP SP2 on a Dell Dimension 400 with an OEM-installed SB Li've! Value (WDM) PCI card onboard, full duplex wave audio (recording one wave file while playing back one or more other wave files) ups

  • Attributes for Printing Lists - Change Defaults or Create Presets?

    Print dialog allows one to choose "attributes" to be included when printing the Style "Lists". The defaults that are checked are not the ones I want. Tried to create and save a Preset w/ boxes checked. The selections do not stick. How to do this? In

  • Setting classpath in J2EE server

    Hello, I've installed J2EEsdk1.3 in my windows NT server.After installation, when I 'm starting the j2ee server using c:\j2sdkee1.3\j2ee -verbose, it is giving an message like this "ERROR : Set J2EE_HOME to the path a of a valid j2sdkee." Although i'

  • P2 Card reader detecting on macbook pro 10.6.7

    THIS IS AN EMERGENCY! I'm on a set for a commercial & I have a P2 Cards I need to dump with an Addionics card reader & the P2 card is NOT DETECTED. I INSTALLED THE PROPER DRIVERS & FORMATER NOTHING IS COMING UP IN THE FORMATTER, NOTHING COMES UP IN L

  • Cisco IME express 7.1.1, service crashes every time I reboot Windows

    Cisco IME express 7.1.1, service crashes every time I reboot Windows Event Type:    Error Event Source:    Application Error Event Category:    (100) Event ID:    1004 Date:        12/14/2011 Time:        7:37:35 AM User:        N/A Computer:    ABN-