wood burning stoves 2.0*
The moose likes EJB and other Java EE Technologies and the fly likes EJB threw an unexpected (non-declared) exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "EJB threw an unexpected (non-declared) exception" Watch "EJB threw an unexpected (non-declared) exception" New topic
Author

EJB threw an unexpected (non-declared) exception

ravi kanth
Ranch Hand

Joined: Jun 04, 2008
Posts: 36
Hi ranchers,
Please help me in solving the issue.
In My application while updating to database it is showing below exception
complete Exceptionlog is here...

CNTR0021E: EJB threw an unexpected (non-declared) exception while invoking a method on bean "BeanId(SMEeCOPS_APP#eCOPS_BusinessCreditApplication.jar#BusinessCreditApplicationEntity, ecops.limits.ejb.BusinessCreditApplicationEntityKey@348116f7)". Exception data: com.ibm.websphere.csi.CSIException: Exception from ejbStore(); nested exception is:
java.lang.NullPointerException
at com.ibm.ejs.container.BeanManagedBeanO.store(BeanManagedBeanO.java:271)
at com.ibm.ejs.container.EntityBeanO.beforeCompletion(EntityBeanO.java:1218)
at com.ibm.ejs.container.ContainerTx.beforeCompletion(ContainerTx.java:630)
at com.ibm.ejs.util.tran.SyncDriver.beforeCompletion(SyncDriver.java:280)
at com.ibm.ws.Transaction.JTA.RegisteredSyncs.distributeBefore(RegisteredSyncs.java:238)
at com.ibm.ws.Transaction.JTA.TransactionImpl.prePrepare(TransactionImpl.java:2373)
at com.ibm.ws.Transaction.JTA.TransactionImpl.stage1CommitProcessing(TransactionImpl.java:1606)
at com.ibm.ws.Transaction.JTA.TransactionImpl.processCommit(TransactionImpl.java:1577)
at com.ibm.ws.Transaction.JTA.TransactionImpl.commit(TransactionImpl.java:1512)
at com.ibm.ws.Transaction.JTA.TranManagerImpl.commit(TranManagerImpl.java:237)
at com.ibm.ws.Transaction.JTA.TranManagerSet.commit(TranManagerSet.java:162)
at com.ibm.ejs.csi.TranStrategy.commit(TranStrategy.java:756)
at com.ibm.ejs.csi.TranStrategy.postInvoke(TranStrategy.java:181)
at com.ibm.ejs.csi.TransactionControlImpl.postInvoke(TransactionControlImpl.java:581)
at com.ibm.ejs.container.EJSContainer.postInvoke(EJSContainer.java:3876)
at com.ibm.ejs.container.EJSContainer.postInvoke(EJSContainer.java:3698)
at ecops.limits.ejb.EJSRemoteStatelessBusinessCreditApplicationSession_1edbc76b.modify(Unknown Source)
at ecops.limits.ejb._BusinessCreditApplicationSession_Stub.modify(_BusinessCreditApplicationSession_Stub.java:327)
at ecops.process.BusinessCreditApplicationProcess.invokeProcess(BusinessCreditApplicationProcess.java:307)
at scb.process.CodesMasterInvokerBean.invokeMasterProcess(CodesMasterInvokerBean.java:325)
at scb.process.EJSRemoteStatelessCodesMasterInvoker_f9499eda.invokeMasterProcess(Unknown Source)
at scb.process._CodesMasterInvoker_Stub.invokeMasterProcess(_CodesMasterInvoker_Stub.java:321)
at scb.servlet.CodesMasterServlet.execServlet(CodesMasterServlet.java:295)
at scb.servlet.CodesMasterServlet.doPost(CodesMasterServlet.java:230)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:966)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:463)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:92)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:744)
at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1425)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:92)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:465)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:394)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:274)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:152)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:213)
at com.ibm.io.async.AsyncChannelFuture$1.run(AsyncChannelFuture.java:163)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1498)
Caused by: java.lang.NullPointerException
at ecops.limits.ejb.BusinessCreditApplicationHelper.storeObject(BusinessCreditApplicationHelper.java:3091)
at ecops.limits.ejb.BusinessCreditApplicationEntityBean.ejbStore(BusinessCreditApplicationEntityBean.java:214)
at com.ibm.ejs.container.BeanManagedBeanO.store(BeanManagedBeanO.java:240)
... 41 more

