The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
December 2000

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

try this one out

Posted by shashi on December 21, 2000 at 12:46 AM

hi
i am also struggling with same problem since last many days .but it automatically gets fixed if i migrate my code from vaj 3.5 to 3.02
according to me.... try to take trancation handl;ing in ur own control
and do commit and rollback by urself
make the trasacton attribute of ur beans method as Bean_Managed.
try it out if u r successfull plz do let me know.

regards
shashi


> Hi!
> I am facing problem in inserting/updating record through session / entity bean in oracle database. Would appreciate any help in solving it.I am using visual age,websphere and oracle.
>
> I get the following error :

> In Add Record Currency >> CNY
> Home Found
> In WIP Key Before Home
> Home created. Creating Key Object
> Populating Key Object
> Looking for Remote
> Remote Not Found
> WIP not found
> In MAster Key Before Home
> In MAster Key
> l_udCustomerBankChargesMasterKey.m_strCustomerID IBM
> l_udCustomerBankChargesMasterKey.m_strPortalID P123
> CustomerBankChargesBean::getMasterKey ==> Error Occur:com.abn.cbs.ui.customerbankcharges.CustomerBankChargesMasterKey@474c2e
> Master not found
> Status is I
> In WIP Create
> In WIP PortalIDP123
> In WIP CustomerID IBM
> In WIP Basic Charge Amount2
> In WIP Currencynull
> In WIP CurrencyCNY
> In WIP IT76
> In WIP FT3
> LW23
> In WIP GIRO345
> In WIP CHEQUE23
> In WIP Doc ver 23
> In WIP Status I
> In WIP Maker ID1
> In WIP Checker ID1
> In WIP l_pdTimestamp1970-01-01 05:30:00.0
> Current Date is: 2000-12-08 17:1:54.000000000
> In WIP Maker input date2000-12-08 17:01:54.0
> CustomerBankChargesBean::addRecord ==> Error Occur:CORBA TRANSACTION_ROLLEDBACK 0 No; nested exception is:
> org.omg.CORBA.TRANSACTION_ROLLEDBACK: com.ibm.websphere.csi.CSITransactionRolledbackException
> at java.lang.Throwable.(Throwable.java:84)
> at java.lang.Exception.(Exception.java:35)
> at java.io.IOException.(IOException.java:37)
> at java.rmi.RemoteException.(RemoteException.java:48)
> at com.ibm.websphere.csi.CSIException.(CSIException.java:18)
> at com.ibm.websphere.csi.CSITransactionRolledbackException.(CSITransactionRolledbackException.java:19)
> at com.ibm.ejs.csi.TranStrategy.handleException(TranStrategy.java:113)
> at com.ibm.ejs.csi.TransactionControlImpl.postInvoke(TransactionControlImpl.java:407)
> at com.ibm.ejs.container.EJSContainer.postInvoke(EJSContainer.java:1576)
> at com.abn.cbs.ui.customerbankcharges.EJSRemoteCustomerBankChargesWIPHome.create(EJSRemoteCustomerBankChargesWIPHome.java:43)
> at com.abn.cbs.ui.customerbankcharges._CustomerBankChargesWIPHome_BaseStub.create(_CustomerBankChargesWIPHome_BaseStub.java:65)
> at com.abn.cbs.ui.customerbankcharges._CustomerBankChargesWIPHome_Stub.create(_CustomerBankChargesWIPHome_Stub.java:42)
> at com.abn.cbs.ui.customerbankcharges.CustomerBankChargesBean.addRecord(CustomerBankChargesBean.java:84)
> at com.abn.cbs.ui.customerbankcharges.EJSRemoteCustomerBankCharges.addRecord(EJSRemoteCustomerBankCharges.java:33)
> at com.abn.cbs.ui.customerbankcharges._CustomerBankCharges_BaseStub.addRecord(_CustomerBankCharges_BaseStub.java:69)
> at com.abn.cbs.ui.customerbankcharges._CustomerBankCharges_Stub.addRecord(_CustomerBankCharges_Stub.java:39)
> at ABNGenericServlet.doSaveClick(ABNGenericServlet.java:175)
> at ABNGenericServlet.doPost(ABNGenericServlet.java:50)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:566)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:639)
> at com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager.java:580)
> at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycleServlet.java:160)
> at com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServlet.java:287)
> at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycleServlet.java:105)
> at com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java:353)
> at com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletManager.java:729)
> at com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManager.java:655)
> at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebApp.java:1269)
> at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebApp.java:1106)
> at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebApp.java:1039)
> at com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebGroup.java:646)
> at com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:67)
> at com.ibm.servlet.engine.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:106)
> at com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:160)
> at com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java:300)
> at com.ibm.servlet.engine.oselistener.SQEventListenerImp$ServiceRunnable.run(SQEventListenerImp.java:230)
> at com.ibm.servlet.engine.oselistener.SQEventListenerImp.notifySQEvent(SQEventListenerImp.java:104)
> at com.ibm.servlet.engine.oselistener.serverqueue.SQEventSource.notifyEvent(SQEventSource.java:202)
> at com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.notifyService(SQWrapperEventSource.java:347)
> at com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.run(SQWrapperEventSource.java:216)
> at com.ibm.servlet.engine.oselistener.outofproc.OutOfProcThread$CtlRunnable.run(OutOfProcThread.java:248)
> at java.lang.Thread.run(Thread.java:481)
> minor code: 0 completed: No
> ABNGenericServlet:: doSaveClick ==> l_ntemp :160






Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us