aspose file tools*
The moose likes Websphere and the fly likes WebSphere Application Server 7 could not find jndi name. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "WebSphere Application Server 7 could not find jndi name." Watch "WebSphere Application Server 7 could not find jndi name." New topic
Author

WebSphere Application Server 7 could not find jndi name.

Rajesh Sunil
Greenhorn

Joined: Nov 19, 2009
Posts: 5
Hi All,

I deployed application successfully in application server. When i am tyring to send request, the app could not able to find the JNDI name. Following is the service locator and execption stack trace i am getting.




<service>

<logical-name>LANG_RESOURCES-REMOTE</logical-name>

<jndi-name>ejb/com/adp/ejb/LanguageResourcesHome</jndi-name>

<session-bean-class>com.adp.ejb.LanguageResourcesHome</session-bean-class>

<provider-url>iiop://localhost:2809/</provider-url>

<type>sessionbean</type>

<call-type>remote</call-type>

</service>


StackTrace…..



[11/27/09 21:36:44:271 IST] 0000002f servlet I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [PVS] [/PVSWeb] [/cpv/login.jsp]: Initialization successful.

[11/27/09 21:36:44:318 IST] 0000002f servlet I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [PVS] [/PVSWeb] [/cpv/banner.jsp]: Initialization successful.

[11/27/09 21:36:44:318 IST] 0000002f SystemOut O >>>>>css-=null

[11/27/09 21:36:44:318 IST] 0000002f PropertyMessa I org.apache.struts.util.PropertyMessageResources <init> Initializing, config='org.apache.struts.taglib.bean.LocalStrings', returnNull=true

[11/27/09 21:36:44:333 IST] 0000002f SystemOut O In Locale

[11/27/09 21:36:44:333 IST] 0000002f SystemOut O I am in Resources Bundle ADPMessageResources

[11/27/09 21:36:44:349 IST] 0000002f SystemOut O SL File Name is ServiceLocator.xml

[11/27/09 21:36:44:349 IST] 0000002f SystemOut O I am in home Service Locatornull

[11/27/09 21:36:44:349 IST] 0000002f SystemOut O I amin LOOKUP

[11/27/09 21:36:44:349 IST] 0000002f SystemOut O LOOKUP com.adp.servicelocator.ServiceLocatorMapping@4d164d16

[11/27/09 21:36:44:349 IST] 0000002f SystemOut O I am in IF

[11/27/09 21:36:44:880 IST] 0000002f FfdcProvider I com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on C:\Program Files\IBM\SDP\runtimes\base_v7\profiles\was70profile1\logs\ffdc\server1_6ccf6ccf_09.11.27_21.36.44.53660666.txt com.ibm.ws.runtime.component.EJBContainerImpl.initializeDeferredEJB 3233

[11/27/09 21:36:44:880 IST] 0000002f EJBContainerI E WSVR0068E: Attempt to start EnterpriseBean PVS#ADPEJB.jar#LanguageResources failed with exception: java.lang.NoClassDefFoundError: com.adp.model.language.LanguageResource

at java.lang.Class.getDeclaredMethodsImpl(Native Method)

at java.lang.Class.getDeclaredMethods(Class.java:673)

at java.lang.Class.getInterfaceMethodCountImpl(Class.java:958)

at java.lang.Class.getInterfaceMethodsImpl(Class.java:973)

at java.lang.Class.getMethods(Class.java:917)

at com.ibm.ejs.container.util.DeploymentUtil.getMethods(DeploymentUtil.java:161)

at com.ibm.ws.metadata.ejb.EJBMDOrchestrator.finishBMDInit(EJBMDOrchestrator.java:1634)

at com.ibm.ws.runtime.component.EJBContainerImpl.finishDeferredBeanMetaData(EJBContainerImpl.java:5034)

at com.ibm.ws.runtime.component.EJBContainerImpl.initializeDeferredEJB(EJBContainerImpl.java:4832)

at com.ibm.ejs.container.HomeOfHomes$1.run(HomeOfHomes.java:404)

at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)

at com.ibm.ejs.container.HomeOfHomes.getHome(HomeOfHomes.java:401)

at com.ibm.ejs.container.HomeOfHomes.internalCreateWrapper(HomeOfHomes.java:975)

at com.ibm.ejs.container.EJSContainer.createWrapper(EJSContainer.java:4981)

at com.ibm.ejs.container.WrapperManager.faultOnKey(WrapperManager.java:545)

at com.ibm.ejs.util.cache.Cache.findAndFault(Cache.java:498)