[6/16/09 2:33:46:669 UTC] 0000004b ServiceLogger I com.ibm.ws.ffdc.IncidentStreamImpl open FFDC0009I: FFDC opened incident stream file /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/ffdc/SMEeCOPS_APP_CL01_627c627c_09.06.16_02.33.46_2.txt
[6/16/09 2:33:46:680 UTC] 0000004b ServiceLogger I com.ibm.ws.ffdc.IncidentStreamImpl resetIncidentStream FFDC0010I: FFDC closed incident stream file /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/ffdc/SMEeCOPS_APP_CL01_627c627c_09.06.16_02.33.46_2.txt
[6/16/09 2:33:46:681 UTC] 0000004b RegisteredSyn E WTRN0074E: Exception caught from before_completion synchronization operation: java.lang.RuntimeException: java.lang.RuntimeException:
at com.ibm.ejs.util.tran.SyncDriver.beforeCompletion(SyncDriver.java:310)
at com.ibm.ws.Transaction.JTA.RegisteredSyncs.distributeBefore(RegisteredSyncs.java:238)
at com.ibm.ws.Transaction.JTA.TransactionImpl.prePrepare(TransactionImpl.java:2373)
at com.ibm.ws.Transaction.JTA.TransactionImpl.stage1CommitProcessing(TransactionImpl.java:1606)
at com.ibm.ws.Transaction.JTA.TransactionImpl.processCommit(TransactionImpl.java:1577)
at com.ibm.ws.Transaction.JTA.TransactionImpl.commit(TransactionImpl.java:1512)
at com.ibm.ws.Transaction.JTA.TranManagerImpl.commit(TranManagerImpl.java:237)
at com.ibm.ws.Transaction.JTA.TranManagerSet.commit(TranManagerSet.java:162)
at com.ibm.ejs.csi.TranStrategy.commit(TranStrategy.java:756)
at com.ibm.ejs.csi.TranStrategy.postInvoke(TranStrategy.java:181)
at com.ibm.ejs.csi.TransactionControlImpl.postInvoke(TransactionControlImpl.java:581)
at com.ibm.ejs.container.EJSContainer.postInvoke(EJSContainer.java:3876)
at com.ibm.ejs.container.EJSContainer.postInvoke(EJSContainer.java:3698)
at ecops.limits.ejb.EJSRemoteStatelessBusinessCreditApplicationSession_1edbc76b.modify(Unknown Source)
at ecops.limits.ejb._BusinessCreditApplicationSession_Stub.modify(_BusinessCreditApplicationSession_Stub.java:327)
at ecops.process.BusinessCreditApplicationProcess.invokeProcess(BusinessCreditApplicationProcess.java:307)
at scb.process.CodesMasterInvokerBean.invokeMasterProcess(CodesMasterInvokerBean.java:325)
at scb.process.EJSRemoteStatelessCodesMasterInvoker_f9499eda.invokeMasterProcess(Unknown Source)
at scb.process._CodesMasterInvoker_Stub.invokeMasterProcess(_CodesMasterInvoker_Stub.java:321)
at scb.servlet.CodesMasterServlet.execServlet(CodesMasterServlet.java:295)
at scb.servlet.CodesMasterServlet.doPost(CodesMasterServlet.java:230)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:966)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:463)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:92)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:744)
at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1425)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:92)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:465)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:394)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:274)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:152)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:213)
at com.ibm.io.async.AsyncChannelFuture$1.run(AsyncChannelFuture.java:163)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1498)
Caused by: java.lang.RuntimeException:
at com.ibm.ejs.container.ContainerTx.beforeCompletion(ContainerTx.java:740)
at com.ibm.ejs.util.tran.SyncDriver.beforeCompletion(SyncDriver.java:280)
... 38 more
Caused by: com.ibm.websphere.csi.CSIException: Exception from ejbStore(); nested exception is:
java.lang.NullPointerException
at com.ibm.ejs.container.BeanManagedBeanO.store(BeanManagedBeanO.java:271)
at com.ibm.ejs.container.EntityBeanO.beforeCompletion(EntityBeanO.java:1218)
at com.ibm.ejs.container.ContainerTx.beforeCompletion(ContainerTx.java:630)
... 39 more
Caused by: java.lang.NullPointerException
at ecops.limits.ejb.BusinessCreditApplicationHelper.storeObject(BusinessCreditApplicationHelper.java:3091)
at ecops.limits.ejb.BusinessCreditApplicationEntityBean.ejbStore(BusinessCreditApplicationEntityBean.java:214)
at com.ibm.ejs.container.BeanManagedBeanO.store(BeanManagedBeanO.java:240)
... 41 more

