External variable and ExternalVariableReference T

Hi everybody I have a problem writing External variable from workflows; I've found example about ExternalVariableReference<T> but to use it I need to edit the xaml and to use "fixed" name and type of the external variable:
<Assign>
 <Assign.To>
   <OutArgument x:TypeArguments="p:DynamicValue">
  <p:ExternalVariableReference x:TypeArguments="p:DynamicValue" Name="EXTERNALVARIABLENAME" />
   </OutArgument>
 </Assign.To>
 <Assign.Value>
   <InArgument x:TypeArguments="p:DynamicValue">
  <mca:CSharpValue x:TypeArguments="p:DynamicValue">DYNAMICVARIABLE</mca:CSharpValue>
   </InArgument>
 </Assign.Value>
</Assign>
in this example I assign the variable DYNAMICVARIABLE of type DynamicValue to an external variable named EXTERNALVARIABLENAME (of course of type DynamicValue). My problem is that I need to to this using the designer...so what I need is an activity that I
can use in the designer where I can specify the name and the type of the external variable. I've try to implement it by myself but without success :(
Does anyone have an example or any idea about it?

Hi,
It works for me
SQL> set define '&'
SQL> SELECT &column_name FROM emp;
Enter value for column_name: EMPNO
old   1: SELECT &column_name FROM emp
new   1: SELECT EMPNO FROM emp
     EMPNO
      7369
      7499
      7521
      7566
      7654
      7698
      7782
      7788
      7839
      7844
      7876
     EMPNO
      7900
      7902
      7934
14 rows selected.
SQL>Regards,
Jari