at com.ibm.ejs.container.WrapperManager.keyToObject(WrapperManager.java:489)

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:311)

at com.ibm.rmi.iiop.ORB.lookupLocalObject(ORB.java:592)

at com.ibm.CORBA.iiop.ORB.lookupLocalObject(ORB.java:1465)

at com.ibm.rmi.iiop.CDRReader.newObjRef(CDRReader.java:1290)

at com.ibm.rmi.iiop.CDRReader.read_Object(CDRReader.java:1130)

at com.ibm.rmi.iiop.CDRReader.read_Object(CDRReader.java:1094)

at com.ibm.rmi.corba.IorURL.iorbytesToObjref(IorURL.java:105)

at com.ibm.rmi.corba.IorURL.resolve(IorURL.java:93)

at com.ibm.rmi.corba.ORB.objectURLToObject(ORB.java:3718)

at com.ibm.CORBA.iiop.ORB.objectURLToObject(ORB.java:3256)

at com.ibm.rmi.corba.ORB.string_to_object(ORB.java:3619)

at com.ibm.ws.naming.ipcos.WsnOptimizedNamingImpl.resolveUnresolvedBinding(WsnOptimizedNamingImpl.java:1921)

at com.ibm.ws.naming.ipcos.WsnOptimizedNamingImpl.resolve_binding(WsnOptimizedNamingImpl.java:1675)

at com.ibm.ws.naming.ipcos.WsnOptimizedNamingImpl.do_resolve_complete_info(WsnOptimizedNamingImpl.java:580)

at com.ibm.ws.naming.cosbase.WsnOptimizedNamingImplBase.resolve_complete_info(WsnOptimizedNamingImplBase.java:2163)

at com.ibm.WsnOptimizedNaming._NamingContextStub.resolve_complete_info(_NamingContextStub.java:538)

at com.ibm.ws.naming.jndicos.CNContextImpl$2.run(CNContextImpl.java:2792)

at com.ibm.ws.naming.jndicos.CNContextImpl$2.run(CNContextImpl.java:2788)

at com.ibm.ws.naming.util.CommonHelpers.retry(CommonHelpers.java:762)

at com.ibm.ws.naming.jndicos.CNContextImpl.cosResolve(CNContextImpl.java:2786)

at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1789)

at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1748)

at com.ibm.ws.naming.jndicos.CNContextImpl.lookupExt(CNContextImpl.java:1499)

at com.ibm.ws.naming.jndicos.CNContextImpl.lookup(CNContextImpl.java:636)

at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:165)

at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:179)

at javax.naming.InitialContext.lookup(Unknown Source)

at com.adp.servicelocator.ServiceLocator.lookUp(ServiceLocator.java:220)

at com.adp.servicelocator.ServiceLocator.getSessionBean(ServiceLocator.java:133)

at com.adp.core.helper.ADPMessageResources.loadLocale(ADPMessageResources.java:177)

at com.adp.core.helper.ADPMessageResources.getMessage(ADPMessageResources.java:69)

at com.adp.core.helper.ADPMessageResources.getMessage(ADPMessageResources.java:139)

at org.apache.struts.util.RequestUtils.message(RequestUtils.java:1051)

at org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java:294)

at com.ibm._jsp._banner._jspx_meth_bean_message_0(_banner.java:170)

at com.ibm._jsp._banner._jspService(_banner.java:121)

at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:98)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)

at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1449)

at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:790)

at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:443)

at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:175)

at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:121)

at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:234)

at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionProcessor.handleRequest(AbstractJSPExtensionProcessor.java:335)

at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java:644)

at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:1045)

at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:1006)

at com.ibm._jsp._login._jspService(_login.java:94)

at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:98)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)

at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1449)

at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:790)

at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:443)

at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:175)

at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:121)

at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:234)

at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionProcessor.handleRequest(AbstractJSPExtensionProcessor.java:335)

at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:325)

at com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:687)

at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3610)

at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:274)

at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:926)

at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1557)

at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:173)

at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:455)

at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:384)

at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83)

at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)

at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)

at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)

at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)

at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:202)

at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:766)

at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:896)

at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1527)

Caused by: java.lang.ClassNotFoundException: com.adp.model.language.LanguageResource

at java.net.URLClassLoader.findClass(URLClassLoader.java:419)

at com.ibm.ws.bootstrap.ExtClassLoader.findClass(ExtClassLoader.java:150)

at java.lang.ClassLoader.loadClass(ClassLoader.java:643)