[6/16/09 2:33:46:721 UTC] 0000004b ServiceLogger I com.ibm.ws.ffdc.IncidentStreamImpl open FFDC0009I: FFDC opened incident stream file /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/ffdc/SMEeCOPS_APP_CL01_627c627c_09.06.16_02.33.46_3.txt
[6/16/09 2:33:46:734 UTC] 0000004b ServiceLogger I com.ibm.ws.ffdc.IncidentStreamImpl resetIncidentStream FFDC0010I: FFDC closed incident stream file /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/ffdc/SMEeCOPS_APP_CL01_627c627c_09.06.16_02.33.46_3.txt
[6/16/09 2:33:46:736 UTC] 0000004b ExceptionUtil E CNTR0020E: EJB threw an unexpected (non-declared) exception during invocation of method "modify" on bean "BeanId(SMEeCOPS_APP#eCOPS_BusinessCreditApplication.jar#BusinessCreditApplicationSession, null)". Exception data: com.ibm.websphere.csi.CSIException: Exception from ejbStore(); nested exception is:
java.lang.NullPointerException
at com.ibm.ejs.container.BeanManagedBeanO.store(BeanManagedBeanO.java:271)
at com.ibm.ejs.container.EntityBeanO.beforeCompletion(EntityBeanO.java:1218)
at com.ibm.ejs.container.ContainerTx.beforeCompletion(ContainerTx.java:630)
at com.ibm.ejs.util.tran.SyncDriver.beforeCompletion(SyncDriver.java:280)
at com.ibm.ws.Transaction.JTA.RegisteredSyncs.distributeBefore(RegisteredSyncs.java:238)
at com.ibm.ws.Transaction.JTA.TransactionImpl.prePrepare(TransactionImpl.java:2373)
at com.ibm.ws.Transaction.JTA.TransactionImpl.stage1CommitProcessing(TransactionImpl.java:1606)
at com.ibm.ws.Transaction.JTA.TransactionImpl.processCommit(TransactionImpl.java:1577)
at com.ibm.ws.Transaction.JTA.TransactionImpl.commit(TransactionImpl.java:1512)
at com.ibm.ws.Transaction.JTA.TranManagerImpl.commit(TranManagerImpl.java:237)
at com.ibm.ws.Transaction.JTA.TranManagerSet.commit(TranManagerSet.java:162)
at com.ibm.ejs.csi.TranStrategy.commit(TranStrategy.java:756)
at com.ibm.ejs.csi.TranStrategy.postInvoke(TranStrategy.java:181)
at com.ibm.ejs.csi.TransactionControlImpl.postInvoke(TransactionControlImpl.java:581)
at com.ibm.ejs.container.EJSContainer.postInvoke(EJSContainer.java:3876)
at com.ibm.ejs.container.EJSContainer.postInvoke(EJSContainer.java:3698)
at ecops.limits.ejb.EJSRemoteStatelessBusinessCreditApplicationSession_1edbc76b.modify(Unknown Source)
at ecops.limits.ejb._BusinessCreditApplicationSession_Stub.modify(_BusinessCreditApplicationSession_Stub.java:327)
at ecops.process.BusinessCreditApplicationProcess.invokeProcess(BusinessCreditApplicationProcess.java:307)
at scb.process.CodesMasterInvokerBean.invokeMasterProcess(CodesMasterInvokerBean.java:325)
at scb.process.EJSRemoteStatelessCodesMasterInvoker_f9499eda.invokeMasterProcess(Unknown Source)
at scb.process._CodesMasterInvoker_Stub.invokeMasterProcess(_CodesMasterInvoker_Stub.java:321)
at scb.servlet.CodesMasterServlet.execServlet(CodesMasterServlet.java:295)
at scb.servlet.CodesMasterServlet.doPost(CodesMasterServlet.java:230)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:966)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:463)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:92)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:744)
at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1425)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:92)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:465)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:394)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:274)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:152)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:213)
at com.ibm.io.async.AsyncChannelFuture$1.run(AsyncChannelFuture.java:163)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1498)
Caused by: java.lang.NullPointerException
at ecops.limits.ejb.BusinessCreditApplicationHelper.storeObject(BusinessCreditApplicationHelper.java:3091)
at ecops.limits.ejb.BusinessCreditApplicationEntityBean.ejbStore(BusinessCreditApplicationEntityBean.java:214)
at com.ibm.ejs.container.BeanManagedBeanO.store(BeanManagedBeanO.java:240)
... 41 more

