When the application module starts the trans?

Hi,
For ADF application module, when does it start a trans?Is it the case the AM method(even read only method) exposed to view layer, then the trans starts automatically when the page is loaded? Or when getDBTransaction() is called? or even latter when actual update or some specific method is called from the trans? Just wondering whether a commit/rollback is expected when even an exposed method is called by view layer even it is readonly.
Hui

Thx, Tim.
We are use optimistic in the AMs. We have some AMs just do data query. But there is VPD on one of the table, query on the table will trigger the VPD table updates from database, and if db side detects the parent query sql has transaction associated, the vpd related update will not be committed and expects the parent trans will be commit/rollback But if the AM is cached, and no explicit commit/rolback was issued. Will the underlying VPD updates stay there not commit/rollback
Hui

Similar Messages

  • Databse connection when an application module is checked out

    Hi,
    I have an application module pool and database connection pool,
    Documentations suggest that, when an application module is released in stateless mode irrespective of the jbo.doconnectionpooling property the connection aquired by the app module will be released.But this is not happening.What could be the reason.Is this a BUG in BC4J!!!!!!!!.
    Also whenever i check out an app module, 2 database connections are getting opened instead of one. What is the strange problem!!!!!!!.
    Can anybody guide me.
    Thanks,
    Dutt..

    BD - I have a hunch that it has more to do with cvs in a multi-user environment ... but cannot test that out right now since the multi-user component of this problem happens to be out of the office until Monday ;-) I'm thinking it's possible that, since we have slightly different paths to the residents in our workspace, we're fighting over configurations upon committing and updating.
    I'll be sure to post steps in recreating this problem very early next week.
    -Brian

  • How to invoke an application when another applications is started

      Hi All,
        Good day. I am a newbie to AppleScript and writing down this seeking your kind help here.
    Making my question detail here,
    Applcation 1 :  Consider this to be some thing kind of server stuff which is running.
    Application 2:  Consider this to be an application like Automator or any other automation tool for example Sikuli or Squish
    My actual scenario is that, When Application 1- is still running and upon its completion I want to instruct to another application to start.
    Suppose consider that Application 1 is running and when it is finished I want to invoke another application via apple script.
    So here, I want both the scripts from you people that can do this.
    > Script for -
    1. Invoke Application 1 (via Applescript itself) let it run for few minutes(as it is server kind of stuff, i want it to run) when this is complete then I want to invoke the application 2
    2.  I am manually invoking the application 1 and I am going away,  as it will run for few minutes then on Application completes its job I want Application 2 to be Invoked.
    I believe, I am pretty explanatory here, so please help with these
    Regars,
    OsmanBerg

    Does Appliction 1 quit by itself when it's done? If so a simple loop should do the trick - periodically check to see if the app is still running:
    -- start App1
    tell application "App1" to activate
    -- we know it's running
    set isRunning to true
    tell application "System Events"
      -- do this until the app is no longer running
              repeat until isRunning is false
      -- has the app quit?
                        if (exists application process "App1") = false then
      -- if so, set our flag accordingly
                                  set isRunning to false
                        end if
      delay 2 -- wait 2 seconds before checking again
              end repeat
    end tell
    -- if we get here we know the first app has quit, so:
    tell application "App2" to activate

  • NPE when releasing application module instance

    HI,
    I am hitting a NPE when I am trying to release my application module.
    My code goes like this.
    public void releaseAppModule() {
         try {
              super.releaseRootAppModule(false);
         } catch (Exception e) {
              e.printStackTrace();
    }...and the exception
    java.lang.NullPointerException
    at oracle.jbo.client.Configuration.releaseRootApplicationModule(Configuration.java:1435)Use Case:
    I am getting my data from DB.
    1. On first load, I will hit this NPE
    2. When I do refresh on the browser, I no longer am experiencing this.
    Any reason why?
    How do I troubleshoot such case?
    JDEV 11G PS3

    i think this will helps you.
    JBO-30006 / BEA-000000 in ADF BC when running production

  • ABAP Dump when calling Function Module Starting New Task

    Hi all. I have a tricky situation now, I am doing a POC on parallel processing.
    I am getting an ABAP dump on the following Call Function line which is in class lcl_steer_114numc (See below for full program):
    METHOD start.
        CALL FUNCTION 'Z_ZZCLS_STEER_114NUMC'
          STARTING NEW TASK me->id
          CALLING me->finish ON END OF TASK.
      ENDMETHOD.                    "start
    However I get the following ABAP dump:
    Short text
        Statement "CALL FUNCTION .. DESTINATION/STARTING NEW TASK/IN BACKGROUND TASK"
    The function module only contains a wait statement to simulate parallel processing. It is strange that it dumps here, because when I change the FM call to another call that has been triggered successfully from other classes, it still produces the same ABAP dump.
    The background of the Proof Of Concept is to see if I can get an event to trigger the next process that depends on the outcome of the previous process. Parallel processes are run in the start methods by calling RFC.
    <Garbled code removed>
    Moderator Message: Please post relevant portions of the code only.
    Edited by: Suhas Saha on Jul 17, 2011 1:17 PM

    Well, the thing is I did manage to run 3 other Function Modules asynchronously succeesfully prior to that function call, with the same exact function call syntax. Further more, I have tried editing it with your suggestion but I get the exact same dump.
    The complete function group can be downloaded here (slinkee file):
    https://docs.google.com/leaf?id=0B3sua1Bw4XK4ZmFhNzcwMTgtYzQ0Mi00NzQ4LTg5YTMtNDNlNWUxYTM2NTg3&hl=en_US
    The complete program can be downloaded here (slinkee file):
    https://docs.google.com/leaf?id=0B3sua1Bw4XK4YWJmNjU3ODYtODRmMy00Nzg2LThkNTUtZjNkNDRhZGQ3MTUw&hl=en_US
    The complete ST22 dump can be found here:
    https://docs.google.com/leaf?id=0B3sua1Bw4XK4ZDU1YmFkZDAtOTU5MS00ZTgwLWFlZTktNWZhMDUxMzJlZWNl&hl=en_US
    Basically I ST22 gives me the following:
    Runtime Errors         RPERF_ILLEGAL_STATEMENT
    Date and Time          17.07.2011 05:29:54
    |Short text                                                                                |
    |    Statement "CALL FUNCTION .. DESTINATION/STARTING NEW TASK/IN BACKGROUND TASK"                 |
    |What happened?                                                                                |
    |    Error in the ABAP Application Program                                                         |
    |                                                                                |
    |    The current ABAP program "Z_ZZB1_CLOSE_PERIOD_TEST2" had to be terminated                     |
    |     because it has                                                                               |
    |    come across a statement that unfortunately cannot be executed.                                |
    And it explains it here (but is not helpful / relevant at all) as I ran the program from SE38.
    |Error analysis                                                                                |
    |    There is probably an error in the program                                                     |
    |    "Z_ZZB1_CLOSE_PERIOD_TEST2".                                                                  |
    |    The program was probably called in a conversion exit                                          |
    |    or in a field exit. These are implemented by                                                  |
    |    function modules called CONVERSION_EXIT_xxxxx_INPUT/OUTPUT or                                 |
    |    USER_EXIT_xxxxx_INPUT.                                                                        |
    |    Conversion exits are triggered during screen field transports or                              |
    |    WRITE statements, field exits during field transports from the                                |
    |    screen to the ABAP/4 program.                                                                 |
    |    In this connection, the following ABAP/4 statements are not allowed:                          |
    |                                                                                |
    I hope you try to download the slinkee files and you will notice the call function I performed was no different than the other call function RFC calls that really are working.

  • Is it proper for an application module has 300 views in the data model?

    Based on my understanding, all view object instances are initialized at the same time as the application module.
    It follows that when an application module is associated with a user session, the queries of each view object in the data model are executed.
    ie. if the data model has 325 view object instances, 325 queries will be executed.
    This doesn't seem efficient:
    1. As each user session only need to access a subset of the view objects (for examples 35 views), the rest of view objects need not be instantiated for that session.
    2. Performance may be slow on executing all 325 queries at one time, even worse when some queries are complex queries.
    Am I correct on this?
    In this case, will it be better to instantiate the view objects using the view object definition at runtime instead of adding all of them to the application module at design time?

    No, that's not the default behaviour.
    Assuming you're talking JDev 11, the AM on it's General tab as a Tuning option where you can set the loading of the VOs to Lazy or Non-Lazy, Lazy is the default. In turn each VO on their General tab also has a Tuning option of similar nature.
    Online documentation says:
    Lazy LoadingSelect to choose lazy loading. In this case, the application module instance is created without any of its components. Your view object and nested application module instances will not load until the first time they are used. For example, when lazy loading is enabled, a view object is instantiated only when the application accesses it. This will make start-up time faster.
    Non-lazy Loading
    Select to choose non-lazy loading. Your view object and nested application module instances will load when the application starts up. For example, suppose the application module you are editing defines three view objects and two nested application modules (which appear in the Application Module Instance section of the Data Model page over the application module overview editor). When lazy loading is disabled, the application module instance is created together with all three view objects and both nested application modules.>
    So in essence as you describe for each session, if we're using the Lazy setting, even though you have 325 VOs within an AM, if the user within the session only visits 35 queries, only 35 queries should fire.
    Does this help?
    CM.

  • I have been running Firefox on my PowerPC G5 for years and have just tried to install 4.0. When I attempt to start Firefox, a window opens telling me the application cannot be launched. I have installed it twice with the same result. What gives?

    I have a PowerPC G5 quad core Mac with a pre-intel chip. I have been running Firefox successfully for over five years and have used every version in operation during that time. Tonight, I received notice that the latest version of 3.6 was ready to install and that I needed to restart. I did that and was taken to a page telling me that 4.0 was available for downloading and use. So I downloaded the new 4.0 and tried to install it in the typical Mac fashion. After clicking on the dmg, I dragged the icon into my applications folder and onto the dock. But when I click on the icon on the dock, I get the message: The application cannot be launched. 10661
    When I try to launch by double clicking in the applications folder, I get the message: You cannot open the application Firefox because it is not supported on this system.
    I had to go to your site using Safari of all things! I tried re-installing it with another download, and that one misbehaves in the same way. By the way, in case it matters, I still have 42 GB available on my hard drive and 5 GB of RAM.
    There is one other funny thing. The Firefox icon from the disk image has a white circle with the slash through it on top of the fox and world symbol. That is what appears in my applications folder and in my dock. It appears to be saying NOT FIREFOX, as it would indicate in a NO U-TURN sign. What is this all about?

    I have had a similar problem with my system. I just recently (within a week of this post) built a brand new desktop. I installed Windows 7 64-bit Home and had a clean install, no problems. Using IE downloaded an anti-virus program, and then, because it was the latest version, downloaded and installed Firefox 4.0. As I began to search the internet for other programs to install after about maybe 10-15 minutes my computer crashes. Blank screen (yet monitor was still receiving a signal from computer) and completely frozen (couldn't even change the caps and num lock on keyboard). I thought I perhaps forgot to reboot after an update so I did a manual reboot and it started up fine.
    When ever I got on the internet (still using firefox) it would crash after anywhere between 5-15 minutes. Since I've had good experience with FF in the past I thought it must be either the drivers or a hardware problem. So in-between crashes I updated all the drivers. Still had the same problem. Took the computer to a friend who knows more about computers than I do, made sure all the drivers were updated, same problem. We thought that it might be a hardware problem (bad video card, chipset, overheating issues, etc.), but after my friend played around with my computer for a day he found that when he didn't start FF at all it worked fine, even after watching a movie, or going through a playlist on Youtube.
    At the time of this posting I'm going to try to uninstall FF 4.0 and download and install FF 3.6.16 which is currently on my laptop and works like a dream. Hopefully that will do the trick, because I love using FF and would hate to have to switch to another browser. Hopefully Mozilla will work out the kinks with FF 4 so I can continue to use it.
    I apologize for the lengthy post. Any feedback would be appreciated, but is not necessary. I will try and post back after I try FF 3.16.6.

  • How do i sort out error r6034 on my windows vista when i try to start itunes, the message box is from microsoft visual c++runtime library, it says an application has made an attempt to load the C runtime library incorrectly,

    how do i sort out error r6034 on my windows vista when i try to start itunes ???
    the message box is from microsoft visual c++runtime library, it says an application has made an attempt to load the C runtime library incorrectly, P;ease contact the application's support team for more information.

    Hey deepakmenonfrompune,
    Thanks for the question. I understand that you are experiencing issues with iTunes for Windows. The following article outlines the error message you are receiving and a potential resolution:
    iTunes 11.1.4 for Windows: Unable to install or open
    http://support.apple.com/kb/TS5376
    Some Windows customers may experience installation issues while trying to install or open iTunes 11.1.4.
    Symptoms may include:
    "The program can't start because MSVCR80.dll is missing from your computer"
    "iTunes was not installed correctly. Please reinstall iTunes. Error 7 (Windows Error 126)”
    "Runtime Error: R6034 - An application has made an attempt to load the C runtime library incorrectly"
    "Entry point not found: videoTracks@QTMovie@@QBE?AV?$Vector@V?$RefPtr@VQTTrack@@@***@@$0A@VCrashOnOverf low@@***@@XZ could not be located in the dynamic link library C:\Program Files(x86)\Common Files\Apple\Apple Application Support\WebKit.dll”
    Resolution
    Follow these steps to resolve the issue:
    Check for .dll files
    1. Go to C:\Program Files (x86)\iTunes and C:\Program Files\iTunes and look for .dll files.
    2. If you find QTMovie.DLL, or any other .dll files, move them to the desktop.
    3. Reboot your computer.
    Note: Depending on your operating system, you may only have one of the listed paths.
    Uninstall and reinstall iTunes
    1. Uninstall iTunes and all of its related components.
    2. Reboot your computer. If you can't uninstall a piece of Apple software, try using theMicrosoft Program Install and Uninstall Utility.
    3. Re-download and reinstall iTunes 11.1.4.
    Thanks,
    Matt M.

  • HT1349 iTunes will not start on my PC. I get a runtime error from the Visual C== runtime library when iTunesHelper.exe is started. The message states the application attempted to load the library incorrectly. How is the problem to be resolved?

    iTunes will not start on my PC. I get a runtime error from the Visual C++ runtime library when iTunesHelper.exe is started. The message states the application attempted to load the library incorrectly. How is the problem to be resolved?

    Click here and follow the instructions.
    (99035)

  • I just bought macbook pro with 10.8.3 os. When i start the system, all applications automatically start up as well! How can I turn them off. I checked the user settings and no application is set tom open automatically!

    I just bought macbook pro with 10.8.3 os. When i start the system, all applications automatically start up as well! How can I turn them off. I checked the user settings and no application is set tom open automatically!

    You have 14 days to return the computer w/no questions asked.  Plus you have 90 days of FREE phone tech support on top of your standard 1 year warranty unless you also purchased AppleCare which gives you an additional 2 years of coverage plus FREE phone support.
    Strongly suggest that you take FULL advantage of the above before it runs out.  Let Apple deal w/the problems.

  • Can J2ME application start when the mobile is switched on?

    I would like to start the J2ME application when the mobile is switched on. The J2ME application will be in start-up programs of the mobile, like in Windows. Is this possible?
    Thanks in advance
    Hector

    What is the AMS?
    How can I configure the J2ME application so that the AMS can load the J2ME application?
    Thanks
    Hector

  • When I try to start Lightroom CC i get the following error and the splash screen freezes An error occurred when attempting to change modules.

    When I try to start Lightroom CC i get the following error and the splash screen freezes An error occurred when attempting to change modules.

    Just had the same issue... went through the steps here: https://helpx.adobe.com/lightroom/kb/error-changing-modules-lightroom.html
    For me it was Solution 5. I had to change permissions and add me as a user (only had system access to the folders).

  • Start up J2Me application on the mobile device when the device is swtiched

    Hi,
    Does anybody know how to start the Midlet when the handset is switched on ?
    I have one J2ME application installed on the mobile. I got to start the application automatically when the device is switched on.
    Thanks in advance
    Mamatha

    Hi,
    Use
       PushRegistry.registerAlarm(String midlet, long time);and keep time of 30 secs.
    and once you application is inovoked unregister the connection
    Regards
    @rjun

  • When downloading application updates, which are over a GB, my MacBook Air keeps logging me out and I have to start the download over.  I have the power settings set to never turn off, and the display set to never go to screen saver.

    When downloading application updates, which are over a GB, my MacBook Air keeps logging me out and I have to start the download over.  I have the power settings set to never turn off, and the display set to never go to screen saver.  Any suggestions?

    I have the exact same problem/situation since a few days
    I have not intalled a program lately.
    Any progress Voratima??
    Software  Mac OS X Lion 10.7.5 (11G63)

  • Adjust Quicktime Volume Control when the application starts

    3Apr07
    I have a problem streaming program. Microsoft stopped supporting Widows Media Player for the Mac.
    Micosoft has a application FLIP4MAC-MWV which will either open a window in Safari or has the option of opening a window in Quicktime.
    My problem is: The volume level in Quicktime is too high when the stream begins. I use Wiretap Pro to record radio streams while I am at work. The default high volume distorts the recording.
    I have tried and tried again to change the default volume level to a middle level, but the stream starts at max volume. How do I change that?
    I also have the same problem with the Safari window level.
    Can anyone tell me how to adjust the default volume in Quicktime and Safari?
    Thank you for reading this post and greater thanks for any recommendations.
    Regards,
    Craig H. Henden

    14Apr07
    Thank you for you help. I actually don't use Quicktime-formated files or steams. I used to use Windows Media Player until the Wiretap Pro custormer support recommended I use Flip4Mac WMV to convert Media Player streams to Quicktime compatible. However, the volume is too high.
    I did try adjusting the Midi Sound controller. It did not have the effect when Quicktime starts-up.
    Most of the time I record using Windows Media Player or Flip4Mac, I am not home to adjust the volume.
    I will try adjusting the Midi control again. I wish Flip4Mac converted Media Player formated streams to Itunes. Wiretap pro works very well with itunes.
    Regards,
    Craig H. Henden

Maybe you are looking for