at com.ibm.ws.bootstrap.ExtClassLoader.loadClass(ExtClassLoader.java:90)

at java.lang.ClassLoader.loadClass(ClassLoader.java:609)

at com.ibm.ws.classloader.ProtectionClassLoader.loadClass(ProtectionClassLoader.java:62)

at com.ibm.ws.classloader.ProtectionClassLoader.loadClass(ProtectionClassLoader.java:58)

at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:466)

at java.lang.ClassLoader.loadClass(ClassLoader.java:609)

... 96 more



[11/27/09 21:36:45:193 IST] 0000002f FfdcProvider I com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on C:\Program Files\IBM\SDP\runtimes\base_v7\profiles\was70profile1\logs\ffdc\server1_6ccf6ccf_09.11.27_21.36.44.88060667.txt com.ibm.ejs.container.WrapperManager.faultOnKey 548

[11/27/09 21:36:45:380 IST] 0000002f FfdcProvider I com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on C:\Program Files\IBM\SDP\runtimes\base_v7\profiles\was70profile1\logs\ffdc\server1_6ccf6ccf_09.11.27_21.36.45.19360668.txt com.ibm.ejs.util.cache.Cache.findAndFault 417

[11/27/09 21:36:45:583 IST] 0000002f FfdcProvider I com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on C:\Program Files\IBM\SDP\runtimes\base_v7\profiles\was70profile1\logs\ffdc\server1_6ccf6ccf_09.11.27_21.36.45.38060669.txt com.ibm.ejs.container.WrapperManager.keyToObject 501

[11/27/09 21:36:45:724 IST] 0000002f FfdcProvider I com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on C:\Program Files\IBM\SDP\runtimes\base_v7\profiles\was70profile1\logs\ffdc\server1_6ccf6ccf_09.11.27_21.36.45.58360670.txt com.ibm.ws.naming.ipcos.WsnOptimizedNamingImpl.resolveUnresolvedBinding 1970

[11/27/09 21:36:45:755 IST] 0000002f FfdcProvider I com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on C:\Program Files\IBM\SDP\runtimes\base_v7\profiles\was70profile1\logs\ffdc\server1_6ccf6ccf_09.11.27_21.36.45.72460671.txt com.ibm.ws.naming.cosbase.WsnOptimizedNamingImplBase.resolve_complete_info 2251

[11/27/09 21:36:45:849 IST] 0000002f FfdcProvider I com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on C:\Program Files\IBM\SDP\runtimes\base_v7\profiles\was70profile1\logs\ffdc\server1_6ccf6ccf_09.11.27_21.36.45.75560672.txt com.ibm.ws.naming.jndicos.CNContextImpl.lookupExt 1507

[11/27/09 21:36:45:849 IST] 0000002f Helpers W NMSV0610I: A NamingException is being thrown from a javax.naming.Context implementation. Details follow:

Context implementation: com.ibm.ws.naming.jndicos.CNContextImpl

Context method: lookupExt

Context name: HYDLT396Node01Cell/nodes/HYDLT396Node01/servers/server1

Target name: ejb/com/adp/ejb/LanguageResourcesHome

Other data: ""

Exception stack trace: com.ibm.ws.naming.util.InvalidObjectException: Some object reference in the name "ejb/com/adp/ejb/LanguageResourcesHome" relative to the context "HYDLT396Node01Cell/nodes/HYDLT396Node01/servers/server1" is invalid. Some possible causes include a context binding in the name which refers to a destroyed context, or an object binding which contains an invalid EJBHome reference. [Root exception is org.omg.CORBA.INV_OBJREF: Could not resolve IOR string. vmcid: 0x0 minor code: 0 completed: No]

at com.ibm.ws.naming.jndicos.CNContextImpl.mapINV_OBJREF(CNContextImpl.java:4391)

at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1807)

at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1748)

at com.ibm.ws.naming.jndicos.CNContextImpl.lookupExt(CNContextImpl.java:1499)

at com.ibm.ws.naming.jndicos.CNContextImpl.lookup(CNContextImpl.java:636)

at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:165)

at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:179)

at javax.naming.InitialContext.lookup(Unknown Source)

at com.adp.servicelocator.ServiceLocator.lookUp(ServiceLocator.java:220)

at com.adp.servicelocator.ServiceLocator.getSessionBean(ServiceLocator.java:133)

at com.adp.core.helper.ADPMessageResources.loadLocale(ADPMessageResources.java:177)