[6/16/09 2:33:46:765 UTC] 0000004b ServiceLogger I com.ibm.ws.ffdc.IncidentStreamImpl open FFDC0009I: FFDC opened incident stream file /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/ffdc/SMEeCOPS_APP_CL01_627c627c_09.06.16_02.33.46_4.txt
[6/16/09 2:33:46:770 UTC] 0000004b ServiceLogger I com.ibm.ws.ffdc.IncidentStreamImpl resetIncidentStream FFDC0010I: FFDC closed incident stream file /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/ffdc/SMEeCOPS_APP_CL01_627c627c_09.06.16_02.33.46_4.txt
[6/16/09 2:33:46:788 UTC] 0000004b SystemOut O Entering finally in CMS
[6/16/09 2:33:46:883 UTC] 00000069 Helpers W NMSV0612W: A NameNotFoundException occurred on an indirect lookup on the name "java:comp/env/jdbc/eBBS/eBBS". The name "java:comp/env/jdbc/eBBS/eBBS" maps to a JNDI name in deployment descriptor bindings for the application performing the JNDI lookup. Make sure that the JNDI name mapping in the deployment descriptor binding is correct. If the JNDI name mapping is correct, make sure the target resource can be resolved with the specified name relative to the default initial context. NameNotFoundException data follows:
javax.naming.NameNotFoundException: Context: ecopsappCell01/nodes/ecopsappNode01/servers/SMEeCOPS_APP_CL01, name: jdbc/eBBS/eBBS: First component in name eBBS/eBBS not found. [Root exception is org.omg.CosNaming.NamingContextPackage.NotFound: IDLmg.org/CosNaming/NamingContext/NotFound:1.0]
at com.ibm.ws.naming.jndicos.CNContextImpl.processNotFoundException(CNContextImpl.java:4730)
at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1907)
at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1862)
at com.ibm.ws.naming.jndicos.CNContextImpl.lookupExt(CNContextImpl.java:1552)
at com.ibm.ws.naming.util.IndirectJndiLookupObjectFactory$1.run(IndirectJndiLookupObjectFactory.java:372)
at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)
at com.ibm.ws.naming.util.IndirectJndiLookupObjectFactory.getObjectInstanceExt(IndirectJndiLookupObjectFactory.java:221)
at com.ibm.ws.naming.util.IndirectJndiLookupObjectFactory.getObjectInstance(IndirectJndiLookupObjectFactory.java:149)
at com.ibm.ws.util.ResRefJndiLookupObjectFactory.getObjectInstance(ResRefJndiLookupObjectFactory.java:144)
at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:316)
at com.ibm.ws.naming.util.Helpers.processSerializedObjectForLookupExt(Helpers.java:896)
at com.ibm.ws.naming.urlbase.UrlContextHelper.processBoundObjectForLookup(UrlContextHelper.java:191)
at com.ibm.ws.naming.java.javaURLContextRoot.processBoundObjectForLookup(javaURLContextRoot.java:403)
at com.ibm.ws.naming.urlbase.UrlContextImpl.lookup(UrlContextImpl.java:1280)
at com.ibm.ws.naming.java.javaURLContextImpl.lookup(javaURLContextImpl.java:384)
at com.ibm.ws.naming.java.javaURLContextRoot.lookup(javaURLContextRoot.java:201)
at com.ibm.ws.naming.java.javaURLContextRoot.lookup(javaURLContextRoot.java:142)
at javax.naming.InitialContext.lookup(InitialContext.java:363)
at com.ibm.ejs.container.BeanMetaData.doConnectionHandlePerformanceSettings(BeanMetaData.java:4711)
at com.ibm.ws.runtime.component.EJBContainerImpl.initializeDeferredEJB(EJBContainerImpl.java:4427)
at com.ibm.ejs.container.HomeOfHomes.getHome(HomeOfHomes.java:345)
at com.ibm.ejs.container.HomeOfHomes.internalCreateWrapper(HomeOfHomes.java:481)
at com.ibm.ejs.container.EJSContainer.createWrapper(EJSContainer.java:4278)
at com.ibm.ejs.container.WrapperManager.faultOnKey(WrapperManager.java:528)
at com.ibm.ejs.util.cache.Cache.findAndFault(Cache.java:496)
at com.ibm.ejs.container.WrapperManager.keyToObject(WrapperManager.java:481)
at com.ibm.ejs.oa.EJSOAImpl.keyToObject(EJSOAImpl.java:553)
at com.ibm.ejs.oa.EJSRootOAImpl.keyToObject(EJSRootOAImpl.java:271)
at com.ibm.rmi.corba.ObjectManager.lookupServant(ObjectManager.java:104)
at com.ibm.CORBA.iiop.ServerDelegate.getServant(ServerDelegate.java:302)
at com.ibm.rmi.iiop.ORB.lookupLocalObject(ORB.java:591)
at com.ibm.CORBA.iiop.ORB.lookupLocalObject(ORB.java:1446)
at com.ibm.rmi.iiop.CDRInputStream.newObjRef(CDRInputStream.java:1298)
at com.ibm.rmi.iiop.CDRInputStream.read_Object(CDRInputStream.java:1275)
at com.ibm.rmi.iiop.CDRInputStream.read_Object(CDRInputStream.java:1239)
at com.ibm.rmi.corba.IorURL.iorbytesToObjref(IorURL.java:107)
at com.ibm.rmi.corba.IorURL.resolve(IorURL.java:95)
at com.ibm.rmi.corba.ORB.objectURLToObject(ORB.java:3677)
at com.ibm.CORBA.iiop.ORB.objectURLToObject(ORB.java:3227)
at com.ibm.rmi.corba.ORB.string_to_object(ORB.java:3578)
at com.ibm.ws.naming.ipcos.WsnOptimizedNamingImpl.resolveUnresolvedBinding(WsnOptimizedNamingImpl.java:2154)
at com.ibm.ws.naming.ipcos.WsnOptimizedNamingImpl.resolve_binding(WsnOptimizedNamingImpl.java:1895)
at com.ibm.ws.naming.ipcos.WsnOptimizedNamingImpl.do_resolve_complete_info(WsnOptimizedNamingImpl.java:599)
at com.ibm.ws.naming.cosbase.WsnOptimizedNamingImplBase.resolve_complete_info(WsnOptimizedNamingImplBase.java:2215)
at com.ibm.WsnOptimizedNaming._NamingContextStub.resolve_complete_info(_NamingContextStub.java:536)
at com.ibm.ws.naming.jndicos.CNContextImpl.cosResolve(CNContextImpl.java:4351)
at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1901)
at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1862)
at com.ibm.ws.naming.jndicos.CNContextImpl.lookupExt(CNContextImpl.java:1552)
at com.ibm.ws.naming.jndicos.CNContextImpl.lookup(CNContextImpl.java:1354)
at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:172)
at javax.naming.InitialContext.lookup(InitialContext.java:363)
at scb.util.SystemProperties.lookup(SystemProperties.java:1044)
at scb.util.SystemProperties.lookup(SystemProperties.java:997)
at scb.general.process.AuthorisationQueueProcess.run(AuthorisationQueueProcess.java:129)
at java.lang.Thread.run(Thread.java:797)
Caused by: org.omg.CosNaming.NamingContextPackage.NotFound: IDLmg.org/CosNaming/NamingContext/NotFound:1.0
at com.ibm.ws.naming.ipcos.WsnOptimizedNamingImpl.handleNameNotFound(WsnOptimizedNamingImpl.java:2252)
at com.ibm.ws.naming.ipcos.WsnOptimizedNamingImpl.getNextWsnOptimizedNamingContext(WsnOptimizedNamingImpl.java:1448)
at com.ibm.ws.naming.cosbase.WsnOptimizedNamingImplBase.getTargetContext(WsnOptimizedNamingImplBase.java:4396)
at com.ibm.ws.naming.cosbase.WsnOptimizedNamingImplBase$LeafOperationData.<init>(WsnOptimizedNamingImplBase.java:5012)
at com.ibm.ws.naming.cosbase.WsnOptimizedNamingImplBase.resolve_complete_info(WsnOptimizedNamingImplBase.java:2207)
at com.ibm.WsnOptimizedNaming._NamingContextStub.resolve_complete_info(_NamingContextStub.java:536)
at com.ibm.ws.naming.jndicos.CNContextImpl.cosResolve(CNContextImpl.java:4351)
at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1901)
... 54 more

