Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Name "comp/env/ejb/mybean" not found in context "java:".

1 view
Skip to first unread message

Akaketwa

unread,
Oct 4, 2006, 10:36:25 AM10/4/06
to
The bean can be found in the applicationj deployment descriptor, but
its giving this error in the console whenever i try to run a jsp that
makes use of the bean. i configured ejb references in the descriptor
and made sure the bean's jndi name is ejb/mybean. What could be the
problem Guys? Am using WAS v6. Other beans are operating so fine within
the same application.Maybe the following trace may assist:

[10/4/06 16:27:03:764 SAST] 00000039 SystemErr R
javax.naming.NameNotFoundException: Name "comp/env/ejb/mybean" not
found in context "java:".
at
com.ibm.ws.naming.ipbase.NameSpace.lookupInternal(NameSpace.java:1074)
at com.ibm.ws.naming.ipbase.NameSpace.lookup(NameSpace.java:985)
at
com.ibm.ws.naming.urlbase.UrlContextImpl.lookup(UrlContextImpl.java:1263)
at
com.ibm.ws.naming.java.javaURLContextRoot.lookup(javaURLContextRoot.java:198)
at
com.ibm.ws.naming.java.javaURLContextRoot.lookup(javaURLContextRoot.java:139)
at javax.naming.InitialContext.lookup(InitialContext.java:361)
at
zw.co.interlife.servlets.CreateNewMonetaryLimit.service(CreateNewMonetaryLimit.java:40)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1212)
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:629)
at
com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:80)
at
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1657)
at
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:77)
at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:421)
at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:367)
at
com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:94)
at
com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java(Compiled
Code))
at
com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java(Compiled
Code))
at
com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java(Compiled
Code))
at
com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java(Compiled
Code))
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled
Code))

[10/4/06 16:27:03:765 SAST] 00000039 SystemErr R at
com.ibm.ws.naming.ipbase.NameSpace.lookupInternal(NameSpace.java:1074)
[10/4/06 16:27:03:765 SAST] 00000039 SystemErr R at
com.ibm.ws.naming.ipbase.NameSpace.lookup(NameSpace.java:985)
[10/4/06 16:27:03:765 SAST] 00000039 SystemErr R at
com.ibm.ws.naming.urlbase.UrlContextImpl.lookup(UrlContextImpl.java:1263)
[10/4/06 16:27:03:765 SAST] 00000039 SystemErr R at
com.ibm.ws.naming.java.javaURLContextRoot.lookup(javaURLContextRoot.java:198)
[10/4/06 16:27:03:765 SAST] 00000039 SystemErr R at
com.ibm.ws.naming.java.javaURLContextRoot.lookup(javaURLContextRoot.java:139)
[10/4/06 16:27:03:766 SAST] 00000039 SystemErr R at
javax.naming.InitialContext.lookup(InitialContext.java:361)
[10/4/06 16:27:03:766 SAST] 00000039 SystemErr R at
zw.co.interlife.servlets.CreateNewMonetaryLimit.service(CreateNewMonetaryLimit.java:40)
[10/4/06 16:27:03:766 SAST] 00000039 SystemErr R at
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
[10/4/06 16:27:03:766 SAST] 00000039 SystemErr R at
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1212)
[10/4/06 16:27:03:766 SAST] 00000039 SystemErr R at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:629)
[10/4/06 16:27:03:766 SAST] 00000039 SystemErr R at
com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:80)
[10/4/06 16:27:03:766 SAST] 00000039 SystemErr R at
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1657)
[10/4/06 16:27:03:767 SAST] 00000039 SystemErr R at
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:77)
[10/4/06 16:27:03:767 SAST] 00000039 SystemErr R at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:421)
[10/4/06 16:27:03:767 SAST] 00000039 SystemErr R at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:367)
[10/4/06 16:27:03:767 SAST] 00000039 SystemErr R at
com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:94)
[10/4/06 16:27:03:767 SAST] 00000039 SystemErr R at
com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java(Compiled
Code))
[10/4/06 16:27:03:801 SAST] 00000039 SystemErr R at
com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java(Compiled
Code))
[10/4/06 16:27:03:802 SAST] 00000039 SystemErr R at
com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java(Compiled
Code))
[10/4/06 16:27:03:802 SAST] 00000039 SystemErr R at
com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java(Compiled
Code))
[10/4/06 16:27:03:802 SAST] 00000039 SystemErr R at
com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))

0 new messages