Hi
Been debugging a bit further. I noticed that I had created an erroneous duplicate reference that might have been confusing WSAD so have got rid of that. But now have other problems.
My Supplier bean has a jndi reference of:ejb/com/pjs2k/spj/supplier/SuppliersLocalHome
If i run the server up and launch the UTC i can clearly see this bean under
the Local
EJB beans section.
but if i enter
local:ejb/ejb/com/pjs2k/spj/supplier/SuppliersLocalHome
in the JNDI Lookup text box i get this message
IWAD0402E Could not perform lookup with the JNDI name: Name "ejb/ejb/com/pjs2k/spj/supplier/SuppliersLocalHome" not found in context "local:".
i get the same message now from the struts action:
[09/02/05 10:03:45:588 GMT] 6d606ac7 RequestProces W org.apache.struts.action.RequestProcessor Unhandled Exception thrown: class javax.naming.NameNotFoundException
[09/02/05 10:03:45:885 GMT] 6d606ac7 WebGroup E SRVE0026E: [Servlet Error]-[Name "ejb/ejb/com/pjs2k/spj/supplier/SuppliersLocalHome" not found in context "local:".]: javax.naming.NameNotFoundException: Name "ejb/ejb/com/pjs2k/spj/supplier/SuppliersLocalHome" not found in context "local:".
at com.ibm.ws.naming.ipbase.NameSpace.lookupInternal(NameSpace.java:1021)
at com.ibm.ws.naming.ipbase.NameSpace.lookup(NameSpace.java:932)
at com.ibm.ws.naming.urlbase.UrlContextImpl.lookup(UrlContextImpl.java:1261)
at com.ibm.ws.naming.urlbase.UrlContextImpl.lookup(UrlContextImpl.java:1253)
at com.ibm.ws.naming.urlbase.UrlContextImpl.lookup(UrlContextImpl.java:1307)
at javax.naming.InitialContext.lookup(InitialContext.java:360)
at net.ubsw.pjs2kweb.actions.SuppliersAction.execute(SuppliersAction.java:71)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:983)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:564)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:200)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:119)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:276)
at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182)
at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:618)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:443)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:672)