• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Couldn't perform JNdI Lookup for home interface

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I am bit new to EJB.Tried running the "Hello World" program using WSAD.I was able to deploy the code without error.While running I found the error

IWAD0402E Could not perform lookup with the JNDI name: ejbmodule/testPack/FirstCalcHome

Looks so strange .I couldn't read the problem much from the console as it wasn't clear to me.....

7/18/03 21:45:29:346 CDT] ca1ad1b WebGroup I SRVE0180I: [IBM Universal Test Client] [/UTC] [Servlet.LOG]: initializeServlet: init
JspEngine --> /index.jsp
ServletPath: /index.jsp
PathInfo: null
RealPath: D:\IBM\WebSphere Studio\workspace\.metadata\.plugins\com.ibm.etools.server.core\tmp0\IBMUTC\IBMUTC.ear\UTC.war\index.jsp
RequestURI: /UTC/index.jsp?nextPage=/UTC/html/homePage/homeFrame.jsp
QueryString: nextPage=/UTC/html/homePage/homeFrame.jsp&port=2809
Request Params:
nextPage = /UTC/html/homePage/homeFrame.jsp
port = 2809
JspEngine --> /html/toolbar/global_nav.jsp
ServletPath: /html/toolbar/global_nav.jsp
PathInfo: null
RealPath: D:\IBM\WebSphere Studio\workspace\.metadata\.plugins\com.ibm.etools.server.core\tmp0\IBMUTC\IBMUTC.ear\UTC.war\html\toolbar\global_nav.jsp
RequestURI: /UTC/html/toolbar/global_nav.jsp
QueryString: null
Request Params:
JspEngine --> /html/homePage/homeFrame.jsp
ServletPath: /html/homePage/homeFrame.jsp
PathInfo: null
RealPath: D:\IBM\WebSphere Studio\workspace\.metadata\.plugins\com.ibm.etools.server.core\tmp0\IBMUTC\IBMUTC.ear\UTC.war\html\homePage\homeFrame.jsp
RequestURI: /UTC/html/homePage/homeFrame.jsp
QueryString: null
Request Params:
Class name is: _homeFrame
[7/18/03 21:45:33:963 CDT] 4336d05 WebGroup I SRVE0180I: [IBM Universal Test Client] [/UTC] [Servlet.LOG]: /html/homePage/homeFrame.jsp: init
JspEngine --> /html/homePage/homePage.jsp
ServletPath: /html/homePage/homePage.jsp
PathInfo: null
RealPath: D:\IBM\WebSphere Studio\workspace\.metadata\.plugins\com.ibm.etools.server.core\tmp0\IBMUTC\IBMUTC.ear\UTC.war\html\homePage\homePage.jsp
RequestURI: /UTC/html/homePage/homePage.jsp
QueryString: null
Request Params:
Class name is: _homePage
[7/18/03 21:45:34:554 CDT] ca1ad1b WebGroup I SRVE0180I: [IBM Universal Test Client] [/UTC] [Servlet.LOG]: /html/homePage/homePage.jsp: init
JspEngine --> /html/toolbar/toolbar.jsp
ServletPath: /html/toolbar/toolbar.jsp
PathInfo: null
RealPath: D:\IBM\WebSphere Studio\workspace\.metadata\.plugins\com.ibm.etools.server.core\tmp0\IBMUTC\IBMUTC.ear\UTC.war\html\toolbar\toolbar.jsp
RequestURI: /UTC/html/toolbar/toolbar.jsp
QueryString: page=0
Request Params:
page = 0
JspEngine --> /html/homePage/home.jsp
ServletPath: /html/homePage/home.jsp
PathInfo: null
RealPath: D:\IBM\WebSphere Studio\workspace\.metadata\.plugins\com.ibm.etools.server.core\tmp0\IBMUTC\IBMUTC.ear\UTC.war\html\homePage\home.jsp
RequestURI: /UTC/html/homePage/home.jsp
QueryString: null
Request Params:
Class name is: _home
[7/18/03 21:45:36:567 CDT] ca1ad1b WebGroup I SRVE0180I: [IBM Universal Test Client] [/UTC] [Servlet.LOG]: /html/homePage/home.jsp: init

Any thoughts and guidelines would greatly be appreciated......

Thanks in advance for the help.

Sathish.........
 
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am not sure of your console message but when ever you try to use a EJB resource from a web module you should be have created a resource reference and use the ref name for looking up. May be you are doing some thing wrong here. Here is a good tutorial that might help in this regards

http://www.webagesolutions.com/knowledgebase/waskb/waskb002/

Let me know how it goes..
 
reply
    Bookmark Topic Watch Topic
  • New Topic