Probleme of insert in adf 11g

hi,
i have a probleme whith my application,when i try to insert a new row it warks fine ,i complete all the form but when i clic the button to commit this message appear "ORA-02292: integrity constraint (FORMATION.FK_SESSION_FORMATEUR) violated - child record found"
can you help me

i try to expline more ,i have a page1 that show in table all my employer,in this page i m able to add ,delate and update an employer ,in biginning its works correctly but this week when i try to inserta new employer i clic the add button and a new page apper ,i complited the form but when i clic the button to commit ,it just update the first row ,so i decided to delete those from and dag ad drop a new employer from the data control to this page,naw when i clic the commit button this message appear "
"ORA-02292: integrity constraint (FORMATION.FK_SESSION_FORMATEUR) violated - child record found"
i think that this message appear because he want to update all the attribute of the first row even the id

Similar Messages

  • Problem with CSS in ADF 11g application

    Hi,
    I have added a CSS code for my login page(login.html), The issue i am facing is When ever i am opening the page the complete CSS is not coming for each time one CSS component is coming that's means if there are 4 CSS components as shown below i need to login and logout the page 4times. 5th time i am getting the complete page.
    .ESPS_login_body{
    background-color:#eef1f8;
    margin:0px;
    padding:0px;
    }.ESPS_login_body *{
    margin:0px;
    padding:0px;
    font-family: Tahoma, Verdana, sans-serif;
    .ESPS_login_top_bar{
    background-image: url(../skin_images/login_top_bar.png);
    background-repeat: repeat-x;
    background-position: left top;
    height:30px;
    I am running the application on firefox3.5.3 version.
    Please suggest me
    Thanks,

    Hi,
    Thanks for your quick reply.
    MY CSS File:
    .ESPS_login_body{
    background-color:#eef1f8;
    margin:0px;
    padding:0px;
    }.ESPS_login_body *{
    margin:0px;
    padding:0px;
    font-family: Tahoma, Verdana, sans-serif;
    .ESPS_login_top_bar{
    background-image: url(../skin_images/login_top_bar.png);
    background-repeat: repeat-x;
    background-position: left top;
    height:30px;
    .ESPS_login_bottom_bar{
    background-image: url(../skin_images/login_bottom_bar.png);
    background-repeat: repeat-x;
    background-position: left top;
    height:46px;
    color:#eeeeee;
    text-align:center;
    padding-top:9px;
    font-size:small;
    .ESPS_login_bg{
    background-image: url(../skin_images/login_bg_gradient.png);
    background-repeat: repeat-x;
    background-position: left top;
    background-color:#6882cc;
    height:594px;
    overflow:hidden;
    .ESPS_login_content{
    -moz-background-clip:border;
    -moz-background-inline-policy:continuous;
    -moz-background-origin:padding;
    background:transparent url(../skin_images/login_bg_main.png) no-repeat scroll center top;
    color:#4269b6;
    height:594px;
    overflow:hidden;
    .ESPS_login_content_left{
    height:594px;
    .ESPS_login_content_main{
    height:594px;
    width:650px;
    margin:0px auto;
    padding:20px;
    .ESPS_login_content_main h1{
    margin-top:230px;
    margin-left:125px;
    color:#4269b6;
    .ESPS_login_content_main > h1{
    margin-top:210px;
    div.ESPS_login_from{
    margin-top:20px;
    margin-left:245px;
    .ESPS_login_input{
    background:transparent url( '../skin_images/login_input.png' ) no-repeat scroll center top;
    border:none;
    margin:0px;
    padding-top:4px;
    padding-left:7px;
    width: 193px;
    height: 25px;
    .ESPS_login_submit{
    display:-moz-inline-box;
    display:inline-block;
    cursor:pointer;
    border:none;
    font-size:0;
    line-height:0;
    text-decoration:none;
    font-style:normal;
    vertical-align:middle;
    background: transparent url("../skin_images/login_go_button_i.png") no-repeat top left;
    border: none;
    width: 48px;
    height: 25px;
    margin:0px;
    margin-bottom:17px;
    div > a.ESPS_login_submit{
    margin-bottom:0px;
    .ESPS_login_submit:hover{
    background: transparent url("../skin_images/login_go_button_highlighted_i.png") no-repeat top left;
    .ESPS_login_submit:active{
    background: transparent url("../skin_images/login_go_button_pressed_i.png") no-repeat top left;
    label.ESPS_label{
    display:-moz-inline-box;
    display:inline-block;
    font-weight:bold;
    padding-bottom:8px;
    width:110px;
    margin-bottom:2px;
    div > label.ESPS_label{
    padding-bottom:3px;
    margin-bottom:2px;
    Login Page:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    <html>
    <head>
    <title>ESPS Login</title>
    <link href="/skins/css/mySkin.css" rel="stylesheet" type="text/css"></link>
    </head>
    <body class="ESPS_login_body">
    <div class="ESPS_login_top_bar">
    </div>
    <div class="ESPS_login_bg">
    <div class="ESPS_login_content">
    <div class="ESPS_login_content_main">
    <h1>External </h1>
    <form name="ESPS_login_form" method="POST" action="j_security_check">
    <div class="ESPS_login_from">
    <label class="ESPS_label">User Name:</label><input type="text" name="j_username" class="ESPS_login_input" onclick="this.value='';"/>
    <label class="ESPS_label">Password: </label><input type="password" name="j_password" class="ESPS_login_input" onclick="this.value='';"/>
    <a id="submit" href="#" class="ESPS_login_submit" onclick="document.ESPS_login_form.submit(); return false;">
    <span> </span></a>
    </div>
    </form>
    </div>
    </div>
    </div>
    <div class="ESPS_login_bottom_bar">&copy;Copyright 2009, DISH Network L.L.C., all rights reserved.
    </div>
    </body>
    </html>
    Please help me

  • Oracle ADF 11g – Authentication using Custom ADF Login Form Problem

    Hi Guys,
    I am trying to Authenticate my adf application using custom Login Form.
    following this..
    http://www.fireboxtraining.com/blog/2012/02/09/oracle-adf-11g-authentication-using-custom-adf-login-form/#respond
    But my Login Page is not Loading.I think its sending request in chain.my jdev version is 11.1.1.5.Any Idea.
    Thanks,
    Raul

    Hi Frank,
    I deleted bounded code and In another Unit Test I created a simple login.jspx page and applied form based authentication but still facing same problem means something wrong in starting.
    My login.jspx page is
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <jsp:directive.page contentType="text/html;charset=UTF-8"/>
      <f:view>
        <af:document id="d1" >
          <af:form id="f1" >
            <af:panelFormLayout id="pfl1">       
              <af:inputText label="USERNAME" id="it1"
                            />       
              <af:inputText label="PASSWORD" id="it2"
                              />
              <af:commandButton text="LOG IN" id="cb1" />
              <f:facet name="footer">       
              </f:facet>                 
            </af:panelFormLayout>
          </af:form>
        </af:document>
      </f:view>
    </jsp:root>
    Don't know wht real problem is

  • ADF 11g inheritance problem

    Hi
    Giving a look on ADF 11g model Business Components, I tried to have a generic component A and its extended component B.
    A has an id primary key attribute and if i generate a database table it has the PK generated, but B has no PK generated since the extended attribute is marked with the PK property.
    I used Jdeveloper 11g 11.1.1.1.0, and built two components from a BC diagram.
    Questions,
    is it a good practice to have a master generic component with common id version and audit attributes ?
    why the pk constraint is not built on database table for extended components ?
    Thanks for your answers
    Edited by: jpgora on 12 août 2009 10:19

    The screen goes normal when I place the cursor over the top of the app and I don't get any height=100% on my page.
    I noticed that some pages that have the table component on it don't get this bug.
    I see the last release and the EL to get the agent detects the IE8 normally but that is some way to port my app to it??
    Thanks in advance,
    Renan.

  • Urgent help needed in achieving below ADF 11g flow

    Hi, I am using JDEV 11.1.1.2.0 with ADF 11g.
    I have a below requirement.
    Say in below eg. I am getting col1, col2, col3 from a single tbl in screen 1. On clicking col1's row I should go to screen 2
    Screen1
    Col1     Col2     Col3
    Nm1     Code1     10
    Nm1     Code1     30
    Nm2     Code1     30
    Nm1     Code2     20
    Here in screen 2 I will have a calculated field as shown below. Besides this In the same screen I will have a list showing distinct of col2 for the value cliked in col1. So here in this eg. it will be for Nm1 I will have 2 values in the list Code1 and Code2.      
    Screen 2          
    Col1     Nm1     
    Col2     Code1     
    Tot     *40*     
    Col2     Select     
    Code1     X     
    Code2          
    Now here if user selects the radio of 'Code2' Then my above data should change as below
    Col1     Nm1     
    Col2     Code2     
    Tot     *20*
    Col2     Select     
    Code1          
    Code2     X
    I do this by passing the col1 value as a param to a query VO.
    I have tried this using different VOs like a VO with query, VO with user defined column... nothing helps.
    I am just unable to reach to screen 2. I am either getting invalid column OR missing in out parameters.
    Can any one help on how and what should be done? This is not even master-details stuff. master-details seems easier than this.
    Urgent help is needed.
    Thanks in advance

    I have resolved your problem and build a sample application.
    You have to create 2 views and use master detail.
    First view will be a simple view for the page 1 and second view will be readonly using group by. Then create a view link between them.
    Let me know your email id. I will email you the sample application.
    SID
    Edited by: manieshsailoz on Apr 26, 2010 5:12 PM

  • Maintaining different sessions in browser tabs in ADF 11g application

    I have a simple ADF 11g application which uses ADF BC 11g.
    I want to maintain different sessions between the tabs in the same browser.
    Currently it is messing up with session variables. Please reply to me ASAP.
    Thanks,
    Bobby
    Edited by: 866444 on Jun 16, 2011 11:35 AM

    Assuming you are having problems because of the usage of JSF Session scope beans, then the answer is to use pageFlowScope for that set of data - then it is not shared between tabs.

  • How to deploy a secured ADF 11g application to WebLogic 10.3 server?

    Hi,
    I have just enabled security in our ADF 11g application, as descripbed in [chapter 29|http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/adding_security.htm#insertedID0] of the Fusion Developer's Guide. It works fine in the embedded WebLogic server of JDeveloper.
    Now I'm trying to deploy to our WebLogic 10.3 server, which runs in production mode. I'm running into all sorts of problems. The WebLogic console seems to have hundreds of security related pages, I don't know which one I should use, let alone how to use it. The Fusion Developer's Guide doesn't cover deployment to a production server:
    >
    When the target server is configured for production mode, you typically handle the migration task outside of JDeveloper using tools like Oracle Enterprise Manager. For details about using tools outside of JDeveloper to migrate the policy store to the domain-level in a production environment, see the [Oracle Fusion Middleware Security Guide|http://download.oracle.com/docs/cd/E12839_01/core.1111/e10043/toc.htm].
    >
    However, this guide is of very little help to me. I found [chapter 7|http://download.oracle.com/docs/cd/E12839_01/core.1111/e10043/addlsecfea.htm#insertedID0], which says "The recommended tool is Fusion Middleware Control." I have no idea what "Fusion Middleware Control" is, where to get it and how to use it.
    Long story short: I'm totally lost. I'm looking for a step by step guide on how to deploy a secured ADF 11g application to a WegLogic 10.3 server that is running in production mode. Any help is highly appreciated.

    Ok, I found a [very helpful blog post |http://andrejusb.blogspot.com/2009/01/practical-adf-security-deployment-on.html] by [Andrejus Baranovski|http://www.blogger.com/profile/04468230464412457426]. I wish Oracle's documentation was as clear as this...
    The blog post refers to an article by Steve Muench, called [Simplified ADF 11g Application Credential and Policy Migration to Standalone WebLogic Servers|http://www.oracle.com/technology/products/jdev/tips/muench/credmig111100/index.html]. This article presents an Ant script that migrates policies from JDeveloper to WebLogic, using some PFM. (See the last definition here.)
    The problem is that Steve Muench's script assumes that JDeveloper and the standalone WebLogic are on the same machine. However, in a typical environment, such as the one I'm working in currently, this is not the case. In our case the developer stations are Windows machines, while our WebLogic server runs on a HP-UX machine. So the question is: how to perform this migration between two machines with different operating systems?
    Regards,
    Bart Kummel

  • Can we call a method before and after Export operations in ADF 11g

    Hi,
    My problem is I have to execute a method before and after the export operation.Is this posible in ADF 11g
    Regards,
    Felix

    Hi,
    in response to a similatr post of yours, I replied
    1. Drop af:exportCollectionActionListener on a command button
    2. set the command button to display = false
    3. In your Java code, call
    ActionEvent ae = new ActionEvent(button);
    ae.queue();
    Everything you put before
    ActionEvent ae = new ActionEvent(button);
    ae.queue();
    will fires as a pre-trigger, everything after as a post trigger
    Frank

  • Urgent!!! Need help with ADF 11g app deployment

    Hi,
    My application is designed using ADF 11g and am using adfc-config.xml for page flow.
    Through Jdev 11g integrated WLS server the application is running smoothly.
    But when i deployed application using EAR file on WLS 11g server and accessed the appliction, the page flow didnt worked.
    That is i tried opening login page of my application, it opened. Then i provided login credentials , they were successfully validated.
    But after that the application home page did not apperaed and application stuck at Login page only. The page flow didnt worked.
    Please help on this, its urgent...
    Thanks n Regards
    Manav Ratra

    Thanks Timo/Arun,
    The problem was same as figured by you. :)
    The application is running smoothly in IE7 but in Mozilla 3.0.15 it is not running.
    There it is throwing error:
    Error 404--Not Found
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    +10.4.5 404 Not Found+
    The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
    If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.
    Any pointers to this ...
    Thanks n Regards
    Manav Ratra
    Edited by: user11255144 on Nov 16, 2009 11:22 PM

  • ADF 11g:Success message on fire fox Staus bar

    Hi all,
    Im working on ADF 11g - Jdeveloper 11.1.1.2.
    The page contains a ADF table with Create, Edit and delete operations. The success messages of these operations have to be displayed on the staus bar of the Fire fox browser.
    Ex: "Record Successfully created" whenever there is a successful insertion of a record in the ADF table.
    How to display the user generated message on the staus bar of Fire fox? Please help....
    Thanks,
    Manasa.

    I'll bite. Presumably you're trying to mimic the same functionality from Forms. Firstly I'll flag that you need to convince users that browsers aren't Forms, and they do things in their own ways. A typical browser user doesn't look to the status bar for messages from an application, the status bar is reserved for browser raised messages.
    Yet I also understand it's hard to bend such requirements, so in addressing that requirement specifically, my understanding is the ADF framework doesn't provide this functionality out of the box. You will need to build your own. As a start independent of ADF there appears the ability in Javascript to write to the browser status bar through a function called statsword: http://www.htmlite.com/JS017.php
    At this stage I've no inspiration on how to build this in to an ADF solution (it's far too early in the morning), maybe another reader can help, but I suspect a solution might use the ADF af:serverListener and af:clientListener tags.
    CM.

  • Oerror while inserting in to 11g database from SOA suite 11g db adaptor

    Hi,
    I am getting following error while inserting in to 11g database from SOA suite 11g database adaptor. Can you please help me on this.
    "{http://schemas.oracle.com/bpel/extension}bindingFault" has been thrown.
    Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'insert' failed due to: DBWriteInteractionSpec Execute Failed Exception. insert failed. Descriptor name: [LoggerDBInsert.LoggedError]. Caused by java.sql.SQLSyntaxErrorException: ORA-01722: invalid number . ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. ORA-01722: invalid number 1722
    Regards,
    Bharat

    It looks like you try to insert a string-value in a number-column.
    can you check all your assign and their values before you invoke the db-adapter, then you should be able to narrow down the problem.

  • OpenScript recording is slow with FireFox and ADF 11g

    Hi everybody;
    I trying the OpenScript for recording some scenarios, and I am facing some problems:
    1-     When I use the internet explorer (IE) it records fine with an acceptable speed, but when I replay the recorded script it misses out the fields and the links that I clicked, meaning: it starts to highlight other places on my page which I didn’t click while I was recording.
    2-     When I use FirexFox, I get other kind of problems. First the recording is unbelievably slow. It might take a minute or two for every link I click to respond. Also when I replay the script it executes faster than it did while recording but much more slower than doing the same scenario in real time meaning: doing it directly on the browser by a real user.
    Kindly note that my application is an ADF 11g application with EJB3 and the application server is Weblogic 11 and the database is oracle 10g.
    Any ideas will be appreciated
    Thank you all

    Note that Firefox 36 has been released officially.
    *https://www.mozilla.org/en-US/firefox/36.0/releasenotes/
    It is possible that your security software (firewall, anti-virus) blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
    Remove all rules for Firefox and the plugin-container from the permissions list in the firewall and let your firewall ask again for permission to get full, unrestricted, access to install for Firefox and the plugin-container process and the updater process.
    See:
    *https://support.mozilla.org/kb/Server+not+found
    *https://support.mozilla.org/kb/Firewalls
    *https://support.mozilla.org/kb/fix-problems-connecting-websites-after-updating

  • TopLink, ADF 11g, RemoteSession and Stack Over Flow

    Hi,
    I am using TopLink and ADF 11g. From managed bean I can invoke Toplink Remote Session. After commit transaction on Remote Unit Of Work I get next exception:
    11.8.2009 14:52:47 oracle.adfinternal.view.faces.config.rich.RegistrationConfigurator handleError
    SEVERE: Server Exception during PPR, #1
    javax.el.ELException: java.lang.StackOverflowError
         at com.sun.el.parser.AstValue.invoke(AstValue.java:161)
         at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
         at oracle.adf.controller.internal.util.ELInterfaceImpl.invokeMethod(ELInterfaceImpl.java:138)
         at oracle.adfinternal.controller.activity.MethodCallActivityLogic.execute(MethodCallActivityLogic.java:142)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:876)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:752)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.routeFromActivity(ControlFlowEngine.java:526)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.performControlFlow(ControlFlowEngine.java:142)
         at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleAdfcNavigation(NavigationHandlerImpl.java:110)
         at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:79)
         at org.apache.myfaces.trinidadinternal.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:43)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:130)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
         at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:145)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:787)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:280)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:165)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:85)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:54)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:202)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3588)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2200)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2106)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1428)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: java.lang.StackOverflowError
         at oracle.toplink.internal.sessions.UnitOfWorkImpl.getParent(UnitOfWorkImpl.java:2488)
         at oracle.toplink.internal.remote.RemoteUnitOfWork.getDescriptor(RemoteUnitOfWork.java:254)
         at oracle.toplink.internal.remote.RemoteUnitOfWork.getDescriptor(RemoteUnitOfWork.java:254)
         at oracle.toplink.internal.remote.RemoteUnitOfWork.getDescriptor(RemoteUnitOfWork.java:254)
         at oracle.toplink.internal.remote.RemoteUnitOfWork.getDescriptor(RemoteUnitOfWork.java:254)
         at oracle.toplink.internal.remote.RemoteUnitOfWork.getDescriptor(RemoteUnitOfWork.java:254)
         at oracle.toplink.internal.remote.RemoteUnitOfWork.getDescriptor(RemoteUnitOfWork.java:254)
         at oracle.toplink.internal.remote.RemoteUnitOfWork.getDescriptor(RemoteUnitOfWork.java:254)
         at oracle.toplink.internal.remote.RemoteUnitOfWork.getDescriptor(RemoteUnitOfWork.java:254)
         at oracle.toplink.internal.remote.RemoteUnitOfWork.getDescriptor(RemoteUnitOfWork.java:254)
         at oracle.toplink.internal.remote.RemoteUnitOfWork.getDescriptor(RemoteUnitOfWork.java:254)
         at oracle.toplink.internal.remote.RemoteUnitOfWork.getDescriptor(RemoteUnitOfWork.java:254)
         at oracle.toplink.internal.remote.RemoteUnitOfWork.getDescriptor(RemoteUnitOfWork.java:254)
    Where can be problem? When I use DatabaseSession, all work correctly.
    Edited by: user480864 on 11.8.2009 6:20

    Hi Chris,
    thanks for your response. I was take next fragment of source code for Server session, Client session and Remote session.
    On server side:
    Acquire Server Session:
    private synchronized void createServerSession(boolean setEventListener){
    serverSession = null;
    if (toplinkProjekt == null) return;
    Server serverSess = toplinkProjekt.createServerSession();
    if (setEventListener) {
    SessionEventListener eventListener = new SessionEventListener("ToplinkProjectManager.createServerSession", true, ESessionType.ServerSession);
    serverSess.getEventManager().addListener(eventListener);
    serverSess.setLogLevel(DefaultSessionLog.ALL);
    serverSess.login();
    serverSession = serverSess;
    Acquire client session:
    public RMIRemoteSessionController getRemoteSessionController(String firma) {
    RMIRemoteSessionController rmirsController = null;
    try {
    ClientSession clientSession = getClientSession(firma);
    if (clientSession != null) {
    try {
    rmirsController = new RMIRemoteSessionControllerDispatcher(clientSession);
    } catch (RemoteException e) {
    e.printStackTrace();
    } else {
    System.out.println("\n" + userIdentifikator + "\nzamietnuty pristup.\n\n");
    } catch (Exception e){
    e.printStackTrace();
    System.out.println("\n\n\n" + userIdentifikator + " dostal RMI controller: " + rmirsController+ "\n\n\n\n\n");
    return rmirsController;
    private ClientSession getClientSession(String firma) {
    if (AccessControl.canAccess(firma, userIdentifikator)) {
    return DBConnectionManager.getClientSession(firma, userIdentifikator);
    } else {
    return null;
    Methods getClientSession and getRemoteSessionController are in Statefull EJB T3ConnectionManagerSessionEJBBean and getRemoteSessionController is published accross the Remote interface.
    Remote site:
    private static Context getInitialContext() throws NamingException {
    Hashtable env = new Hashtable();
    env.put( Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory" );
    env.put(Context.PROVIDER_URL, "t3://192.168.1.107:7101");
    return new InitialContext( env );
    private static RemoteSession createRemoteSession(String firma){
    T3ConnectionManagerEJBBeanRemote t3Connection = null;
    try {
    final Context context = getInitialContext();
    t3Connection = (T3ConnectionManagerEJBBeanRemote)context.lookup("T3ConnectionManagerSessionEJBBean#sk.egroup.toplink.sessions.t3connection.T3ConnectionManagerEJBBeanRemote");
    } catch (Exception e) {
    System.out.println("Lookup error - " + e.toString());
    return null;
    if (t3Connection == null) return null;
    RMIRemoteSessionController controller = null;
    try {
    controller = t3Connection.getRemoteSessionController(firma);
    } catch (Exception e) {
    e.printStackTrace();
    return null;
    if (controller != null) {
    RMIConnection rmiConnection = new RMIConnection(controller);
    RemoteSession session = (RemoteSession)rmiConnection.createRemoteSession();
    SessionEventListener eventListener = new SessionEventListener("FIRMA = " + firma, true, ESessionType.RemoteSession);
    session.getEventManager().addListener(eventListener);
    session.setLogLevel(DefaultSessionLog.ALL);
    return (RemoteSession) session;
    } else {
    System.out.println("Nepodarilo sa ziskat remote session.");
    return null;
    Best Regards,
    Jozef

  • ADF 11g - Search for node in a tree

    I am currently working on ADF 11g. I have implemeted a hierarchical tree using a tree component. How do I implement search for a node in the tree?

    You build the model yourself, so it should not be a problem to traverse the model in search for the right node.
    Timo

  • How to develop a 'creation form' in ADF 11g?

    Dear friends,
    How to develop a 'creation form' in ADF 11g? it seems no such type of form in 11g.
    Thank you.
    Regards,
    Tony

    If you are using ADFBC, the easiest way is
    - drop the data control as ADF form
    - add CreateInsert method binding to the pagedef
    - add an invokeAction for the createInsert with a refresh property set to renderModel so that an empty creation form will be shown on page load
    for insertion
    - Finally, add the commit action as button
    Sireesha

Maybe you are looking for

  • How can I prevent rogue software from installing itself via Firefox on my system?

    I don't know if this malware is exploiting a hole in Win7 or Firefox or both. So bear with me in my description. I am trying to ascertain if there are Win 7 security settings or configuration changes I can make to eliminate this. Or are there Firefox

  • In segment IDOC attribute I occurred instead of SEGMENT

    Hi I am trying to post an IDOC thru XI, using XSLT(ABAP Engine) to convert an incoming message to IDOC format. Though the IDOC output is well formed, the message fails with an error message(see below). Has anyone experienced this problem before? I am

  • Cutover strategy for Cash Management

    Hi Gurus, Please tell me about the cutover strategy for Cash Management?? We are implementing Cash Management in mid year, so how can we take the data in effect which is already posted in the system?? Please revert asap. Thank You

  • BOXI R2 logs

    We have a BOXI R2 environment which is running on Windows 2003. Although there are event logs for what is happening on BOXI, we were not able to find anymore logging. Is there some way that we can turn on a more detailed logging (some setting)? What

  • Forms Applet hangs after configuration of webutil

    Hi, I have Oracle Application Server 10g Release 2 with Oracle Database 10g on Windows 2000 server. Browser is IE6 Our application was working fine. But for one of the functionality, we used webutil and after configuration of webutil on AS, the appli