[6/16/09 2:33:46:918 UTC] 00000069 Helpers W NMSV0610I: A NamingException is being thrown from a javax.naming.Context implementation. Details follow:
Context implementation: com.ibm.ws.naming.java.javaURLContextRoot
Context method: lookup(Name)
Context name: java:
Target name: comp/env/jdbc/eBBS/eBBS
Other data: ""
Exception stack trace: com.ibm.websphere.naming.CannotInstantiateObjectException: A NameNotFoundException occurred on an indirect lookup on the name java:comp/env/jdbc/eBBS/eBBS. The name java:comp/env/jdbc/eBBS/eBBS maps to a JNDI name in deployment descriptor bindings for the application performing the JNDI lookup. Make sure that the JNDI name mapping in the deployment descriptor binding is correct. If the JNDI name mapping is correct, make sure the target resource can be resolved with the specified name relative to the default initial context. [Root exception is javax.naming.NameNotFoundException: Context: ecopsappCell01/nodes/ecopsappNode01/servers/SMEeCOPS_APP_CL01, name: jdbc/eBBS/eBBS: First component in name eBBS/eBBS not found. [Root exception is org.omg.CosNaming.NamingContextPackage.NotFound: IDLmg.org/CosNaming/NamingContext/NotFound:1.0]]
at com.ibm.ws.naming.util.Helpers.processSerializedObjectForLookupExt(Helpers.java:982)
at com.ibm.ws.naming.urlbase.UrlContextHelper.processBoundObjectForLookup(UrlContextHelper.java:191)
at com.ibm.ws.naming.java.javaURLContextRoot.processBoundObjectForLookup(javaURLContextRoot.java:403)
at com.ibm.ws.naming.urlbase.UrlContextImpl.lookup(UrlContextImpl.java:1280)
at com.ibm.ws.naming.java.javaURLContextImpl.lookup(javaURLContextImpl.java:384)
at com.ibm.ws.naming.java.javaURLContextRoot.lookup(javaURLContextRoot.java:201)
at com.ibm.ws.naming.java.javaURLContextRoot.lookup(javaURLContextRoot.java:142)
at javax.naming.InitialContext.lookup(InitialContext.java:363)
at com.ibm.ejs.container.BeanMetaData.doConnectionHandlePerformanceSettings(BeanMetaData.java:4711)
at com.ibm.ws.runtime.component.EJBContainerImpl.initializeDeferredEJB(EJBContainerImpl.java:4427)
at com.ibm.ejs.container.HomeOfHomes.getHome(HomeOfHomes.java:345)
at com.ibm.ejs.container.HomeOfHomes.internalCreateWrapper(HomeOfHomes.java:481)
at com.ibm.ejs.container.EJSContainer.createWrapper(EJSContainer.java:4278)
at com.ibm.ejs.container.WrapperManager.faultOnKey(WrapperManager.java:528)
at com.ibm.ejs.util.cache.Cache.findAndFault(Cache.java:496)
at com.ibm.ejs.container.WrapperManager.keyToObject(WrapperManager.java:481)
at com.ibm.ejs.oa.EJSOAImpl.keyToObject(EJSOAImpl.java:553)
at com.ibm.ejs.oa.EJSRootOAImpl.keyToObject(EJSRootOAImpl.java:271)
at com.ibm.rmi.corba.ObjectManager.lookupServant(ObjectManager.java:104)
at com.ibm.CORBA.iiop.ServerDelegate.getServant(ServerDelegate.java:302)
at com.ibm.rmi.iiop.ORB.lookupLocalObject(ORB.java:591)
at com.ibm.CORBA.iiop.ORB.lookupLocalObject(ORB.java:1446)
at com.ibm.rmi.iiop.CDRInputStream.newObjRef(CDRInputStream.java:1298)
at com.ibm.rmi.iiop.CDRInputStream.read_Object(CDRInputStream.java:1275)
at com.ibm.rmi.iiop.CDRInputStream.read_Object(CDRInputStream.java:1239)
at com.ibm.rmi.corba.IorURL.iorbytesToObjref(IorURL.java:107)
at com.ibm.rmi.corba.IorURL.resolve(IorURL.java:95)
at com.ibm.rmi.corba.ORB.objectURLToObject(ORB.java:3677)
at com.ibm.CORBA.iiop.ORB.objectURLToObject(ORB.java:3227)
at com.ibm.rmi.corba.ORB.string_to_object(ORB.java:3578)
at com.ibm.ws.naming.ipcos.WsnOptimizedNamingImpl.resolveUnresolvedBinding(WsnOptimizedNamingImpl.java:2154)
at com.ibm.ws.naming.ipcos.WsnOptimizedNamingImpl.resolve_binding(WsnOptimizedNamingImpl.java:1895)
at com.ibm.ws.naming.ipcos.WsnOptimizedNamingImpl.do_resolve_complete_info(WsnOptimizedNamingImpl.java:599)
at com.ibm.ws.naming.cosbase.WsnOptimizedNamingImplBase.resolve_complete_info(WsnOptimizedNamingImplBase.java:2215)
at com.ibm.WsnOptimizedNaming._NamingContextStub.resolve_complete_info(_NamingContextStub.java:536)
at com.ibm.ws.naming.jndicos.CNContextImpl.cosResolve(CNContextImpl.java:4351)
at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1901)
at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1862)
at com.ibm.ws.naming.jndicos.CNContextImpl.lookupExt(CNContextImpl.java:1552)
at com.ibm.ws.naming.jndicos.CNContextImpl.lookup(CNContextImpl.java:1354)
at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:172)
at javax.naming.InitialContext.lookup(InitialContext.java:363)
at scb.util.SystemProperties.lookup(SystemProperties.java:1044)
at scb.util.SystemProperties.lookup(SystemProperties.java:997)
at scb.general.process.AuthorisationQueueProcess.run(AuthorisationQueueProcess.java:129)
at java.lang.Thread.run(Thread.java:797)
Caused by: javax.naming.NameNotFoundException: Context: ecopsappCell01/nodes/ecopsappNode01/servers/SMEeCOPS_APP_CL01, name: jdbc/eBBS/eBBS: First component in name eBBS/eBBS not found. [Root exception is org.omg.CosNaming.NamingContextPackage.NotFound: IDLmg.org/CosNaming/NamingContext/NotFound:1.0]
at com.ibm.ws.naming.jndicos.CNContextImpl.processNotFoundException(CNContextImpl.java:4730)
at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1907)
at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1862)
at com.ibm.ws.naming.jndicos.CNContextImpl.lookupExt(CNContextImpl.java:1552)
at com.ibm.ws.naming.util.IndirectJndiLookupObjectFactory$1.run(IndirectJndiLookupObjectFactory.java:372)
at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)
at com.ibm.ws.naming.util.IndirectJndiLookupObjectFactory.getObjectInstanceExt(IndirectJndiLookupObjectFactory.java:221)
at com.ibm.ws.naming.util.IndirectJndiLookupObjectFactory.getObjectInstance(IndirectJndiLookupObjectFactory.java:149)
at com.ibm.ws.util.ResRefJndiLookupObjectFactory.getObjectInstance(ResRefJndiLookupObjectFactory.java:144)
at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:316)
at com.ibm.ws.naming.util.Helpers.processSerializedObjectForLookupExt(Helpers.java:896)
... 45 more
Caused by: org.omg.CosNaming.NamingContextPackage.NotFound: IDLmg.org/CosNaming/NamingContext/NotFound:1.0
at com.ibm.ws.naming.ipcos.WsnOptimizedNamingImpl.handleNameNotFound(WsnOptimizedNamingImpl.java:2252)
at com.ibm.ws.naming.ipcos.WsnOptimizedNamingImpl.getNextWsnOptimizedNamingContext(WsnOptimizedNamingImpl.java:1448)
at com.ibm.ws.naming.cosbase.WsnOptimizedNamingImplBase.getTargetContext(WsnOptimizedNamingImplBase.java:4396)
at com.ibm.ws.naming.cosbase.WsnOptimizedNamingImplBase$LeafOperationData.<init>(WsnOptimizedNamingImplBase.java:5012)
at com.ibm.ws.naming.cosbase.WsnOptimizedNamingImplBase.resolve_complete_info(WsnOptimizedNamingImplBase.java:2207)
at com.ibm.WsnOptimizedNaming._NamingContextStub.resolve_complete_info(_NamingContextStub.java:536)
at com.ibm.ws.naming.jndicos.CNContextImpl.cosResolve(CNContextImpl.java:4351)
at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1901)
... 54 more
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

What is the code at line 3091 of BusinessCreditApplicationHelper?


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
ravi kanth
Ranch Hand

Joined: Jun 04, 2008
Posts: 36
Dear Paul,

This is the code avaible at 3091 of BusinessCreditApplicationHelper,and this currencyCode is not having any constrains in
DataBase.(it accepts null also)
preparedstatement.setString(7, businesscreditapplicationwrapper.currencyCode);

Please correct me if i am wrong.


Thanks,
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

So either preparedstatement is null (which I'm guessing is unlikely) or businesscreditapplicationwrapper is null, or businesscreditapplicationwrapper.currencyCode is null. Stick a break point in your code and find out which it is.
 
 
subject: EJB threw an unexpected (non-declared) exception
 
Similar Threads
WebSphere Application Server 7 could not find jndi name.
Websphere JNDI look up error
XA-Transaction Error with WAS 6.1, MQ (SIB) and Oracle 10g
Error : WSVR0068E: Attempt to start EnterpriseBean
Configuring WAS 6.1 data source