Refresh Issue in my Effect Plugin

Hi,
I'm writing a small effect plugin, where i have one or two color pickers in the UI.
The layer i'm applying the effect will be PreComp (with 2 layers inside). So whenever i change the color in my effect, that color should be updated to the Fill Effect of corresponding layers inside PreComp if they have any.
What i mean is if i change the color value in first color picker, it has to change the fill effect color for first layer inside that PreComp. And same goes with second.
I know its bit confusing.
Now my problem is color doesn't update properly. Sometimes it works and sometimes it doesn't.
I tried sending PF_OutFlag_REFRESH_UI, but it doesn't work. May be this will refresh only current Comp.
Thanks and Regards,
Suma

Yes i'm using param supervision. When it comes to PF_Cmd_USER_CHANGED_PARAM i do the following. I know i have to update only param which is changed, but currently i update all layer's fill effects when it comes to my func
This is what i'm doing.
    AEGP_GlobalRefcon globalRef=NULL;
    const A_char* pluginName = "Convolutrix";
    AEGP_PluginID pluginID;
    suites.UtilitySuite5()->AEGP_RegisterWithAEGP( globalRef, pluginName, &pluginID );
    AEGP_LayerH activeLay = NULL;
    suites.LayerSuite5()->AEGP_GetActiveLayer(&activeLay);
    AEGP_ItemH item = NULL;
    suites.LayerSuite5()->AEGP_GetLayerSourceItem(activeLay, &item);
    AEGP_ItemType type;
    suites.ItemSuite7()->AEGP_GetItemType(item, &type);
    if(type == AEGP_ItemType_COMP)
        AEGP_CompH preComp;
        A_Err err = suites.CompSuite6()->AEGP_GetCompFromItem(item, &preComp);
        if(err == noErr)
            A_long numOfLay;
            suites.LayerSuite5()->AEGP_GetCompNumLayers(preComp, &numOfLay);
            for(A_long i = 0; i < numOfLay; i++)
                AEGP_LayerH lay;
                suites.LayerSuite5()->AEGP_GetCompLayerByIndex(preComp, i, &lay);
                A_long numOfEff;
                suites.EffectSuite3()->AEGP_GetLayerNumEffects(lay, &numOfEff);
                for(A_long j = 0; j < numOfEff; j++)
                    AEGP_EffectRefH eff;
                    suites.EffectSuite3()->AEGP_GetLayerEffectByIndex(pluginID, lay, j, &eff);
                    AEGP_InstalledEffectKey key;
                    suites.EffectSuite3()->AEGP_GetInstalledKeyFromLayerEffect(eff, &key);
                    char *name = new char();
                    suites.EffectSuite3()->AEGP_GetEffectMatchName(key, name);
                    if(strcmp(name, (const char *)("ADBE Fill")) == 0)
                        AEGP_StreamRefH streamRef;
                        suites.StreamSuite3()->AEGP_GetNewEffectStreamByIndex(pluginID, eff, 3, &streamRef);
                        AEGP_StreamType type;
                        suites.StreamSuite3()->AEGP_GetStreamType(streamRef, &type);
                        AEGP_StreamValue2 val;
                        A_Time tim;
                        tim.value = in_data->current_time;
                        tim.scale = in_data->time_scale;
                        suites.StreamSuite3()->AEGP_GetNewStreamValue(pluginID, streamRef, AEGP_LTimeMode_CompTime,
                                                                      &tim,
                                                                      true, &val);
                        val.val.color.alphaF = params[i + 1]->u.cd.value.alpha;
                        val.val.color.redF = params[i + 1]->u.cd.value.red;
                        val.val.color.greenF = params[i + 1]->u.cd.value.green;
                        val.val.color.blueF = params[i + 1]->u.cd.value.blue;
                        suites.StreamSuite3()->AEGP_SetStreamValue(pluginID, streamRef, &val);

