Non-XA or XA datasources?

Hi,
I have an enterprise application (deployed as a single .ear) that is two session beans and multiple servlets, running on Sun ONE Application Server 7.0.0_03c.
I have two databases (both oracle 9.2) that I need to be able to call in the one of the bean methods:
void loadX() {
Connection paCon = getConnection("java:comp/env/jdbc/pa");
x.loadDataFieldsFromPA(paCon, ...);
Connection efeCon = getConnection("java:comp/env/jdbc/efe");
x.loadDataFieldsFromEFE(efeCon, ...);
Connection getConnection(String name) {
InitialContext ic = new InitialContext();
DataSource dataSource = (DataSource)ic.lookup(dataSourceName);
return dataSource.getConnection();
If I define jdbc/efe and jdbc/pa as using XA datasources, I get:
"ORA-01453: SET TRANSACTION must be first statement of transaction"
on the first call.
If I define jdbc/efe and jdbc/pa as using non-XA datasources, I get:
"java.lang.IllegalStateException: Local transaction already has 1 non-XA Resource: cannot add more resources"
on opening the second connection.
Can anyone suggest what I might be doing wrong?
TIA

Hi,
I have an enterprise application (deployed as a single .ear) that is two session beans and multiple servlets, running on Sun ONE Application Server 7.0.0_03c.
I have two databases (both oracle 9.2) that I need to be able to call in the one of the bean methods:
void loadX() {
Connection paCon = getConnection("java:comp/env/jdbc/pa");
x.loadDataFieldsFromPA(paCon, ...);
Connection efeCon = getConnection("java:comp/env/jdbc/efe");
x.loadDataFieldsFromEFE(efeCon, ...);
Connection getConnection(String name) {
InitialContext ic = new InitialContext();
DataSource dataSource = (DataSource)ic.lookup(dataSourceName);
return dataSource.getConnection();
If I define jdbc/efe and jdbc/pa as using XA datasources, I get:
"ORA-01453: SET TRANSACTION must be first statement of transaction"
on the first call.
If I define jdbc/efe and jdbc/pa as using non-XA datasources, I get:
"java.lang.IllegalStateException: Local transaction already has 1 non-XA Resource: cannot add more resources"
on opening the second connection.
Can anyone suggest what I might be doing wrong?
TIA

Similar Messages

  • Pass parameter from SSAS to Non-SSAS based report

    Hi,
    I want to pass a report from my mainreport based on a SSAS cube to my subreport which is a NON-ssas cube (relationel datasource)
    How can achieve this when my parameter is structured like this in SSAS:
    [ProjID].[ProjID].&[be]&[PRJ180127-00001]       - I only want to pass the Projectnumber(PRJ180127-00001) to my subreport
    How to achieve this ?
    I tried using Projectid.UniqueName - but this is passing the whole string [ProjID].[ProjID].&[be]&[PRJ180127-00001]  - which my other report wont accept as a parameter.

    Hi ,
    For value you can use ;
    [Dim Date].[Calendar Year].CURRENTMEMBER.MEMBER_CAPTION
    Thanks
    Please Mark This As Answer or vote for Helpful Post if this helps you to solve your question/problem.

  • Create and Apply new connection pool failure

    Hi all,
    I am trying to creat a new connection pool by the examples Console with WebServer
    6.0
    Name: testingPool
    URL: jdbc:cloudscape:demo or jdbc:dbc:cloudscape:Test (where Test is a new DB
    in cloudscape)
    Driver Name:COM.cloudscape.core.JDBCDriver
    Property:
    user=none
    password=none
    server=none
    Then create a Datasource which using the new created testingPool and the Target
    is the "exampleServer"
    However when I start the server,it keeps on complaining that the "testingPool
    is not exist".
    Any setting that I 've missed when using a new connection pool??
    I only know the workaround is using the demoPool which is already exist in the
    example.
    Any help will be very appreciate!!
    Thanks !
    Regards,
    u0p1

    HI,
    I've already set the Target Server to be the Example Server,
    is it wrong?
    "Sree Bodapati" <[email protected]> wrote:
    Check if you have set a target server for the connection pool.
    sree
    "u0p1" <[email protected]> wrote in message
    news:3bb3bc32$[email protected]..
    Hi all,
    I am trying to creat a new connection pool by the examples Consolewith
    WebServer
    6.0
    Name: testingPool
    URL: jdbc:cloudscape:demo or jdbc:dbc:cloudscape:Test (where Test isa new
    DB
    in cloudscape)
    Driver Name:COM.cloudscape.core.JDBCDriver
    Property:
    user=none
    password=none
    server=none
    Then create a Datasource which using the new created testingPool andthe
    Target
    is the "exampleServer"
    However when I start the server,it keeps on complaining that the"testingPool
    is not exist".
    Any setting that I 've missed when using a new connection pool??
    I only know the workaround is using the demoPool which is already existin
    the
    example.
    Any help will be very appreciate!!
    Thanks !
    Regards,
    u0p1

  • Error while invoking SQL Server Database

    hello all,
    please help me with this error...I have given the datasource name in the XA datasource tab of connection factory..
    <bpelFault><faultType>0</faultType><bindingFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="summary"><summary>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: [InsertData.ScsApTransactions]. Caused by weblogic.jdbc.sqlserverbase.ddc: [FMWGEN][SQLServer JDBC Driver][SQLServer]Invalid object name 'dbo.SCS_AP_Transactions'.. Please see the logs for the full DBAdapter logging output prior to this exception. This exception is considered not retriable, likely due to a modelling mistake. To classify it as retriable instead add property nonRetriableErrorCodes with value "-208" to your deployment descriptor (i.e. weblogic-ra.xml). To auto retry a retriable fault set these composite.xml properties for this invoke: jca.retry.interval, jca.retry.count, and jca.retry.backoff. All properties are integers. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. </summary></part><part name="detail"><detail>[FMWGEN][SQLServer JDBC Driver][SQLServer]Invalid object name 'dbo.SCS_AP_Transactions'.</detail></part><part name="code"><code>208</code></part></bindingFault></bpelFault>
    Thanks,

    I figured out the solution for my problem today....
    I have not selected the option "support global transactions " for my Non-XA SQL Server datasource...now i can get the data from SQL Server Database...

  • Problem with SQLServer 2000, JHS 9.0.5.1 and  jdev 9.0.5.1

    Hi,
    I have JHS 9.0.5.1.9, Jdeveloper 9.0.5.1 and RDBMS - SQLServer 2000, MS SQLServer 2000 jdbc driver sp2 (SelectMethod=cursor).
    When I try update recorods - errors: JBO-26080: Error while selecting entity for ... .
    Cause - FOR UPDATE cannot be specified on Read Only cursor.
    Setting LockTrailer to blank or "and 1=1" didn't help.
    jbo.323.compatible and jbo.903.compatible - didn't help.
    Should JHS (bc4j) work with MS SQLServer ?

    Yes, that is possible. See the JDeveloper online help. Do a full-text search for "non-Oracle datasources" and you will find a topic about Business Components for non-Oracle or foreign datasources.
    This is regardless of using JHeadstart or not, it is ADF Business Components (BC4J) functionality. You should be able to try it out using the BC4J tester (right-click your application module and choose Test).
    If you have further questions about this topic, the best discussion forum is probably http://otn.oracle.com/discussionforums/jdev.html .
    Hope this helps,
    Sandra Muller
    JHeadstart Team

  • OracleConnectionPoolDataSource and JNDI

    I am attempting to use the OracleConnectionPoolDataSource via JNDI.
    I have defined two <data-source> items in the data-sources.xml file; one is for a non-pooled javax.sql.DataSource object, the other is for a pooled oracle.jdbc.pool.OracleConnectionPoolDataSource.
    data-sources.xml:
    <!-- Standard JDBC+JNDI -->
    <data-source
    class="javax.sql.DataSource"
    name="jdbc/myDS"
    location="jdbc/myDS"
    url="jdbc:oracle:thin:@nn.nnn.nnn.nnn:1521:MYSID"
    username="xxx"
    password="yyy"
    />
    <!-- Oracle Pool -->
    <data-source
    class="oracle.jdbc.pool.OracleConnectionPoolDataSource"
    name="jdbc/pool/myDS"
    location="jdbc/pool/myDS"
    url=" jdbc:oracle:thin:@nn.nnn.nnn.nnn:1521:MYSID "
    username="xxx"
    password="yyy"
    />
    I can get a non-pooled DataSource, however, when I attempt to obtain a pooled DataSource, OC4J (via JDeveloper 10g) throws an exception:
    Error instantiating web-app JNDI-context: Unknown resource type: oracle.jdbc.pool.OracleConnectionPoolDataSource
    Why can't OC4J recognize this object?

    ok man you shell set teh class12.jar in you server class path , try it

  • Missing Datamarts in the Infosource Screen

    Hi,
    I needed to experiment loading from an infocube to another infocube for some re-modeling to be done at the clients side. The problem I am facing is none of the datamart datasources are showing up on the infosources tab. They appear under the BWSystem in the source system tab but cant see them under infosources tab.
    I have tried all solutions that I am aware of like Settings -->Display Generated Objects / Select Display Options etc. I find entries in the ROOSOURCE table on the BW side too but cant see it on screen.
    Anybody faced a similar problem? I don't know if it has anything to do with transferring application component hierarchy from R/3. That was not done when the initial implementation was done and I have done that too and replicated on the BW side. I am still missing the whole Data Marts Application Component in the infosource tab.
    Any ideas anybody? Am I missing something major here??!!Thanks in advance.

    hi,
    in 'old day' we solved this problem with oss note 142947-Data Marts application component missing
    Symptom
    After the meta data upload export InfoSources are not displayed in the InfoSource tree.
    Additional key words
    Application component
    Cause and prerequisites
    The entry for the component 'Data Marts' is missing in the BW management for the InfoSource hierarchy.
    Solution
    Maintain the following table entries in table RSAPPL of the target BW using Transaction SE16:
    1. APPLNM      DM   APPLNM P   APPLNM C    DM-IO   APPLNM N    NODESNOTCONNECTED   RELEASE     40B   TXTSH       Data Marts   TXTMD       Data Marts   TXTLG       Data Marts
    2. APPLNM      DM-IO   APPLNM P    DM   APPLNM C   APPLNM N   RELEASE     40B   TXTSH       Master data DM   TXTMD       Master data Data Marts   TXTLG       Master data Data Marts
    In addition, change the entry APPLNM = SAP R/3 as follows:
    APPLNM      SAP-R/3APPLNM PAPPLNM C    SAP-R/3-IOAPPLNM N    DMRELEASE     30DTXTSH       application componentsTXTMD       application componentsTXTLG       application components

  • Rollback not working with CMT or BMT ?

    Is the container (OC4J) not rolling back transactions ? Are you using CMT or BMT ?
    I had this problem with a stateless session bean using CMT and / or BMT. The problem was related to my datasource configuration. With OC4J you can have two types of datasources, emulated and non-emulated. Emulated datasources do not support JTA. Your EJBs must use a non-emulated 'transactional' datasource, e.g.
    <data-source
    class="com.evermind.sql.OrionCMTDataSource"
    name="EDM DataSource"
    location="jdbc/TestDS"
    connection-driver="oracle.jdbc.driver.OracleDriver"
    username="scott"
    password="tiger"
    url="jdbc:oracle:oci8:@myDB"
    />
    Hope this tip saves other developers some time and headaches...

    Helen -- Can you send me the particualars on the problem you noted? Emulated data sources should work. I would like to understand this in more detail and if this is a bug make sure it gets logged. Can you give me your version, a description of the problem, and a test case if you have it.
    Thanks -- Jeff Schafer ([email protected])
    See TAR 2381015.996 - it has all the details and a test case which was reproduced by Oracle Support

  • WLST - Creating Multiple JNDI Names

    Running into an issue while creating multiple JNDI Names using WLST.
    The script does create the JNDI Names in the following format:
    value1, value2
    What I want is:
    value1
    value2
    How do i add a return or next line to the script.
    Script Segment:
    for ds in dataSourceList:
    poolName = props.getProperty('DataSource.' + ds +'.PoolName')
    if poolName != None:
    if props.getProperty('MultiPool.' + poolName + '.poolList') == None:
    targetList = props.getProperty('DataSource.' + ds + '.targets').split(',')
    dsJNDIName = props.getProperty('DataSource.' + ds +'.JNDIName')
    createSinglePoolDS(poolName, ds, dsJNDIName, targetList)
    else:
    createMultiPoolDS(ds)
    else:
    print 'DataSource ' + ds + ' is not configured correctly'
    Property:
    DataSources=DataSoruce
    DataSource.jdbc/catalog.targets=Target
    DataSource.jdbc/catalog.JNDIName=Value1,Value2
    DataSource.jdbc/catalog.PoolName=Poolname
    DataSource.jdbc/catalog.TX=TX
    Any help is appreciated.

    Senthil,
    I changed my weblogic-ejb-jar.xml to have two entries point to one bean:
    <weblogic-ejb-jar>
    <weblogic-enterprise-bean>
    <ejb-name>ejb.MyBean</ejb-name>
    <caching-descriptor>
    <max-beans-in-free-pool>1000</max-beans-in-free-pool>
    </caching-descriptor>
    <jndi-name>MyBeanHome1</jndi-name>
    </weblogic-enterprise-bean>
    <weblogic-enterprise-bean>
    <ejb-name>ejb.MyBean</ejb-name>
    <caching-descriptor>
    <max-beans-in-free-pool>1000</max-beans-in-free-pool>
    </caching-descriptor>
    <jndi-name>MyBeanHome2</jndi-name>
    </weblogic-enterprise-bean>
    </weblogic-ejb-jar>
    When I call ctx.lookup(), it can find "MyBeanHome2", but not "MyBeanHome1".
    Am I doing anything wrong?
    Senthil Kumar S wrote:
    I think u can do that using EJb references in weblogic.jar.xml file.
    U define multiple refs and link it to a single JNDI name
    Catherine Wen wrote:
    Does anyone know is it possible to have multiple JNDI names mapping to
    one instance of object in JNDI tree? For example, when I do JNDI lookup
    for the following JNDI names
    ejb.mybeanHome1
    ejb.mybeanHome2
    ejb.mybeanHome
    they will all return me an instance of MybeanHome.
    Thanks!

  • Design Advice Request - Using JDBC in a utility class

    I have a utility class that I would like to use from any client code, regardless of whether that code is executing in a transaction or not.
              This seems to greatly complicate the JDBC access from within the utility class. I appreciate any advice.
              The utility class may both read from and write to the database. It currently attempts to detect whether it is in a transaction (it tests whether TransactionHelper.getTransactionHelper().getTransaction() is null to do this -- please point out if there is a better way.)
              If in a transaction, the utility uses a data source which is linked to an XA connection pool, since it must assume other database activity may be occurring on the tx. If not in a transaction, however, it uses a data source linked to a non-XA connection pool, since the XA connection pool will not work outside of a transaction.
              It seems like there should be an easier way -- are we overlooking some simpler solution?
              The database is Oracle 9i and we are using the Oracle thin drivers.
              Thanks in advance,
              Ken Clark

    Ken Clark wrote:
              > I am not sure what you mean by this:
              >
              > "do all your JDBC work in the
              > scope of a top-level method (or methods)
              > with *all* jdbc variables method-level
              > variables,"
              I saw the code you sent me, and that is what it does, so no worries here.
              >
              > I originally built this with a non-XA DataSource, but found that when the utility was called from within a transaction, I would get errors that there was already a connection in use and that I therefore needed to use an XA connection.
              >
              > Switching to XA DataSource fixed that problem, but then in other cases when not in a transaction, I would get errors saying that an XA Connection could not be used outside a transaction.
              >
              > Since my utility has no control over the callers state, I came up with the solution stated previously, where I determine if in a Tx and then use the corresponding DataSource.
              >
              > Is there just a matter of configuration such that I can use a non-XA DS in all cases?
              I am saying a non transactional DataSource, not a non XA data source. Ie, a datasource that
              is unaware of whether there is a UserTransaction underway. A transactional data source can
              be either XA or not. In the former case, multiple XA connections can and will be entrained
              in any ongoing transactino, and non-XA (but transactional) datasources can and will be
              used in a tx, but only one per tx because they have no 2-phase commit capability.
              Ie; In the config file, you will see TxDataSource for a transactional datasource
              to a pool (whether XA or not), and you will see DataSource for a non-transactional
              data source.
              Joe

  • Error in using XA and Non-XA datasource at same time

    I think this case may be a little complicated:
    there are two actual databases, for example, A is for service/biz, and B is for data archiving. system run the archiving service once a day, we decided to use JTA to ensure that no records would be lost while any exceptions encountered on each side. we create two XADatasouces for A and B. And there is an existed Non-XADatasource in weblogic that be used by general business. it's Database A actually. make a summary:
    Two actually databases :
    A , B
    Three DataSources in Weblogic :
    Non-XA-DS , XA-DS1 - > refer to Database A, the business DB
    XA-DS2 - > refer to Database B, the archiving DB
    And the archiving code like this:
    try{
    UserTransaction.begin;
    fetch Data from XA-DS1;
    record logs to Non-XA-DS;
    save Data to XA-DS2;
    UserTransaction.end;
    }catch(){
    UserTransaction.rollback;
    }finally{
    release resources;
    look at the bold lines. it work well if remove the "*record logs to Non-XA-DS*". but if enable the logs features it will throw out an exception with message " cannot call commit of connection in a distributed transaction". It's weird, that Non-XA-DS is not a XADatasource and I also disabled the Global Transaction Support of the datasource. As i think . that UserTransaction would not manage a DS indicated not support JTA. is that correct? And how can I resolve this problems
    Edited by: 985707 on Feb 2, 2013 6:31 AM

    Actually it may work with pdnsd if you run it on 127.0.0.3:
    /etc/resolv.conf
    nameserver 127.0.0.3
    nameserver 127.0.0.1
    nameserver 127.0.0.2
    /etc/pdnsd.conf
    global {
    server_ip = 127.0.0.3;
    /etc/conf.d/dnscrypt-proxy
    DNSCRYPT_LOCALIP=127.0.0.1
    /usr/lib/systemd/system/dnscrypt-proxy.service
    [Unit]
    Before=pdnsd.service

  • Concept: How can I handle a hole in a non-sap datasource?

    Hello,
    I want to discuss here a problem with non-sap datasource:
    We load data from oracle db with db-connect technique. Each record we load has an idate(record is created) and a udate(record is changed). Based on the udate we create a kind of delta load:
    The udate is selection criteria of the Infopackage(full upload)
    In the start routine of the transferrule we detect the oldest udate and store it to the tvarc table. This UDATE is the low selection criteria for udate of the next load. So we reload only the records, which are change after the last load.
    The data are transferred to ODS (overwrite) and so on..
    That works perfect!
    But now we find out, that in this non-sap datasource it’s possible to delete records directly. In SAP we have usually the procedure that a reversal document is created to delete a record(for example FI documents). In fact this non-sap datasource creates a hole in the database. A record is deleted – > no udate change -> no change in BW. That means the record is still in BW!
    Do you had a similar problem? Or do you have an idea how we could fix this problem.
    I can not load all data every day by full upload – that needs to much time more than 2 million data from five different datasources….
    Thank you for your attention
    Ralf

    Hello,
    To close my post, here is my solution:
    - ODS A is filled by delta using the UDATE field.
    - ODS B is filled by full upload. It contents only the key fields of ODS A (load needs
      only 20 minutes)
    - ODS C is filled by ODS A(only key fields) per full upload. In the startroutine of the
      update rule is a check: Delete all data, which are in ODS B.
      Result is: ODS C contents only the data, which have to be deleted in ODS A.
    - Full upload ODS C to ODS A. Set in the start routine recordmode to 'R'.
      Result is: these records are delete from the ODS A and change log of ODS A is
      updated.
    Before the next load the content of ODS B and C is deleted.
    (cool picture:)
    ..........CUBE X
    ..............|
    .(delta)....|
    ..............|........ODS C(diff. A - B)
    ..............|........|....|
    ..............|..(R).|....|.\  (check)
    ..............|........|....|..\
    ............ODS A....ODS B(keys)
    .(delta)...|................| (full)
    ..........non sap systems
    It's followed the principle of Sudhi's idea. But I did it not with PSA, because I have five different DataSources, so I need five calls to identify the records, which have to be deleted and five calls to edit the PSA ....
    In this way I load everything in ODS and do the procedure only once time.
    All the best Ralf

  • Non Cumulative Datasource -  Initialization Indicator/flag

    Hi all,
      I've read in one of the documentation for Non cumulative keyigures (eg, stock handling) that the flag which indicates the datasource as Initialization datasource comes from OLTP.
      Which is that field?
    In a flat file datasource, this option is available  but
    how to do the same with OLTP datasource.
    I want to create a generic datasource for the purpose.
    How will I indicate that this datasource is to be used for initialization so that the infopackage will have
    "Create Opening Balance" option.
    regards
    Anoop

    Hi Klaus,
      Thanks for the reply. Infact, I've found out this myself after some research and I saw your reply when I was posting this question.
      Will there be any other settings required other than this field. What are the consequences of changing this value in the table directly?
    regs
    Anoop

  • How to set  Non Cumulative Init flag for Generic datasource

    Hi all,
       I need to create a generic datasource which can be used to initialize the Non Cumulative Cube. Eg. setting the opening balance.
       The STOCKUPD field in the ROOSOURCE should be set to X so that the infopackage will have the "Generate Initial Status" option. But there is no interface available in R/3 pluggin to do this.
    How can this be done? Or is it not allowed for generic datasources as it is only valid of 2LIS_03_BX datasource
    for stock updation.
      Will there be other issues if I change the table entry for STOCKUPD in roosource table for my datasource?
    regs
    Anoop

    Hello,
      any idea on this?
    regs
    Anoop

  • JDev 9.0.3.3 Data not saved to DB when using Non-Transaction DataSource

    Hi,
    Env: JDev 9.0.3.3/WL 6.0 sp1/Oracle 8i
    We have successfully deployed our application in 3-tier(remote mode) in JDev 9.0.3.2. using JClient, EO/VO, EJB Session Facade (BMT).
    Now we are planning to use JDev 9.0.3.3 (build 1205)
    We are using ejb.txn.type=local and Weblogic DataSource(non-txn).
    In JDev 9033, after commit the data is not getting saved to DB. No errors in the log below.
    This works fine in JDev 9032.
    This does not work with simple Master Detail and also with single row simple form.
    ==========================================
    [281] BaseSQLBuilder Executing DML ... (Update)
    [282] Executing DML...
    [283] UPDATE CISDBA.DCX_BASE_COST_V BaseCost SET ITEM_STAT=?,TID=? WHERE PART_NUM=? AND MY=?
    [284] cStmt = conn.prepareCall(" UPDATE CISDBA.DCX_BASE_COST_V BaseCost SET ITEM_STAT=?,TID=? WHERE PART_NUM=? AND MY=?"); // JBO-JDBC-INTERACT
    [285] cStmt.setObject(1, new BigDecimal((double) 2.0)); /*ItemStat*/ // JBO-JDBC-INTERACT
    [286] cStmt.setObject(2, "t2733bx"); /*Tid*/ // JBO-JDBC-INTERACT
    [287] cStmt.setObject(3, "04782612AA"); /*PartNum*/ // JBO-JDBC-INTERACT
    [288] cStmt.setObject(4, "2004"); /*My*/ // JBO-JDBC-INTERACT
    [289] cStmt.execute(); // JBO-JDBC-INTERACT
    [290] cStmt.close(); // JBO-JDBC-INTERACT
    BaseCostImpl: after doDML
    BaseCostImpl: End of doDML()...
    BaseCostInvestCost VO before postChanges...
    this.getWhereClause(): null
    isDirty() before executeQuery...
    this.getWhereClause(): null
    isDirty() after executeQuery...
    BaseCostInvestCost VO before postChanges...
    this.getWhereClause(): null
    isDirty() before executeQuery...
    this.getWhereClause(): null
    isDirty() after executeQuery...
    [291] BaseSQLBuilder: releaseSavepoint 'BO_SP' ignored
    [292] BaseSQLBuilder: setSavepoint 'BO_SP' ignored
    BaseCostInvestCost VO before postChanges...
    this.getWhereClause(): null
    isDirty() before executeQuery...
    this.getWhereClause(): null
    isDirty() after executeQuery...
    BaseCostInvestCost VO before postChanges...
    this.getWhereClause(): null
    isDirty() before executeQuery...
    this.getWhereClause(): null
    isDirty() after executeQuery...
    [293] BaseSQLBuilder: releaseSavepoint 'BO_SP' ignored
    [294] EJBTxnHandler: Commited txn
    [BaseCostInvestCostViewImpl.afterCommit] Enter
    [295] BaseCostInvestCostView2 notify COMMIT ...
    [BaseCostInvestCostViewImpl.afterCommit] Exit
    [BaseCostInvestCostViewImpl.afterCommit] Enter
    [296] BaseCostInvestCostView1 notify COMMIT ...
    [BaseCostInvestCostViewImpl.afterCommit] Exit
    [297] SubDept2SubProgView1 notify COMMIT ...
    [298] InvSubDeptLOV1 notify COMMIT ...
    [299] SubProg2SubDeptView1 notify COMMIT ...
    [300] SubProgramLOV1 notify COMMIT ...
    [301] StdCostView1 notify COMMIT ...
    [302] AltCostView1 notify COMMIT ...
    [303] PlantCodeView1 notify COMMIT ...
    [304] PaperCarView1 notify COMMIT ...
    [305] InvestCostItemView1 notify COMMIT ...
    [306] SavedSearchView1 notify COMMIT ...
    [307] AltCostView1_BaseInvestToAltViewLink_AltCostView notify COMMIT ...
    [308] InvestCostItemView1_BaseInvestToInvestItemViewLink_InvestCostItemView notify COMMIT ...
    [309] PaperCarView_BaseCostTrackedVehicleViewLink_PaperCarView notify COMMIT ...
    [310] VehicleProgramLOV1 notify COMMIT ...
    [311] SubDeptLOV1 notify COMMIT ...
    [312] Transaction timeout set to 28800 secs
    [313] [NavigationEvent: BaseCostInvestCostView1 From 0 to 1]
    [314] Column count: 14
    [315] ViewObject : Reusing defined prepared Statement
    [316] Binding param 1: 769661
    [317] Binding param 2: 2004
    [318] [RangeRefreshEvent: AltCostView1 start=-1 count=0]
    [319] Column count: 13
    [320] ViewObject : Reusing defined prepared Statement
    [321] Binding param 1: 769661
    [322] [RangeRefreshEvent: PaperCarView1 start=0 count=6]
    [323] Column count: 4
    [324] ViewObject : Reusing defined prepared Statement
    [325] Binding param 1: INV37
    [326] [RangeRefreshEvent: InvestCostItemView1 start=0 count=1]
    [327] [NavigationEvent: AltCostView1 From -1 to -1]
    [328] [NavigationEvent: PaperCarView1 From -1 to 0]
    [329] [NavigationEvent: InvestCostItemView1 From -1 to 0]
    ========================================================

    Hi Carsten,
    I tried to reproduce your problem, but couldn't. Let me explain what steps I executed and perhaps you can advise where I've not matched your steps.
    --Using build jdeveloper 9.0.3.3.1203, I built a new bc4j project containing a dept-emp default bc4j project (deptEntity, empEntity, deptView, empView, deptempFKAssoc, deptempFKViewLink, ApplicationModule).
    --In dos shell, I went to the directory \jdevdir\jdev\bin and ran setvars -go to set the correct jdk version
    --In the dos shell, in the directory \jdevdir\j2ee\home I executed the following command to install oc4j:
    java -jar oc4j.jar (defaults pswd to welcome for admin)
    --I remoted the appmodule to EJB Session Bean (BMT) and created a new deployment profile using the 9ias configuration for the application module.
    --I deployed the bc4j objects to oc4j
    --I created a new project
    --In this project I created a new jclient master-detail form using the above project's application module for the data model
    --I saved all and compiled the jclient project
    --I ran the jclient form and inserted a master record
    --I committed the transaction successfully
    --I browsed records, then edited a record
    --I committed the transaction successfully, then browsed.
    Is there something I've missed? Did you migrate your project and not start by creating a new project? Is there something special about the database schema you are using?
    Thanks,
    Amy

Maybe you are looking for