using same taskflow 2 times on the same jspx cause problem.

Hello
We have a taskflow called TF1.

I dropped this TF1 on a Test.jspx page, which uses dynamic tab Oracle Shell model.

When I click on a button in Test.jspx, TF1 appeal with launch of TabContext event so that TF1 will open in a new tab.

Requirement is, when I click the button again to call TF1, it should open in a new tab with the same workflow has started with a new txn.

But it is throwing
Caused by: oracle.adf.controller.activity.ActivityLogicException: ADFC-00020: workflow ' / WEB-INF/flows/homeTF.xml#homeTF' requires a new transaction, but surgery is already open on the chassis.

TaskFlow has assigned to the Transaction property * "Always start new Transaction" * (this property of the transaction is scheduled)

Could someone suggest how can I get rid of this error by opening the same workflow in another tab?

Thank you
Vinod

Hi Vinod,

Did you try to uncheck the "share data with the workflow controls the appellant?

Kind regards

Pino

Tags: Java

Similar Questions

  • Running same virtual machine in the Lion and the snow leopard cause problems?

    I just loaded a new hard drive with Mac OS X Lion to run some programs that run only on Lion.  My Mac serves mainly through Snow Leopard installed on the main hard drive.  I can boot to an OS or the other.  Two questions:

    (1) can I have my a copy of VMware Fusion 4.1.1 installed on the disk of Lion and leopard snow by car?  Of course, I can only use one at a time since I can start only upward in an OS.

    (2) if I do the above and open my Windows XP VM on Lion, are all changes to the virtual machine that would make it unusable under Snow Leopard (or vice versa)?

    Bill

    Make sure that your VM is off - not suspended--before the host.
    Then it should work without problem

  • Time for the touchpad Lenovo U400 problem

    I also have this problem: after you type something (using the keyboard, of course) and move the cursor with the trackpad, I noticed a huge backlog. As I type no matter what letter and then try to move the cursor. There is a delay of about half a second. Very sensitive and caring, as it won´t allows me to play my favorite games.

    Note of the moderator; subject edited to better reflect the content

    Hi again,

    http://forums.Lenovo.com/T5/T61-and-prior-T-series-ThinkPad/touchpad-response-delay-solved/TD-p/3779...

    Try this link, it may be useful

  • The use of actionScript to speed up the video clip causes weird problems

    I use the script below to expedite a movieclip

    onClipEvent (load) {}
    NF = Function (); {
    nextFrame();
    }
    setInterval (NF, 1000/fps);
    }

    Well, a button inside the movie clip is linked to an another movieclip "parent". When the button is clicked above through the ignorant parent movieclip her stops at a pace fast enough speeds until she runs into the image tag where this clip accelerates resides in the parent movie clip, then it stops and returns to normal.

    Does anyone know how to avoid this problem? I know it works because there are other 3 buttons that work like a charm without accelerates using the above script.

    Or does anyone know another way to speed up the movieclip outside the use of the script above?

    Any help would be greatly appreciated, thanks in advance!

    Yuri = setInterval (f, t) starts a loop. He repeatedly calls the function f() every milliseconds t up to what a clearInterval (Yuri) is executed.

    the most common problem that occurs with setInterval() runs twice (or more) with no intermediary clearInterval(). When that happens all hell breaks loose and the swf will call the function much more quickly than expected and can not be stopped (easily) little matter how clearInterval() statements you try and run.

    to avoid this problem, the simplest method is to run a clearInterval() just BEFORE all the statements of setInterval(). It does not hurt anything (try and) clear and interval that does not exist and sometimes he'll stop the seemingly weird problems that occur with intervals of out of control:

    clearInterval (Yuri);
    Yuri = setInterval (f, t);

  • To access the servlet code causing problems AM...

    Hello
    I use 11gr1p1 and stack of the ADF. I have an ImageServlet and in it, I created an AM root to access the VO to read the image using the VO.
    Everything works fine but anyway it messes with the framework and my beginning of LOVs gives below error when I click on the LOV icon.

    java.lang.ClassCastException: oracle.jbo.uicli.binding.JUCtrlActionDef cannot be cast to oracle.adfinternal.view.faces.model.binding.FacesCtrlActionDef

    To locate what is causing the problem, I commented lines where I create an AM and return directly to the servlet. Then I did a mistake.

    Any ideas?

    The servlet code
    -----------
              if( request.getParameter( "ImageId" ) != null )
              {
                   String contentType = "image/jpeg; charset=UTF-8";
                   response.setContentType( contentType );
                   oracle.jbo.domain.Number imageId = null;
    
                   try
                   {
                        imageId = new oracle.jbo.domain.Number( request.getParameter( "ImageId" ) );
                   }
                   catch( Exception e )
                   {
    
                        return;
                   }
    
    
                   OutputStream os = response.getOutputStream();
                   String amDef = "com.zzz.model.mdm.am.MDMMainService";
                   String config = "ConfigurationServiceLocal";
                   String viewObject = "OperaImagesRev";
                   String imageAttributeName = "BfileLocator";
                   String viewObjectBindParamName = "pBlobId";
    
    
                   if( imageId != null )
                   {
                       ApplicationModule am = Configuration.createRootApplicationModule( amDef, config );
                        
                        try
                        {
                             
                             ViewObject vo = am.findViewObject( viewObject );
    
                             vo.setNamedWhereClauseParam( viewObjectBindParamName, imageId );
                             vo.executeQuery();
                             if( vo.getEstimatedRowCount() > 0 )
                             {
                                  Row row = vo.first();
                                  oracle.jbo.domain.BFileDomain image =
                                                             ( oracle.jbo.domain.BFileDomain )row.getAttribute( imageAttributeName );
                                  image.openFile();
                                  InputStream is = image.getInputStream();
    
                                  byte[] buffer = new byte[10 * 1024];
                                  int nread;
                                  while( ( nread = is.read( buffer ) ) > 0 )
                                       os.write( buffer, 0, nread );
    
                                  os.close();
                                  image.closeFile();
    
                             }
                        }
                        catch( Exception e )
                        {
                             //e.printStackTrace();
                        }
                        finally
                        { if (am != null)
                            Configuration.releaseRootApplicationModule( am, false );
                        }
                   }

    I ran in the same issue.
    Creating an application root module breaks the link whole layer, when done outside the context of limited application. I mean there a servlet or the e-mail application itself.
    In my case, I launched a planner to start all batch tasks now and then. Because the task has no application module I create a new one, that breaks the user interface.

    Good news for you is that you can solve your problem in the servlet image if you change your web.xml file so that the servlet image goes through the filter adfBindings.
    Just add a filter mapping

    
      adfBindings
      ImageServlet
      FORWARD
      REQUEST
      
    

    to your web.xml file and your servlet is working again.

    My case I still looking for a valid solution :-(

    Timo

  • Place the .txt document, causing problems of packaging

    I place a .txt file into a publication in InDesign. I have the text set to left justification and no hyphenation. Text is not correctly flowing with broken line breaks. For example, the first line MI to the next line breaks. I am able to type in MI immediately after Detroit but when I delete the e on the second line, the newly typed MI is broken in the second line again. If the text block is set on a complete justification, then disappear irregular breaks and MID is on line 1 with Detroit.


    A few things to note:

    -J' checked for the characters hiding and found there is only 1 space between the words where irregular Break occur

    -There is no withdrawal on text frames

    -J' use paragraph styles for formatting text

    -When you place the text, the character set is Unicode UTF8


    I don't know if it's a problem of text frame or a matter of investment. Suggestions?

    problem.png

    It's probably the paragraph composer deciding the balance of the line is better with the odd break. You can force the words stay together by using either an or No Break, that are applicable to non-breaking space.

  • synchronize the loop with the time on the computer

    I'd like to run a while loop exactly all the 1 minute, with the minute that occur according to the time on the computer at 0 seconds.

    a timed loop runs a minute after the loop is started and is not synchronized with the 0 seconds of time on the computer.

    How do I get there? I realize the first loop will be less than 1 minute, due to the synchronisation.

    Thanks, that helped me.

    I thought at the start of the second 1 loop would consume resources additional, but realized it's negligible.

    I ended up using quotient/remainder on time on the computer in seconds and checking when the remainder is 0, as this allowed for the second interval.

  • Error using a taskflow inside a page fragment

    Hello

    I use a taskflow with a region in a jspx and it works.
    But when I put the region in a page fragment and then call the fragment of the jspx page I get the following error:

    < sept 13, 2012 8:39:07 AM PDT > < WARNING > < oracle.adf.view.rich.component.fragment.UIXRegion > < BEA-000000 > <
    java.lang.IllegalStateException: the expression "#{bindings.processViewerTaskflow1.regionModel}" (which has been specified for the "value" attribute RegionModel of the component of the region with the id "r1") evaluated to null.
    This is usually due to an error in the configuration of the objects referred to by this term.
    If it helps, the expression "#{bindings.processViewerTaskflow1} ' value 'null '.
    If it helps, the expression "#{bindings} ' value 'null '. Now using a RegionModel empty instead.
    at oracle.adf.view.rich.component.fragment.UIXRegion.getRegionModel(UIXRegion.java:441)
    at oracle.adf.view.rich.component.fragment.UIXRegion._beginInterruptibleRegion(UIXRegion.java:727)
    at oracle.adf.view.rich.component.fragment.UIXRegion.setupChildrenVisitingContext(UIXRegion.java:538)
    at org.apache.myfaces.trinidad.component.UIXComponent.setupChildrenEncodingContext(UIXComponent.java:1156)

    I made all the bindings using the jdeveloper.

    It's the jspx:

    <? XML version = "1.0" encoding = "UTF - 8"? >
    < xmlns:jsp = "http://java.sun.com/JSP/Page" version = "2.1" jsp:root xmlns:f = "http://java.sun.com/jsf/core".
    xmlns:af = "http://xmlns.oracle.com/adf/faces/rich" >
    < jsp:directive.page contentType = text/html"; Charset = UTF - 8 "/ >
    < f: view >
    < af:document title = "untitled6.jspx" id = "d1" > "
    < af:form id = "f1" >
    < jsp: include page="/untitled3.jsff"/ >
    < / af:form >
    < / af:document >
    < / f: view >
    < / jsp:root >

    And this is the untitled3.jsff file:

    <? XML version = "1.0" encoding = "UTF - 8"? >
    < jsp:root = "http://java.sun.com/JSP/Page" version = "2.1" xmlns:jsp xmlns:af = "http://xmlns.oracle.com/adf/faces/rich" >
    < af:region value = "#{bindings.processViewerTaskflow1.regionModel}" id = "r1" / > "
    < / jsp:root >

    What's wrong?

    Thank you

    Hello

    and that's where you fool you

    Include the JSP does not add the page PageDef file fragment to the Pagedef parent file. For thsis to work, you need to copy all the contents of the JSFF PageDef file in the parent page PageDef file. Add the JSFF to a workflow and workflow as a region on the page will take care of this business for you

    Frank

  • I m unable to turn on windows Defender. It displays error 0 * 800106ba. I m using microsoft security databases since then I m having this problem

    I m unable to turn on windows Defender. It displays error 0 * 800106ba. I m using microsoft security databases since then I m having this problem

    Hello

    Are you running MSE or other antivirus/security programs stop Windows Defender running?
    Whether Windows Defender is blocked from running by them. McAfee, AVG and many others to do this.
    MSE includes features of Windows Defender inside run that separately it would be redundant.

    ------------------------------------------------

    Troubleshooting of Windows Defender
    http://support.Microsoft.com/kb/555957

    "%ProgramFiles%\Windows Defender\MsAsCui.exe" is the folder of the default Defender

    Start - type in the search box-> Windows Defender - find top - make a right click on it.
    RUN AS ADMIN

    If no joy using Start - computer or Windows Explorer to access this folder and create a
    Shortcut to put on the desktop and the Start Menu. You can also right click on a shortcut this and
    see if they point to here.

    Goal
    "%ProgramFiles%\Windows Defender\MsAsCui.exe".

    Start in
    "%ProgramFiles%\Windows defender.

    How to enable or disable the Windows Defender
    http://www.Vistax64.com/tutorials/93118-Windows-Defender-off.html

    --------------------------------------

    Maybe something here if necessary:

    What is display / causing the error message? Some anitvirus/security/antispyware products can
    cause this error. On those who use you, including those that your never had even those
    uninstalled (the remnants can cause problems). McAfee is just an example of what many can do.

    Start - type in the search box - Services - find top - Right Click - Run as Admin

    Windows Defender - value STARTED and AUTOMATIC

    or set MANUAL and STOPPED if necessary

    Fix for the problem of 800106ba.
    http://support.Microsoft.com/kb/931849

    Error (an example) of McAfee report.
    http://service.McAfee.com/faqdocument.aspx?ID=TS100610&lang=en_US&prior_tid=2&AnswerID=16777216&Turl==http://KB.McAfee.com/InfoCenter/index?page%3Dcontent%26id%3DTS100610%26actp%3Dsearch

    Check also:

    http://social.answers.Microsoft.com/forums/en-us/vistasecurity/thread/574fb871-034C-4B42-B800-328af16a9177

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle="" -="" mark="" twain="" said="" it="">

  • By default runs the target jspx Jdeveloper and page?

    Hi all


    I learn just jdeveloper and ADF. Please guide me for the below question.

    I got following message, then the choice of a default target run. I do not understand the real meaning of jspx'page.

    How to create?

    Please click on this link to show you my problem.

    http://www.mediafire.com/?0y5uiw3h8ycowya


    Thanks for you.

    Hello

    Nice.If, he worked then please mark it as correct or useful. You can read on the page jspx and lots more information in the Fusion ADF Developer's Guide.

    Thank you and best regards,
    Shah

  • Satellite Pro L770 - 14 H - the use of WLan and Bluetooth at the same time

    I have a Satellite Pro L770 - 14H and you want to use a Bluetooth mouse.
    With the 'FN' and F8 key I am capable of coding between WLAN and Bluetooth, but it is not possibel to have both at the same time.

    My question is: How can I have WLAN and Bluetooth at the same time?
    To use a Bluetooth mouse with WLAN connection.

    Thank you very much
    Helmut

    Hello

    Using Win 8.1?

    Usually you could turn on and off Bluetooth in Win 8.1
    Settings PC-> PC &-> of Bluetooth devices

    There, you can move the cursor to BT for THE position.

  • Using stage monitors and speakers to the computer at the same time

    I have a monitor connected to my computer and I would like to use two speakers to listen to my music.

    I tried to fix it through the "my control panel", with the 'Sound' and "SmartAudio" icons, but I can't get to set the two speakers at the same time.

    How can I do?

    Thank you very much!

    I have a monitor connected to my computer and I would like to use two speakers to listen to my music.

    I tried to fix it through the "my control panel", with the 'Sound' and "SmartAudio" icons, but I can't get to set the two speakers at the same time.

    How can I do?

    Thank you very much!

    You can't unless you have the ability to use surround sound and then most of the time that the outputs are quite different for the surround speakers.  The a (normally green) jack is for the main speakers and other receptacles are for the individual surround speakers.  If you are using before (helmet) and taken back normally when something is plugged into the front jack rear taking is disabled.
  • When using my computer, all applications and the windows are closed at the same time, got disconnected and the computer turns off as if someone stops manually.

    Original title: it's a virus that's causing this?

    It happened a few times now. While I use my computer, all applications and the windows are closed at the same time, I am disconnected and the computer is off, as if someone manually stops the computer. I turn on the computer and log in and everything seems to be okay. No data deleted, not that I could find and detect anyway. One day when I turned on the computer, it run chkdsk before doing the usual startup. I use the computer for 2 years and this is the first time, she never did a chkdsk on its own. I used Microsoft Essentials and no viruses were found.

    Should I worry?

    Hello

    You can read the following article and try to download the Microsoft Safety Scanner and perform a full scan on your computer and check.

    Microsoft safety scanner

    Note: The data files that are infected must be cleaned only by removing the file completely, which means that there is a risk of data loss.

    Check if there are logs of events related to the issue in the event viewer which may help us to solve the problem of the:

    What are the information contained in the logs of the event (Event Viewer)?

  • Can I use two cards at the same time on the same computer?

    Hello

    I have two graphics cards, one is integrated, i.e. HD 2500, Intel and the other is dedicated, i.e. Nvidia Geforce GT620. My question is that can I use both at the same time on the same PC. Whenever I try to connect via a VGA cable (per processor) and DVI (via graphic card) at the same time, the screen goes black and when I take off the DVI cable, the screen will return. When I connect the DVI again after log on, there is just the theme of Windows and folders that I opened all get reduced. When I disconnect the DVI cable once again, I opened the folder displays again.
     
    I want to make use of both integrated and dedicated graphics card, I read on the internet that two graphics cards give a performance gain. Also, I'm a gamer. But in time, I bought my PC, I had no knowledge about computers. I want to use two graphics cards. Please tell me a way by which I can use two graphics cards at the same time without the problem described above.

    Yes, you can use two cards graphics, combined to boost performance. But it depends on a condition: the two (or more) cards must be of the same brand. To make it clearer, you can use two or more NVIDIA graphics (thanks to SLI technology) or AMD graphics (with CrossFireX technology, supports up to four graphics card in a single PC).

    But, a mixture of graphics cards of different brand, as NVIDIA and AMD or NVIDIA and Intel or AMD and Intel or NVIDIA, AMD and Intel, can not be used for SLI or CrossFireX.
    On the black screen, please follow the following link:
    http://support.Microsoft.com/kb/976064
  • I have the license for both I and ps is possible to use at the same time in the differren computers?

    I have the license for both I and ps is possible to use at the same time in the differren computers?

    Please see this FAQ for more information:

    FAQ: Can I install Creative Cloud on several computers?

Maybe you are looking for