Similar Messages

  • Is it possible to delete an Effect sitting on the same effect plugin c++ code?

    Hello,
    Let me explain My problem.
    I have developing an Effect plugin, "MyEffect" .
    This effect has one UI + defualt "About" and "Reset" buttons + one "Remove " ( Which is a "Options..." ) button.
    The "Remove" button functionality is: When I click on "Remove" button, the "MyEffect" effect should remove from the Layer/Composion.
    The plugin EntryPoint function is called with a command "PF_Cmd_DO_DIALOG" clicking on "Remove" button. Here I want to remove this "MyEffect" effect from Layer/Comp.
    So, My question is, Is it possible to delete/remove an effect sitting on the same effect plugin c++ code?
    Hope, you understand the problem!.

    Hi Shachar,
    Thanks for your reply!
    >>     that separate AEGP of ours?
    Not getting the above line in your prevoius msg.
    Actually My question is, "Is it possible to delete an Effect sitting on the same effect plugin c++ code?", wrong.
    What exactly I want is...
    I'm developing an effect plugin, that execute 2 scripts.
    -     one script is for applying an effect ( we are discussing this issue in onother thraed, you already knew it. )     and
    -     other script is for removing an effect
    When I click on "Remove" button, the second script should executes and it removes the applied effect from the Layer/Comp.
    I'm just guessing that, 3 plugins are required to solve this problem.
    Plugin1:  Create UI + call plugin2 + call plugin3
    Plugin2:  Execute the script1 ( i.e., apply the effect )
    Plugin3:  Execute the script2 ( i.e., remove the effect )
    am I correct?

  • Audition CS6 (Bootcamp Win. 7) Crashing from built in effects / plugins

    Long story short:
    I own a PC license for Production Premium CS6
    I just bought a new computer (MacBook Pro retina 15")
    I have (successfully) set up Win. 7 using Bootcamp on my MBP
    I have (successfully) installed and tested my copy of Production Premium CS6everything was working okay (i.e. - previewing clips, changing amplitute, cutting), until I tried to use the built in effects / plugins on some audio in Audition
    When I attempt to add an effect (i.e. - Noise Reduction <process>), after 2-3 sec. I get a crash notice, and my only option is to "close program". This is also occuring when other plugins are attemptedno option to see an error log, etc.
    My Pro. Prem. suite is literally the only thing installed on the Windows side of my MBP, and I ran Adobe update for the suite after installing. I have scoured the web looking for answers to this issue, but have had no luck yet (this includes the forums here too).
    Any help would be greatly appreciated, and if more info is needed about my machine, etc. please let me know (this is my first forum post).
    Best,
    Matthew

    The location should be the same - Bootcamp allows a pretty standard Windows install with some hardware-specific drivers added in.
    As SteveG mentioned, you should be able to find the Audition log files by doing the following:
    Open Windows Explorer and in the Address bar, type:  %APPDATA% and hit Enter.
    Open Adobe > Audition > 5.0 > logs
    Send "Audition Log.txt" as a text file to [email protected]
    You may also find more helpful information in Windows error logs.  To find this, open Control Panel > Administrative Tools > Event Viewer  and click on Windows Logs > Application.  Find entries for Audition corresponding with the time of the most recent crash and you can copy/paste the details in the message as well.
    It might be worth noting that I have some suspicion that keeping out-of-date or several versions of Microsoft .NET installed may have some impact.  We're still investigating, but two users with similar problems have recently reported that updating or uninstalling old versions of .NET appear to have resolved the issue for them.  If you have any versions of that installed, please let me know. 
    Can I verify the nature of the crash, though?  Does the crash happen simply when you OPEN an effect, or when you click APPLY?  If it's open, are you able to adjust parameters and hear the preview okay?

  • Serious resolution issues with After Effects CC (2014) on Windows 8.1 Pro on Dell Precision M3800 laptop??

    My new company installed Adobe Creative Cloud (There was some annoying Proxy issues at first, because of the seriously tight I.T policies) but we are having some serious resolution issues with After Effects CC 2014 (also have this resolution problem with Adobe Premiere, Media Encoder, Muse) on Windows 8.1 Pro on a Dell Precision M3800 laptop with icons and interface looking too small and hard to see, is there a fix, an update or a work around, can anyone help?
    Any help will be appreciated!
    k.regards
    Ramon

    Hi Todd is there a time-frame for this fix, there is a lot of pressure on me, because I convinced my company to get the Creative Cloud and quite a lot of the CC software is not compatible with the latest Windows 8.1 OS.
    Is there at least a work around, until this big fix comes along?
    k.regards
    Ramon

  • Refresh Issue in Oracle ADF In JDeveloper

    Hi all,
    My ADF Application is having around 350 Forms. Application size is 700MB. I am facing a refresh issue in this application. whenever i am modifying any queries in view objects or lookups it is not reflecting immediately. Say : i modified one query. Then i deployed the application means the query is taking the old query. to take the modified query i have to rebuilt the view object. Every time i am facing this same problem. Some times within 2-3 deployments the query is modified by itself(without rebuild) and working fine. Sometime after 10 times also it is taking the old query only. Every time i have to rebuilt to fix this issue. Please help me to fix this issue. I am using oralce 11g.

    Try to invoke  Clean All Operation before you deploy the application.
    From Main Menu -- >Build -->  Clean All

  • I have an issue using Lighting Effects in Adobe Photoshop CC 2014

    Hello everyone,
    I am having issues using Lighting Effects in Adobe Photoshop CC 2014. I created a duplicate layer that I want to do the effects on, converted it to a smart object and on that same layer went to Filter>Render>Lighting Effects  to get to the Lighting Effects screen. When adjusting the parameters (drag/reshape the lights) for either the spotlight or point light, I don't see any changes. Can someone tell me what could be the issue or if I'm doing the steps wrong to apply the effects?
    Here are my specs:
    Operating System: Windows 7 Home Premium 64-bit (6.1, Build 7601) Service Pack 1 (7601.win7sp1_gdr.140303-2144)
    Processor: Intel(R) Core(TM) i7-2600S CPU @ 2.80GHz (8 CPUs), ~2.8GHz
    Memory: 8192MB RAM
    Available OS Memory: 8174MB RAM
    Card name: AMD Radeon HD 6570   
    Manufacturer: ATI Technologies Inc.
    Display Memory: 743 MB
    Dedicated Memory: 1008 MB
    Shared Memory: 3831 MB 

    I am experiencing flickering issues as well. However my issues are with the Fast Color Corrector and the Three Way Color Corrector. It seems as if the color correction tools are causing intermittent flickering on some people's systems.
    Additionally when I converted some old PPCC 7.2.2 projects which had the Three Way Color Corrector applied, some clips in sequences would come up as a green screen in the program monitor. If I turned the TWCC off the footage would display correctly in the program window. If I turn the TWCC back on it would display the green screen again.
    I haven't found a solution to the flickering but to solve the green screen issue I have to remove the effect, then re apply it. I guess for whatever reason, the 2014 version of PP has issues with 7.2.2 projects where the TWCC was applied.
    I'm hoping Adobe will address this soon with an update for the various bugs that have been reported.
    PPCC 2014 8.0.1
    Win 7 Pro

  • How to create an after effects plugin using c++?

    I've gotten to the point of downloading the after effects sdk. Although I am still lost and other than here, there are very little places where they give you proper information, if any at all, on how to develop after effects plugins using c++.

    我也在找同样的答案,求高手指点

  • Scrollbar refresh issue in ADF Table

    Hello, All
    We have an issue regarding the ADF Tables. Please let me know if it is a Oracle bug. All of us know that 'ExecuteQuery' operation refreshes the cache in View Objects.
    But, based on our testing results, there might be a table refresh issue on vertical scrollbars after this opertion is executed.
    Settings:
    In the attached example project, we have a ADF RichTable included in a PanelCollection.
    In addition, We set 'AutoHeightRows' property on this ADF RichTable in order to show scrollbars on the PanelCollection.
    Furthremore, a standard CommandButton is created on the toolbar to execute queries.
    Experimental Steps:
    1. Use your mouse to move the vertical scrollbar to around the center of its range. This behavior causes the scrollbar scrolling vertically.
    2. Click on any row showing in the table right now, make it to be the active row.
    3. Press the 'ExecuteQuery' button, waiting for the table refresh.
    Results:
    1. Active row moves to the first row in the rowset.
    2. Vertical scrollbar stay in the center of its range without moving to the first row.
    3. The first row is hidden from end users. The user can not see the active row in this case.
    FYI:
    The attached project can be accessed from the following link:
    http://www.4shared.com/zip/Xn4Ki0DP/Application3.html
    In this project, we tried to set 'partialTriggers' on RichTable and its surrounding PanelCollection separately. But, the refreshing issue still exists.
    Regards,
    David He

    Welcome David to forums.
    Always mention your exact Jdev version. For more information read this: https://forums.oracle.com/forums/ann.jspa?annID=56
    I too faced the similar kind of issue in one of my application.
    As you have not mentioned the exact jdev version, I will tell you what I did in my application which was developed using Jdev 11.1.2.0
    After the VO is executed, you can write the below line of code to show the first rows in the table.
    applicationsRichTable.setDisplayRow(applicationsRichTable.DISPLAY_ROW_FIRST);
    //applicationRichTable is the binding for the RichTable in managed beanHope it helps.

  • After Effects Plugins in Motion

    Where do I install AfterEffects Plugins into Motion? I can't find a plugins folder for Motion 2.

    I purchased magic bullet software three weeks ago and i read somewhere on this or creative cow that motion read After effects plugins. I know FCP does not read them as of the studio 1 version.

  • 5.1.0 sp11 Connection pool refresh issue, revisited....again...!!!

    "Hello,
    From reading of these newsgroups I've seen many different manifestations
    of what seems to be the same root cause with connection pools and
    connections which are refreshed/replaced when found broken. In our
    case weblogic server hangs.
    Kit: 2xWeblogic 5.1.0 sp11 (not clusterd), Solaris 8,
    java 1.3.1_01, 1xoracle 8.1.6, latest JDBC 2.0 drivers from oracle. Each weblogic instance and oracle have their own machines.
    We do indeed have a firewall employed to run our subnets, and hence
    our weblogic servers and oracle databses are in different DMZ's, but are
    allowed to communicate to each other via rules set up on the firewall and
    inspection of the logs show no such connections being dropped.
    As far as the db is concerned, lookups (no writes) never take more than a few
    hundred milliseconds and are then closed and given back to the connection pool
    immediately from within the 'finally' block of code, hence hard to see when,if ever, the db is
    is closing them due to excessive idle time.
    weblogic.jdbc.connectionPool.RecipeDBPool=\
    url=jdbc:oracle:thin:@foo:1521:BAA,\
    driver=oracle.jdbc.driver.OracleDriver,\
    loginDelaySecs=1,\
    initialCapacity=30,\
    maxCapacity=50,\
    capacityIncrement=1,\

    Alkesh wrote:
    Hi Joe,
    The fix you suggested has been implemented and has been running fine
    now for the past 3 days. I'm delighted with the result,Great. Glad to help.
    but am concerned as to why this problem wasnt highlighted during our
    load-testing phases...It's a possibility that your load-testing didn't present the same sort
    of load that your actual runtime does.
    Thanks for your time on this.Well sure. We want you successful.
    Joe
    Alkesh
    At 01:52 PM 2/22/2002 +0000, you wrote:
    Hi Joe,
    Thanks for your reply
    Please find attached a copy of the jvm thread dump we got from thelast time
    that weblogic blocked upon trying to refresh a broken connection.
    We have turned off JIT with the environment settingJAVA_COMPILER=NONE.
    FYI hotspot is enabled with '-hotspot', these settings can be foundin the
    attached 'startWeblogic.sh'.Hi. I found a serious problem by reading the thread dump:
    "ExecuteThread-11" daemon prio=5 tid=0x179d40 nid=0x19 waiting for
    monitor entry
    [0xeee80000..0xeee819e0]
    at java.sql.DriverManager.getConnection(DriverManager.java:144)
    - waiting to lock <f8e77ad0> (a java.lang.Class)
    at com.akqa.sainsburys.jv_recipe.ejb.session.RecipeBean.getConnection(Re
    cipeBean.java:759)
    It is important to never call DriverManager methods in a multithreaded
    application
    such as Weblogic, because these JVM methods are alloverly synchronized
    at
    the class level. One such method, DriverManager.println(), is called
    continuously
    by all JDBC drivers as well as the SQLException constructor. If one
    server thread
    makes a long-lasting or hanging call to DriverManager.getConnection(),
    it can halt
    all JDBC in the whole JVM including work on other open driver
    connections.
    Please show me the code for RecipeBean.java, and I will send you an
    altered version
    that should solve this problem. In fact, I can infer from the thread
    dump what is needed.
    Change the one method getConnection() to this:
    // Make once and re-use a driver instance directly, avoiding
    DriverManager
    Driver d = (Driver)class.forName("weblogic.jdbc.jts.Driver").newInstance();
    public Connection getConnection()
    return d.connect("jdbc:weblogic:jts:yourPoolNameHere", null );
    Also, change your pool definition. I assume you have
    testConnsOnReserve set to true.
    (You should). Also, you should change your refresh minutes to
    something huge, like
    9999999. The refresh is interfering with your online performance and
    is unnecessary
    if you have testConnsOnReserve set. I recommend:
    weblogic.jdbc.connectionPool.RecipeDBPool=\
    url=jdbc:oracle:thin:@foo:1521:BAA,\
    driver=oracle.jdbc.driver.OracleDriver,\
    loginDelaySecs=1,\
    initialCapacity=50,\ <------ note that this should be the
    same as max, so all cons are made at startup
    maxCapacity=50,\
    testTable=dual,\
    testConnsOnReserve=true,\
    refreshTestMinutes=9999999,\
    etc.
    Joe
    I've also attached some firewall logs around the time of weblogicblocking
    (12.09). I could only get screen dumps for you, this may or maynot be
    useful.
    For the firewall logs use the following legend :-
    195.110.64.205 - DNS
    172.16.160.195 - host webserver 1 (i.e. what our licenses are boundto)
    172.16.160.196 - host webserver 2
    172.16.160.220 - website 1
    172.16.160.230 - website 2
    Thanks
    Alkesh
    -----Original Message-----
    From: Joe [mailto:[email protected]]
    Sent: 20 February 2002 22:09
    To: [email protected]
    Subject: Re: 5.1.0 sp11 Connection pool refresh issue,
    revisited....again...!!!
    At 02:47 PM 2/20/2002 +0000, you wrote:
    Hi Joe,
    Please find attached a copy of our thread dumps for the most recentoccasion
    that weblogic server has stopped.
    Apologies for any misunderstandings with my previous post, it appears to
    have been cropped. Full posting below (yes we do have testConnOnReserve and
    testTable properties set).
    Thanks for your time.sure, but first let's get you running OK. These dumps seem to be
    very cryptic, as if you're running a highly optimized JVM that
    loses almost all of the Java class references I'd normally see.
    Can you run again with a more basic JVM? I am beginning to suspect
    the JIT JVM...
    Joe
    Alkesh
    Joseph Weinstein wrote:
    Hello,
    From reading of these newsgroups I've seen many
    different manifestations of what seems to be the sameroot cause with connection pools and connections
    which are refreshed/replaced when found broken. In our
    case weblogic server hangs.
    Kit: Weblogic 5.1.0 sp11 (not clusterd),
    Solaris 8, java 1.3.1_01, oracle 8.1.6,
    latest JDBC 2.0 drivers from oracle.
    We do indeed have a firewall employed to run our subnets,
    and hence our weblogic servers and oracle databses are
    in different DMZ's, but are allowed to communicate to each
    other via rules set up on the firewall and inspection of
    the logs show no such connections being dropped.
    As far as the db is concerned, lookups (no writes) never
    take more than a few hundred milliseconds and are then
    closed and given back to the connection pool immediately
    from within the 'finally' block of code, hence hard to
    see when,if ever, the db is is closing them due to excessive idle time.
    weblogic.jdbc.connectionPool.RecipeDBPool=\
    url=jdbc:oracle:thin:@foo:1521:BAA,\
    driver=oracle.jdbc.driver.OracleDriver,\
    loginDelaySecs=1,\
    initialCapacity=30,\
    maxCapacity=50,\
    capacityIncrement=1,\
    allowShrinking=false,\
    testTable=dual,\
    testConnsOnReserve=true,\
    shrinkPeriodMins=1,\
    refreshTestMinutes=10,\ // has been 1 and 5 but 10 'more' stable.
    Fequently however, connections are found to be broken
    (either by periodical refresh - refreshTestMinutes or
    testing connection before granting it to the
    application - testConnsOnReserve=true), this has been
    confirmed by viewing JDBC.log .
    When this is so, weblogic attempts to replace these
    broken connections with new ones and then proceeds
    to grant it to the application. Once in a while however
    (and by no means 'x' refreshes later), weblogic will not
    come back.
    One of 2 errors occur in our deployment which cuase weblogic
    to refresh a connection.
    <JDBC Pool RecipeDBPool> java.sql.SQLException: No more data to read fromsocket
    and
    <JDBC Pool RecipeDBPool> java.sql.SQLException: Io exception: Broken pipe
    I believe these settings to all be correct, JDBC drivers
    in the correct point BEFORE weblogic.aux in classpath, yet
    still have the issue of broken connections.
    Any ideas ? I've been reading a lot into this probelm
    on various postings now, and i'm completely stumped.
    Thanks for your time.
    Alkesh

  • Two problems: hiding key-switch notes and messages to effect-plugins

    Hello,
    first please apologize my bad (school-) English, which I haven‘t much practiced sind I left school more than 30 yeras ago.
    I have got two problems, and I should be grateful, if somebody could give me a hint.
    1. I am using sample libraries, which I load in a sampler (Kontakt 2 of Native Instruments) in the instrument slot of Logic. These libraries work with key switches to choose between various articulations of an instrument. Unfortunately these key switching notes appear in the outprints (although the note, good so, does not sound – and isn‘t intended to sound).
    Do you know a possibility to set a key switch and let the note hide in the outprint?
    (I have also sent a fearture request to apple: creating an additional note line to an instrument, reserved for key switching commands.)
    2. I am using Guitar Rig 2 as an effect-plugin in Logic. Guitar Rig is (regarding my puspose) organised in banks which contain various presets (settings of amplifiers, boxes, micros, effects and so on).
    Is there in Logic a possibilities to send to effect-plugins commands which choose firstly a bank and secondly a preset in a bank of an effect-plugin in effect-slot?
    Thank you for your answer in advance.
    Yours sincerely Norbert
    iMac Intel, 2GHz   Mac OS X (10.4.8)  

    One method:
    Let's say you have a flute sound from Kontakt 2...
    1. Create a duplicate track for the Kontakt flute instrument in the Arrange window, just below the original track
    2. Open your flute region in score or matrix, select the keyswitch notes and CUT them. Then exit the editor
    3. Click on the duplicate track in the Arrange window and then use "paste at original position", (not regular CMD-V paste). Now your keyswitch notes are placed on the duplicate track in the exact location they were originally recorded at.
    (Note: if this doesn't seem to paste anything (sometimes it happens), hit Undo. Then use the pencil tool to draw a blank region on your duplicate track. With that new region selected, use "paste at original position again" and it will work.)
    4. With the new region selected, choose Options > Extended Parameters... a floating window will appear. Look for "Score:" at the bottom of the window. Click to the right of "Score:" so that it now says "Score: Off" for that region. This function works per region. Your keyswitches will still play but they won't be shown in the score. You can even hide this track if you want.
    5. Repeat this process for all of your tracks with keyswitch notes in them.

  • XMP metadata access in Effect plugin

    Hi everyone,
    I was wondering if there is a way to access file's XMP metadata from the Effect plugin, like you can do in scripting using XMP scripting API?

    hi Bart Walczak! welcome to the forum!
    i don't know of a direct way using the C API. you can however get the source footage for your layer, get the path to the file and access it directly.
    you can also use AEGP_ExecuteScript() to access the data through the javascript API (i don't know how, but you say it can be done), and retrieve the result back to the C side.

  • Long posts in I.E. 8 refresh issue

    Recently I've had to upgrade to I.E. 8 on some PCs I work with, and posting from them, I've noted the that editing long posts have refresh issues. I type and the cursor returns to the beginning of the post, and I have to keep scrolling back down. Is this a known bug? Or is there a workaround with I.E. 8?

    Hi Dave,
    I'm obviously far too tolerant of bugs. I'm running IE8 both at home and at work, but this has only ever happened on my work machine. I've meant to look into the cause before now, but I only notice when I'm in the middle of a large post and by the time I've got that out of the way it's usually time to deal with other matters. I've often just put up with the text snapping up and down the screen as I type, but occasionaly have started composing in Notepad or switched browsers. I've just implemented the fix so hopefully I won't need to worry again.
    Many thanks,
    tt2

  • Refresh issues

    I wish to know if there are any refresh issues in the following scenario.
    Consider the same application running in 2 distinct VM, jvm1 and jvm2 in a
    simple
    configuration without L2 cache.
    In jvm1 I have:
    PersistenceManager pm = pmf.getPersistenceManager();
    pm.currentTransaction().begin();
    Object oid = xxx;
    Object o = pm.getObjectById(oid)
    System.err.println(o.xxxx);
    pm.currentTransaction().commit();
    pm.close():
    Then in jvm2:
    PersistenceManager pm = pmf.getPersistenceManager();
    pm.currentTransaction().begin();
    Object oid = xxx;
    Object o = pm.getObjectById(oid)
    o.setSomeAttribute(xxxx);
    pm.currentTransaction().commit();
    pm.close():
    Now if I execute in jvm1 the first code fragment, do I see the modification
    applied in
    jvm2 ?
    Thanks in advance,
    Guido Anzuoni.
    BTW, are you going to include oid (and hopefully, class) keyword in
    projection in kodo3 ?

    Guido,
    Yes, you will see the modification in the next PM. The only "stale data"
    issues you might see are when you get object ID X in JVM1, modify and
    commit object ID X in JVM2, and then continue to reference it in JVM1
    (without any closing or refreshing): you will continue to see the cached
    version of object ID X.
    When this situation is intolerable, you can use pessimistic
    transactions: that will guarantee up-to-date views of the object, at the
    cost of keeping database locks on the rows open.
    In article <[email protected]>, Guido Anzuoni wrote:
    No, no, just for confirmation. I have read some posts on this topic and I
    have only shown my tipical usage.
    Is this behaviour somehow dependent on optimistic settings ?
    What if the DB schema is a preexisting one and there is no column for
    optimistic locking check ?
    Thanks again,
    Guido.
    "Stephen Kim" <[email protected]> ha scritto nel messaggio
    news:[email protected]...
    Yes. Are you not seeing this behavior?
    As for oid and class keywords, I'm not sure if the feature has been
    resolved one way or another yet.
    Guido Anzuoni wrote:
    I wish to know if there are any refresh issues in the following
    scenario.
    Consider the same application running in 2 distinct VM, jvm1 and jvm2 ina
    simple
    configuration without L2 cache.
    In jvm1 I have:
    PersistenceManager pm = pmf.getPersistenceManager();
    pm.currentTransaction().begin();
    Object oid = xxx;
    Object o = pm.getObjectById(oid)
    System.err.println(o.xxxx);
    pm.currentTransaction().commit();
    pm.close():
    Then in jvm2:
    PersistenceManager pm = pmf.getPersistenceManager();
    pm.currentTransaction().begin();
    Object oid = xxx;
    Object o = pm.getObjectById(oid)
    o.setSomeAttribute(xxxx);
    pm.currentTransaction().commit();
    pm.close():
    Now if I execute in jvm1 the first code fragment, do I see themodification
    applied in
    jvm2 ?
    Thanks in advance,
    Guido Anzuoni.
    BTW, are you going to include oid (and hopefully, class) keyword in
    projection in kodo3 ?
    Stephen Kim
    [email protected]
    SolarMetric, Inc.
    http://www.solarmetric.com
    Marc Prud'hommeaux [email protected]
    SolarMetric Inc. http://www.solarmetric.com

  • Why "Lighting Effects.plugin" in FIlter folder does not appear in the Rendering menu?

    Photoshop CS5 - I need to work with the "Lighting Effects.plugin".
    The plug-in is correctly installed into Adobe Photoshop CS5.1>Plug-ins>Filters but it NOT APPEAR rolling down the RENDERING menu!!
    How can I make it visible?
    Thank you

    That particular filter was not updated/upgraded to 64 bits, therefore you need to launch Photoshop as a 32-bit application.
    http://help.adobe.com/en_US/photoshop/cs/using/WS82af097c4236e2eb70aae8412fa75dc285-8000.h tml
      In 64-bit versions of Mac OS 10.5 and later, some older, optional plug-ins are available only if Photoshop is running in 32-bit mode:
    In the Finder, choose Go > Applications.
    Expand the Photoshop folder. Then right-click the Photoshop application icon, and choose Get Info.
    In the General section of the Info window, select Open In 32-bit Mode. 
    Close the Info window, and restart Photoshop.
    For more information, see 64-bit operating system benefits and limitations in Photoshop.
    Wo Tai Lao Le
    我太老了         No connection to Adobe.

Maybe you are looking for