Similar Messages

  • Using external Variables between proxies in OSB

    Hello there,
    Im trying to figure out if it is possible, to store some kind of message (could be payload, XML, or just a string) to an external variable so it could be reused among different proxies. Anyone knows if this is possible, and if yes, how can it be implemented? I have seen in "The Definitive Guide to SOA: Oracle Service Bus, Second Edition" an approach with xquery, but im not sure if that is helpful: +"OSB has the ability to store XQuery, WSDL, XML Schema, XSLT, WS-Policy files, and more as reusable resources. The ability to store these resources (sometimes referred to as assets or artifacts) along with proxy services makes OSB a lightweight service repository. It's certainly a best practice to reuse these resources whenever possible."+
    Thank you in advance

    As I said in my previous post, my case is this: I would like to be able, to have a common variable that I would be able to assign inside one proxy, and used from another proxy. I don't know if it can be implemented. Calling from one proxy to another in order to pass the variable is not my case. One scenario is that one proxy will be able to save in runtime a value in an external variable and another proxy would be able to use it. By saying :+"You can definitely reuse them without any problem, but you can hardly put any value into them from proxy service (in runtime)."+ you mean that I can have an external variable pre-assigned, but I will not be able to update in runtime? Is this 100% sure?
    Thank you for your quick answer.
    Edited by: nkod on Dec 4, 2009 5:23 AM

  • Storing and changing an external variable

    Hello...
    Sorry for this question, but I am trying something new to me.
    I need to hold a couple of variables in an outside file that can be
    incremented by user activity -- not just during one interaction
    with the swf, but with every one. I have no problems with using
    loadVars and I get the loadandsend process; it is just that I have
    no background in cgi or asp for holding the variable and being able
    to update it. I know I cannot write to a txt file -- that is what I
    have been using thus far with loadVars for importing values, but
    this will not help me here.
    Any help with the external file to hold a variable that can
    be incremented would be greatly appreciated. I know it should be a
    fairly simple script -- I also know I ought to pick up php, but for
    the moment -- until a greater amount of time comes my way -- I turn
    to you.
    Thank you.

    You simply have the server script read and write the file:
    for example JSP do that. Flash communicates with the server script
    using LoadVars or XML classes.
    See:
    LoadVars.sendAndLoad
    XML.sendAndLoad
    For high volume access or where transactional integrity
    requirement (money involved) is needed, having all users read and
    write the same file is not recommended. For low volume activity and
    not critical if a write to the file is lost, this is ok.

  • Session variable and initialization block issues

    We are using OBIEE 10.1.3.3 and utilizes built in security features. (No LDAP or other single sign on). The user or group names are not stored in any external table. I have a need to supplement Group info of the user to the usage tracking we implemented recently as the NQ_LOGIN_GROUP.RESP column contains username instead of group name. So I created a session variable and associated with a new initialization block and also had a junk default value set to the variable. In the initialization block, I wrote the following query and as a result it inserted correct values into the table when the TEST button was clicked from the initialization block form.
    insert into stra_login_data (username, groupname, login_time) values ('VALUEOF(NQ_SESSION.USER)', 'VALUEOF(NQ_SESSION.GROUP)', SYSDATE)
    My intention is to make this execute whenever any user logs on. The nqserver.log reports the following error and it doesn?t insert values into the table.
    [nQSError: 13011] Query for Initialization Block 'SET_USER_LOGIN_BLOCK' has failed.
    [nQSError: 23006] The session variable, NQ_SESSION.USER, has no value definition.
    [nQSError: 13011] Query for Initialization Block 'SET_USER_LOGIN_BLOCK' has failed.
    [nQSError: 23006] The session variable, NQ_SESSION.GROUP, has no value definition.
    When I changed the insert statement as below, this does get populated whenever someone logs in. But I need the values of GROUP associated with the user as defined in the repository.
    insert into stra_login_data (username, groupname, login_time) values ('TEST_USER', TEST_GROUP', SYSDATE)
    Could someone help me out! As I mentioned above, I need the GROUP info into the usage tracking. So, if there is another successful approach, could you please share?
    Thank you
    Amin

    Hi Amin,
    See [this thread|http://forums.oracle.com/forums/thread.jspa?messageID=3376946&#3376946]. You can't use the GROUP session variable in an Init Block unless it has been seeded from an Init Block first. There isn't an easy solution for what you want, but here are some options:
    1) Create a copy of your User => Groups assignments in your RPD in an table so you can use it in your Usage Tracking Subject Area. But this means you will have to replicate the changes in two places so it's not a good solution.
    2) As the GROUP session variable is populated when you login you could theoretically use it a Dashboard and pass it a parameter to write the value to the database. But as I am not sure how can you make fire only once when the user logins it sounds like a bad idea.
    3) Move your User => Groups assignments from your RPD to a DB table. Use OBIEE Write Back or something like Oracle APEX to maintain them.
    I think 3) is the best solution to be honest.

  • Error while deploying project with external variables

    Hi,
    We are facing issue to deploy a project which contains external variables. In the process of publishing, we check true - Smart Publish. In the deployment process I get a screen where we define the Deployment Topology. On clicking Deploy button, the next screen we get an error which says:
    Error(s) found while creating external variables for the following engines: <Engine_Name>: Login failed for the user '<DB User>'.
    The DB User and the databases are created by the ALBPM Configuration wizard while configuring. We are able to login to SQL using the same userId and also can access the tables in the database. Also, we use the same DB userId for the Engine Databse too.
    We are using ALBPM Enterrpise 5.7 MP3
    WebLogic 9.2
    SQL Server 2005
    If anyone has resolved such issue earlier, we need your urgent help.
    Please suggest
    Thanks and Regards
    Jayant

    Hi,
    When you initially ran the wizard to create the Engine tables you used a user and password that had been granted CREATE table authority for Sql Server.
    When you publish and deploy a project with External Variables (project variables in 6.0), you are adding columns to one of the Engine's tables. When you get the error you're getting, this normally means that the database user you specified has not been granted ALTER privileges for the database tables.
    This should be pretty easy for your DBA to check out and fix. Once they do the GRANT, do the publish and deploy once again.
    Hope this helps,
    Dan

  • Loading an External Variable

    Hello all,
    I am having a little difficulty loading an external variable
    into my flash movie.
    The principle of the movie is to load some XML data and
    display expected data in loop. This all works fine and as it
    should.
    My problem starts when I remove the internal variable used
    for testing and try and insert the same variable externally, as
    this will be changing depending upon the teams displays. I have
    tried adding in the variable like
    <param name="flashVars" value="teamName=teamA" />
    and
    <param name="movie"
    value="flash/plasma.swf?teamName=teamA" />
    And then tried using a variety of methods in AS3 to display
    the name. Just getting it to trace "teamA" would be all I need, but
    it is having none of it.
    Any help would be greatly appreciated.
    Kind Regards
    Tim

    Thanks 7johnson,
    I have tried that very method once already and unfortunetely
    nothing seems to work when I do it. I must be doing something
    wrong... I am quite new to AS3 and it is beating me into the
    ground... :o)
    On my HTML
    <object
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0"
    width="1024" height="768" title="Flash Plasma Display">
    <param name="movie" value="flash/plasma.swf" />
    <param name="quality" value="high" />
    <param name="flashVars" value="teamName=teamA" />
    <embed src="flash/plasma.swf" flashVars="teamName=teamA"
    quality="high" pluginspage="
    http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash"
    type="application/x-shockwave-flash" width="1024"
    height="768"></embed>
    </object>
    FLASH
    var team = root.loaderInfo.parameters.teamName;
    Does it look wrong to you.
    Cheers for the speedy response.
    Regards
    Tim

  • Pass variable and set default value based on user's group

    Hello
    I'm using SharePoint 2010 and SQL 2012. I need to send a variable to the page and based on its value, set default value for a drop down list and send it to other web part to filter the data. Is it possible for certain users to send that value as a default
    and limit user to see only this value in the text field or drop down list; for others - to allow to see the drop down list, but also set the default value for that list?
    The main page was designed in SharePoint designer, using web parts (aspx page). I had setup a connection to Active Directory and already have the code to get user's groups and based on their group, I have that variable pulled into the web page for further
    use. But I don't know how to pass that value as a default value to the web part (currently using SharePoint Filter web part). When I tried to set a default value for the web part - it automatically puts the quotation marks around the name of the variable
    and shows it as a text instead of showing the value of the field.
    Thank you!
    P.s. I have limited knowledge of SharePoint and need guidance (links, examples, recommendations)!
    Alla Sanders

    Thank you for your response. I'll try to give you more details. On PageA I check user's groups and based on the group, assign the value and pass it to the next page (no input from the user, all done behind the scene and user is redirected to PageB).
    On the next page I read that value and would like to send it to the SharePoint List Filter Web as a default value, as well as send it to another web part that displays the list from SQL, filtered using that default value. Ideally, if the user is from Group
    A, I'd like for them to have only one value in that drop down list; if user is from Group B - give him drop down list with 40 items to choose from. Below there is a part of the code and variable fnum has the value from PageA (if I print the value on the screen
    - I do see that it has correct value, so the code that gets groups from Active directory works correctly). If I assign fnum as a default value of the list, it shows "fnum" instead of the value of variable fnum. I connect to SQL database, using external
    content - so the other list that I'm filtering based on the value in that drop down list - is XSLT Data View Web part. I also have 2 more filters on that page, that user will have full access to and based on their input, it is also sent to the XSLT web part
    to filter out more data. Since one of the filters is the date and I am filtering data starting from the date that user chooses - XSLT is the only web part that I was able to make it work with.
    I looked at the link you provided (thank you). It is using Content Query Web part. Will it work with external content, as well as accepting multiple filtering, including custom starting date? I appreciate your help!
    <%
    string fnum = Request.QueryString["field1"];
    %><table cellpadding="4" cellspacing="0" border="0" style="height: 1000px">
    <tr>
    <td id="_invisibleIfEmpty" name="_invisibleIfEmpty" colspan="2" valign="top" style="height: 101px">
    <WebPartPages:WebPartZone runat="server" Title="loc:Header" ID="Header" FrameType="TitleBarOnly"><ZoneTemplate>
    <WpNs0:SpListFilterWebPart runat="server" FilterMainControlWidthPixels="0" RequireSelection="False" ExportMode="All" PartImageLarge="/_layouts/images/wp_Filter.gif" AllowHide="False" ShowEmptyValue="True" MissingAssembly="Cannot import this Web Part." AllowClose="False" ID="g_1ccc4bca_3ba1_480b_b726_adfdb1e9e02d" IsIncludedFilter="" DetailLink="" AllowRemove="False" HelpMode="Modeless" AllowEdit="True" ValueFieldGuid="fa564e0f-0c70-4ab9-b863-0177e6ddd247" IsIncluded="True" Description="Filter the contents of web parts by using a list of values from a Office SharePoint Server list." FrameState="Normal" Dir="Default" AllowZoneChange="True" AllowMinimize="False" DefaultValue="fnum" Title="Facilities List Filter" PartOrder="2" ViewGuid="2da5d8db-6b55-4403-80a8-111e42049f8b" FrameType="None" CatalogIconImageUrl="/_layouts/images/wp_Filter.gif" FilterName="Facilities List Filter" HelpLink="" PartImageSmall="/_layouts/images/wp_Filter.gif" AllowConnect="True" DescriptionFieldGuid="2d97730a-cd0d-4cb9-8b55-424951201081" ConnectionID="00000000-0000-0000-0000-000000000000" ExportControlledProperties="True" TitleIconImageUrl="/_layouts/images/wp_Filter.gif" ChromeType="None" SuppressWebPartChrome="False" IsVisible="True" ListUrl="/Lists/FacilitiesList" AllowMultipleSelections="False" ZoneID="Header" __MarkupType="vsattributemarkup" __WebPartId="{768E2035-0461-4A09-8DDD-CA7020C2B23D}" WebPart="true" Height="" Width="615px"></WpNs0:SpListFilterWebPart>
    Alla Sanders

  • SCM export as SCAP: Issue with external variables

    SCM can export some of the baselines as SCAP v1.0 XML files (including CPE, OVAL and XCCDF).
    Here's an excerpt of an OVAL file generated by SCM for Windows 7:
    <definitions>
    <definition ...>
    <title>Network security: Do not store LAN Manager hash value on next password change</title>
    <criteria>
    <criterion negate="false" test_ref="oval:microsoft.com:tst:1" ... />
    </criteria>
    </definition>
    </definitions>
    <tests>
    <registry_test id="oval:microsoft.com:tst:1">
    <object object_ref="oval:microsoft.com:obj:1" />
    <state state_ref="oval:microsoft.com:ste:1" />
    </registry_test>
    </tests>
    <objects>
    <registry_object id="oval:microsoft.com:obj:1" ...>
    <hive>HKEY_LOCAL_MACHINE</hive>
    <key>System\CurrentControlSet\Control\Lsa</key>
    <name>NoLMHash</name>
    </registry_object>
    </objects>
    <states>
    <registry_state id="oval:microsoft.com:ste:1" ...>
    <value var_ref="oval:microsoft.com:var:1" datatype="int" operation="equals" />
    </registry_state>
    </states>
    <variables>
    <external_variable id="oval:microsoft.com:var:1" ... />
    </variables>
    As you can see, "oval:microsoft.com:var:1" is defined as an external variable. Unless the value of this external variable is specified, no OVAL tool (such as OVALDI) can evaluate this XML file against a given Windows 7. (In fact, there are over
    400 external variables in this XML file.)
    Can SCM export an OVAL file which includes the value of the external variables?

    Well, I went back into Best Buy to test on 3 other laptops (2 Asus, and their floor model for this Sony). It seems to be doing the same problem so at least I was able to rule out broken hardware issue on my particular laptop.
    Here's what I did to test:
    Since I couldn't really install Adobe Premiere on their machines, I used the DVIO software (http://www.carr-engineering.com/dvio.htm) and a 5 min clip I captured.  I transferred onto their machines, hooked up my Sony D8, and attempted to play the video.  It would play for 15 seconds and then stop and jitter with a loud noise (like it does on my laptop).  I even tried changing each machine's firewire driver to the legacy one and same results.  I pulled a brand new 4 pin to 4 pin firewire cable off their shelf and still the same problem.
    I think I've nailed it down to Win7x64 bit Home Edition not playing nice with Firewire driver.  Very annoying.  I can't find any concrete evidence of this from other users on any of the forums that have my particular problem, but from my own testing, it's all I can conclude.
    I have 2 other things I can try:
    1.  Opening the laptop and looking at the firewire to maybe find appropriate driver (ugh, I don't want to have to open this thing up).
    2.  Upgrading to Win7x64bit Pro and possibly testing with XP on the new MS Virtual PC (http://www.microsoft.com/windows/virtual-pc/).  I can't do it with my Home edition apparantly.
    Who needs to view video on an external TV anyways....sheeesh...(scarcasm).
    Tim

  • Load the External text and css file for more frames

    hello..
           I created one Movie file. In that I load the External text and css file in first frame and display the first variable value in one text box.
    And then in 2nd frame I use another one text field and display the 2nd variable value like that I want to load the more variable in more textboxes with different frames.
         I loaded  for first variable value in first frame. But I don't know how to do next frames like that..
         Help me...

    You need to load them in the frames they are in.  You can store the loaded data in variables in frame 1, but you will need to extend that layer so that whatever is stored is avaliable in other frames.  The code to load the data into the other textfields can then be done in the frames where it is needed.
    There are other options, such as not using other frames for content or having all of them in frame 1 and making them invisible until you get to the other frames where they get turned visible.

  • External Variable Null Pointer Exception when I publish two projects

    I have the following external variables exception thrown when I publish two projects alongside each other. These projects share the majority of there 50 odd project variables. (I know that this is a bit excessive but the customer wants to be able to search under this many variables). I have checked and found that there are not any differences in the variables across the two projects.
    This exception is brought up when the second of the projects is published, no matter which way around they are published. In two incidences, out of about 30, I have managed to deploy this code without this problem occuring.
    I am using ALBPM Studio Version: 6.0.5 Build: #97234 and ALBPM Enterprise Version: 6.0.5 Build: #97234. I am deploying these to a Sun Solaris 10 environment with an Oracle 10G database.
    I would be very grateful for some assistance with this problem.
    Process '/NCTSProcess#Default-1.0' could not be started. Details:\njava.lang.NullPointerException
    java.lang.NullPointerException
    at fuego.metadata.execution.ExternalVariable.getDirectoryVarName(ExternalVariable.java:46)
    at fuego.metadata.execution.DeploymentInformation.addExternalVariable(DeploymentInformation.java:201)
    at fuego.metadata.execution.compiler.ModelVariableCompilerImpl.compile(ModelVariableCompilerImpl.java:56)
    at fuego.metadata.execution.compiler.ModelCompilerImpl.compile(ModelCompilerImpl.java:72)
    at fuego.metadata.Process.compile(Process.java:1172)
    at fuego.metadata.Process.compileProcess(Process.java:1109)
    at fuego.metadata.Process.loadProcess(Process.java:949)
    at fuego.metadata.Process.initProcess(Process.java:755)
    at fuego.metadata.Process.forName(Process.java:191)
    at fuego.server.BaseActiveProcess.getProcess(BaseActiveProcess.java:110)
    at fuego.server.ActiveProcessImpl.loadMetadata(ActiveProcessImpl.java:1466)
    at fuego.server.ActiveProcessImpl.loadMetadata(ActiveProcessImpl.java:1451)
    at fuego.server.ActiveProcessImpl.<init>(ActiveProcessImpl.java:179)
    at fuego.server.BaseActiveProcess.<init>(BaseActiveProcess.java:55)
    at fuego.ejbengine.EJBActiveProcess.<init>(EJBActiveProcess.java:48)
    at fuego.ejbengine.EJBActiveProcess.createAndAddToMaps(EJBActiveProcess.java:66)
    at fuego.ejbengine.EJBActiveProcessManager.createActiveProcess(EJBActiveProcessManager.java:58)
    at fuego.server.ActiveProcessManager.handleProcess(ActiveProcessManager.java:434)
    at fuego.server.service.ActiveProcessService.startProcess(ActiveProcessService.java:136)
    at fuego.ejbengine.service.EJBActiveProcessService.startProcessImpl(EJBActiveProcessService.java:88)
    at fuego.ejbengine.service.EJBActiveProcessService.access$000(EJBActiveProcessService.java:31)
    at fuego.ejbengine.service.EJBActiveProcessService$1.execute(EJBActiveProcessService.java:76)
    at fuego.server.execution.DefaultEngineExecution$AtomicExecutionTA.runTransaction(DefaultEngineExecution.java:304)
    at fuego.transaction.TransactionAction.startBaseTransaction(TransactionAction.java:470)
    at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:551)
    at fuego.transaction.TransactionAction.start(TransactionAction.java:212)
    at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:123)
    at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:80)
    at fuego.server.execution.DefaultEngineExecution.executeWithoutComponentImmediate(DefaultEngineExecution.java:185)
    at fuego.server.execution.EngineExecution.executeWithoutComponentImmediate(EngineExecution.java:86)
    at fuego.ejbengine.service.EJBActiveProcessService.startProcess(EJBActiveProcessService.java:73)
    at fuego.server.service.ActiveProcessService.runProcessesLoader(ActiveProcessService.java:118)
    at fuego.server.service.ActiveProcessService.activateProcesses(ActiveProcessService.java:88)
    at fuego.ejbengine.service.EJBActiveProcessService.doActivateProcesses(EJBActiveProcessService.java:62)
    at fuego.ejbengine.service.EJBActiveProcessService.initialize(EJBActiveProcessService.java:50)
    at fuego.ejbengine.DistributableObjectFactory.initializeActiveProcessService(DistributableObjectFactory.java:60)
    at fuego.ejbengine.Engine.startServices(Engine.java:434)
    at fuego.ejbengine.Engine.start(Engine.java:133)
    at fuego.ejbengine.servlet.SchedulerServlet.init(SchedulerServlet.java:95)
    at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:282)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:63)
    at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
    at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
    at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:507)
    at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1853)
    at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1830)
    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1750)
    at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2909)
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:973)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:361)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
    at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
    at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
    at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:26)
    at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:635)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
    at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:154)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
    at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:182)
    at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:359)
    at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
    at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:196)
    at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
    at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
    at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
    at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
    at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
    at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
    Thanks in advance,
    Simon

    Hi Simon,
    If I were you, I would try installing the latest hotfix. There were some important fixes (such as #8715504) related to variable mappings.
    May be it is a good idea to undeploy that project and deploy it again once the HF is installed.
    Hope this helps,
    Ariel
    PS: Remember to regenerate and reinstall all the EARs once the HF is installed.
    Edited by: Ariel A. on Sep 9, 2010 2:29 PM

  • How to set filter to get instances for external variable

    Hi,
    I am trying to get instances based on external variable. Below is my code
    bp.connectTo(url : Fuego.Server.directoryURL, user : "test", password : "test", process : processName);
    fltr.create(processService : bp.processService);
    fltr.searchScope = SearchScope(participantScope : ParticipantScope.ALL, statusScope : StatusScope.ONLY_INPROCESS);
    //fltr.addAttributeTo(variable : "PREDEFINE_INSTANCE_NUMBER", comparator : Comparison.IS, value : Integer.parseInt(requestId));
    fltr.addAttributeTo(variable : "requestIdExt", comparator : Comparison.IS, value : Integer.parseInt(requestId));
    When I try to set the filter for PREDEFINE_INSTANCE_NUMBER, I am able to get the instance but not for external variable. Is there any other way to get instances based on external variables?
    Thanks in advance

    You can use a inputdate, which allows you to selecte a moth, year and a day. Once the selection is made you convert it to only allow moth and date like
            <af:inputDate label="Label 1" id="id1" autoSubmit="true" value="#{bindings.myMonthYear1.inputValue}">
              <f:convertDateTime pattern="MM/yyyy"/> 
            </af:inputDate>
            <af:outputText value="Selected #{bindings.myMonthYear1.inputValue}" id="ot1" partialTriggers="id1"/>
    then you have a string holding month and year only. This value you split into two variables you or pass it as a whole parameter to the query and split it there.
    Another way is to add two static lovs one for month and one for year and use them to get to the filter values.
    Timo

  • Load External Variable

    I am trying to do with the function that Flash read the
    variable from external file (txt) with loadVariablesNum(). However,
    right now I am only success make it read variables from external
    file (e.g. myRotation=45&mySize=150). How can I make the
    external file store a multi-Array?

    as an alternative, you can use a delimited string that can be
    parsed
    into an array. The example below uses a pipe ( | ) and caret
    ( ^ )
    delimited string to define a 2D array...
    your text file contains :
    myArrayDef=element0_var1^element0_var2|element1_var1^element1_var2|element2_var1^element2_ var2
    once this string is received you simply parse it into a 2D
    array...
    my2D_array = new Array()
    my2D_array = myArrayDef.split("|");
    for ( i = 0; i < my2D_array.length; i++ )
    my2D_array
    = my2D_array.split("^");
    kglad wrote:
    > you can't. text files can only store variable and
    strings.
    >
    > after loading is complete you can store your variables
    in an array.

  • Loading external variables

    Hello I'm trying to multiply an external variable loaded in flash. My code is the following:
    getVariable();
    function getVariable():void{
        var recibir:URLLoader = new URLLoader();
        var url:String = "http://localhost:3525/Website1/boston/Default.aspx";
        recibir.dataFormat = URLLoaderDataFormat.VARIABLES;
        recibir.load(new URLRequest(url));
        recibir.addEventListener(Event.COMPLETE, scoreMultiplier);
        recibir.addEventListener(IOErrorEvent.IO_ERROR, errorHandler);
    function errorHandler(e:IOErrorEvent):void{
        trace("No se cargo la variable");
    function scoreMultiplier(e:Event):void{
        //This is a test dynamic textfield it works correctly so I'm getting the variable
         out.text = e.target.data.multiplicador;
         //This is a dynamic textfield where the variable loaded is multiplied by another variable. The text field shows me NN.
        gameover.showScore.text = score*e.target.data.multiplicador;
    I want to multiply the external variable with another variable. The dynamic textfield where the final score should be printed, prints out NN.
    How do I correct this problem?

    Hi,
    Change this line in your code.
    gameover.showScore.text = score* Number(e.target.data.multiplicador);
    I hope it will work. Check out and get back.
    Saransoft

  • I'd love some help trying to figure out why my 2008 MacBook no longer recognizes my external drive and now is not downloading photos from my iphone....?

    After many years of having no problems at all on my Macbook, I recently figured I should finally upgrade my OS. I did that about three weeks ago, updating to Snow Leopard (10.6.8). I used Time Machine at least once after the OS upgrade but now Time Machine no longer recognizes the external drive I have used for all these years to back up. The MacBook does not "see" it. (Disk Utility does however.) The computer then also stopped recognizing another La Cie back-up that I have and now... my iPhone cannot download photos? Yikes.
    I have, of course, shut down numerous times, used different cables (that worked for some) and the two USB drives. I even used a firewire. Nothing worked. I also tried to "Repair disk" on Disk Utility. It didn't work either, giving me an error (that I didn't save, sorry).
    I read many other discussions on the file format of the external drive and of course I'd be happy to reformat the external drives--however, it is obviously a tad nerve-wracking to reformat drives before having an accessible back-up. Suggestions? I do not remember what file format they have but am pretty sure it's not the Mac file system someone mentioned. The drives are a 2009 WD "My Passport Elite" and La Cie 2007 d2 Quadra,
    In terms of other hardware available, we do have another MacBook Air but it has  started rejecting both drives as well (without the Snow Leopard upgrade). We have an old Dell but it wouldn't have the disk space to help out much.
    Any thoughts on the process involved would be welcome.  Any ideas on the iPhone rejection would be helpful as well! It is a 30gig iPhone 4 that has 20 or so gigs free (not clear as iTunes says that there are abour 18 Gigs on the phone but 24 free gigs? I may be bad at math but that's 40 gigs...).
    I am checking out iCloud but apparently there are only 55 gigs available?
    Will be glad to hear any thoughts. Thanks!

    Good afternoon Lyssa,
    Phew. First of all, thanks in advance...these blogs are always comforting help!
    So, to answer your questions: For the age of the hard drive.Well, I added memory a couple of years ago (RAM and hard drive). Being a mom leads me to eat up a fair amount of gigs with photos of my kids and, in fact, I think I entirely replaced the original drive, so it is a couple years younger than 2008 since I did that in March 2010. If there is some way to verify that (whether or not I replaced the entire drive), I'm all ears. I have 311 Gigs free, so it is not a space issue. I verified the startup disk on Disk Utilityand nothing showed up.
    Question 1- What formats...
    The La Cie is format Windows NT Filesystem 3G ....At the time that I bought it I was still using a PC as well as a Mac and was told by afriend to use this format...
    The WD is Mac OS Extended (Journaled). I again tried to repair the WD last night and this is the error message: "Error: DiskUtility can’t repair this disk. Back up as many of your files as possible, reformat the disk, and restore your backed-up files."
    Also, Time Machine tried again to back-up and gave  me this error: "Files can't becopied onto the backup disk because it appears to be 'read only'. You may needto repair or reformat the disk using Disk Utility. If the disk can't berepaired, you must use a different disk for backups. Open Time Machinepreferences to select a different backup disk."
    Question 2. Other cables...
    I used two other cables with the WD and that didn't change anything.  
    Question 3... Fire Wire from the La Cie
    Yes, I used the Firewire cable from the La Cie and it is indeed present, though still not visible in Finder. Since it is not Mac OSExtended I know that I can't use Time Machine with it.  
    So, in summary...
    I can plug in the La Cie and it is functional on the MacBook, visible on Disk Utility but not visible in Finder. The WD drive is not visible and not functional. So we can think it is indeed the WD that is not working.... Also, the iphone photos did, in the end, get downloaded, so it is not something more general.
    Causes...
    I forgot to mention that there is a "lost+found" file on the WD which apparently points to a UNIX /OS issue?   
    Some kind of "insurance"?....
    I'm curious about how people avoid this kind of issue. You just regularly replace back-up drives and hard drives before problems come up? Time Machine is great and saves many of us from disasters, however, knowing that your Time Machine back-ups are vulnerable makes the whole system insecure. No way to have alarms ring before the drive goes out?   
    As for ways ahead...
    It seems that I ought to be able to copy off of the WD to the MacBook then erase it and reformat it and start over again. However, I haven’t been able to see its contents except on random occasions. If you have any ideas on how to copy the Time Machineback-ups from the WD, again, I'm all ears!
    Good afternoon Lyssa,
    Phew. First of all, thanks in advance...
    So, to answer your questions:
    For the age of the hard drive. Well, I added memory a coupleof years ago (RAM and hard drive). Being a mom leads me to eat up a fair amountof gigs with photos of my kids ….and, in fact, I think I entirely replaced theoriginal drive, so it is a couple years younger than 2008 since I did that inMarch 2010. If there is some way to verify that, I'm all ears. I have 311 Gigfree, so it is not a space issue. I verified the startup disk on Disk Utilityand nothing showed up.
    Question 1- What formats...
    The La Cie is format Windows NT Filesystem 3G ....At thetime that I bought it I was still using a PC as well as a Mac and was told by afriend to use this format...
    The WD is Mac OS Extended (Journaled). I again tried torepair the WD last night and this is the error message: "Error: DiskUtility can’t repair this disk. Back up as many of your files as possible,reformat the disk, and restore your backed-up files."
    Also, Time Machine tried again to back-up and gave me thiserror: "Files can't be copied onto the backup disk because it appearsto be 'read only'. You may need to repair or reformat the disk using DiskUtility. If the disk can't be repaired, you must use a different disk forbackups. Open Time Machine preferences to select a different backup disk."
    Question 2. Other cables...
    I used two other cables with the WD and that didn't changeanything.
    Question 3... Fire Wire from the La Cie
    Yes, I used the Firewire cable from the La Cie and it isindeed accessible, though still not visible in Finder. Since it is not Mac OSExtended I know that I can't use Time Machine with it.
    FYI...
    So, in summary... I can plug in the La Cie and it is “functional” on theMacBook but not visible in Finder. The WD drive is not visible and notfunctional. So we can think it is indeed the WD that is not working.... ALSO,the iphone photos did, in the end get downloaded.
    As for ways ahead…
    It seems that I ought to be able to copy off of the WD tothe MacBook then erase it and reformat it and start over again. However, Ihaven’t been able to “see” its contents except on random occasions…
    Any further thoughts are welcome!

  • I'm using Time Machine and a LaCie external drive to backup. I also have a 8 GB LaCie flash drive I want to use for small jobs. If I plug the LaCie flash drive in, is my Mac going to think it is the LaCie external drive and start trying to backup?

    I'm using Time Machine and a LaCie external drive to backup. I also have a 8 GB LaCie flash drive I want to use for small jobs. If I plug the LaCie flash drive in, is my Mac going to think it is the LaCie external drive and start trying to backup?

    no.

Maybe you are looking for

  • I want to connect my old 23" cinema display to new iMac 5K retina

    I have just ordered a brand new iMac with 5K retina display & would like to link up my old 23" Cinema display to it so I can continue to have my dual screen workstation as I have done since 2005. I could do with a little advice before it arrives as t

  • Slow to generate report

    Hi..I am having issues where it takes too long for a report to be generated. The client already delete the yesterday's reports from the queue but it appeared again on the queue this morning.They informed that there was network issue yesterday. Is it

  • What are your favorite sound libraries?

    I picked up Garritan Personal Orchestra and I think it's great. I also just got a Scarbee Bass from Native Instruments which is very cool. But I'm also looking at the Trilian Bass too. So, what's the best bass?-drums?-guitar?-piano?-etc. I'm doing mo

  • Audio line in problem

    After plugging my minidisc output into the mic' socket of my G5 iMac and changing the input setting to 'line in' (on Apple>System Preferences>Sound), I am getting virtually no input signal into GarageBand. I have repeated these very steps on someone

  • I tried to photo my calendar and now get an error message

    I tried to photograph my calendar page to send to someone.  Now, my calendar keeps getting a constant window - error message #403 - giving me options that don't work.  Hard to use the calendar for dates and appointments.  Help!