at com.adp.core.helper.ADPMessageResources.getMessage(ADPMessageResources.java:69)

at com.adp.core.helper.ADPMessageResources.getMessage(ADPMessageResources.java:139)

at org.apache.struts.util.RequestUtils.message(RequestUtils.java:1051)

at org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java:294)

at com.ibm._jsp._banner._jspx_meth_bean_message_0(_banner.java:170)

at com.ibm._jsp._banner._jspService(_banner.java:121)

at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:98)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)

at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1449)

at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:790)

at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:443)

at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:175)

at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:121)

at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:234)

at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionProcessor.handleRequest(AbstractJSPExtensionProcessor.java:335)

at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java:644)

at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:1045)

at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:1006)

at com.ibm._jsp._login._jspService(_login.java:94)

at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:98)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)

at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1449)

at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:790)

at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:443)

at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:175)

at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:121)

at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:234)

at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionProcessor.handleRequest(AbstractJSPExtensionProcessor.java:335)

at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:325)

at com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:687)

at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3610)

at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:274)

at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:926)

at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1557)

at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:173)

at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:455)

at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:384)

at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83)

at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)

at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)

at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)

at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)

at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:202)

at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:766)

at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:896)

at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1527)

Caused by: org.omg.CORBA.INV_OBJREF: Could not resolve IOR string. vmcid: 0x0 minor code: 0 completed: No

at com.ibm.ws.naming.ipcos.WsnOptimizedNamingImpl.resolveUnresolvedBinding(WsnOptimizedNamingImpl.java:1995)

at com.ibm.ws.naming.ipcos.WsnOptimizedNamingImpl.resolve_binding(WsnOptimizedNamingImpl.java:1675)

at com.ibm.ws.naming.ipcos.WsnOptimizedNamingImpl.do_resolve_complete_info(WsnOptimizedNamingImpl.java:580)

at com.ibm.ws.naming.cosbase.WsnOptimizedNamingImplBase.resolve_complete_info(WsnOptimizedNamingImplBase.java:2163)

at com.ibm.WsnOptimizedNaming._NamingContextStub.resolve_complete_info(_NamingContextStub.java:538)

at com.ibm.ws.naming.jndicos.CNContextImpl$2.run(CNContextImpl.java:2792)

at com.ibm.ws.naming.jndicos.CNContextImpl$2.run(CNContextImpl.java:2788)

at com.ibm.ws.naming.util.CommonHelpers.retry(CommonHelpers.java:762)

at com.ibm.ws.naming.jndicos.CNContextImpl.cosResolve(CNContextImpl.java:2786)

at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1789)

... 55 more

Caused by: org.omg.CORBA.OBJECT_NOT_EXIST: SERVANT_NOT_FOUND (4) for key 0x49454a500200a2964ed8077365727665723103454a4200000055acac0002000100290000005f5f686f6d654f66486f6d6573235f5f686f6d654f66486f6d6573235f5f686f6d654f66486f6d65730850565323414450454a422e6a6172234c616e67756167655265736f7572636573 vmcid: IBM minor code: C14 completed: No

at com.ibm.rmi.corba.ObjectManager.lookupServant(ObjectManager.java:110)

at com.ibm.CORBA.iiop.ServerDelegate.getServant(ServerDelegate.java:311)

at com.ibm.rmi.iiop.ORB.lookupLocalObject(ORB.java:592)

at com.ibm.CORBA.iiop.ORB.lookupLocalObject(ORB.java:1465)

at com.ibm.rmi.iiop.CDRReader.newObjRef(CDRReader.java:1290)

at com.ibm.rmi.iiop.CDRReader.read_Object(CDRReader.java:1130)

at com.ibm.rmi.iiop.CDRReader.read_Object(CDRReader.java:1094)

at com.ibm.rmi.corba.IorURL.iorbytesToObjref(IorURL.java:105)

at com.ibm.rmi.corba.IorURL.resolve(IorURL.java:93)

at com.ibm.rmi.corba.ORB.objectURLToObject(ORB.java:3718)

at com.ibm.CORBA.iiop.ORB.objectURLToObject(ORB.java:3256)

at com.ibm.rmi.corba.ORB.string_to_object(ORB.java:3619)

at com.ibm.ws.naming.ipcos.WsnOptimizedNamingImpl.resolveUnresolvedBinding(WsnOptimizedNamingImpl.java:1921)

... 64 more





[11/27/09 21:36:45:849 IST] 0000002f SystemOut O Error in Resource Bundle Lookup : com.adp.servicelocator.ServiceLocatorException: Exception:

Unable to find SessionBean home: 'LANG_RESOURCES-REMOTE'

Exception Class: com.ibm.ws.naming.util.InvalidObjectException

Exception Message: Some object reference in the name "ejb/com/adp/ejb/LanguageResourcesHome" relative to the context "HYDLT396Node01Cell/nodes/HYDLT396Node01/servers/server1" is invalid. Some possible causes include a context binding in the name which refers to a destroyed context, or an object binding which contains an invalid EJBHome reference.

Services Mapping size: 35

Services Mapping keySet: [BS-WEB-SERVICE, ACCOUNT-REMOTE, CLAS-WEB-SERVICE, UTILITY-LOCAL, PVS-LOCAL, ACCOUNT-LOCAL, PEUSERMANAGEMENT-REMOTE, APPOINTEE-REMOTE, UKNOM-LOCAL, DB2-TOPLINK, PE-TOPLINK, CLAS-LOCAL, ATTEND_PERSONNEL-LOCAL, MEETING-LOCAL, PEADMIN-REMOTE, UKNOM-REMOTE, PEVOTE-LOCAL, BALLOT-LOCAL, OracleDataSource, APPOINTEE-TOPLINK, USERMANAGEMENT-REMOTE, UTILITY-REMOTE, SESSION-BEAN-SERVER, PVS-TOPLINK, Agenda_Lookup-TOPLINK, ADP-TOPLINK, LANG_RESOURCES-LOCAL, PEVOTE-REMOTE, CLAS-REMOTE, ATTEND_PERSONNEL-REMOTE, MEETING-REMOTE, PROXYVOTE-REMOTE, DB-URL-STRING, LANG_RESOURCES-REMOTE, MailSession]

Mapping Call Type: remote

Mapping Class: com.adp.ejb.LanguageResourcesHome

Mapping Logical Name: LANG_RESOURCES-REMOTE

Mapping URL: iiop://localhost:2809/

Mapping Remote URL: null

Mapping Session: null

Mapping JNDI: ejb/com/adp/ejb/LanguageResourcesHome

E Cho
Greenhorn

Joined: Apr 24, 2009
Posts: 9
Hi... did you find a resolution to this problem. I'm encountering the same exception for my EJB service locator.

Background:
Migrating a WAS 5.x application to WAS 7. (Struts 1.x, EJB 2.x....etc)

An exception occurs on the following line of code:



I've tried "java:comp/env/ejb/myejb" and "ejb/myejb" for serviceName. The exceptions are NamingException and InvalidObjectException, relatively.

Caused by: com.ibm.ws.naming.util.InvalidObjectException: Some object reference in the name "ejb/myejb" relative to the context "L3RT364Node01Cell/nodes/L3RT364Node02/servers/server1" is invalid. Some possible causes include a context binding in the name which refers to a destroyed context, or an object binding which contains an invalid EJBHome reference. [Root exception is org.omg.CORBA.INV_OBJREF: Could not resolve IOR string. vmcid: 0x0 minor code: 0 completed: No]


I believe I have all my websphere bindings appropriately set...... so can anyone give me some tips... i'd appreciate it.

Thanks in advance.

sree Avatar
Greenhorn

Joined: Oct 06, 2010
Posts: 1
Did you get any solution to this issue
Adnan Yaqoob
Greenhorn

Joined: Oct 07, 2010
Posts: 2

You need to put references to the jndi resource either in web.xml (or in ejb xml if not getting on ejb part)
Alberto Giantin
Greenhorn

Joined: Feb 21, 2011
Posts: 1
Hi, I have the same problem with websphere7 using EJB3 SessionBeans, this is my stack trace:
[2/21/11 9:42:37:060 CET] 0000002c SystemOut O 21 Feb 2011 09:42:37 | WARN | iside.configuration.webapplication.LookUpManager - Default lookup failed: Some object reference in the name "it.iside.profilocliente.ejb.FidiCollegatiBeanRemote" relative to the context "svldmgrCell01/clusters/S1WSC7014" is invalid. Some possible causes include a context binding in the name which refers to a destroyed context, or an object binding which contains an invalid EJBHome reference.


this is the reference in my web.xml file:


and this is the specific reference for websphere 7 in ibm-web-bnd.xmi file:


the strange thing is that if i repeat the jndi lookup immediately after, the second time it will works...
Any idea?

Thanks a lot.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: WebSphere Application Server 7 could not find jndi name.