JBO-25034 Rollback bc4J/ejb

When I run the jclient application with a local connection it runs without the specified error.
The error only occurs when I run it connecting to the oc4j/ejb.
I investigated a bit and have find out when it was occuring :
I have a JTable :
private JTable tableUsrrolView = new JTable() {
//Override to avoid redundant setValueAt, as Combobox binding will
//set the value on selection rightaway.
public void editingStopped(javax.swing.event.ChangeEvent e)
// Take in the new value
TableCellEditor editor = getCellEditor();
if (editor instanceof DefaultCellEditor )
Component cellEditor = ((DefaultCellEditor)editor).getComponent();
if (cellEditor == jComboBox1)
removeEditor();
return;
else if (cellEditor == jCheckBox1)
removeEditor();
return;
super.editingStopped(e);
//Swing JTable calls this method to get the editor for a cell.
//If the editor is the installed combobox, set selected item in the
//combobox to the value shown in that cell and return the combobox.
public Component prepareEditor(TableCellEditor editor, int row, int column)
if (editor instanceof DefaultCellEditor )
Component cellEditor = ((DefaultCellEditor)editor).getComponent();
if (cellEditor == jComboBox1)
this.setRowSelectionInterval(row, row);
jComboBox1.setSelectedItem(getValueAt(row, column));
return jComboBox1;
return super.prepareEditor(editor, row, column);
//and in the jbInit I do the following :
// (if I don't execute the second line then I don't get the error JBO-27019)
tableUsrrolView.setModel(JUTableBinding.createAttributeListBinding(panelBinding, tableUsrrolView, "UsrrolView1", null, "UsrrolView1Iter", new String[] {"Appabbr", "Rolnam", "Roldsc", "Prcmrk"}));
jComboBox1.setModel(JUComboBoxBinding.createLovBinding(panelBinding, jComboBox1, "UsrrolView1", null, "UsrrolView1Iter", new String[] {"Appabbr", "Rolnam"}, "ApprolView", new String[] {"Appabbr", "Rolnam"}, new String[] {"AppabbrRolnam", "Rolnam", "Roldsc", "Rolpwd", "Dftmrk"}, null, null));
tableUsrrolView.getColumnModel().getColumn(0).setCellEditor(new DefaultCellEditor(jComboBox1));
Is there maybe a workaround to this problem?
I have tried allready the sync(Re: Problem in Failover of Physical standby database to primary but it didn't help me.

Could you elaborate on this please. I was able to insert a new row in a JTable with combobox and the combobox was appropriately populated and allowed me to pick a relevant row.
sorry my mistake, i used the workaround for bug 2394583 as explained in Re: problem: Objects become invalid so easily This code was still in the program and that was causing the problem. So I removed the code : panelBinding.findIterBinding("UsrrolView1Iter").rangeRefreshed(null); And now it works again. (the bug is also fixed:)
Good. Atleast one issue resolved.
(Shouldn't it also popup in the bc4j/ejb implementation? This should occur when you traverse out of the row in bc4j/ejb mode. Let us know the steps to reproduce this.
Just take the example JTableCombo, deploy it as an ejb.
run against the ejb.
create a record
only populate the lov
click on another row.
-> you are able to get the focus on that row(and change it).
-> there is another strange behaviour now and that is when i change the lov of the existing row, the returning values are put in the new row...)
So also in this example the client-server implementation works fine you get:(oracle.jbo.AttrValException) JBO-27014: Attribute DepartmentId in Mypackage1Module.DepartmentsView is required
And the focus gets back to the record you created. Lets take this afresh. Now you have a ComboBox in a JTable.
Bc4j/AM is deployed as ejb.
You create a new row in the table, you drop the combobox down and select some (which I do not think is relevant here) and click on another row.
->That allows you to change focus to another row without any exception - the expected exception is AttrValException for a mandatory field.
DId I miss something here?
I tried this and was unable to reproduce this. When I focused on to another row without filling in the mandatory field, I did see the AttrValException. Also the focus went back to the new row.
I've deployed my BC4J as EJB Session bean into OC4J/Embedded

Similar Messages

  • JBO-25034 at rollback

    I am deploying my business components to OC4J as EJB (BMT) in JDeveloper 9i (Production). When testing, the transaction handling works fine only if I set the attributes of my entity and view objects to 'allways updateable'. Otherwise, if I set an attribute to 'updateable while new' commit is working but rollback of an insert action is only working as long as I haven't typed in any values. As soon as I type in any values in a new recordset and want to rollback I get following error message:
    oracle.jbo.RowNotFoundException: JBO-25034: Row of handle x is not found in RowSet xxxView
    What can I do to avoid this?
    Thanks,
    Matthias

    Hope this is not too much of it. This is the log just for the insert and rollback action.
    Thanks a lot,
    Matthias
    Oracle9iAS (9.0.2.0.0) Containers for J2EE initialized
    Diagnostics: (BC4J Bootstrap) Routing diagnostics to standard output (use -Djbo.debugoutput=silent to remove)
    [00] Diagnostic Properties: Timing:false Functions:false Linecount:true Threshold:6
    [01] Propertymanager: searching for file and system based properties
    [02] {{ begin Loading BC4J properties
    [03] -----------------------------------------------------------
    [04] CommonMessageBundle (language base) being initialized
    [05] Stringmanager using default locale: 'null'
    [06] BC4J Property jbo.default.language='en' -->(MetaObjectManager) from System Default
    [07] BC4J Property jbo.default.country='EN' -->(MetaObjectManager) from Client Environment
    [08] BC4J Property DeployPlatform='Ejb' -->(SessionImpl) from Client Environment
    [09] Skipping empty Property ConnectionMode from System Default
    [10] BC4J Property HostName='localhost' -->(SessionImpl) from Client Environment
    [11] BC4J Property ConnectionPort='-1' -->(SessionImpl) from Client Environment
    [12] BC4J Property jbo.locking.mode='pessimistic' -->(MetaObjectManager) from System Default
    [13] BC4J Property ApplicationPath='wvz_bc01EJB1' -->(SessionImpl) from Client Environment
    [14] BC4J Property AppModuleJndiName='wvz.server.bc.WvzModule' -->(SessionImpl) from Client Environment
    [15] BC4J Property java.naming.security.principal='admin' -->(SessionImpl) from Client Environment
    [16] Skipping empty Property java.naming.security.credentials from System Default
    [17] BC4J Property jbo.use.pers.coll='true' -->(SessionImpl) from System Default
    [18] BC4J Property jbo.pers.max.rows.per.node='70' -->(SessionImpl) from System Default
    [19] BC4J Property jbo.pers.max.active.nodes='30' -->(SessionImpl) from System Default
    [20] Skipping empty Property jbo.pcoll.mgr from System Default
    [21] BC4J Property jbo.stringmanager.factory.class='use_default' -->(SessionImpl) from System Default
    [22] BC4J Property jbo.fetch.mode='AS.NEEDED' -->(MetaObjectManager) from System Default
    [23] BC4J Property jbo.323.compatible='false' -->(MetaObjectManager) from System Default
    [24] Skipping empty Property JBODynamicObjectsPackage from System Default
    [25] BC4J Property MetaObjectContextFactory='oracle.jbo.mom.xml.DefaultMomContextFactory' -->(MetaObjectManager) from System Default
    [26] BC4J Property MetaObjectContext='oracle.jbo.mom.xml.XMLContextImpl' -->(MetaObjectManager) from System Default
    [27] BC4J Property java.naming.factory.initial='oracle.jbo.common.JboInitialContextFactory' -->(SessionImpl) from Client Environment
    [28] BC4J Property IsLazyLoadingTrue='true' -->(MetaObjectManager) from /oracle/jbo/server/jboserver.properties resource
    [29] BC4J Property ActivateSharedDataHandle='false' -->(MetaObjectManager) from System Default
    [30] Skipping empty Property HandleName from System Default
    [31] Skipping empty Property Factory-Substitution-List from System Default
    [32] Skipping empty Property jbo.project from System Default
    [33] BC4J Property jbo.max.cursors='50' -->(MetaObjectManager) from System Default
    [34] BC4J Property jbo.dofailover='true' -->(MetaObjectManager) from System Default
    [35] BC4J Property jbo.doconnectionpooling='true' -->(MetaObjectManager) from Client Environment
    [36] BC4J Property jbo.recyclethreshold='10' -->(MetaObjectManager) from System Default
    [37] BC4J Property jbo.ampool.dynamicjdbccredentials='true' -->(MetaObjectManager) from System Default
    [38] BC4J Property jbo.ampool.resetnontransactionalstate='true' -->(MetaObjectManager) from System Default
    [39] BC4J Property jbo.ampool.sessioncookiefactoryclass='oracle.jbo.common.ampool.DefaultSessionCookieFactory' -->(MetaObjectManager) from System Default
    [40] BC4J Property jbo.ampool.connectionstrategyclass='oracle.jbo.common.ampool.DefaultConnectionStrategy' -->(MetaObjectManager) from System Default
    [41] BC4J Property jbo.ampool.maxpoolsize='10' -->(MetaObjectManager) from Client Environment
    [42] BC4J Property jbo.ampool.initpoolsize='0' -->(MetaObjectManager) from System Default
    [43] BC4J Property jbo.ampool.monitorsleepinterval='600000' -->(MetaObjectManager) from System Default
    [44] BC4J Property jbo.ampool.minavailablesize='5' -->(MetaObjectManager) from System Default
    [45] BC4J Property jbo.ampool.maxavailablesize='2' -->(MetaObjectManager) from Client Environment
    [46] BC4J Property jbo.ampool.maxinactiveage='600000' -->(MetaObjectManager) from System Default
    [47] BC4J Property jbo.passivationstore='null' -->(MetaObjectManager) from System Default
    [48] BC4J Property RELEASE_MODE='Stateful' -->(MetaObjectManager) from System Default
    [49] BC4J Property jbo.maxpoolcookieage='-1' -->(MetaObjectManager) from System Default
    [50] BC4J Property PoolClassName='oracle.jbo.common.ampool.ApplicationPoolImpl' -->(MetaObjectManager) from System Default
    [51] BC4J Property jbo.maxpoolsize='10' -->(MetaObjectManager) from Client Environment
    [52] BC4J Property jbo.initpoolsize='0' -->(MetaObjectManager) from System Default
    [53] BC4J Property jbo.poolrequesttimeout='30000' -->(MetaObjectManager) from System Default
    [54] BC4J Property jbo.poolmonitorsleepinterval='600000' -->(MetaObjectManager) from System Default
    [55] BC4J Property jbo.poolminavailablesize='0' -->(MetaObjectManager) from Client Environment
    [56] BC4J Property jbo.poolmaxavailablesize='5' -->(MetaObjectManager) from Client Environment
    [57] BC4J Property jbo.poolmaxinactiveage='60000' -->(MetaObjectManager) from Client Environment
    [58] BC4J Property jbo.assoc.consistent='true' -->(MetaObjectManager) from System Default
    [59] BC4J Property jbo.viewlink.consistent='false' -->(MetaObjectManager) from System Default
    [60] BC4J Property jbo.passivation.TrackInsert='true' -->(MetaObjectManager) from System Default
    [61] Skipping empty Property jbo.ViewCriteriaAdapter from System Default
    [62] BC4J Property jbo.SQLBuilder='Oracle' -->(MetaObjectManager) from /oracle/jbo/server/jboserver.properties resource
    [63] BC4J Property jbo.ConnectionPoolManager='oracle.jbo.server.ConnectionPoolManagerImpl' -->(MetaObjectManager) from System Default
    [64] BC4J Property jbo.TypeMapEntries='Oracle' -->(MetaObjectManager) from /oracle/jbo/server/jboserver.properties resource
    [65] BC4J Property jbo.sql92.JdbcDriverClass='sun.jdbc.odbc.JdbcOdbcDriver' -->(MetaObjectManager) from System Default
    [66] BC4J Property jbo.jdbc.trace='false' -->(MetaObjectManager) from System Default
    [67] BC4J Property oracle.jbo.defineColumnLength='as_chars' -->(MetaObjectManager) from System Default
    [68] Skipping empty Property jbo.tmpdir from System Default
    [69] BC4J Property jbo.server.internal_connection='jdbc:oracle:thin:wvz/wvz@nb10:1521:sunrise' -->(MetaObjectManager) from Client Environment
    [70] Skipping empty Property SessionClass from System Default
    [71] Skipping empty Property TransactionFactory from System Default
    [72] BC4J Property jbo.debugoutput='console' -->(Diagnostic) from System Property
    [73] BC4J Property jbo.debug.prefix='DBG: ' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
    [74] BC4J Property jbo.logging.show.timing='false' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
    [75] BC4J Property jbo.logging.show.function='false' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
    [76] BC4J Property jbo.logging.show.level='false' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
    [77] BC4J Property jbo.logging.show.linecount='true' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
    [78] BC4J Property jbo.logging.trace.threshold='6' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
    [79] BC4J Property jbo.jdbc.driver.verbose='false' -->(Diagnostic) from System Default
    [80] BC4J Property jbo.ejb.txntimeout='1830' -->(SessionImpl) from System Default
    [81] BC4J Property jbo.ejb.txntype='global' -->(MetaObjectManager) from System Default
    [82] BC4J Property jbo.ejb.txn.disconnect_on_completion='false' -->(SessionImpl) from System Default
    [83] Skipping empty Property oracle.jbo.schema from System Default
    [84] BC4J Property jbo.xml.validation='false' -->(MetaObjectManager) from System Default
    [85] Skipping empty Property ord.HttpMaxMemory from System Default
    [86] Skipping empty Property ord.HttpTempDir from System Default
    [87] BC4J Property ord.wmp.classid='clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95' -->(MetaObjectManager) from System Default
    [88] BC4J Property ord.qp.classid='clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B' -->(MetaObjectManager) from System Default
    [89] BC4J Property ord.rp.classid='clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA' -->(MetaObjectManager) from System Default
    [90] BC4J Property ord.wmp.codebase='http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701' -->(MetaObjectManager) from System Default
    [91] BC4J Property ord.qp.codebase='http://www.apple.com/qtactivex/qtplugin.cab' -->(MetaObjectManager) from System Default
    [92] Skipping empty Property ord.rp.codebase from System Default
    [93] BC4J Property ord.wmp.plugins.page='http://www.microsoft.com/isapi/redir.dll?prd=windows&sbp=mediaplayer&ar=Media&sba=Plugin&' -->(MetaObjectManager) from System Default
    [94] BC4J Property ord.qp.plugins.page='http://www.apple.com/quicktime/download/' -->(MetaObjectManager) from System Default
    [95] BC4J Property ord.rp.plugins.page='http://www.real.com/player/' -->(MetaObjectManager) from System Default
    [96] Copying unknown Client property (jbo.server.ejb.beantype='BeanManaged') to session
    [97] Copying unknown Client property (DtMiddleTierDeploymentProfile='wvz_bc01MiddleTier1.deploy') to session
    [98] Copying unknown Client property (DtDeploymentProfile='wvz_bc01EJB1.deploy') to session
    [99] Copying unknown Client property (jbo.server.ejb.vendor='1') to session
    [100] Copying unknown Client property (DtCommonDeploymentProfile='wvz_bc01Common1.deploy') to session
    [101] WARNING: Unused property: LC='Calling Function' found in /oracle/jbo/common/Diagnostic.properties resource
    [102] }} finished loading BC4J properties
    [103] -----------------------------------------------------------
    Diagnostics: (Properties (re)loaded) Routing diagnostics to standard output (use -Djbo.debugoutput=silent to remove)
    [104] Diagnostic Properties: Timing:false Functions:false Linecount:true Threshold:6
    [105] JavaVMVersion: 1.3.1_03-b03
    [106] JavaVMVendor: Sun Microsystems Inc.
    [107] JavaVMName: Java HotSpot(TM) Client VM
    [108] OperatingSystemName: Windows 2000
    [109] OperatingSystemVersion: 5.0
    [110] OperatingSystemUsername: schu
    [111] Jbo323Compatible Flag: false, str: false
    [112] Registered Oracle JDBC driver with BC4J Server
    [113] Exception java.lang.NoClassDefFoundError: oracle/jdeveloper/profiler/ProfilerAPI while loading Ojvm instrumentation: disabled
    [114] BC4J: Instrumentation disabled
    [115] Loading from /wvz/server/bc/bc.xml file
    [116] Loading from indvidual XML files
    [117] Loading the Containees for the Package 'wvz.server.bc.bc'.
    [118] Loading from /wvz/server/bc/WvzModule.xml file
    [119] Loading from /wvz/server/bc/StStatusView.xml file
    [120] ViewObjectImpl's default fetch mode = 0
    [121] Loading from /wvz/server/bc/StStatus.xml file
    [122] Loading Typemap entries from oracle.jbo.common.OracleTypeMapEntries
    [123] CSMessageBundle (language base) being initialized
    [124] OracleSQLBuilder reached getInterface
    [125] Oracle SQL Builder Version 3.2.0.0.0
    [126] Loading from /wvz/server/bc/StFinanzView.xml file
    [127] Loading from /wvz/server/bc/StFinanz.xml file
    [128] Loading from /wvz/server/bc/StTnuWvzView.xml file
    [129] Loading from /wvz/server/bc/StTnuWvz.xml file
    [130] Loading from /wvz/server/bc/StGemarkView.xml file
    [131] Loading from /wvz/server/bc/StGemark.xml file
    [132] Loading from /wvz/server/bc/StGemView.xml file
    [133] Loading from /wvz/server/bc/StGem.xml file
    [134] Loading from /wvz/server/bc/WzFlstView.xml file
    [135] Loading from /wvz/server/bc/WzFlst.xml file
    [136] Loading from /wvz/server/bc/WvzLogin.xml file
    [137] Loading from /wvz/server/bc/WzBestandView.xml file
    [138] Loading from /wvz/server/bc/WzBestand.xml file
    [139] Loading from /wvz/server/bc/WzVorView.xml file
    [140] Loading from /wvz/server/bc/WzVor.xml file
    [141] Loading from /wvz/server/bc/WzLageView.xml file
    [142] Loading from /wvz/server/bc/WzLage.xml file
    [143] Loading from /wvz/server/bc/WzTnuView.xml file
    [144] Loading from /wvz/server/bc/WzTnu.xml file
    [145] Loading from /wvz/server/bc/WzPersonView.xml file
    [146] Loading from /wvz/server/bc/WzPerson.xml file
    [147] Loading from /wvz/server/bc/WzNamenView.xml file
    [148] Loading from /wvz/server/bc/WzNamen.xml file
    [149] Loading from /wvz/server/bc/StAdrView.xml file
    [150] Loading from /wvz/server/bc/StAdr.xml file
    [151] Loading from /wvz/server/bc/WzFlstSearchView.xml file
    [152] Loading from /wvz/server/bc/StLkr.xml file
    [153] Loading from /wvz/server/bc/StWeaView.xml file
    [154] Loading from /wvz/server/bc/StWea.xml file
    [155] Loading from /wvz/server/bc/SearchEigentumView.xml file
    [156] Loading from /wvz/server/bc/StLkrView.xml file
    [157] Loading from /wvz/server/bc/WzFlstAllView.xml file
    [158] Loading from /wvz/server/bc/SearchKlassView.xml file
    [159] Loading from /wvz/server/bc/StOrfb.xml file
    [160] Loading from /wvz/server/bc/StOrfl.xml file
    [161] Loading from /wvz/server/bc/StOrf.xml file
    [162] Loading from /wvz/server/bc/SearchTnuView.xml file
    [163] Loading from /wvz/server/bc/WzTnuFa.xml file
    [164] Loading from /wvz/server/bc/SearchBuchungskView.xml file
    [165] Loading from /wvz/server/bc/StBuch.xml file
    [166] Loading from /wvz/server/bc/StGbb.xml file
    [167] Loading from /wvz/server/bc/SeachFlaecheView.xml file
    [168] Loading from /wvz/server/bc/WzOrfbAlbView.xml file
    [169] Loading from /wvz/server/bc/WzOrfbAlb.xml file
    [170] Loading from /wvz/server/bc/WzOrfFaView.xml file
    [171] Loading from /wvz/server/bc/WzOrfFa.xml file
    [172] Loading from /wvz/server/bc/WzOrflAlbView.xml file
    [173] Loading from /wvz/server/bc/WzOrflAlb.xml file
    [174] Loading from /wvz/server/bc/StOrfView.xml file
    [175] Loading from /wvz/server/bc/StOrfbView.xml file
    [176] Loading from /wvz/server/bc/StOrflView.xml file
    [177] Loading from /wvz/server/bc/WzTnuFaView.xml file
    [178] Loading from /wvz/server/bc/StBuchView.xml file
    [179] Loading from /wvz/server/bc/StGbbView.xml file
    [180] Loading from /wvz/server/bc/StFaView.xml file
    [181] Loading from /wvz/server/bc/StFa.xml file
    [182] Loading from /wvz/server/bc/FkWzBestandWzFlstLink.xml file
    [183] Loading from /wvz/server/bc/FkWzBestandWzFlstAssoc.xml file
    [184] Loading from /wvz/server/bc/FkWzVorWzFlstVorLink.xml file
    [185] Loading from /wvz/server/bc/FkWzVorWzFlstVorAssoc.xml file
    [186] Loading from /wvz/server/bc/FkWzLageWzFlstLink.xml file
    [187] Loading from /wvz/server/bc/FkWzLageWzFlstAssoc.xml file
    [188] Loading from /wvz/server/bc/FkWzTnuWzFlstLink.xml file
    [189] Loading from /wvz/server/bc/FkWzTnuWzFlstAssoc.xml file
    [190] Loading from /wvz/server/bc/FkWzPersonWzBestandLink.xml file
    [191] Loading from /wvz/server/bc/FkWzPersonWzBestandAssoc.xml file
    [192] Loading from /wvz/server/bc/FkWzNamenWzPersonLink.xml file
    [193] Loading from /wvz/server/bc/FkWzNamenWzPersonAssoc.xml file
    [194] Loading from /wvz/server/bc/FkWzPersonStAdrLink2.xml file
    [195] Loading from /wvz/server/bc/FkWzPersonStAdrAssoc2.xml file
    [196] Loading from /wvz/server/bc/FkWzOrfbAlbWzFlstLink.xml file
    [197] Loading from /wvz/server/bc/FkWzOrfbAlbWzFlstAssoc.xml file
    [198] Loading from /wvz/server/bc/FkWzOrfFaWzFlstLink.xml file
    [199] Loading from /wvz/server/bc/FkWzOrfFaWzFlstAssoc.xml file
    [200] Loading from /wvz/server/bc/FkWzOrflAlbWzFlstLink.xml file
    [201] Loading from /wvz/server/bc/FkWzOrflAlbWzFlstAssoc.xml file
    [202] Loading from /wvz/server/bc/FkWzTnuFaWzFlstLink.xml file
    [203] Loading from /wvz/server/bc/FkWzTnuFaWzFlstAssoc.xml file
    [204] Using DatabaseTransactionFactory implementation oracle.jbo.server.DatabaseTransactionFactory
    [205] Created root application module: 'wvz.server.bc.WvzModule'
    [206] Locale is: 'en_EN'
    [207] ViewObjectImpl.mUsePersColl is true
    [208] ViewObjectImpl.mDefaultMaxRowsPerNode is 70
    [209] ViewObjectImpl.mDefaultMaxActiveNodes is 30
    [210] DBTransactionImpl Max Cursors is 50
    [211] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    [212] Transaction timeout set to 1830 secs
    [213] Creating a new pool resource
    [214] Trying connection/2: url='jdbc:oracle:thin:@nb10:1521:sunrise' info='{password=wvz, user=wvz}' ...
    [215] Successfully logged in
    [216] JDBCDriverVersion: 9.0.1.2.0
    [217] DatabaseProductName: Oracle
    [218] DatabaseProductVersion: Oracle9i Enterprise Edition Release 9.0.1.1.1 - Production With the Partitioning option JServer Release 9.0.1.1.1 - Production
    [219] ViewRowSetImpl's jbo.viewlink.consistent = false (0)
    [220] Loading from /wvz/server/bc/FkWzEigentumAendWzFlstLink.xml file
    [221] Loading from /wvz/server/bc/WzEigentumAendView.xml file
    [222] Loading from /wvz/server/bc/WzEigentumAend.xml file
    [223] Loading from /wvz/server/bc/FkWzEigentumAendWzFlstAssoc.xml file
    [224] Loading from /wvz/server/bc/FkWzLageFaWzFlstLink.xml file
    [225] Loading from /wvz/server/bc/WzLageFaView.xml file
    [226] Loading from /wvz/server/bc/WzLageFa.xml file
    [227] Loading from /wvz/server/bc/FkWzLageFaWzFlstAssoc.xml file
    [228] Loading from /wvz/server/bc/FkWzNubeWzFlstLink.xml file
    [229] Loading from /wvz/server/bc/WzNubeView.xml file
    [230] Loading from /wvz/server/bc/WzNube.xml file
    [231] Loading from /wvz/server/bc/FkWzNubeWzFlstAssoc.xml file
    [232] Loading from /wvz/server/bc/FkWzRueckWzFlstLink.xml file
    [233] Loading from /wvz/server/bc/WzRueckView.xml file
    [234] Loading from /wvz/server/bc/WzRueck.xml file
    [235] Loading from /wvz/server/bc/FkWzRueckWzFlstAssoc.xml file
    [236] Loading from /wvz/server/bc/FkWzTextWzFlstLink.xml file
    [237] Loading from /wvz/server/bc/WzTextView.xml file
    [238] Loading from /wvz/server/bc/WzText.xml file
    [239] Loading from /wvz/server/bc/FkWzTextWzFlstAssoc.xml file
    [240] Loading from /wvz/server/bc/FkWzVorWzFlstAktLink.xml file
    [241] Loading from /wvz/server/bc/FkWzVorWzFlstAktAssoc.xml file
    [242] Column count: 45
    [243] ViewObject : Created new QUERY statement
    [244] SELECT WzFlst.FLST, WzFlst.GEMARK, WzFlst.FINANZ, WzFlst.WEA, WzFlst.STATUS, WzFlst.BETR_VERTRAG, WzFlst.FW_ZUS, WzFlst.FLUR, WzFlst.FLURSTUCK, WzFlst.FLST_FLAE_ALB, WzFlst.ALB_DAT, WzFlst.PRZ, WzFlst.ENTST_JHR, WzFlst.FORTF_NR, WzFlst.FORTF_ART, WzFlst.L_FORT, WzFlst.LFORTF_NR, WzFlst.LFORTF_ART, WzFlst.AF, WzFlst.GELOESCHT, WzFlst.GELESEN, WzFlst.HISTORISCH, WvzLogin.FA, WvzLogin.FA_VON, WvzLogin.FA_NAME, StGemark.GEMARK AS GEMARK1, StGemark.GEMARK_NAME, StGemark.GEM, StGem.GEM AS GEM1, StGem.LKR, StGem.GEM_NAME FROM WVZ.WZ_FLST WzFlst, WVZ_LOGIN WvzLogin, WVZ.ST_GEMARK StGemark, WVZ.ST_GEM StGem WHERE WzFlst.GEMARK = StGemark.GEMARK and StGemark.GEM = StGem.GEM and StGemark.LKR = StGem.LKR and (StGemark.FA = WvzLogin.FA and StGemark.FA_VON = WvzLogin.FA_VON) ORDER BY WzFlst.FLST
    [245] [RangeRefreshEvent: WzFlstView start=0 count=1]
    [246] [NavigationEvent: WzFlstView From -1 to 0]
    [247] Loading from /wvz/server/bc/FkWzFlstStWeaAssoc.xml file
    [248] Loading from /wvz/server/bc/FkWzFlstStStatusAssoc.xml file
    [249] Loading from /wvz/server/bc/FkWzFlstStFinanzAssoc.xml file
    [250] Loading from /wvz/server/bc/FkWzFlstStGemarkAssoc.xml file
    [251] Loading from /wvz/server/bc/FkStGemarkStGemAssoc.xml file
    [252] Insert [InsertEvent: WzFlstView rowIndex=0 countB4=1 count=1]
    [253] [NavigationEvent: WzFlstView From -1 to 0]
    [254] [UpdateEvent: WzFlstView rowIndex=0 attrIndices=0]
    [255] EJBTxnHandler: Rolledback txn
    [256] Transaction timeout set to 1830 secs
    [257] WzFlstView notify ROLLBACK ...
    [258] Clearing VO cache for WzFlstView
    [259] Clear QueryCollection in cache...
    [260] WzBestand_FkWzBestandWzFlstAssoc_WzBestandView notify ROLLBACK ...
    [261] Clearing VO cache for WzBestand_FkWzBestandWzFlstAssoc_WzBestandView
    [262] Clear QueryCollection in cache...
    [263] WzEigentumAend_FkWzEigentumAendWzFlstAssoc_WzEigentumAendView notify ROLLBACK ...
    [264] Clearing VO cache for WzEigentumAend_FkWzEigentumAendWzFlstAssoc_WzEigentumAendView
    [265] Clear QueryCollection in cache...
    [266] WzLage_FkWzLageWzFlstAssoc_WzLageView notify ROLLBACK ...
    [267] Clearing VO cache for WzLage_FkWzLageWzFlstAssoc_WzLageView
    [268] Clear QueryCollection in cache...
    [269] WzLageFa_FkWzLageFaWzFlstAssoc_WzLageFaView notify ROLLBACK ...
    [270] Clearing VO cache for WzLageFa_FkWzLageFaWzFlstAssoc_WzLageFaView
    [271] Clear QueryCollection in cache...
    [272] WzNube_FkWzNubeWzFlstAssoc_WzNubeView notify ROLLBACK ...
    [273] Clearing VO cache for WzNube_FkWzNubeWzFlstAssoc_WzNubeView
    [274] Clear QueryCollection in cache...
    [275] WzOrfbAlb_FkWzOrfbAlbWzFlstAssoc_WzOrfbAlbView notify ROLLBACK ...
    [276] Clearing VO cache for WzOrfbAlb_FkWzOrfbAlbWzFlstAssoc_WzOrfbAlbView
    [277] Clear QueryCollection in cache...
    [278] WzOrfFa_FkWzOrfFaWzFlstAssoc_WzOrfFaView notify ROLLBACK ...
    [279] Clearing VO cache for WzOrfFa_FkWzOrfFaWzFlstAssoc_WzOrfFaView
    [280] Clear QueryCollection in cache...
    [281] WzOrflAlb_FkWzOrflAlbWzFlstAssoc_WzOrflAlbView notify ROLLBACK ...
    [282] Clearing VO cache for WzOrflAlb_FkWzOrflAlbWzFlstAssoc_WzOrflAlbView
    [283] Clear QueryCollection in cache...
    [284] WzRueck_FkWzRueckWzFlstAssoc_WzRueckView notify ROLLBACK ...
    [285] Clearing VO cache for WzRueck_FkWzRueckWzFlstAssoc_WzRueckView
    [286] Clear QueryCollection in cache...
    [287] WzText_FkWzTextWzFlstAssoc_WzTextView notify ROLLBACK ...
    [288] Clearing VO cache for WzText_FkWzTextWzFlstAssoc_WzTextView
    [289] Clear QueryCollection in cache...
    [290] WzTnu_FkWzTnuWzFlstAssoc_WzTnuView notify ROLLBACK ...
    [291] Clearing VO cache for WzTnu_FkWzTnuWzFlstAssoc_WzTnuView
    [292] Clear QueryCollection in cache...
    [293] WzTnuFa_FkWzTnuFaWzFlstAssoc_WzTnuFaView notify ROLLBACK ...
    [294] Clearing VO cache for WzTnuFa_FkWzTnuFaWzFlstAssoc_WzTnuFaView
    [295] Clear QueryCollection in cache...
    [296] WzVor_FkWzVorWzFlstAktAssoc_WzVorView notify ROLLBACK ...
    [297] Clearing VO cache for WzVor_FkWzVorWzFlstAktAssoc_WzVorView
    [298] Clear QueryCollection in cache...
    [299] WzVor1_FkWzVorWzFlstVorAssoc_WzVorView notify ROLLBACK ...
    [300] Clearing VO cache for WzVor1_FkWzVorWzFlstVorAssoc_WzVorView
    [301] Clear QueryCollection in cache...
    [302] Clearing EO cache for wvz.server.bc.StGemark
    [303] Clearing VO cache for StGemarkView
    [304] Clear QueryCollection in cache...
    [305] Clearing VO cache for WzFlstView
    [306] Clear QueryCollection in cache...
    [307] Clearing VO cache for WzFlstSearchView
    [308] Clear QueryCollection in cache...
    [309] Clearing EO cache for wvz.server.bc.WzBestand
    [310] Clearing VO cache for WzBestandView3
    [311] Clear QueryCollection in cache...
    [312] Clearing VO cache for SearchBuchungskView
    [313] Clear QueryCollection in cache...
    [314] Clearing VO cache for WzBestand_FkWzBestandWzFlstAssoc_WzBestandView
    [315] Clear QueryCollection in cache...
    [316] Clearing EO cache for wvz.server.bc.WzVor
    [317] Clearing VO cache for WzVorView
    [318] Clear QueryCollection in cache...
    [319] Clearing VO cache for WzVor_FkWzVorWzFlstAktAssoc_WzVorView
    [320] Clear QueryCollection in cache...
    [321] Clearing VO cache for WzVor1_FkWzVorWzFlstVorAssoc_WzVorView
    [322] Clear QueryCollection in cache...
    [323] Clearing EO cache for wvz.server.bc.WzOrfbAlb
    [324] Clearing VO cache for WzOrfbAlbView
    [325] Clear QueryCollection in cache...
    [326] Clearing VO cache for WzOrfbAlb_FkWzOrfbAlbWzFlstAssoc_WzOrfbAlbView
    [327] Clear QueryCollection in cache...
    [328] Clearing EO cache for wvz.server.bc.WzOrfFa
    [329] Clearing VO cache for WzOrfFaView
    [330] Clear QueryCollection in cache...
    [331] Clearing VO cache for WzOrfFa_FkWzOrfFaWzFlstAssoc_WzOrfFaView
    [332] Clear QueryCollection in cache...
    [333] Clearing EO cache for wvz.server.bc.WzLageFa
    [334] Clearing VO cache for WzLageFa_FkWzLageFaWzFlstAssoc_WzLageFaView
    [335] Clear QueryCollection in cache...
    [336] Clearing EO cache for wvz.server.bc.WzTnu
    [337] Clearing VO cache for WzTnuView
    [338] Clear QueryCollection in cache...
    [339] Clearing VO cache for SearchTnuView
    [340] Clear QueryCollection in cache...
    [341] Clearing VO cache for WzTnu_FkWzTnuWzFlstAssoc_WzTnuView
    [342] Clear QueryCollection in cache...
    [343] Clearing EO cache for wvz.server.bc.WzText
    [344] Clearing VO cache for WzText_FkWzTextWzFlstAssoc_WzTextView
    [345] Clear QueryCollection in cache...
    [346] Clearing EO cache for wvz.server.bc.WzTnuFa
    [347] Clearing VO cache for SearchTnuView
    [348] Clear QueryCollection in cache...
    [349] Clearing VO cache for WzTnuFaView
    [350] Clear QueryCollection in cache...
    [351] Clearing VO cache for WzTnuFa_FkWzTnuFaWzFlstAssoc_WzTnuFaView
    [352] Clear QueryCollection in cache...
    [353] Clearing EO cache for wvz.server.bc.WzLage
    [354] Clearing VO cache for WzLageView
    [355] Clear QueryCollection in cache...
    [356] Clearing VO cache for WzLage_FkWzLageWzFlstAssoc_WzLageView
    [357] Clear QueryCollection in cache...
    [358] Clearing EO cache for wvz.server.bc.WzEigentumAend
    [359] Clearing VO cache for WzEigentumAend_FkWzEigentumAendWzFlstAssoc_WzEigentumAendView
    [360] Clear QueryCollection in cache...
    [361] Clearing EO cache for wvz.server.bc.WzRueck
    [362] Clearing VO cache for WzRueck_FkWzRueckWzFlstAssoc_WzRueckView
    [363] Clear QueryCollection in cache...
    [364] Clearing EO cache for wvz.server.bc.WzOrflAlb
    [365] Clearing VO cache for WzOrflAlbView
    [366] Clear QueryCollection in cache...
    [367] Clearing VO cache for WzOrflAlb_FkWzOrflAlbWzFlstAssoc_WzOrflAlbView
    [368] Clear QueryCollection in cache...
    [369] Clearing EO cache for wvz.server.bc.StGem
    [370] Clearing VO cache for StGemView
    [371] Clear QueryCollection in cache...
    [372] Clearing VO cache for WzFlstView
    [373] Clear QueryCollection in cache...
    [374] Clearing VO cache for WzFlstSearchView
    [375] Clear QueryCollection in cache...
    [376] Clearing EO cache for wvz.server.bc.WzFlst
    [377] Clearing VO cache for WzFlstView
    [378] Clear QueryCollection in cache...
    [379] Clearing VO cache for WzFlstSearchView
    [380] Clear QueryCollection in cache...
    [381] Clearing VO cache for WzFlstAllView
    [382] Clear QueryCollection in cache...
    [383] Clearing VO cache for SeachFlaecheView
    [384] Clear QueryCollection in cache...
    [385] Clearing EO cache for wvz.server.bc.WzNube
    [386] Clearing VO cache for WzNube_FkWzNubeWzFlstAssoc_WzNubeView
    [387] Clear QueryCollection in cache...
    [388] Clearing EO cache for wvz.server.bc.WvzLogin
    [389] Clearing VO cache for WzFlstView
    [390] Clear QueryCollection in cache...

  • Oracle.jbo.RowNotFoundException: JBO-25034: Row with handle not found

    Hello,
    I am developing a fusion web application on Jdeveloper 11.1.2.1.0.
    I have a ADF table which is bound to a table in the backing bean. There is a "Process" button for each row that works completely fine. There is button called "Process All" beneath the table especially designed  to do some processing with all the rows.. When I click the button, following happens with every row
    1) A call is made to a webservice
    2) Results from the webservice needs to be updated on that row in the database.
    There is a process button for each row that works completely fine.
    I am successful with the above two points for the first row. But when the control gets to the second row, results from webservice are retrieved but updating the results in the database is where I am seeing the problem.
    I am doing the update via ApplicationmoduleImpl.java method:
      public void markEFTTransaction(int eft_id)
        System.out.println("In Application module markEFTTransaction");
        System.out.println("EFT ID to mark is" + eft_id);
        DBTransaction trans = getDBTransaction();
        try
          CallableStatement cs = trans.createCallableStatement("begin ? := ai.ba_p003_eft.mark_eft_transaction(?); end;", 0);
          cs.registerOutParameter(1,Types.VARCHAR);
          cs.setInt(2, eft_id);
          cs.executeUpdate();
          String result = cs.getString(1);
          System.out.println(result);
          if (result.equalsIgnoreCase("N"))
            System.out.println("committed to database");
            getTransaction().commit();
          else
            System.out.println("\n Transaction rolled back. \n");
            getTransaction().rollback();
          cs.close();
        } catch (Exception e)
        System.out.println("Exception is " + e);
    view scope bean method:
      public String ProcessAll()
        RowKeySet rks = new RowKeySetImpl();
        CollectionModel model = (CollectionModel)nonProcessedTable.getValue();
        int rowcount = model.getRowCount();
        for (int i = 0; i < rowcount; i++) {
          model.setRowIndex(i);
          Object key = model.getRowKey();
          rks.add(key);
        nonProcessedTable.setSelectedRowKeys(rks);
        // Add event code here...
        List<String> updateList = new ArrayList<String>();
        RowKeySet selectedTransaction = nonProcessedTable.getSelectedRowKeys();
        Iterator selectedTransactionIter = selectedTransaction.iterator();
        System.out.println("we have " + nonProcessedTable.getSelectedRowKeys().size() + " rows selected");
        DCBindingContainer bindings =
                          (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
        DCIteratorBinding transactionIter = bindings.findIteratorBinding("eftTransactionsforBillingAccountViewObj1Iterator");
        RowSetIterator transactionRSIter = transactionIter.getRowSetIterator();
        //Select Rows and perform transaction
        while(selectedTransactionIter.hasNext())
          Key key = (Key)((List)selectedTransactionIter.next()).get(0);
          System.out.println("Key is" +key);
          Row currentRow = transactionRSIter.getRow(key);
          System.out.println("EFTT ID IS"+currentRow.getAttribute("efttId"));
          Utilities.getApplicationModule().markEFTTransaction(Integer.parseInt(currentRow.getAttribute("efttId").toString()));
      return null;
    Output:
    we have 26 rows selected
    Key isoracle.jbo.Key[101 741 ]
    Source breakpoint: unProcessedBean.java:443
    EFTT ID IS741
    <BindingContext> <findDataControl> [697] INFO: no refreshRegion, skipping cpx codebase lookup on AppModuleDataControl
    In Application module markEFTTransaction
    EFT ID to mark is741
    N
    committed to database
    <ADFLogger> <begin> Commit transaction
    <ViewObjectImpl> <afterCommit> [698] eftTransactionsforBillingAccountViewObj1 notify COMMIT ...
    <DBTransactionImpl> <clearEntityCacheInternal> [699] Clearing EO cache for com.alliednational.ai.authorize.net.model.entities.bla
    <ViewObjectImpl> <doClearCache> [700] Clearing VO cache for eftTransactionsforBillingAccountViewObj1
    <ViewObjectImpl> <clearQueryCollectionCache> [701] Clear QueryCollection in cache for VO eftTransactionsforBillingAccountViewObj1
    <ViewObjectImpl> <doClearCache> [702] Clearing VO cache for blaeftDetailViewObj1
    <ViewObjectImpl> <clearQueryCollectionCache> [703] Clear QueryCollection in cache for VO blaeftDetailViewObj1
    <DBTransactionImpl> <clearEntityCacheInternal> [704] Clearing EO cache for com.alliednational.ai.authorize.net.model.entities.eftt
    <ViewObjectImpl> <doClearCache> [705] Clearing VO cache for eftTransactionsforBillingAccountViewObj1
    <ViewObjectImpl> <clearQueryCollectionCache> [706] Clear QueryCollection in cache for VO eftTransactionsforBillingAccountViewObj1
    <ViewObjectImpl> <doClearCache> [707] Clearing VO cache for blaeftDetailViewObj1
    <ViewObjectImpl> <clearQueryCollectionCache> [708] Clear QueryCollection in cache for VO blaeftDetailViewObj1
    <ADFLogger> <addContextData> Commit transaction
    <ADFLogger> <end> Commit transaction
    Key isoracle.jbo.Key[135 863 ]
    <ActionListenerImpl> <processAction> oracle.jbo.RowNotFoundException: JBO-25034: Row with handle 13 is not found in rowset eftTransactionsforBillingAccountViewObj1.
    javax.faces.el.EvaluationException: oracle.jbo.RowNotFoundException: JBO-25034: Row with handle 13 is not found in rowset eftTransactionsforBillingAccountViewObj1.
      at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:51)
      at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
      at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
      at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:787)
      at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1252)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:965)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:346)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:204)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:312)
      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:300)
      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:173)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:122)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
      at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
      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:180)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
      at java.security.AccessController.doPrivileged(Native Method)
      at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
      at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
      at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
      at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
      at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
      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.wrapRun(WebAppServletContext.java:3715)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
      at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: oracle.jbo.RowNotFoundException: JBO-25034: Row with handle 13 is not found in rowset eftTransactionsforBillingAccountViewObj1.
      at oracle.jbo.server.ViewRowSetImpl.getRowFromHandle(ViewRowSetImpl.java:3220)
      at oracle.jbo.server.ViewRowSetImpl.getRow(ViewRowSetImpl.java:3307)
      at oracle.jbo.server.ViewRowSetImpl.getRow(ViewRowSetImpl.java:3294)
      at oracle.jbo.server.ViewObjectImpl.getRow(ViewObjectImpl.java:10772)
      at com.alliednational.ai.authorize.net.view.beans.unProcessedBean.ProcessAll(unProcessedBean.java:442)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at com.sun.el.parser.AstValue.invoke(Unknown Source)
      at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
      at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)
      ... 46 more
    Any help is appreciated!!!
    Shailaja.

    This error is often the result of an activation/passivation problem in the application. Have you tested your app with application module pooling turned off?
    If not I suggest that you do this and make sure all errors coming up in this mode to be fixed first. After the app runs OK with application module pooling turned off check if the error still occurs.
    Timo

  • JBO-26000 on BC4J examples

    Hi,
    I've tried to start the BC4J order entry example(only the order online module).
    I'm working with JDeveloper 3.2.2 and Oracle DB 8.1.7. on NT.
    The deploying goes fine and locally it is possible to test.
    But when try to test the example under Middle Tier Server Type EJB I get the following exception:
    JBO-26000: A Generic exception occurred during loading Customizations.
    Message Window contains:
    oracle.jbo.PersistenceException: JBO-26000: A Generic exception occurred during loading Customizations.
    java.lang.Class java.net.URLClassLoader.findClass(java.lang.String)
    java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean)
    java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean)
    java.lang.Class sun.misc.Launcher$AppClassLoader.loadClass(java.lang.String, boolean)
    java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String)
    void oracle.jbo.jbotester.ErrorHandler.jbInit()
    void oracle.jbo.jbotester.ErrorHandler.<init>(java.awt.Frame, java.lang.String, boolean)
    void oracle.jbo.jbotester.ErrorHandler.displayError(java.awt.Frame, java.lang.Throwable)
    void oracle.jbo.jbotester.MainFrame.init()
    void oracle.jbo.jbotester.MainFrame.main(java.lang.String[])
    ## Detail 0 ##
    java.lang.NullPointerException
    java.lang.Class java.net.URLClassLoader.findClass(java.lang.String)
    java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean)
    java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean)
    java.lang.Class sun.misc.Launcher$AppClassLoader.loadClass(java.lang.String, boolean)
    java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String)
    void oracle.jbo.jbotester.ErrorHandler.jbInit()
    void oracle.jbo.jbotester.ErrorHandler.<init>(java.awt.Frame, java.lang.String, boolean)
    void oracle.jbo.jbotester.ErrorHandler.displayError(java.awt.Frame, java.lang.Throwable)
    void oracle.jbo.jbotester.MainFrame.init()
    void oracle.jbo.jbotester.MainFrame.main(java.lang.String[])
    Can anyboby help me.
    Thanks
    null

    Do any messages in your Database-side Server Trace files give any other clues/stack-traces etc?
    Typically, this is caused by a permissions issue inside JServer.

  • Looking for BC4J EJB deployment example

    Hi,
    I am looking for an very simple example project for BC4J deployed as EJB, including table definition, BC4J source files, and EJB client source files. I have previously successfully deployed the BC4J to Oracle8i JVM and OC4J, but currently struck at how to write the client application. I would like to know how to call my own remote methods other than working with ViewObjects directly.
    Help needed.
    Regards,
    Patrick.

    Maybe this will help:
    In JServer, ejb inactivity timeout is controlled by property jbo.ejb.txntimeout which value is 60 (secs) by default.
    JServer properties file is deployed as oracle/jbo/server/jboserver.properties, you can get it from jbomt.zip (you should create the same directory structure and a project, say jServerProps.jpr, containing the file).
    Edit the file:
    jbo.ejb.txntimeout=28800
    jbo.ejb.txntype=local
    , then deploy it as Classes and Java Stored Procedures to Oracle 8i.
    To see effective values of jServer properties you have to set jbo.debugoutput=console in file oracle/jbo/common/Diagnostic.properties - from the same jbomt.zip.
    It's better to include the file in the above jServerProps project and deploy at once with jboserver.properties.
    null

  • Getting jbo-26080 from BC4J Tester

    I just created a master-detail relationship in Jdev 3.2 BC4J. I want to test the relationship in the Tester. I am able to insert one detail record for the master. When I am trying to insert the second detail record I am getting the following error message:
    oracle.jbo.DMLException
    JBO-26080: Error while selecting entity for ReferenceTargets (where 'ReferenceTargets' is my detail entity object).
    These are the errors I am getting through the tester.
    Now I created my JSP pages. If I create everything with Datawebbeans, its working fine. But I have a combination of Datawebbeans (view form) and Datatags (Edit, Insert forms). What I am noticing is when I want to insert one detail record, its inserting 2 records in the database (same kind of behaviour I noticed in the tester also). One record is what I entered and the other with null values.
    I am not understanding what's happening. If JDEV team can look into this issue as early as possible, I will really appreciate.
    My project is at the last stage and this is very critical to us.
    Thank you in advance
    Virinchi

    In my situation... maybe not your
    This error is raise by the foreign Key with an error (in your BC4J not in the BD)
    null

  • JBO-29000 ClassCastException - BC4J

    We are trying to port ADF faces application developed on JDeveloper 10.1.3 to OAS 10.1.2, we come acroos this issues with BC4J
    500 Internal Server Error
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.ClassCastException, msg=null     at oracle.adf.model.binding.DCBindingContainerReference.createBindingContainer(DCBindingContainerReference.java:76)     at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:44)     at oracle.adf.model.BindingContext.get(BindingContext.java:491)     at oracle.adf.model.BindingContext.findBindingContainer(BindingContext.java:327)     at oracle.adf.model.BindingContext.findBindingContainerByPath(BindingContext.java:641)     at oracle.adf.model.servlet.ADFBindingFilter.isPageViewable(ADFBindingFilter.java:532)     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:301)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)     at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    java.lang.ClassCastException     at oracle.adf.share.statemanager.StateManagerScopeAdapter.<init>(StateManagerScopeAdapter.java:78)     at oracle.adf.share.http.HttpStateManagerScopeAdapter.<init>(HttpStateManagerScopeAdapter.java:51)     at oracle.adf.share.http.ServletADFContext.getStateManager(ServletADFContext.java:200)     at oracle.adf.model.bc4j.DataControlFactoryImpl.findOrCreateSessionCookie(DataControlFactoryImpl.java:172)     at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:239)     at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:76)     at oracle.adf.model.BindingContext.get(BindingContext.java:465)     at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:280)     at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:248)     at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:383)     at oracle.adf.model.binding.DCIteratorBinding.<init>(DCIteratorBinding.java:127)     at oracle.jbo.uicli.binding.JUIteratorBinding.<init>(JUIteratorBinding.java:60)     at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:87)     at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:51)     at oracle.adf.model.binding.DCIteratorBindingDef.createExecutableBinding(DCIteratorBindingDef.java:277)     at oracle.adf.model.binding.DCBindingContainerDef.createExecutables(DCBindingContainerDef.java:296)     at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java:425)     at oracle.adf.model.binding.DCBindingContainerReference.createBindingContainer(DCBindingContainerReference.java:54)     at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:44)     at oracle.adf.model.BindingContext.get(BindingContext.java:491)     at oracle.adf.model.BindingContext.findBindingContainer(BindingContext.java:327)     at oracle.adf.model.BindingContext.findBindingContainerByPath(BindingContext.java:641)     at oracle.adf.model.servlet.ADFBindingFilter.isPageViewable(ADFBindingFilter.java:532)     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:301)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)     at java.lang.Thread.run(Thread.java:534)

    For more about deployment (requirements, etc.) see: http://www.oracle.com/technology/products/jdev/collateral/papers/10g/as_supportmatrix.html
    If that doesn't help...
    consider raising the question on the JDeveloper forum, as per:
    BC4j on JDeveloper 10.1.3 and 10.1.2

  • Still Error Message: JBO-33001 though bc4j.xcfg is in classpath

    I'm running JBoss-2.4.4_Tomcat-4.0.1 with Windows 98, JDK is J2SDK in C,
    ( C:\j2sdk1.4.0_01 )
    I put a war file (Request.war) into the deploy folder
    ( C:\JBoss-2.4.4_Tomcat-4.0.1\jboss\deploy )and successfully being deployed but it shows the error when i try to access to the JSP file:
    Application Error
    Error Message: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-33001: Cannot find the configuration file /Request/common/bc4j.xcfg in the classpath
    Error Message: JBO-33001: Cannot find the configuration file /Request/common/bc4j.xcfg in the classpath
    For your info., I have checked the war file and the filebc4j.xcfg is in the correct path. And another pc (win2k, jdk1.3 and same version of Jboss and tomcat with mine) in my company is able to deploy and access to the jsp well without any problem. Anyone have the solution on this? Your help is very much appreciated.

    I'm running JBoss-2.4.4_Tomcat-4.0.1 with Windows 98, JDK is J2SDK in C,
    ( C:\j2sdk1.4.0_01 )
    I put a war file (Request.war) into the deploy folder
    ( C:\JBoss-2.4.4_Tomcat-4.0.1\jboss\deploy )and successfully being deployed but it shows the error when i try to access to the JSP file:
    Application Error
    Error Message: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-33001: Cannot find the configuration file /Request/common/bc4j.xcfg in the classpath
    Error Message: JBO-33001: Cannot find the configuration file /Request/common/bc4j.xcfg in the classpath
    For your info., I have checked the war file and the filebc4j.xcfg is in the correct path. And another pc (win2k, jdk1.3 and same version of Jboss and tomcat with mine) in my company is able to deploy and access to the jsp well without any problem. Anyone have the solution on this? Your help is very much appreciated. For the 9.0.2 release, you need to use JDK 1.3.1 with BC4J. The problem is JDK 1.4, and it's fixed in the 9.0.3 preview release that is now available.
    Hope this helps,
    Rob

  • JBO-33001 in BC4J application

    Hi,
    I use JDeveloper 9.0.3 and I deployed a BC4J UIX application to Oracle9Ias 9.0.3 J2ee Containers (Standalone) on NT 4.0
    I have this error when I try to access to the application module page....
    JBO-33001: Cannot find the configuration file PkgParticipantes\common\bc4j.xcfg in the classpath
    The bc4j.xcfg file seems to be in the right place.
    I will appreciate any help
    Thanks
    Fernando

    I have found the problem , and now its working!!!
    The problem was that the java.exe that was running on the server was not the correct.
    Thanks anyway,
    Till next
    Fernando

  • BC4J EJB deployment ; testing deployment to 8i with client application

    Hi,
    Is there a way to to connect a java client application to a 8i deployed BC4J using the oracle.dacf.dataset.SessionInfo ? Can we do this using the JDev wizards - property inspector ?
    (I've seen in the doc :"Testing a Business Components EJB Deployed to Oracle8i with a Code Client" but the given code
    // setup application module variable
    ApplicationModule appMod = null;
    javax.naming.Context ic = new InitialContext(env);
    ApplicationModuleHome home = (ApplicationModuleHome)ic.lookup(DeployedMod);
    appMod = home.create();
    does not contains any SessionInfo object.)
    Thanks,
    Xvc

    Chris,
    Perhaps you should be checking if the user you wish to deploy
    EJBs to has at least JAVAUSERPRIV.
    As SYSTEM
    grant JAVAUSERPRIV to <user>;
    Good luck
    /Mark
    Chris Jones (guest) wrote:
    : Hi,
    : I'm having a problem deploying an EJB to Oracle 8i with
    : JDeveloper 2.0.
    : I am receiving an insufficient privileges error in the
    : deployment process when it reaches the stage Generating EJBHome
    : and EJBObject on the server. I am logging in using the system,
    : sys, scott or internal account and all still receive the same
    : error. What role/privelege do I need to deploy an ejb to 8i?
    : Thanks in advance.
    : Here is a dump of the output JDeveloper produces.
    : *** Invoking the Oracle JDeveloper deployment utility ***
    : Scanning project files...done
    : Generating classpath dependencies...done
    : Generating archive entries table...done
    : Writing archive...done
    : *** Invoking the Oracle8i deployment utility ***
    : Reading Deployment Descriptor...done
    : Verifying Deployment Descriptor...done
    : Gathering users...done
    : Generating Comm Stubs...done
    : Compiling Stubs...done
    : Generating Jar File...done
    : Loading EJB Jar file and Comm Stubs Jar file...done
    : Generating EJBHome and EJBObject on the
    : server...oracle.aurora.server.tools.sess_iiop.ToolsException: A
    : SQL exception occured while compiling:
    : oracle.aurora.ejb.gen.test_MyEJB.EjbObject_MyEJB : ORA-01031:
    : insufficient privileges
    : at oracle.aurora.server.tools.sess_iiop.ToolImpl.error
    : (Compiled Code)
    : at oracle.aurora.ejb.deployment.GenerateEjb.generateBean
    : (Compiled Code)
    : at oracle.aurora.ejb.deployment.GenerateEjb.invoke
    : (Compiled Code)
    : at oracle.aurora.server.tools.sess_iiop.ToolImpl.invoke
    : (Compiled Code)
    : at
    : oracle.jdeveloper.wizard.deployment.EJBDeployMonitor.run
    : (Compiled Code)
    : at oracle.jdeveloper.wizard.common.ProgressDialog.run
    : (Compiled Code)
    : at java.lang.Thread.run(Compiled Code)
    null

  • DACF,BC4J,EJB,Java Web Start: org.omg.CORBA.INITIALIZE

    Hi,
    I'm trying to use Java Web Start with DACF-application having AMs deployed as Session EJB to O9IAS 1.0.2.0.0 NT.
    During opening first iiop-session I get the error:
    java.lang.ExceptionInInitializerError: org.omg.CORBA.INITIALIZE: can't instantiate default ORB implementation com.visigenic.vbroker.orb.ORB minor code: 0 completed: No
    at org.omg.CORBA.ORB.create_impl(Unknown Source)
    at org.omg.CORBA.ORB.<clinit>(Unknown Source)
    at oracle.aurora.jndi.orb_dep.Orb.init(Orb.java:287)
    at oracle.aurora.jndi.orb_dep.IRFinder.getObject(IRFinder.java:75)
    at oracle.aurora.jndi.orb_dep.IRFinder.getInitialReference(IRFinder.java:124)
    at oracle.aurora.jndi.sess_iiop.SessionCtx.initialContext(SessionCtx.java:637)
    at oracle.aurora.jndi.sess_iiop.SessionCtx.<init>(SessionCtx.java:67)
    at oracle.aurora.jndi.sess_iiop.ServiceCtx.createSession(ServiceCtx.java:161)
    at oracle.aurora.jndi.sess_iiop.ServiceCtx.createSession(ServiceCtx.java:177)
    at oracle.aurora.jndi.sess_iiop.ServiceCtx.createSubcontext(ServiceCtx.java:205)
    at oracle.aurora.jndi.sess_iiop.ServiceCtx.createSubcontext(ServiceCtx.java:189)
    at oracle.jbo.client.remote.ejb.aurora.AuroraEJBAmHomeImpl.createSession(AuroraEJBAmHomeImpl.java:155)
    at oracle.jbo.client.remote.ejb.aurora.AuroraEJBAmHomeImpl.initRemoteHome(AuroraEJBAmHomeImpl.java:125)
    at oracle.jbo.client.remote.ejb.aurora.AuroraEJBAmHomeImpl.<init>(AuroraEJBAmHomeImpl.java:59)
    at oracle.jbo.client.remote.ejb.aurora.AuroraEJBInitialContext.createJboHome(AuroraEJBInitialContext.java:47)
    at oracle.jbo.common.JboInitialContext.lookup(JboInitialContext.java:72)
    at javax.naming.InitialContext.lookup(InitialContext.java:276)
    at oracle.dacf.dataset.connections.Connection._createAppModule(Connection.java:256)
    at oracle.dacf.dataset.connections.Connection.connect(Connection.java:169)
    at oracle.dacf.dataset.SessionInfo.connect(SessionInfo.java:1771)
    at oracle.dacf.dataset.DbAccessImpl.connect(DbAccessImpl.java:450)
    at oracle.dacf.control.swing.LoginDlg._connectToDB(LoginDlg.java:1754)
    at oracle.dacf.control.swing.LoginDlg._okButtonClicked(LoginDlg.java:1689)
    Could anybody comment the case and/or propose a workaround ?
    (or even say that this works in someone's implementation)
    Thanks,
    Arkadi

    <<
    java.lang.ExceptionInInitializerError: org.omg.CORBA.INITIALIZE: can't instantiate default ORB implementation
    com.visigenic.vbroker.orb.ORB minor code: 0 completed: No
    <<
    com.visigenic.vbroker.orb.ORB is part of vbjorb.jar. make sure this file is listed in your archive tag. The jar file can be found in the lib directory of JDev installation
    null

  • Problem with rollback in EJB and CMT

    Hello,
    I faced a problem in my application that I really do not understand (but I really would like to). How can I trigger a rollback of a transaction that is container-managed (CMT)? I know that any system exceptions are supposed to be handled by the container automatically and will cause a transaction rollback when they are thrown from an enterprise bean method. My Problem now is that I'm unable to make this work in my application.
    Consider a situation like this:
    The ManageEntityBean holds a simple save() method that creates an instance of EntityA and another of EntityB. Both instances store an arbitrary number (here 10). After this, the entityManger (injected from the container) is asked to make these instances persistent. EntityB is mapped with a "unique" constraint, so any attempt to store the same number twice will cause an SQL Exception.
    First time when the save() method is invoked, the instances aEntity and bEntity are made permanent in the database. Second time when the save() method is invoked, the database throws an exception because bEntity is violating the unique constraint. What I would expect now is a complete rollback of the whole transaction. Instead, only bEntity has not been made permanent, but aEntity has.
    What's wrong with this code?
    @Stateless
    public class ManageEntityBean implements ManageEntity {
         @PersistenceContext
         private EntityManager entityManager;
         @TransactionAttribute(TransactionAttributeType.REQUIRED)
         public void save() {
              try {
                   EntityA aEntity = new EntityA(10);
                   EntityB bEntity = new EntityB(10);
                    entityManager.persist(aEntity);
                    entityManager.persist(bEntity);
              } catch (Exception e) {
                   throw new EJBException(e);
    @Entity
    public class EntityA implements java.io.Serializable {
         @Id
         @GeneratedValue
         private long     id;
            @Column(name="NUMBER")
            private int   number;
         public EntityA() {}
         public EntityA(int number) {
              this.number = number;
    @Entity
    public class EntityB implements java.io.Serializable {
         @Id
         @GeneratedValue
         private long     id;
         @Column(name = "NUMBER", unique = true)
         private int          number;
         public EntityB() {}
         public EntityB(int number) {
              this.number = number;
    }I found two related topics in this forum but still I didn't find the solution yet.
    [Enterprise JavaBeans - CMT and JDBC|http://forums.sun.com/thread.jspa?forumID=13&threadID=525651]
    and
    [ Forums - A CMT Session Bean Does Not Maintain the Transaction Correctly| http://forums.sun.com/thread.jspa?forumID=13&threadID=161512]
    Maybe anyone can give me a hint. Help is very much appreciated
    Christoph

    Thank you for your input!
    The save() method is simply invoked from the test applications main() method:
    public class Test {
         public static void main(String[] args) {
              JndiUtil<ManageEntity> jndiUtil = new JndiUtil<ManageEntity>();
              ManageEntity handler = jndiUtil.lookupBeanContext("ManageEntityBean", ManageEntity.class);
              handler.save();
    }Btw. I use Hibernate as persistence provider and JBoss 4.2.2.GA as application server.
    For clarity I attach some lines of the debug logging that is produced when the test application is getting started for the second time:
    ### open Session
    17:44:00,555 DEBUG *[SessionImpl] opened session at timestamp: 5007498610909184*
    17:44:00,555 DEBUG [AbstractEntityManagerImpl] Looking for a JTA transaction to join
    17:44:00,555 DEBUG [JDBCContext] successfully registered Synchronization
    17:44:00,555 DEBUG [AbstractEntityManagerImpl] Looking for a JTA transaction to join
    17:44:00,555 DEBUG [AbstractEntityManagerImpl] Transaction already joined
    ### invoke em.persist(aEntity)
    17:44:00,555 DEBUG [AbstractSaveEventListener] executing identity-insert immediately
    17:44:00,555 DEBUG [AbstractBatcher] about to open PreparedStatement (open PreparedStatements: 0, globally: 0)
    17:44:00,555 DEBUG *[ConnectionManager] opening JDBC connection*
    17:44:00,555 DEBUG [SQL]
    /* insert de.zippus.domain.EntityA
    17:44:00,556 INFO [STDOUT] Hibernate:
    /* insert de.zippus.domain.EntityA
    17:44:00,558 DEBUG [IdentifierGeneratorFactory] Natively generated identity: 2
    17:44:00,559 DEBUG [AbstractBatcher] about to close PreparedStatement (open PreparedStatements: 1, globally: 1)
    17:44:00,559 DEBUG [ConnectionManager] aggressively releasing JDBC connection
    17:44:00,559 DEBUG [ConnectionManager] releasing JDBC connection [ (open PreparedStatements: 0, globally: 0) (open ResultSets: 0, globally: >0)]
    ### invoke em.persist(bEntity)
    17:44:00,559 DEBUG [AbstractSaveEventListener] executing identity-insert immediately
    17:44:00,559 DEBUG [AbstractBatcher] about to open PreparedStatement (open PreparedStatements: 0, globally: 0)
    17:44:00,559 DEBUG [ConnectionManager] opening JDBC connection
    17:44:00,559 DEBUG [SQL]
    /* insert de.zippus.domain.EntityB
    17:44:00,560 INFO [STDOUT] Hibernate:
    /* insert de.zippus.domain.EntityB
    17:44:00,561 DEBUG [AbstractBatcher] about to close PreparedStatement (open PreparedStatements: 1, globally: 1)
    17:44:00,561 DEBUG [ConnectionManager] aggressively releasing JDBC connection
    17:44:00,561 DEBUG [ConnectionManager] releasing JDBC connection [ (open PreparedStatements: 0, globally: 0) (open ResultSets: 0, globally: >0)]
    17:44:00,561 DEBUG [JDBCExceptionReporter] could not insert: [de.zippus.domain.EntityB] [* insert de.zippus.domain.EntityB */ insert into >ENTITY_B (NUMBER) values (?)]
    com.mysql.jdbc.exceptions.MySQLIntegrityConstraintViolationException: Duplicate entry '10' for key 2
    at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:931)
    17:44:00,563 WARN [JDBCExceptionReporter] SQL Error: 1062, SQLState: 23000
    17:44:00,563 ERROR [JDBCExceptionReporter] Duplicate entry '10' for key 2
    17:44:00,563 DEBUG [AbstractEntityManagerImpl] mark transaction for rollback
    17:44:00,563 ERROR [ManageEntityBean] Caught exception: javax.persistence.EntityExistsException: >org.hibernate.exception.ConstraintViolationException: could not insert: [de.zippus.domain.EntityB]
    17:44:00,563 ERROR [ManageEntityBean] Exception Cause: org.hibernate.exception.ConstraintViolationException: could not insert: >[de.zippus.domain.EntityB]
    17:44:00,564 DEBUG *[ManagedEntityManagerFactory] ************** closing entity managersession *************** Up to now I'm not that experienced in reading and understanding this kind of logging, but what I can see is, that there is a transaction that spans the whole unit of work and that this transaction is marked for rollback. I think that's quite a good thing, isn't it?
    But what really puzzles me here is, that both calls of em.persist() result in an opening of a jdbc connection and an immidiate execution of a database insert. Tell me if I'm wrong, but is this really the right place to happen?
    For what reason soever hibernate thinks it has to make these instances permanent, no matter if there is already a session that is taking care of this. If so, I might deal with a wrong hibernate configuration, I checked, but I can't find anything..
    What do you think?
    Thanks in advance!
    Christoph

  • Client of the deployed BC4j to EJB

    Hi!
    I have a problem, i do a deploy from my BC4j from JDev3.1 to Oracle 8.1.6 like a EJB, the problem is that i don4t know what i have to change in my client that was implement local like in the samples, and what jars i have to import in my client.
    Could anyone tell me what i have to do?
    Thanks, in advance.

    Hi Dirk,
    Following the instructions in JDeveloper and the 9iAS Administration Docu I created a .ear file
    from the business components project partYou should now have a 'BC4J Configuration' (let us call 'Mypackage1ModuleOc4j2') with parameters for this iAS instance. You can test the deployment by running BC4J Tester.
    1) How do I configure/create the Client (JClient) project part of the demo to use the BC4J(the EJB) deployed to the OC4J instance in the 9iAS app server ?To create a new JClient project based on the BC4J EJB deployed to this OC4J instance
    1. Create a new 'Data model' and base it on the Configuration, 'Mypackage1ModuleOc4j2'.
    2. Create/Modify your code and set the panel bindings.
    3. Start your OC4J instance if it is not running already.
    4. Run your JClient application. It will connect to the external oc4j extance.
    If you want to configure an existing project to use the BC4J EJB session bean, then
    right click on cpx file, modify the datamodel to use the 'Mypackage1ModuleOc4j2' configuration.
    2) I want to have a 'standalone' JClient application using the BC4J deployed as Appmodule Session Bean(BMT) EJB to OC4J. How do I do this ?You can create a jar file, optionally choosing to include all dependent classes. You would get a single
    jar file which you can invoke from the command line, like
    java -jar <your_jar_file_name>
    HTH,
    Sathish.

  • Marked rollback from enlistresource

    I have BC4J-EJB deployed on OAS 10.1.2.0.0. (J2EE and WC)
    Database is 8.1. (Is this combination maybe problem?)
    When I tried to start my ejb-client i got the error.
    OAS log contain this message Marked rollback from enlistresource.
    Client stack trace is ;
    racle.jbo.DMLException: JBO-26061: Error while opening JDBC connection.
         at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1173)
         at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:5823)
         at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:248)
         at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:271)
         at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:291)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.connectToDSUsingEnv(AbstractRemoteApplicationModuleImpl.java:2094)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.processSvcMsgRequest(AbstractRemoteApplicationModuleImpl.java:3968)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.processSvcMsgEntries(AbstractRemoteApplicationModuleImpl.java:4129)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.readServiceMessage(AbstractRemoteApplicationModuleImpl.java:3389)
         atoracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.processMessage(AbstractRemoteApplicationModuleImpl.java:1859)
         at oracle.jbo.server.ApplicationModuleImpl.doMessage(ApplicationModuleImpl.java:7336)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.sync(AbstractRemoteApplicationModuleImpl.java:1825)
         at oracle.jbo.server.remote.ejb.ServerApplicationModuleImpl.doMessage(ServerApplicationModuleImpl.java:60
         at oracle.jbo.server.ejb.SessionBeanImpl.doMessage(SessionBeanImpl.java:376)
         at RemoteAmOrgDeo_StatefulSessionBeanWrapper16.doMessage(RemoteAmOrgDeo_StatefulSessionBeanWrapper16.java:445)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Na
    Thanks.

    I have BC4J-EJB deployed on OAS 10.1.2.0.0. (J2EE and WC)
    Database is 8.1. (Is this combination maybe problem?)
    When I tried to start my ejb-client i got the error.
    OAS log contain this message Marked rollback from enlistresource.
    Client stack trace is ;
    racle.jbo.DMLException: JBO-26061: Error while opening JDBC connection.
         at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1173)
         at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:5823)
         at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:248)
         at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:271)
         at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:291)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.connectToDSUsingEnv(AbstractRemoteApplicationModuleImpl.java:2094)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.processSvcMsgRequest(AbstractRemoteApplicationModuleImpl.java:3968)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.processSvcMsgEntries(AbstractRemoteApplicationModuleImpl.java:4129)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.readServiceMessage(AbstractRemoteApplicationModuleImpl.java:3389)
         atoracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.processMessage(AbstractRemoteApplicationModuleImpl.java:1859)
         at oracle.jbo.server.ApplicationModuleImpl.doMessage(ApplicationModuleImpl.java:7336)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.sync(AbstractRemoteApplicationModuleImpl.java:1825)
         at oracle.jbo.server.remote.ejb.ServerApplicationModuleImpl.doMessage(ServerApplicationModuleImpl.java:60
         at oracle.jbo.server.ejb.SessionBeanImpl.doMessage(SessionBeanImpl.java:376)
         at RemoteAmOrgDeo_StatefulSessionBeanWrapper16.doMessage(RemoteAmOrgDeo_StatefulSessionBeanWrapper16.java:445)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Na
    Thanks.

  • BC4J: Any way for fast storing a large array of data

    Hi!
    I know 3 ways for storing data by using BC4J (EJB):
    1.ScrollableRowsetAccess rsAccessC =....
    rsAccessC.setColumnValue(....
    2.oracle.jbo.Transaction currentTRS = ...
    currentTRS.executeCommand("insert ....
    3.By invoking embedded function in ViewObject that use methods from oracle.jbo.server.ViewObjectImpl class.
    The last clause is more quickly than previous ones but not enough fast.
    Maybe somebody know about most efficient ways?
    Because I need store large arrays to Oracle database.
    The average size such array is 130 field multiplying by 15000 records.
    Thanks in advance
    Gali
    null

    Assume you have a big text file to work that you need
    to store and work with, what would be the best way to
    do that?Parse it into a database. Then use SQL to manipulate.

Maybe you are looking for